From 2a6631ce123072767ef97d3fd96744c1a0837341 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 25 Dec 2020 10:25:09 +0000 Subject: [PATCH] Generated 2016-04-08 for Emr. --- CHANGELOG | 3 + emr/CMakeLists.txt | 1116 +-- emr/include/alibabacloud/emr/EmrClient.h | 2224 +---- .../alibabacloud/emr/model/AddHpHostRequest.h | 77 - .../alibabacloud/emr/model/AddHpHostResult.h | 51 - .../emr/model/AddResourceToUsersResult.h | 53 - ...uest.h => AddScalingConfigItemV2Request.h} | 42 +- ...esult.h => AddScalingConfigItemV2Result.h} | 18 +- .../emr/model/AddUserResourceRoleRequest.h | 66 - .../emr/model/AddUserResourceRoleResult.h | 53 - .../emr/model/AttachClusterForNoteRequest.h | 60 - .../emr/model/AttachClusterForNoteResult.h | 49 - .../emr/model/AttachPubIpRequest.h | 60 - .../emr/model/AttachPubIpResult.h | 49 - .../emr/model/CancelETLJobReleaseRequest.h | 60 - .../emr/model/CancelETLJobReleaseResult.h | 49 - .../emr/model/CheckDataSourceRequest.h | 63 - .../emr/model/CheckDataSourceResult.h | 51 - .../emr/model/CloneDataSourceRequest.h | 60 - .../emr/model/CloneDataSourceResult.h | 51 - .../emr/model/CloneETLJobResult.h | 51 - .../emr/model/CommonApiWhiteListResult.h | 51 - .../emr/model/ContextQueryLogRequest.h | 81 - .../emr/model/ContextQueryLogResult.h | 62 - .../emr/model/CreateAlertContactRequest.h | 69 - .../model/CreateAlertDingDingGroupRequest.h | 63 - .../model/CreateAlertDingDingGroupResult.h | 51 - .../emr/model/CreateBackupRuleRequest.h | 69 - .../emr/model/CreateBatchUsersRequest.h | 73 - .../emr/model/CreateBatchUsersResult.h | 53 - ... => CreateClusterBootstrapActionRequest.h} | 58 +- ...h => CreateClusterBootstrapActionResult.h} | 14 +- .../emr/model/CreateClusterHostGroupResult.h | 53 - .../emr/model/CreateClusterScriptRequest.h | 69 - .../emr/model/CreateClusterScriptResult.h | 51 - .../emr/model/CreateClusterTemplateRequest.h | 14 + .../emr/model/CreateClusterV2Request.h | 18 + .../model/CreateClusterWithHostPoolRequest.h | 113 - .../model/CreateClusterWithHostPoolResult.h | 55 - .../model/CreateClusterWithTemplateRequest.h | 3 + .../emr/model/CreateDataSourceRequest.h | 3 + .../emr/model/CreateETLJobRequest.h | 72 - .../emr/model/CreateETLJobResult.h | 51 - .../emr/model/CreateExecutionPlanRequest.h | 3 + .../emr/model/CreateFlowForWebRequest.h | 9 + .../emr/model/CreateFlowJobRequest.h | 3 + .../emr/model/CreateFlowProjectRequest.h | 6 + .../emr/model/CreateFlowRequest.h | 9 + .../emr/model/CreateHostPoolRequest.h | 73 - .../emr/model/CreateHostPoolResult.h | 51 - .../alibabacloud/emr/model/CreateJobRequest.h | 3 + ...avNodeRequest.h => CreateLibraryRequest.h} | 51 +- ...vSubTreeResult.h => CreateLibraryResult.h} | 14 +- .../model/CreateMetaTablePreviewTaskRequest.h | 3 + .../emr/model/CreateNavNodeResult.h | 51 - .../emr/model/CreateNoteRequest.h | 3 + ...equest.h => CreateScalingGroupV2Request.h} | 24 +- ...pResult.h => CreateScalingGroupV2Result.h} | 18 +- .../emr/model/CreateScalingRuleRequest.h | 6 + .../emr/model/CreateScalingTaskGroupRequest.h | 113 - .../emr/model/CreateScalingTaskGroupResult.h | 51 - .../emr/model/CreateUserGroupRequest.h | 66 - .../emr/model/CreateUserGroupResult.h | 53 - .../emr/model/CreateUserPasswordRequest.h | 70 - .../emr/model/CreateUserStatisticsRequest.h | 54 - .../emr/model/CreateUserStatisticsResult.h | 49 - ...t.h => DecommissionHostComponentRequest.h} | 30 +- ...lt.h => DecommissionHostComponentResult.h} | 14 +- .../emr/model/DeleteAlertContactsRequest.h | 57 - .../emr/model/DeleteAlertContactsResult.h | 51 - .../model/DeleteBatchResourceUsersResult.h | 53 - .../emr/model/DeleteClusterScriptRequest.h | 57 - .../emr/model/DeleteClusterScriptResult.h | 49 - .../emr/model/DeleteClusterTemplateRequest.h | 3 + .../emr/model/DeleteETLJobRequest.h | 57 - .../emr/model/DeleteETLJobResult.h | 49 - .../emr/model/DeleteFlowProjectByIdRequest.h | 51 - .../emr/model/DeleteFlowProjectByIdResult.h | 51 - .../emr/model/DeleteHostPoolResult.h | 49 - .../alibabacloud/emr/model/DeleteJobRequest.h | 3 + ...ulesRequest.h => DeleteLibrariesRequest.h} | 24 +- ...llFlowResult.h => DeleteLibrariesResult.h} | 14 +- .../emr/model/DeleteNavNodeRequest.h | 60 - .../emr/model/DeleteNavNodeResult.h | 49 - .../emr/model/DeleteNoteRequest.h | 3 + .../emr/model/DeleteParagraphRequest.h | 60 - .../emr/model/DeleteParagraphResult.h | 49 - .../emr/model/DeleteResourceUserRequest.h | 63 - .../emr/model/DeleteResourceUserResult.h | 53 - .../emr/model/DeleteScalingTaskGroupRequest.h | 60 - .../emr/model/DeleteScalingTaskGroupResult.h | 51 - .../emr/model/DeleteUserGroupRequest.h | 57 - .../emr/model/DeleteUserGroupResult.h | 53 - .../emr/model/DeleteUserResourceRoleRequest.h | 66 - .../emr/model/DeleteUserResourceRoleResult.h | 53 - .../DescribeAvailableInstanceTypeRequest.h | 57 - .../DescribeAvailableInstanceTypeResult.h | 61 - .../model/DescribeClusterBasicInfoResult.h | 5 + .../emr/model/DescribeClusterOpLogRequest.h | 63 - .../emr/model/DescribeClusterOpLogResult.h | 68 - ...ResourcePoolSchedulerTypeForAdminRequest.h | 60 - ...rResourcePoolSchedulerTypeForAdminResult.h | 55 - .../emr/model/DescribeClusterScriptRequest.h | 57 - ...cribeClusterServiceConfigForAdminRequest.h | 75 - ...scribeClusterServiceConfigForAdminResult.h | 110 - .../DescribeClusterServiceConfigResult.h | 2 + ...beClusterServiceConfigTagForAdminRequest.h | 66 - ...ibeClusterServiceConfigTagForAdminResult.h | 62 - .../model/DescribeClusterStatisticsRequest.h | 57 - .../model/DescribeClusterStatisticsResult.h | 59 - .../model/DescribeClusterTemplateRequest.h | 3 + .../emr/model/DescribeClusterTemplateResult.h | 6 + .../emr/model/DescribeClusterV2Result.h | 4 + .../model/DescribeDataSourceCommandRequest.h | 57 - .../model/DescribeDataSourceCommandResult.h | 74 - .../emr/model/DescribeDataSourceRequest.h | 3 + .../DescribeDataSourceSchemaDatabaseRequest.h | 60 - .../DescribeDataSourceSchemaDatabaseResult.h | 59 - .../DescribeDataSourceSchemaTableRequest.h | 63 - .../DescribeDataSourceSchemaTableResult.h | 72 - .../emr/model/DescribeETLJobInstanceRequest.h | 57 - .../emr/model/DescribeETLJobInstanceResult.h | 106 - .../emr/model/DescribeETLJobRequest.h | 57 - .../emr/model/DescribeETLJobResult.h | 121 - .../model/DescribeETLJobSqlSchemaRequest.h | 57 - .../emr/model/DescribeETLJobSqlSchemaResult.h | 67 - .../DescribeETLJobStageOutputSchemaRequest.h | 60 - .../DescribeETLJobStageOutputSchemaResult.h | 67 - .../emr/model/DescribeEmrMainVersionRequest.h | 57 - .../emr/model/DescribeEmrMainVersionResult.h | 77 - ...uest.h => DescribeFlowAgentTokenRequest.h} | 30 +- ...esult.h => DescribeFlowAgentTokenResult.h} | 16 +- ...quest.h => DescribeFlowAgentUserRequest.h} | 39 +- ...Result.h => DescribeFlowAgentUserResult.h} | 18 +- .../emr/model/DescribeFlowInstanceResult.h | 6 + .../emr/model/DescribeFlowJobResult.h | 2 + .../model/DescribeFlowJobStatisticRequest.h | 54 - .../model/DescribeFlowJobStatisticResult.h | 51 - .../model/DescribeFlowNodeInstanceResult.h | 2 + .../DescribeFlowProjectClusterSettingResult.h | 2 + .../emr/model/DescribeFlowResult.h | 30 +- .../DescribeFlowVariableCollectionRequest.h | 51 - .../DescribeFlowVariableCollectionResult.h | 51 - .../emr/model/DescribeHostPoolRequest.h | 60 - .../emr/model/DescribeHpHostRequest.h | 57 - .../emr/model/DescribeHpHostResult.h | 83 - .../emr/model/DescribeJobRequest.h | 3 + .../emr/model/DescribeKafkaBrokerRequest.h | 60 - .../emr/model/DescribeKafkaBrokerResult.h | 87 - .../emr/model/DescribeKafkaReassignRequest.h | 57 - .../emr/model/DescribeKafkaReassignResult.h | 65 - ...quest.h => DescribeLibraryDetailRequest.h} | 24 +- ...Result.h => DescribeLibraryDetailResult.h} | 36 +- ...DescribeLibraryInstallTaskDetailRequest.h} | 36 +- ... DescribeLibraryInstallTaskDetailResult.h} | 54 +- .../DescribeMetaTablePreviewTaskRequest.h | 3 + .../emr/model/DescribeNoteRequest.h | 57 - .../emr/model/DescribeNoteResult.h | 59 - .../emr/model/DescribeParagraphRequest.h | 60 - .../emr/model/DescribeParagraphResult.h | 51 - .../DescribeScalingCommonConfigRequest.h | 3 + .../model/DescribeScalingCommonConfigResult.h | 18 + ...h => DescribeScalingConfigItemV2Request.h} | 42 +- ....h => DescribeScalingConfigItemV2Result.h} | 24 +- ...> DescribeScalingGroupInstanceV2Request.h} | 35 +- .../DescribeScalingGroupInstanceV2Result.h | 129 + ...uest.h => DescribeScalingGroupV2Request.h} | 33 +- ...esult.h => DescribeScalingGroupV2Result.h} | 36 +- .../emr/model/DescribeScalingRuleResult.h | 20 +- .../model/DescribeScalingTaskGroupRequest.h | 60 - .../model/DescribeScalingTaskGroupResult.h | 84 - .../DescribeSecurityGroupAttributeRequest.h | 3 + .../emr/model/DescribeUserGroupRequest.h | 57 - .../emr/model/DescribeUserGroupResult.h | 70 - .../emr/model/DescribeUserRequest.h | 57 - .../emr/model/DescribeUserResult.h | 105 - .../emr/model/DescribeUserStatisticsRequest.h | 57 - .../emr/model/DescribeUserStatisticsResult.h | 65 - .../DescribeWorkspaceRepoSettingRequest.h | 57 - .../DescribeWorkspaceRepoSettingResult.h | 64 - .../DescribeWorkspaceResourceSettingResult.h | 55 - ....h => DetachAndReleaseClusterEniRequest.h} | 24 +- ...t.h => DetachAndReleaseClusterEniResult.h} | 14 +- .../emr/model/DetachClusterForNoteRequest.h | 57 - .../emr/model/DetachClusterForNoteResult.h | 49 - .../emr/model/GetBackInfoRequest.h | 45 - .../emr/model/GetBackInfoResult.h | 74 - .../emr/model/GetBackPlanInfoRequest.h | 57 - .../emr/model/GetBackPlanInfoResult.h | 59 - .../emr/model/GetBackupInfoRequest.h | 57 - .../emr/model/GetBackupInfoResult.h | 72 - .../emr/model/GetBackupRuleInfoRequest.h | 57 - .../emr/model/GetBackupRuleInfoResult.h | 61 - .../emr/model/GetJobMigrateResultRequest.h | 57 - .../emr/model/GetJobMigrateResultResult.h | 51 - .../emr/model/GetLogDownloadUrlRequest.h | 66 - .../emr/model/GetLogDownloadUrlResult.h | 51 - .../emr/model/GetLogHistogramRequest.h | 75 - .../emr/model/GetLogHistogramResult.h | 62 - .../emr/model/GetMetadataTypeListRequest.h | 54 - .../emr/model/GetMetadataTypeListResult.h | 56 - .../emr/model/GetOpsCommandDetailRequest.h | 57 - .../emr/model/GetOpsCommandDetailResult.h | 63 - .../model/GetOpsCommandResultOnceRequest.h | 60 - .../emr/model/GetOpsCommandResultOnceResult.h | 51 - .../emr/model/GetOpsCommandResultRequest.h | 66 - .../emr/model/GetOpsCommandResultResult.h | 55 - .../emr/model/GetSupportedOpsCommandRequest.h | 54 - .../emr/model/GetSupportedOpsCommandResult.h | 64 - ...rceRequest.h => InstallLibrariesRequest.h} | 27 +- ...ourceResult.h => InstallLibrariesResult.h} | 16 +- ...esRequest.h => JoinResourceGroupRequest.h} | 45 +- ...aphsResult.h => JoinResourceGroupResult.h} | 14 +- .../emr/model/KillETLJobInstanceRequest.h | 57 - .../emr/model/KillETLJobInstanceResult.h | 49 - .../model/KillExecutionPlanInstanceRequest.h | 57 - .../alibabacloud/emr/model/KillFlowRequest.h | 54 - ...eueRequest.h => ListAdviceActionRequest.h} | 36 +- ...QueryResult.h => ListAdviceActionResult.h} | 28 +- .../emr/model/ListAlertContactsRequest.h | 63 - .../emr/model/ListAlertContactsResult.h | 61 - .../emr/model/ListAlertDingDingGroupRequest.h | 63 - .../emr/model/ListAlertUserGroupRequest.h | 63 - .../emr/model/ListAlertUserGroupResult.h | 68 - .../model/ListClusterHostComponentResult.h | 1 + .../emr/model/ListClusterHostGroupResult.h | 7 + .../emr/model/ListClusterHostResult.h | 3 + ...st.h => ListClusterOperationTaskRequest.h} | 60 +- ...ult.h => ListClusterOperationTaskResult.h} | 29 +- .../emr/model/ListClusterScriptsRequest.h | 57 - .../emr/model/ListClusterScriptsResult.h | 61 - ...tClusterServiceComponentHealthInfoResult.h | 1 + ...h => ListClusterServiceComponentRequest.h} | 81 +- ....h => ListClusterServiceComponentResult.h} | 27 +- ...lusterServiceConfigHistoryForAdminResult.h | 70 - .../ListClusterServiceConfigHistoryResult.h | 1 + ...CustomActionSupportConfigForAdminRequest.h | 66 - ...eCustomActionSupportConfigForAdminResult.h | 55 - ...rServiceCustomActionSupportConfigRequest.h | 63 - ...erServiceCustomActionSupportConfigResult.h | 55 - .../ListClusterServiceQuickLinkRequest.h | 3 + .../model/ListClusterSupportServiceRequest.h | 57 - .../model/ListClusterSupportServiceResult.h | 62 - .../emr/model/ListClusterTagForAdminRequest.h | 60 - .../emr/model/ListClusterTagForAdminResult.h | 62 - .../emr/model/ListClusterTagRequest.h | 57 - .../emr/model/ListClusterTagResult.h | 62 - .../emr/model/ListClusterTemplatesRequest.h | 6 + .../emr/model/ListClustersRequest.h | 6 + .../emr/model/ListClustersResult.h | 8 + .../emr/model/ListDataSourceRequest.h | 3 + .../ListDataSourceSchemaDatabaseRequest.h | 60 - .../ListDataSourceSchemaDatabaseResult.h | 59 - .../model/ListDataSourceSchemaTableRequest.h | 63 - .../model/ListDataSourceSchemaTableResult.h | 72 - .../emr/model/ListDependedServiceRequest.h | 60 - .../emr/model/ListDependedServiceResult.h | 58 - .../emr/model/ListETLJobInstanceRequest.h | 69 - .../emr/model/ListETLJobInstanceResult.h | 99 - .../emr/model/ListETLJobReleaseRequest.h | 72 - .../emr/model/ListETLJobReleaseResult.h | 66 - .../model/ListETLJobTriggerEntityRequest.h | 57 - .../emr/model/ListETLJobTriggerEntityResult.h | 57 - .../emr/model/ListEmrAvailableConfigRequest.h | 3 + .../emr/model/ListEmrAvailableConfigResult.h | 3 + .../model/ListEmrAvailableResourceRequest.h | 3 + .../emr/model/ListEmrMainVersionResult.h | 7 + .../model/ListExecutePlanMigrateInfoRequest.h | 63 - .../model/ListExecutePlanMigrateInfoResult.h | 74 - .../ListExecutionPlanInstanceTrendResult.h | 57 - .../ListFailureJobExecutionInstancesRequest.h | 57 - .../ListFailureJobExecutionInstancesResult.h | 63 - .../model/ListFlowClusterAllHostsRequest.h | 3 + .../emr/model/ListFlowClusterAllRequest.h | 6 + .../emr/model/ListFlowClusterAllResult.h | 1 + .../emr/model/ListFlowClusterHostRequest.h | 3 + .../emr/model/ListFlowClusterRequest.h | 3 + .../emr/model/ListFlowClusterResult.h | 1 + .../emr/model/ListFlowInstanceRequest.h | 3 + .../emr/model/ListFlowNodeInstanceRequest.h | 3 + .../ListFlowProjectClusterSettingResult.h | 1 + .../emr/model/ListFlowProjectRequest.h | 6 + .../emr/model/ListHostPoolRequest.h | 60 - .../emr/model/ListHpHostRequest.h | 69 - .../alibabacloud/emr/model/ListHpHostResult.h | 81 - .../ListJobExecutionInstanceTrendRequest.h | 54 - .../ListJobExecutionInstanceTrendResult.h | 57 - .../ListJobExecutionPlanHierarchyRequest.h | 60 - .../ListJobExecutionPlanHierarchyResult.h | 105 - .../model/ListJobExecutionPlanParamsRequest.h | 57 - .../model/ListJobExecutionPlanParamsResult.h | 66 - .../emr/model/ListJobMigrateInfoRequest.h | 63 - .../emr/model/ListJobMigrateInfoResult.h | 66 - .../alibabacloud/emr/model/ListJobsRequest.h | 3 + .../emr/model/ListKafkaBrokerResult.h | 74 - .../emr/model/ListKafkaReassignRequest.h | 66 - .../emr/model/ListKafkaReassignResult.h | 68 - .../emr/model/ListKafkaReassignTopicRequest.h | 63 - .../emr/model/ListKafkaReassignTopicResult.h | 66 - .../model/ListKafkaTopicStatisticsRequest.h | 75 - .../model/ListKafkaTopicStatisticsResult.h | 77 - ...itLogsRequest.h => ListLibrariesRequest.h} | 81 +- .../emr/model/ListLibrariesResult.h | 72 + ...est.h => ListLibraryInstallTasksRequest.h} | 90 +- ...sult.h => ListLibraryInstallTasksResult.h} | 36 +- ...esRequest.h => ListLibraryStatusRequest.h} | 90 +- ...LogsResult.h => ListLibraryStatusResult.h} | 28 +- ...okerRequest.h => ListMetaClusterRequest.h} | 48 +- ...pRulesResult.h => ListMetaClusterResult.h} | 24 +- ...istMetaDataSourceClusterForOuterRequest.h} | 63 +- ...ListMetaDataSourceClusterForOuterResult.h} | 20 +- .../emr/model/ListNavSubTreeRequest.h | 75 - .../alibabacloud/emr/model/ListNotesRequest.h | 3 + .../emr/model/ListOpsOperationRequest.h | 60 - .../emr/model/ListOpsOperationResult.h | 75 - .../emr/model/ListOpsOperationTaskRequest.h | 60 - .../emr/model/ListOpsOperationTaskResult.h | 73 - .../emr/model/ListRequiredServiceRequest.h | 60 - .../emr/model/ListRequiredServiceResult.h | 58 - .../model/ListResourcePoolForAdminResult.h | 110 - .../emr/model/ListResourceQueueResult.h | 67 - .../emr/model/ListScalingActivityRequest.h | 66 - .../emr/model/ListScalingActivityV2Request.h | 96 + ...Result.h => ListScalingActivityV2Result.h} | 33 +- ...est.h => ListScalingConfigItemV2Request.h} | 99 +- ...sult.h => ListScalingConfigItemV2Result.h} | 25 +- .../emr/model/ListScalingGroupV2Request.h | 81 + .../emr/model/ListScalingGroupV2Result.h | 70 + .../emr/model/ListScalingRuleResult.h | 90 - .../emr/model/ListScalingTaskGroupRequest.h | 57 - .../emr/model/ListScalingTaskGroupResult.h | 134 - ...stRequest.h => ListSecurityGroupRequest.h} | 42 +- ...roupResult.h => ListSecurityGroupResult.h} | 33 +- .../emr/model/ListServiceLogRequest.h | 69 - .../emr/model/ListServiceLogResult.h | 58 - .../emr/model/ListSlsLogstoreInfoResult.h | 59 - .../emr/model/ListStackServiceRequest.h | 60 - .../emr/model/ListStackServiceResult.h | 69 - .../emr/model/ListStreamingSqlQueryRequest.h | 57 - .../ListSupportedServiceNameForAdminResult.h | 51 - .../model/ListSupportedServiceNameRequest.h | 54 - .../model/ListSupportedServiceNameResult.h | 51 - .../emr/model/ListUserGroupsRequest.h | 57 - .../emr/model/ListUserGroupsResult.h | 70 - .../emr/model/ListUserStatisticsRequest.h | 66 - .../emr/model/ListUserStatisticsResult.h | 64 - .../emr/model/ListUsersByConditionRequest.h | 57 - .../emr/model/ListUsersByConditionResult.h | 99 - .../alibabacloud/emr/model/ListUsersResult.h | 1 + ...neETLJobRequest.h => ListVswitchRequest.h} | 39 +- ...sterScriptResult.h => ListVswitchResult.h} | 34 +- .../MetastoreCreateDataResourceRequest.h | 72 - .../model/MetastoreCreateDatabaseRequest.h | 75 - .../emr/model/MetastoreCreateDatabaseResult.h | 49 - .../model/MetastoreCreateKafkaTopicRequest.h | 74 - .../model/MetastoreCreateKafkaTopicResult.h | 51 - .../emr/model/MetastoreCreateTableRequest.h | 96 - .../emr/model/MetastoreCreateTableResult.h | 49 - .../emr/model/MetastoreDataPreviewRequest.h | 60 - .../emr/model/MetastoreDataPreviewResult.h | 51 - .../MetastoreDeleteDataResourceRequest.h | 57 - .../model/MetastoreDeleteDataResourceResult.h | 49 - .../model/MetastoreDeleteKafkaTopicRequest.h | 57 - .../model/MetastoreDeleteKafkaTopicResult.h | 51 - .../MetastoreDescribeDataSourceRequest.h | 57 - .../model/MetastoreDescribeDataSourceResult.h | 72 - .../model/MetastoreDescribeDatabaseRequest.h | 60 - .../model/MetastoreDescribeDatabaseResult.h | 85 - ...tastoreDescribeKafkaConsumerGroupRequest.h | 60 - ...etastoreDescribeKafkaConsumerGroupResult.h | 79 - .../MetastoreDescribeKafkaTopicRequest.h | 57 - .../model/MetastoreDescribeKafkaTopicResult.h | 112 - .../emr/model/MetastoreDescribeTableRequest.h | 66 - .../emr/model/MetastoreDescribeTableResult.h | 122 - .../emr/model/MetastoreDescribeTaskRequest.h | 57 - .../emr/model/MetastoreDescribeTaskResult.h | 69 - .../emr/model/MetastoreDropDatabaseRequest.h | 60 - .../emr/model/MetastoreDropDatabaseResult.h | 49 - .../emr/model/MetastoreDropTableRequest.h | 66 - .../emr/model/MetastoreDropTableResult.h | 49 - .../model/MetastoreListDataResourcesResult.h | 62 - .../model/MetastoreListDataSourceRequest.h | 69 - .../emr/model/MetastoreListDataSourceResult.h | 78 - .../emr/model/MetastoreListDatabasesRequest.h | 66 - .../emr/model/MetastoreListDatabasesResult.h | 78 - .../MetastoreListKafkaConsumerGroupRequest.h | 63 - .../MetastoreListKafkaConsumerGroupResult.h | 68 - .../model/MetastoreListKafkaTopicRequest.h | 72 - .../emr/model/MetastoreListKafkaTopicResult.h | 82 - .../model/MetastoreListTablePartitionResult.h | 70 - .../emr/model/MetastoreListTablesRequest.h | 75 - .../emr/model/MetastoreListTablesResult.h | 85 - .../emr/model/MetastoreListTaskRequest.h | 75 - .../MetastoreModifyDataResourceRequest.h | 69 - .../model/MetastoreModifyDataResourceResult.h | 49 - .../emr/model/MetastoreRetryTaskRequest.h | 57 - .../emr/model/MetastoreRetryTaskResult.h | 53 - .../emr/model/MetastoreSearchTablesRequest.h | 60 - .../emr/model/MetastoreSearchTablesResult.h | 51 - .../MetastoreUpdateKafkaTopicBatchResult.h | 51 - .../model/MetastoreUpdateKafkaTopicRequest.h | 68 - .../model/MetastoreUpdateKafkaTopicResult.h | 51 - .../emr/model/MetastoreUpdateTableRequest.h | 81 - .../emr/model/MetastoreUpdateTableResult.h | 51 - .../MigrateClusterHostGroupHostRequest.h | 63 - .../model/MigrateClusterHostGroupHostResult.h | 49 - .../emr/model/MigrateJobsRequest.h | 57 - .../emr/model/MigrateJobsResult.h | 51 - .../emr/model/ModifyAlertContactRequest.h | 72 - .../emr/model/ModifyAlertContactResult.h | 51 - .../model/ModifyAlertDingDingGroupRequest.h | 66 - .../model/ModifyAlertDingDingGroupResult.h | 51 - .../emr/model/ModifyAlertUserGroupResult.h | 51 - ... => ModifyClusterBootstrapActionRequest.h} | 40 +- ...h => ModifyClusterBootstrapActionResult.h} | 14 +- ...> ModifyClusterSecurityGroupRuleRequest.h} | 42 +- ...=> ModifyClusterSecurityGroupRuleResult.h} | 14 +- ...odifyClusterServiceConfigForAdminRequest.h | 90 - ...ModifyClusterServiceConfigForAdminResult.h | 49 - .../emr/model/ModifyClusterTemplateRequest.h | 14 + .../ModifyExecutionPlanClusterInfoRequest.h | 139 - .../model/ModifyExecutionPlanJobInfoRequest.h | 60 - .../emr/model/ModifyExecutionPlanRequest.h | 3 + .../ModifyExecutionPlanScheduleInfoRequest.h | 75 - .../ModifyExecutionPlanScheduleInfoResult.h | 49 - .../emr/model/ModifyFlowForWebRequest.h | 9 + .../emr/model/ModifyFlowJobRequest.h | 3 + .../emr/model/ModifyFlowRequest.h | 9 + .../ModifyFlowVariableCollectionRequest.h | 51 - .../emr/model/ModifyHostPoolRequest.h | 63 - .../emr/model/ModifyHostPoolResult.h | 51 - .../emr/model/ModifyHpHostRequest.h | 105 - .../emr/model/ModifyHpHostResult.h | 51 - .../ModifyJobExecutionPlanFolderRequest.h | 60 - .../ModifyJobExecutionPlanFolderResult.h | 57 - .../ModifyJobExecutionPlanParamRequest.h | 60 - .../alibabacloud/emr/model/ModifyJobRequest.h | 3 + ...t.h => ModifyScalingConfigItemV2Request.h} | 36 +- ...lt.h => ModifyScalingConfigItemV2Result.h} | 18 +- ...equest.h => ModifyScalingGroupV2Request.h} | 33 +- ...nResult.h => ModifyScalingGroupV2Result.h} | 14 +- .../emr/model/ModifyScalingRuleRequest.h | 6 + .../emr/model/ModifyScalingTaskGroupRequest.h | 24 +- .../emr/model/ModifyUserStatisticsRequest.h | 75 - .../emr/model/ModifyUserStatisticsResult.h | 49 - .../emr/model/OfflineKafkaBrokerRequest.h | 63 - .../emr/model/OfflineKafkaBrokerResult.h | 49 - .../model/OperateExistsNodeClusterRequest.h | 123 - .../model/OperateExistsNodeClusterResult.h | 51 - .../emr/model/PageListResourceUsersRequest.h | 69 - .../emr/model/PageListResourceUsersResult.h | 80 - .../emr/model/PageListUserGroupsRequest.h | 63 - .../emr/model/PageListUserGroupsResult.h | 76 - .../emr/model/PageListUsersRequest.h | 63 - .../emr/model/PageListUsersResult.h | 105 - .../emr/model/PlanComponentTopoRequest.h | 92 - .../emr/model/PlanComponentTopoResult.h | 61 - .../emr/model/PlanHostNameRequest.h | 73 - .../emr/model/PlanHostNameResult.h | 56 - .../emr/model/QueryAlarmRulesResult.h | 67 - .../emr/model/QueryInfoByTokenRequest.h | 45 - .../emr/model/QueryInfoByTokenResult.h | 53 - .../emr/model/QuerySlsMetricDataRequest.h | 72 - .../emr/model/QuerySlsMetricDataResult.h | 57 - .../emr/model/QueryUserActionsPolicyRequest.h | 66 - .../emr/model/QueryUserActionsPolicyResult.h | 61 - .../emr/model/QueryUserPoliciesResult.h | 61 - .../emr/model/ReassignKafkaRequest.h | 63 - .../emr/model/ReassignKafkaResult.h | 49 - .../emr/model/RefreshBackupListRequest.h | 57 - .../emr/model/RefreshBackupListResult.h | 81 - ...efreshClusterResourcePoolForAdminRequest.h | 63 - ...RefreshClusterResourcePoolForAdminResult.h | 53 - .../emr/model/ReleaseETLJobRequest.h | 60 - .../emr/model/ReleaseETLJobResult.h | 51 - .../emr/model/RemoveBackupPlanRequest.h | 57 - .../emr/model/RemoveBackupRequest.h | 60 - .../emr/model/RemoveBackupRuleRequest.h | 57 - .../emr/model/RemoveBackupRuleResult.h | 51 - .../emr/model/RemoveClusterHostsRequest.h | 60 - .../emr/model/RemoveClusterHostsResult.h | 51 - .../emr/model/RemoveHpHostResult.h | 49 - ...t.h => RemoveScalingConfigItemV2Request.h} | 54 +- ...lt.h => RemoveScalingConfigItemV2Result.h} | 16 +- .../RenderResourcePoolXmlForAdminRequest.h | 63 - .../RenderResourcePoolXmlForAdminResult.h | 51 - .../emr/model/RenderResourcePoolXmlRequest.h | 60 - .../emr/model/RenderResourcePoolXmlResult.h | 51 - .../emr/model/ResizeClusterV2Request.h | 9 + .../model/ResizeClusterWithHostPoolRequest.h | 86 - .../model/ResizeClusterWithHostPoolResult.h | 55 - .../emr/model/ResolveETLJobSqlSchemaRequest.h | 66 - .../emr/model/ResolveETLJobSqlSchemaResult.h | 51 - .../ResumeExecutionPlanInstanceRequest.h | 57 - .../model/ResumeExecutionPlanInstanceResult.h | 49 - .../model/RetryCreateUserPasswordRequest.h | 67 - .../emr/model/RetryCreateUserPasswordResult.h | 49 - .../model/RetryExecutionPlanInstanceRequest.h | 63 - .../model/RetryExecutionPlanInstanceResult.h | 49 - .../emr/model/RetryExecutionPlanRequest.h | 60 - .../emr/model/RetryExecutionPlanResult.h | 51 - ...tPoolRequest.h => RetryOperationRequest.h} | 36 +- ...anParamResult.h => RetryOperationResult.h} | 14 +- .../emr/model/RetrySyncUserAccountRequest.h | 66 - .../emr/model/RetrySyncUserAccountResult.h | 53 - .../alibabacloud/emr/model/RunETLJobRequest.h | 68 - .../alibabacloud/emr/model/RunETLJobResult.h | 51 - .../emr/model/RunNoteParagraphsRequest.h | 57 - .../emr/model/RunOpsCommandRequest.h | 72 - .../emr/model/RunOpsCommandResult.h | 51 - .../emr/model/RunParagraphRequest.h | 63 - .../emr/model/RunParagraphResult.h | 49 - ...sRequest.h => RunScalingActionV2Request.h} | 54 +- ...actResult.h => RunScalingActionV2Result.h} | 18 +- .../model/SaveBatchUserAccountInfoRequest.h | 75 - .../model/SaveBatchUserAccountInfoResult.h | 53 - .../emr/model/SaveParagraphRequest.h | 63 - .../emr/model/SaveParagraphResult.h | 49 - .../emr/model/SaveUserAccountInfoRequest.h | 69 - .../emr/model/SaveUserAccountInfoResult.h | 53 - .../StartKafkaBrokerDiskBalancerResult.h | 49 - ...tartKafkaPreferredReplicaElectionRequest.h | 57 - ...StartKafkaPreferredReplicaElectionResult.h | 49 - .../emr/model/StopParagraphRequest.h | 60 - .../emr/model/StopParagraphResult.h | 49 - .../emr/model/SubmitFlowJobRequest.h | 6 + .../SuspendExecutionPlanInstanceRequest.h | 57 - .../SuspendExecutionPlanInstanceResult.h | 49 - .../SyncDataSourceSchemaDatabaseRequest.h | 63 - .../SyncDataSourceSchemaDatabaseResult.h | 51 - .../model/SyncDataSourceSchemaTableRequest.h | 66 - .../model/SyncDataSourceSchemaTableResult.h | 51 - .../model/TerminateClusterOperationRequest.h | 60 - .../model/TerminateClusterOperationResult.h | 49 - ...tRequest.h => UninstallLibrariesRequest.h} | 24 +- ...ordResult.h => UninstallLibrariesResult.h} | 16 +- ...st.h => UntagResourcesSystemTagsRequest.h} | 54 +- ...ult.h => UntagResourcesSystemTagsResult.h} | 14 +- .../emr/model/UpdateDataSourceRequest.h | 3 + .../emr/model/UpdateETLJobRequest.h | 101 - .../emr/model/UpdateETLJobResult.h | 49 - .../emr/model/UpdateETLJobStageRequest.h | 69 - .../emr/model/UpdateETLJobStageResult.h | 49 - .../model/UpdateKafkaReassignParamRequest.h | 60 - ...> UpdateLibraryInstallTaskStatusRequest.h} | 24 +- ...=> UpdateLibraryInstallTaskStatusResult.h} | 16 +- .../emr/model/UpdateNavNodeRequest.h | 66 - .../emr/model/UpdateNavNodeResult.h | 49 - .../emr/model/UpdateProjectSettingRequest.h | 63 - .../emr/model/UpdateProjectSettingResult.h | 49 - .../emr/model/UpdateUserGroupRequest.h | 69 - .../emr/model/UpdateUserGroupResult.h | 53 - .../emr/model/UpdateUserStatusRequest.h | 60 - .../emr/model/UpdateUserStatusResult.h | 53 - .../model/UpdateWorkspaceRepoSettingRequest.h | 74 - .../model/UpdateWorkspaceRepoSettingResult.h | 49 - .../UpdateWorkspaceResourceSettingRequest.h | 60 - emr/src/EmrClient.cc | 8604 ++--------------- .../model/AddClusterServiceForAdminRequest.cc | 104 - emr/src/model/AddHpHostRequest.cc | 100 - emr/src/model/AddHpHostResult.cc | 55 - emr/src/model/AddResourceToUsersRequest.cc | 106 - emr/src/model/AddResourceToUsersResult.cc | 58 - .../model/AddScalingConfigItemV2Request.cc | 106 + emr/src/model/AddScalingConfigItemV2Result.cc | 51 + emr/src/model/AddUserResourceRoleRequest.cc | 104 - emr/src/model/AddUserResourceRoleResult.cc | 58 - emr/src/model/AttachClusterForNoteRequest.cc | 82 - emr/src/model/AttachClusterForNoteResult.cc | 48 - emr/src/model/AttachPubIpRequest.cc | 83 - emr/src/model/AttachPubIpResult.cc | 48 - emr/src/model/CancelETLJobReleaseRequest.cc | 82 - emr/src/model/CancelETLJobReleaseResult.cc | 48 - emr/src/model/CheckDataSourceRequest.cc | 93 - emr/src/model/CheckDataSourceResult.cc | 55 - emr/src/model/CloneDataSourceRequest.cc | 82 - emr/src/model/CloneDataSourceResult.cc | 55 - emr/src/model/CloneETLJobRequest.cc | 82 - emr/src/model/CloneETLJobResult.cc | 55 - emr/src/model/CommonApiWhiteListRequest.cc | 60 - emr/src/model/CommonApiWhiteListResult.cc | 55 - emr/src/model/ContextQueryLogRequest.cc | 159 - emr/src/model/ContextQueryLogResult.cc | 84 - emr/src/model/CreateAlertContactRequest.cc | 115 - emr/src/model/CreateAlertContactResult.cc | 55 - .../model/CreateAlertDingDingGroupRequest.cc | 93 - .../model/CreateAlertDingDingGroupResult.cc | 55 - emr/src/model/CreateAlertUserGroupRequest.cc | 93 - emr/src/model/CreateAlertUserGroupResult.cc | 55 - emr/src/model/CreateBackupRuleRequest.cc | 115 - emr/src/model/CreateBackupRuleResult.cc | 86 - emr/src/model/CreateBatchUsersRequest.cc | 114 - emr/src/model/CreateBatchUsersResult.cc | 58 - .../CreateClusterBootstrapActionRequest.cc | 93 + .../CreateClusterBootstrapActionResult.cc | 44 + .../model/CreateClusterHostGroupRequest.cc | 104 - emr/src/model/CreateClusterHostGroupResult.cc | 62 - emr/src/model/CreateClusterScriptRequest.cc | 115 - emr/src/model/CreateClusterScriptResult.cc | 55 - emr/src/model/CreateClusterTemplateRequest.cc | 30 + emr/src/model/CreateClusterV2Request.cc | 42 + .../model/CreateClusterWithHostPoolRequest.cc | 203 - .../model/CreateClusterWithHostPoolResult.cc | 69 - .../model/CreateClusterWithTemplateRequest.cc | 11 + emr/src/model/CreateDataSourceRequest.cc | 11 + emr/src/model/CreateETLJobRequest.cc | 126 - emr/src/model/CreateETLJobResult.cc | 55 - emr/src/model/CreateExecutionPlanRequest.cc | 3 + emr/src/model/CreateFlowForWebRequest.cc | 33 + emr/src/model/CreateFlowJobRequest.cc | 11 + emr/src/model/CreateFlowProjectRequest.cc | 22 + emr/src/model/CreateFlowRequest.cc | 33 + emr/src/model/CreateHostPoolRequest.cc | 112 - emr/src/model/CreateHostPoolResult.cc | 55 - emr/src/model/CreateJobRequest.cc | 11 + emr/src/model/CreateLibraryRequest.cc | 139 + ...HpHostResult.cc => CreateLibraryResult.cc} | 18 +- .../CreateMetaTablePreviewTaskRequest.cc | 11 + emr/src/model/CreateNavNodeRequest.cc | 126 - emr/src/model/CreateNavNodeResult.cc | 55 - emr/src/model/CreateNoteRequest.cc | 11 + emr/src/model/CreateScalingGroupV2Request.cc | 106 + ...esult.cc => CreateScalingGroupV2Result.cc} | 18 +- emr/src/model/CreateScalingRuleRequest.cc | 22 + .../model/CreateScalingTaskGroupRequest.cc | 226 - emr/src/model/CreateScalingTaskGroupResult.cc | 55 - emr/src/model/CreateUserGroupRequest.cc | 105 - emr/src/model/CreateUserPasswordRequest.cc | 101 - emr/src/model/CreateUserPasswordResult.cc | 48 - emr/src/model/CreateUserStatisticsRequest.cc | 60 - emr/src/model/CreateUserStatisticsResult.cc | 48 - .../model/CreateVerificationCodeRequest.cc | 82 - emr/src/model/CreateVerificationCodeResult.cc | 55 - .../model/DecommissionHostComponentRequest.cc | 117 + ....cc => DecommissionHostComponentResult.cc} | 10 +- emr/src/model/DeleteAlertContactsRequest.cc | 71 - emr/src/model/DeleteAlertContactsResult.cc | 55 - .../model/DeleteAlertDingDingGroupsRequest.cc | 71 - .../model/DeleteAlertDingDingGroupsResult.cc | 55 - emr/src/model/DeleteAlertUserGroupsRequest.cc | 71 - emr/src/model/DeleteAlertUserGroupsResult.cc | 55 - .../model/DeleteBatchResourceUsersRequest.cc | 94 - .../model/DeleteBatchResourceUsersResult.cc | 58 - .../model/DeleteClusterHostGroupRequest.cc | 82 - emr/src/model/DeleteClusterHostGroupResult.cc | 48 - emr/src/model/DeleteClusterScriptRequest.cc | 71 - emr/src/model/DeleteClusterScriptResult.cc | 48 - emr/src/model/DeleteClusterTemplateRequest.cc | 11 + emr/src/model/DeleteDataSourceRequest.cc | 71 - emr/src/model/DeleteDataSourceResult.cc | 48 - emr/src/model/DeleteETLJobRequest.cc | 71 - emr/src/model/DeleteETLJobResult.cc | 48 - emr/src/model/DeleteFlowProjectByIdRequest.cc | 49 - emr/src/model/DeleteFlowProjectByIdResult.cc | 55 - emr/src/model/DeleteHostPoolRequest.cc | 71 - emr/src/model/DeleteHostPoolResult.cc | 48 - emr/src/model/DeleteJobRequest.cc | 11 + emr/src/model/DeleteLibrariesRequest.cc | 75 + ...RuleResult.cc => DeleteLibrariesResult.cc} | 12 +- emr/src/model/DeleteNavNodeRequest.cc | 82 - emr/src/model/DeleteNavNodeResult.cc | 48 - emr/src/model/DeleteNoteRequest.cc | 11 + emr/src/model/DeleteParagraphRequest.cc | 82 - emr/src/model/DeleteParagraphResult.cc | 48 - emr/src/model/DeleteResourceUserRequest.cc | 93 - emr/src/model/DeleteResourceUserResult.cc | 58 - .../model/DeleteScalingTaskGroupRequest.cc | 82 - emr/src/model/DeleteScalingTaskGroupResult.cc | 55 - emr/src/model/DeleteUserGroupRequest.cc | 71 - .../model/DeleteUserResourceRoleRequest.cc | 104 - emr/src/model/DeleteUserResourceRoleResult.cc | 58 - .../DescribeAvailableInstanceTypeRequest.cc | 71 - .../DescribeAvailableInstanceTypeResult.cc | 72 - .../model/DescribeClusterBasicInfoResult.cc | 10 + emr/src/model/DescribeClusterOpLogRequest.cc | 93 - emr/src/model/DescribeClusterOpLogResult.cc | 96 - ...esourcePoolSchedulerTypeForAdminRequest.cc | 82 - ...ResourcePoolSchedulerTypeForAdminResult.cc | 65 - emr/src/model/DescribeClusterScriptRequest.cc | 71 - emr/src/model/DescribeClusterScriptResult.cc | 69 - ...ribeClusterServiceConfigForAdminRequest.cc | 137 - ...cribeClusterServiceConfigForAdminResult.cc | 141 - ...scribeClusterServiceConfigHistoryResult.cc | 20 +- .../DescribeClusterServiceConfigResult.cc | 24 +- ...eClusterServiceConfigTagForAdminRequest.cc | 104 - ...beClusterServiceConfigTagForAdminResult.cc | 69 - .../DescribeClusterServiceConfigTagResult.cc | 12 +- .../model/DescribeClusterStatisticsRequest.cc | 71 - .../model/DescribeClusterStatisticsResult.cc | 72 - .../model/DescribeClusterTemplateRequest.cc | 11 + .../model/DescribeClusterTemplateResult.cc | 10 + emr/src/model/DescribeClusterV2Result.cc | 80 +- .../model/DescribeDataSourceCommandRequest.cc | 71 - .../model/DescribeDataSourceCommandResult.cc | 120 - emr/src/model/DescribeDataSourceRequest.cc | 11 + ...DescribeDataSourceSchemaDatabaseRequest.cc | 82 - .../DescribeDataSourceSchemaDatabaseResult.cc | 67 - .../DescribeDataSourceSchemaTableRequest.cc | 93 - .../DescribeDataSourceSchemaTableResult.cc | 91 - .../model/DescribeETLJobInstanceRequest.cc | 71 - emr/src/model/DescribeETLJobInstanceResult.cc | 170 - emr/src/model/DescribeETLJobRequest.cc | 71 - emr/src/model/DescribeETLJobResult.cc | 188 - .../model/DescribeETLJobSqlSchemaRequest.cc | 71 - .../model/DescribeETLJobSqlSchemaResult.cc | 78 - .../DescribeETLJobStageOutputSchemaRequest.cc | 82 - .../DescribeETLJobStageOutputSchemaResult.cc | 78 - .../model/DescribeEmrMainVersionRequest.cc | 73 - emr/src/model/DescribeEmrMainVersionResult.cc | 93 - .../model/DescribeFlowAgentTokenRequest.cc | 84 + emr/src/model/DescribeFlowAgentTokenResult.cc | 51 + emr/src/model/DescribeFlowAgentUserRequest.cc | 84 + emr/src/model/DescribeFlowAgentUserResult.cc | 51 + emr/src/model/DescribeFlowInstanceResult.cc | 21 + emr/src/model/DescribeFlowJobResult.cc | 7 + .../model/DescribeFlowJobStatisticRequest.cc | 60 - .../model/DescribeFlowJobStatisticResult.cc | 55 - .../model/DescribeFlowNodeInstanceResult.cc | 7 + ...DescribeFlowProjectClusterSettingResult.cc | 7 + emr/src/model/DescribeFlowResult.cc | 81 +- .../DescribeFlowVariableCollectionRequest.cc | 49 - .../DescribeFlowVariableCollectionResult.cc | 55 - emr/src/model/DescribeHostPoolRequest.cc | 82 - emr/src/model/DescribeHostPoolResult.cc | 97 - emr/src/model/DescribeHpHostRequest.cc | 71 - emr/src/model/DescribeHpHostResult.cc | 153 - emr/src/model/DescribeJobRequest.cc | 11 + emr/src/model/DescribeKafkaBrokerRequest.cc | 82 - emr/src/model/DescribeKafkaBrokerResult.cc | 165 - emr/src/model/DescribeKafkaReassignRequest.cc | 71 - emr/src/model/DescribeKafkaReassignResult.cc | 104 - emr/src/model/DescribeLibraryDetailRequest.cc | 73 + emr/src/model/DescribeLibraryDetailResult.cc | 114 + ...DescribeLibraryInstallTaskDetailRequest.cc | 73 + .../DescribeLibraryInstallTaskDetailResult.cc | 128 + .../DescribeMetaTablePreviewTaskRequest.cc | 11 + emr/src/model/DescribeNoteRequest.cc | 71 - emr/src/model/DescribeNoteResult.cc | 83 - emr/src/model/DescribeParagraphRequest.cc | 82 - emr/src/model/DescribeParagraphResult.cc | 55 - .../DescribeScalingCommonConfigRequest.cc | 11 + .../DescribeScalingCommonConfigResult.cc | 63 + .../DescribeScalingConfigItemV2Request.cc | 106 + .../DescribeScalingConfigItemV2Result.cc | 72 + .../DescribeScalingGroupInstanceV2Request.cc | 95 + .../DescribeScalingGroupInstanceV2Result.cc | 216 + .../model/DescribeScalingGroupV2Request.cc | 95 + emr/src/model/DescribeScalingGroupV2Result.cc | 107 + emr/src/model/DescribeScalingRuleResult.cc | 48 +- .../model/DescribeScalingTaskGroupRequest.cc | 82 - .../model/DescribeScalingTaskGroupResult.cc | 134 - .../DescribeSecurityGroupAttributeRequest.cc | 11 + emr/src/model/DescribeUserGroupRequest.cc | 71 - emr/src/model/DescribeUserGroupResult.cc | 102 - emr/src/model/DescribeUserRequest.cc | 71 - emr/src/model/DescribeUserResult.cc | 184 - .../model/DescribeUserStatisticsRequest.cc | 71 - emr/src/model/DescribeUserStatisticsResult.cc | 104 - .../DescribeWorkspaceRepoSettingRequest.cc | 71 - .../DescribeWorkspaceRepoSettingResult.cc | 66 - ...DescribeWorkspaceResourceSettingRequest.cc | 71 - .../DescribeWorkspaceResourceSettingResult.cc | 52 - .../DetachAndReleaseClusterEniRequest.cc | 84 + ...cc => DetachAndReleaseClusterEniResult.cc} | 10 +- emr/src/model/DetachClusterForNoteRequest.cc | 71 - emr/src/model/DetachClusterForNoteResult.cc | 48 - emr/src/model/GetAuditLogsRequest.cc | 159 - emr/src/model/GetBackInfoRequest.cc | 27 - emr/src/model/GetBackInfoResult.cc | 117 - emr/src/model/GetBackPlanInfoRequest.cc | 71 - emr/src/model/GetBackPlanInfoResult.cc | 79 - emr/src/model/GetBackupInfoRequest.cc | 71 - emr/src/model/GetBackupInfoResult.cc | 110 - emr/src/model/GetBackupRuleInfoRequest.cc | 71 - emr/src/model/GetBackupRuleInfoResult.cc | 86 - emr/src/model/GetFlowAuditLogsRequest.cc | 203 - emr/src/model/GetFlowAuditLogsResult.cc | 94 - emr/src/model/GetJobMigrateResultRequest.cc | 71 - emr/src/model/GetJobMigrateResultResult.cc | 55 - emr/src/model/GetLogDownloadUrlRequest.cc | 104 - emr/src/model/GetLogDownloadUrlResult.cc | 55 - emr/src/model/GetLogHistogramRequest.cc | 137 - emr/src/model/GetLogHistogramResult.cc | 81 - emr/src/model/GetMetadataTypeListRequest.cc | 60 - emr/src/model/GetMetadataTypeListResult.cc | 61 - emr/src/model/GetOpsCommandDetailRequest.cc | 71 - emr/src/model/GetOpsCommandDetailResult.cc | 97 - .../model/GetOpsCommandResultOnceRequest.cc | 82 - .../model/GetOpsCommandResultOnceResult.cc | 55 - emr/src/model/GetOpsCommandResultRequest.cc | 104 - emr/src/model/GetOpsCommandResultResult.cc | 69 - .../model/GetSupportedOpsCommandRequest.cc | 60 - emr/src/model/GetSupportedOpsCommandResult.cc | 77 - emr/src/model/InstallLibrariesRequest.cc | 86 + emr/src/model/InstallLibrariesResult.cc | 51 + emr/src/model/JoinResourceGroupRequest.cc | 95 + ...rdResult.cc => JoinResourceGroupResult.cc} | 11 +- emr/src/model/KillETLJobInstanceRequest.cc | 71 - emr/src/model/KillETLJobInstanceResult.cc | 48 - .../model/KillExecutionPlanInstanceRequest.cc | 71 - .../model/KillExecutionPlanInstanceResult.cc | 48 - emr/src/model/KillFlowRequest.cc | 60 - emr/src/model/KillFlowResult.cc | 55 - emr/src/model/ListAdviceActionRequest.cc | 117 + ...eryResult.cc => ListAdviceActionResult.cc} | 46 +- emr/src/model/ListAlertContactsRequest.cc | 93 - emr/src/model/ListAlertContactsResult.cc | 69 - .../model/ListAlertDingDingGroupRequest.cc | 93 - emr/src/model/ListAlertDingDingGroupResult.cc | 69 - emr/src/model/ListAlertUserGroupRequest.cc | 93 - emr/src/model/ListAlertUserGroupResult.cc | 81 - emr/src/model/ListBackupPlansRequest.cc | 181 - emr/src/model/ListBackupRulesRequest.cc | 181 - ...ListClusterHostComponentForAdminRequest.cc | 170 - .../model/ListClusterHostComponentResult.cc | 2 + emr/src/model/ListClusterHostGroupResult.cc | 14 + emr/src/model/ListClusterHostResult.cc | 30 +- .../ListClusterInstalledServiceResult.cc | 24 +- .../model/ListClusterOperationTaskRequest.cc | 117 + .../model/ListClusterOperationTaskResult.cc | 84 + emr/src/model/ListClusterScriptsRequest.cc | 71 - emr/src/model/ListClusterScriptsResult.cc | 73 - ...ClusterServiceComponentHealthInfoResult.cc | 10 +- .../ListClusterServiceComponentRequest.cc | 139 + ...c => ListClusterServiceComponentResult.cc} | 44 +- ...sterServiceConfigHistoryForAdminRequest.cc | 126 - ...usterServiceConfigHistoryForAdminResult.cc | 96 - .../ListClusterServiceConfigHistoryResult.cc | 2 + ...ustomActionSupportConfigForAdminRequest.cc | 104 - ...CustomActionSupportConfigForAdminResult.cc | 57 - ...ServiceCustomActionSupportConfigRequest.cc | 93 - ...rServiceCustomActionSupportConfigResult.cc | 61 - .../ListClusterServiceQuickLinkRequest.cc | 11 + emr/src/model/ListClusterServiceResult.cc | 24 +- .../model/ListClusterSupportServiceRequest.cc | 73 - .../model/ListClusterSupportServiceResult.cc | 77 - .../model/ListClusterTagForAdminRequest.cc | 83 - emr/src/model/ListClusterTagForAdminResult.cc | 69 - emr/src/model/ListClusterTagRequest.cc | 72 - emr/src/model/ListClusterTagResult.cc | 73 - emr/src/model/ListClusterTemplatesRequest.cc | 22 + emr/src/model/ListClusterTemplatesResult.cc | 100 +- emr/src/model/ListClustersRequest.cc | 24 + emr/src/model/ListClustersResult.cc | 14 + emr/src/model/ListDataSourceRequest.cc | 11 + .../ListDataSourceSchemaDatabaseRequest.cc | 82 - .../ListDataSourceSchemaDatabaseResult.cc | 72 - .../model/ListDataSourceSchemaTableRequest.cc | 93 - .../model/ListDataSourceSchemaTableResult.cc | 96 - emr/src/model/ListDependedServiceRequest.cc | 82 - emr/src/model/ListDependedServiceResult.cc | 70 - emr/src/model/ListETLJobInstanceRequest.cc | 115 - emr/src/model/ListETLJobInstanceResult.cc | 140 - emr/src/model/ListETLJobReleaseRequest.cc | 126 - emr/src/model/ListETLJobReleaseResult.cc | 92 - .../model/ListETLJobTriggerEntityRequest.cc | 71 - .../model/ListETLJobTriggerEntityResult.cc | 65 - .../model/ListEmrAvailableConfigRequest.cc | 11 + emr/src/model/ListEmrAvailableConfigResult.cc | 70 +- .../model/ListEmrAvailableResourceRequest.cc | 11 + .../model/ListEmrAvailableResourceResult.cc | 28 +- emr/src/model/ListEmrMainVersionResult.cc | 50 +- .../ListExecutePlanMigrateInfoRequest.cc | 93 - .../model/ListExecutePlanMigrateInfoResult.cc | 100 - .../ListExecutionPlanInstanceTrendRequest.cc | 60 - .../ListExecutionPlanInstanceTrendResult.cc | 65 - ...ListFailureJobExecutionInstancesRequest.cc | 71 - .../ListFailureJobExecutionInstancesResult.cc | 77 - .../model/ListFlowClusterAllHostsRequest.cc | 11 + emr/src/model/ListFlowClusterAllRequest.cc | 22 + emr/src/model/ListFlowClusterAllResult.cc | 2 + emr/src/model/ListFlowClusterHostRequest.cc | 11 + emr/src/model/ListFlowClusterRequest.cc | 11 + emr/src/model/ListFlowClusterResult.cc | 2 + emr/src/model/ListFlowInstanceRequest.cc | 11 + emr/src/model/ListFlowJobResult.cc | 12 +- emr/src/model/ListFlowNodeInstanceRequest.cc | 11 + .../ListFlowProjectClusterSettingResult.cc | 2 + emr/src/model/ListFlowProjectRequest.cc | 22 + emr/src/model/ListHostPoolRequest.cc | 82 - emr/src/model/ListHostPoolResult.cc | 94 - emr/src/model/ListHpHostRequest.cc | 115 - emr/src/model/ListHpHostResult.cc | 121 - .../ListJobExecutionInstanceTrendRequest.cc | 60 - .../ListJobExecutionInstanceTrendResult.cc | 65 - .../ListJobExecutionPlanHierarchyRequest.cc | 82 - .../ListJobExecutionPlanHierarchyResult.cc | 165 - .../ListJobExecutionPlanParamsRequest.cc | 71 - .../model/ListJobExecutionPlanParamsResult.cc | 92 - emr/src/model/ListJobMigrateInfoRequest.cc | 93 - emr/src/model/ListJobMigrateInfoResult.cc | 86 - emr/src/model/ListJobsRequest.cc | 11 + emr/src/model/ListKafkaBrokerRequest.cc | 93 - emr/src/model/ListKafkaBrokerResult.cc | 108 - emr/src/model/ListKafkaReassignRequest.cc | 104 - emr/src/model/ListKafkaReassignResult.cc | 96 - .../model/ListKafkaReassignTopicRequest.cc | 93 - emr/src/model/ListKafkaReassignTopicResult.cc | 92 - .../model/ListKafkaTopicStatisticsRequest.cc | 137 - .../model/ListKafkaTopicStatisticsResult.cc | 107 - emr/src/model/ListLibrariesRequest.cc | 150 + emr/src/model/ListLibrariesResult.cc | 103 + .../model/ListLibraryInstallTasksRequest.cc | 161 + .../model/ListLibraryInstallTasksResult.cc | 107 + emr/src/model/ListLibraryStatusRequest.cc | 161 + ...esResult.cc => ListLibraryStatusResult.cc} | 47 +- emr/src/model/ListMetaClusterRequest.cc | 95 + ...lansResult.cc => ListMetaClusterResult.cc} | 29 +- ...istMetaDataSourceClusterForOuterRequest.cc | 121 + ...istMetaDataSourceClusterForOuterResult.cc} | 30 +- emr/src/model/ListNavSubTreeRequest.cc | 137 - emr/src/model/ListNavSubTreeResult.cc | 55 - emr/src/model/ListNotesRequest.cc | 11 + emr/src/model/ListOpsOperationRequest.cc | 82 - emr/src/model/ListOpsOperationResult.cc | 110 - emr/src/model/ListOpsOperationTaskRequest.cc | 82 - emr/src/model/ListOpsOperationTaskResult.cc | 106 - emr/src/model/ListRequiredServiceRequest.cc | 82 - emr/src/model/ListRequiredServiceResult.cc | 70 - .../model/ListResourcePoolForAdminRequest.cc | 115 - .../model/ListResourcePoolForAdminResult.cc | 156 - emr/src/model/ListResourcePoolResult.cc | 68 +- emr/src/model/ListResourceQueueRequest.cc | 115 - emr/src/model/ListResourceQueueResult.cc | 78 - emr/src/model/ListScalingActivityRequest.cc | 104 - emr/src/model/ListScalingActivityResult.cc | 102 - emr/src/model/ListScalingActivityV2Request.cc | 216 + emr/src/model/ListScalingActivityV2Result.cc | 111 + .../model/ListScalingConfigItemV2Request.cc | 172 + .../model/ListScalingConfigItemV2Result.cc | 91 + emr/src/model/ListScalingGroupV2Request.cc | 161 + emr/src/model/ListScalingGroupV2Result.cc | 99 + emr/src/model/ListScalingRuleRequest.cc | 104 - emr/src/model/ListScalingRuleResult.cc | 126 - emr/src/model/ListScalingTaskGroupRequest.cc | 71 - emr/src/model/ListScalingTaskGroupResult.cc | 194 - emr/src/model/ListSecurityGroupRequest.cc | 95 + emr/src/model/ListSecurityGroupResult.cc | 71 + emr/src/model/ListServiceLogRequest.cc | 115 - emr/src/model/ListServiceLogResult.cc | 67 - emr/src/model/ListSlsLogstoreInfoRequest.cc | 93 - emr/src/model/ListSlsLogstoreInfoResult.cc | 69 - emr/src/model/ListStackServiceRequest.cc | 82 - emr/src/model/ListStackServiceResult.cc | 93 - emr/src/model/ListStreamingSqlQueryRequest.cc | 71 - ...ListSupportedServiceNameForAdminRequest.cc | 71 - .../ListSupportedServiceNameForAdminResult.cc | 52 - .../model/ListSupportedServiceNameRequest.cc | 60 - .../model/ListSupportedServiceNameResult.cc | 56 - emr/src/model/ListUserGroupsRequest.cc | 71 - emr/src/model/ListUserGroupsResult.cc | 88 - emr/src/model/ListUserStatisticsRequest.cc | 104 - emr/src/model/ListUserStatisticsResult.cc | 82 - emr/src/model/ListUsersByConditionRequest.cc | 71 - emr/src/model/ListUsersByConditionResult.cc | 140 - emr/src/model/ListUsersResult.cc | 2 + emr/src/model/ListVswitchRequest.cc | 95 + emr/src/model/ListVswitchResult.cc | 77 + .../MetastoreCreateDataResourceRequest.cc | 126 - .../MetastoreCreateDataResourceResult.cc | 55 - .../model/MetastoreCreateDatabaseRequest.cc | 137 - .../model/MetastoreCreateDatabaseResult.cc | 48 - .../model/MetastoreCreateKafkaTopicRequest.cc | 121 - .../model/MetastoreCreateKafkaTopicResult.cc | 55 - emr/src/model/MetastoreCreateTableRequest.cc | 184 - emr/src/model/MetastoreCreateTableResult.cc | 48 - emr/src/model/MetastoreDataPreviewRequest.cc | 82 - emr/src/model/MetastoreDataPreviewResult.cc | 55 - .../MetastoreDeleteDataResourceRequest.cc | 71 - .../MetastoreDeleteDataResourceResult.cc | 48 - .../model/MetastoreDeleteKafkaTopicRequest.cc | 71 - .../model/MetastoreDeleteKafkaTopicResult.cc | 55 - .../MetastoreDescribeDataSourceRequest.cc | 71 - .../MetastoreDescribeDataSourceResult.cc | 88 - .../model/MetastoreDescribeDatabaseRequest.cc | 82 - .../model/MetastoreDescribeDatabaseResult.cc | 126 - ...astoreDescribeKafkaConsumerGroupRequest.cc | 82 - ...tastoreDescribeKafkaConsumerGroupResult.cc | 133 - .../MetastoreDescribeKafkaTopicRequest.cc | 71 - .../MetastoreDescribeKafkaTopicResult.cc | 217 - .../model/MetastoreDescribeTableRequest.cc | 104 - emr/src/model/MetastoreDescribeTableResult.cc | 253 - emr/src/model/MetastoreDescribeTaskRequest.cc | 71 - emr/src/model/MetastoreDescribeTaskResult.cc | 84 - emr/src/model/MetastoreDropDatabaseRequest.cc | 82 - emr/src/model/MetastoreDropDatabaseResult.cc | 48 - emr/src/model/MetastoreDropTableRequest.cc | 104 - emr/src/model/MetastoreDropTableResult.cc | 48 - .../MetastoreListDataResourcesRequest.cc | 60 - .../model/MetastoreListDataResourcesResult.cc | 75 - .../model/MetastoreListDataSourceRequest.cc | 115 - .../model/MetastoreListDataSourceResult.cc | 114 - .../model/MetastoreListDatabasesRequest.cc | 104 - emr/src/model/MetastoreListDatabasesResult.cc | 123 - .../MetastoreListKafkaConsumerGroupRequest.cc | 93 - .../MetastoreListKafkaConsumerGroupResult.cc | 96 - .../model/MetastoreListKafkaTopicRequest.cc | 126 - .../model/MetastoreListKafkaTopicResult.cc | 115 - .../MetastoreListTablePartitionRequest.cc | 104 - .../MetastoreListTablePartitionResult.cc | 100 - emr/src/model/MetastoreListTablesRequest.cc | 137 - emr/src/model/MetastoreListTablesResult.cc | 134 - emr/src/model/MetastoreListTaskRequest.cc | 137 - emr/src/model/MetastoreListTaskResult.cc | 104 - .../MetastoreModifyDataResourceRequest.cc | 115 - .../MetastoreModifyDataResourceResult.cc | 48 - emr/src/model/MetastoreRetryTaskRequest.cc | 71 - emr/src/model/MetastoreRetryTaskResult.cc | 62 - emr/src/model/MetastoreSearchTablesRequest.cc | 82 - emr/src/model/MetastoreSearchTablesResult.cc | 56 - .../MetastoreUpdateKafkaTopicBatchRequest.cc | 77 - .../MetastoreUpdateKafkaTopicBatchResult.cc | 55 - .../model/MetastoreUpdateKafkaTopicRequest.cc | 99 - .../model/MetastoreUpdateKafkaTopicResult.cc | 55 - emr/src/model/MetastoreUpdateTableRequest.cc | 131 - emr/src/model/MetastoreUpdateTableResult.cc | 55 - .../MigrateClusterHostGroupHostRequest.cc | 94 - .../MigrateClusterHostGroupHostResult.cc | 48 - emr/src/model/MigrateJobsRequest.cc | 71 - emr/src/model/MigrateJobsResult.cc | 55 - emr/src/model/ModifyAlertContactRequest.cc | 126 - .../model/ModifyAlertDingDingGroupRequest.cc | 104 - .../model/ModifyAlertDingDingGroupResult.cc | 51 - emr/src/model/ModifyAlertUserGroupRequest.cc | 104 - .../ModifyClusterBootstrapActionRequest.cc | 104 + .../ModifyClusterBootstrapActionResult.cc | 44 + .../ModifyClusterSecurityGroupRuleRequest.cc | 128 + ...> ModifyClusterSecurityGroupRuleResult.cc} | 10 +- ...difyClusterServiceConfigForAdminRequest.cc | 193 - ...odifyClusterServiceConfigForAdminResult.cc | 44 - emr/src/model/ModifyClusterTemplateRequest.cc | 30 + .../ModifyExecutionPlanBasicInfoRequest.cc | 93 - .../ModifyExecutionPlanBasicInfoResult.cc | 48 - .../ModifyExecutionPlanClusterInfoRequest.cc | 332 - .../ModifyExecutionPlanClusterInfoResult.cc | 48 - .../ModifyExecutionPlanJobInfoRequest.cc | 83 - .../model/ModifyExecutionPlanJobInfoResult.cc | 48 - emr/src/model/ModifyExecutionPlanRequest.cc | 3 + .../ModifyExecutionPlanScheduleInfoRequest.cc | 137 - .../ModifyExecutionPlanScheduleInfoResult.cc | 48 - emr/src/model/ModifyFlowForWebRequest.cc | 33 + emr/src/model/ModifyFlowJobRequest.cc | 11 + emr/src/model/ModifyFlowRequest.cc | 33 + .../ModifyFlowVariableCollectionRequest.cc | 49 - .../ModifyFlowVariableCollectionResult.cc | 48 - emr/src/model/ModifyHostPoolRequest.cc | 93 - emr/src/model/ModifyHostPoolResult.cc | 55 - emr/src/model/ModifyHpHostRequest.cc | 232 - .../ModifyJobExecutionPlanFolderRequest.cc | 82 - .../ModifyJobExecutionPlanFolderResult.cc | 76 - .../ModifyJobExecutionPlanParamRequest.cc | 82 - emr/src/model/ModifyJobRequest.cc | 11 + .../model/ModifyScalingConfigItemV2Request.cc | 117 + ....cc => ModifyScalingConfigItemV2Result.cc} | 19 +- emr/src/model/ModifyScalingGroupV2Request.cc | 106 + ...esult.cc => ModifyScalingGroupV2Result.cc} | 12 +- emr/src/model/ModifyScalingRuleRequest.cc | 22 + .../model/ModifyScalingTaskGroupRequest.cc | 132 +- emr/src/model/ModifyScalingTaskGroupResult.cc | 8 +- emr/src/model/ModifyUserStatisticsRequest.cc | 137 - emr/src/model/ModifyUserStatisticsResult.cc | 48 - emr/src/model/OfflineKafkaBrokerRequest.cc | 93 - emr/src/model/OfflineKafkaBrokerResult.cc | 48 - .../model/OperateExistsNodeClusterRequest.cc | 316 - .../model/OperateExistsNodeClusterResult.cc | 55 - emr/src/model/PageListResourceUsersRequest.cc | 115 - emr/src/model/PageListResourceUsersResult.cc | 117 - emr/src/model/PageListUserGroupsRequest.cc | 93 - emr/src/model/PageListUserGroupsResult.cc | 109 - emr/src/model/PageListUsersRequest.cc | 93 - emr/src/model/PageListUsersResult.cc | 161 - emr/src/model/PlanComponentTopoRequest.cc | 157 - emr/src/model/PlanComponentTopoResult.cc | 74 - emr/src/model/PlanHostNameRequest.cc | 105 - emr/src/model/PlanHostNameResult.cc | 63 - emr/src/model/QueryAlarmRulesRequest.cc | 71 - emr/src/model/QueryAlarmRulesResult.cc | 85 - emr/src/model/QueryInfoByTokenRequest.cc | 27 - emr/src/model/QueryInfoByTokenResult.cc | 62 - emr/src/model/QuerySlsMetricDataRequest.cc | 126 - emr/src/model/QuerySlsMetricDataResult.cc | 65 - .../model/QueryUserActionsPolicyRequest.cc | 105 - emr/src/model/QueryUserActionsPolicyResult.cc | 72 - emr/src/model/QueryUserPoliciesRequest.cc | 82 - emr/src/model/QueryUserPoliciesResult.cc | 72 - emr/src/model/ReassignKafkaRequest.cc | 94 - emr/src/model/ReassignKafkaResult.cc | 48 - emr/src/model/RefreshBackupListRequest.cc | 71 - emr/src/model/RefreshBackupListResult.cc | 156 - ...freshClusterResourcePoolForAdminRequest.cc | 93 - ...efreshClusterResourcePoolForAdminResult.cc | 58 - emr/src/model/ReleaseETLJobRequest.cc | 82 - emr/src/model/ReleaseETLJobResult.cc | 55 - emr/src/model/RemoveBackupPlanRequest.cc | 71 - emr/src/model/RemoveBackupRequest.cc | 83 - emr/src/model/RemoveBackupResult.cc | 156 - emr/src/model/RemoveBackupRuleRequest.cc | 71 - emr/src/model/RemoveClusterHostsRequest.cc | 83 - emr/src/model/RemoveClusterHostsResult.cc | 55 - emr/src/model/RemoveHpHostRequest.cc | 71 - emr/src/model/RemoveHpHostResult.cc | 48 - .../model/RemoveScalingConfigItemV2Request.cc | 106 + ....cc => RemoveScalingConfigItemV2Result.cc} | 19 +- .../RenderResourcePoolXmlForAdminRequest.cc | 93 - .../RenderResourcePoolXmlForAdminResult.cc | 51 - emr/src/model/RenderResourcePoolXmlRequest.cc | 82 - emr/src/model/RenderResourcePoolXmlResult.cc | 55 - emr/src/model/ResizeClusterV2Request.cc | 17 + .../model/ResizeClusterWithHostPoolRequest.cc | 112 - .../model/ResizeClusterWithHostPoolResult.cc | 65 - .../model/ResolveETLJobSqlSchemaRequest.cc | 104 - emr/src/model/ResolveETLJobSqlSchemaResult.cc | 55 - .../ResumeExecutionPlanInstanceRequest.cc | 71 - .../ResumeExecutionPlanInstanceResult.cc | 48 - .../model/RetryCreateUserPasswordRequest.cc | 90 - .../RetryExecutionPlanInstanceRequest.cc | 93 - .../model/RetryExecutionPlanInstanceResult.cc | 48 - emr/src/model/RetryExecutionPlanRequest.cc | 82 - emr/src/model/RetryExecutionPlanResult.cc | 55 - emr/src/model/RetryOperationRequest.cc | 73 + ...ParamResult.cc => RetryOperationResult.cc} | 24 +- emr/src/model/RetrySyncUserAccountRequest.cc | 105 - emr/src/model/RetrySyncUserAccountResult.cc | 58 - emr/src/model/RunETLJobRequest.cc | 99 - emr/src/model/RunETLJobResult.cc | 55 - emr/src/model/RunNoteParagraphsRequest.cc | 71 - emr/src/model/RunNoteParagraphsResult.cc | 48 - emr/src/model/RunOpsCommandRequest.cc | 127 - emr/src/model/RunOpsCommandResult.cc | 55 - emr/src/model/RunParagraphRequest.cc | 93 - emr/src/model/RunParagraphResult.cc | 48 - emr/src/model/RunScalingActionV2Request.cc | 106 + ...tResult.cc => RunScalingActionV2Result.cc} | 18 +- .../model/SaveBatchUserAccountInfoRequest.cc | 138 - .../model/SaveBatchUserAccountInfoResult.cc | 58 - emr/src/model/SaveParagraphRequest.cc | 93 - emr/src/model/SaveParagraphResult.cc | 48 - emr/src/model/SaveUserAccountInfoRequest.cc | 115 - emr/src/model/SaveUserAccountInfoResult.cc | 58 - .../StartKafkaBrokerDiskBalancerRequest.cc | 104 - .../StartKafkaBrokerDiskBalancerResult.cc | 48 - ...artKafkaPreferredReplicaElectionRequest.cc | 71 - ...tartKafkaPreferredReplicaElectionResult.cc | 48 - emr/src/model/StopParagraphRequest.cc | 82 - emr/src/model/StopParagraphResult.cc | 48 - emr/src/model/SubmitFlowJobRequest.cc | 22 + .../SuspendExecutionPlanInstanceRequest.cc | 71 - .../SuspendExecutionPlanInstanceResult.cc | 48 - .../SyncDataSourceSchemaDatabaseRequest.cc | 93 - .../SyncDataSourceSchemaDatabaseResult.cc | 55 - .../model/SyncDataSourceSchemaTableRequest.cc | 104 - .../model/SyncDataSourceSchemaTableResult.cc | 55 - .../model/TerminateClusterOperationRequest.cc | 82 - .../model/TerminateClusterOperationResult.cc | 48 - emr/src/model/UninstallLibrariesRequest.cc | 86 + emr/src/model/UninstallLibrariesResult.cc | 51 + .../model/UntagResourcesSystemTagsRequest.cc | 121 + .../model/UntagResourcesSystemTagsResult.cc | 44 + emr/src/model/UpdateDataSourceRequest.cc | 11 + emr/src/model/UpdateETLJobRequest.cc | 182 - emr/src/model/UpdateETLJobResult.cc | 48 - emr/src/model/UpdateETLJobStageRequest.cc | 115 - emr/src/model/UpdateETLJobStageResult.cc | 48 - .../model/UpdateKafkaReassignParamRequest.cc | 82 - .../model/UpdateKafkaReassignParamResult.cc | 48 - .../UpdateLibraryInstallTaskStatusRequest.cc | 84 + .../UpdateLibraryInstallTaskStatusResult.cc | 51 + emr/src/model/UpdateNavNodeRequest.cc | 104 - emr/src/model/UpdateNavNodeResult.cc | 48 - emr/src/model/UpdateProjectSettingRequest.cc | 93 - emr/src/model/UpdateProjectSettingResult.cc | 48 - emr/src/model/UpdateUserGroupRequest.cc | 116 - emr/src/model/UpdateUserGroupResult.cc | 58 - emr/src/model/UpdateUserStatusRequest.cc | 82 - emr/src/model/UpdateUserStatusResult.cc | 58 - .../UpdateWorkspaceRepoSettingRequest.cc | 106 - .../UpdateWorkspaceResourceSettingRequest.cc | 82 - 1177 files changed, 10981 insertions(+), 77812 deletions(-) delete mode 100644 emr/include/alibabacloud/emr/model/AddHpHostRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/AddHpHostResult.h delete mode 100644 emr/include/alibabacloud/emr/model/AddResourceToUsersResult.h rename emr/include/alibabacloud/emr/model/{CreateClusterHostGroupRequest.h => AddScalingConfigItemV2Request.h} (57%) rename emr/include/alibabacloud/emr/model/{CreateVerificationCodeResult.h => AddScalingConfigItemV2Result.h} (68%) delete mode 100644 emr/include/alibabacloud/emr/model/AddUserResourceRoleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/AddUserResourceRoleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/AttachClusterForNoteRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/AttachClusterForNoteResult.h delete mode 100644 emr/include/alibabacloud/emr/model/AttachPubIpRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/AttachPubIpResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CancelETLJobReleaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CancelETLJobReleaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CheckDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CheckDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CloneDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CloneDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CloneETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CommonApiWhiteListResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ContextQueryLogRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ContextQueryLogResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateAlertContactRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBackupRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBatchUsersRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateBatchUsersResult.h rename emr/include/alibabacloud/emr/model/{StartKafkaBrokerDiskBalancerRequest.h => CreateClusterBootstrapActionRequest.h} (63%) rename emr/include/alibabacloud/emr/model/{ModifyExecutionPlanBasicInfoResult.h => CreateClusterBootstrapActionResult.h} (71%) delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterScriptRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterScriptResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateETLJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateHostPoolRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateHostPoolResult.h rename emr/include/alibabacloud/emr/model/{CreateNavNodeRequest.h => CreateLibraryRequest.h} (60%) rename emr/include/alibabacloud/emr/model/{ListNavSubTreeResult.h => CreateLibraryResult.h} (73%) delete mode 100644 emr/include/alibabacloud/emr/model/CreateNavNodeResult.h rename emr/include/alibabacloud/emr/model/{ModifyAlertUserGroupRequest.h => CreateScalingGroupV2Request.h} (70%) rename emr/include/alibabacloud/emr/model/{CreateAlertUserGroupResult.h => CreateScalingGroupV2Result.h} (68%) delete mode 100644 emr/include/alibabacloud/emr/model/CreateScalingTaskGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateScalingTaskGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserPasswordRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserStatisticsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/CreateUserStatisticsResult.h rename emr/include/alibabacloud/emr/model/{ListSlsLogstoreInfoRequest.h => DecommissionHostComponentRequest.h} (71%) rename emr/include/alibabacloud/emr/model/{AddClusterServiceForAdminResult.h => DecommissionHostComponentResult.h} (71%) delete mode 100644 emr/include/alibabacloud/emr/model/DeleteAlertContactsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteAlertContactsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteClusterScriptRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteClusterScriptResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteETLJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteHostPoolResult.h rename emr/include/alibabacloud/emr/model/{QueryAlarmRulesRequest.h => DeleteLibrariesRequest.h} (71%) rename emr/include/alibabacloud/emr/model/{KillFlowResult.h => DeleteLibrariesResult.h} (72%) delete mode 100644 emr/include/alibabacloud/emr/model/DeleteNavNodeRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteNavNodeResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteParagraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteParagraphResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteResourceUserRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteResourceUserResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteUserGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteUserGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteUserResourceRoleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DeleteUserResourceRoleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterOpLogRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterOpLogResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterScriptRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterStatisticsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeClusterStatisticsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceCommandRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceCommandResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobInstanceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h rename emr/include/alibabacloud/emr/model/{CreateVerificationCodeRequest.h => DescribeFlowAgentTokenRequest.h} (68%) rename emr/include/alibabacloud/emr/model/{DeleteClusterHostGroupResult.h => DescribeFlowAgentTokenResult.h} (68%) rename emr/include/alibabacloud/emr/model/{ListSupportedServiceNameForAdminRequest.h => DescribeFlowAgentUserRequest.h} (72%) rename emr/include/alibabacloud/emr/model/{DeleteAlertUserGroupsResult.h => DescribeFlowAgentUserResult.h} (68%) delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeHostPoolRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeHpHostRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeHpHostResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeKafkaBrokerRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeKafkaBrokerResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeKafkaReassignRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeKafkaReassignResult.h rename emr/include/alibabacloud/emr/model/{DeleteAlertUserGroupsRequest.h => DescribeLibraryDetailRequest.h} (72%) rename emr/include/alibabacloud/emr/model/{DescribeHostPoolResult.h => DescribeLibraryDetailResult.h} (56%) rename emr/include/alibabacloud/emr/model/{DescribeWorkspaceResourceSettingRequest.h => DescribeLibraryInstallTaskDetailRequest.h} (70%) rename emr/include/alibabacloud/emr/model/{RemoveBackupResult.h => DescribeLibraryInstallTaskDetailResult.h} (57%) delete mode 100644 emr/include/alibabacloud/emr/model/DescribeNoteRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeNoteResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeParagraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeParagraphResult.h rename emr/include/alibabacloud/emr/model/{MetastoreListTablePartitionRequest.h => DescribeScalingConfigItemV2Request.h} (57%) rename emr/include/alibabacloud/emr/model/{MetastoreCreateDataResourceResult.h => DescribeScalingConfigItemV2Result.h} (57%) rename emr/include/alibabacloud/emr/model/{MetastoreUpdateKafkaTopicBatchRequest.h => DescribeScalingGroupInstanceV2Request.h} (61%) create mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h rename emr/include/alibabacloud/emr/model/{DeleteClusterHostGroupRequest.h => DescribeScalingGroupV2Request.h} (61%) rename emr/include/alibabacloud/emr/model/{CreateBackupRuleResult.h => DescribeScalingGroupV2Result.h} (54%) delete mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeUserGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeUserGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeUserRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeUserResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeUserStatisticsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeUserStatisticsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingResult.h delete mode 100644 emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingResult.h rename emr/include/alibabacloud/emr/model/{MetastoreListDataResourcesRequest.h => DetachAndReleaseClusterEniRequest.h} (67%) rename emr/include/alibabacloud/emr/model/{ModifyExecutionPlanJobInfoResult.h => DetachAndReleaseClusterEniResult.h} (71%) delete mode 100644 emr/include/alibabacloud/emr/model/DetachClusterForNoteRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/DetachClusterForNoteResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackPlanInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackPlanInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackupInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackupInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackupRuleInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetBackupRuleInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobMigrateResultRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetJobMigrateResultResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetLogDownloadUrlRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetLogDownloadUrlResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetLogHistogramRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetLogHistogramResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetMetadataTypeListRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetMetadataTypeListResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetOpsCommandDetailRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetOpsCommandDetailResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetOpsCommandResultRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetOpsCommandResultResult.h delete mode 100644 emr/include/alibabacloud/emr/model/GetSupportedOpsCommandRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/GetSupportedOpsCommandResult.h rename emr/include/alibabacloud/emr/model/{DeleteDataSourceRequest.h => InstallLibrariesRequest.h} (66%) rename emr/include/alibabacloud/emr/model/{DeleteDataSourceResult.h => InstallLibrariesResult.h} (69%) rename emr/include/alibabacloud/emr/model/{QueryUserPoliciesRequest.h => JoinResourceGroupRequest.h} (76%) rename emr/include/alibabacloud/emr/model/{RunNoteParagraphsResult.h => JoinResourceGroupResult.h} (72%) delete mode 100644 emr/include/alibabacloud/emr/model/KillETLJobInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/KillETLJobInstanceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/KillFlowRequest.h rename emr/include/alibabacloud/emr/model/{ListResourceQueueRequest.h => ListAdviceActionRequest.h} (72%) rename emr/include/alibabacloud/emr/model/{ListStreamingSqlQueryResult.h => ListAdviceActionResult.h} (66%) delete mode 100644 emr/include/alibabacloud/emr/model/ListAlertContactsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListAlertContactsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListAlertDingDingGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListAlertUserGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListAlertUserGroupResult.h rename emr/include/alibabacloud/emr/model/{ListResourcePoolForAdminRequest.h => ListClusterOperationTaskRequest.h} (72%) rename emr/include/alibabacloud/emr/model/{ListHostPoolResult.h => ListClusterOperationTaskResult.h} (62%) delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterScriptsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterScriptsResult.h rename emr/include/alibabacloud/emr/model/{ListClusterHostComponentForAdminRequest.h => ListClusterServiceComponentRequest.h} (68%) rename emr/include/alibabacloud/emr/model/{ListClusterHostComponentForAdminResult.h => ListClusterServiceComponentResult.h} (69%) delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterSupportServiceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterSupportServiceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterTagForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterTagForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterTagRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListClusterTagResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDependedServiceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListDependedServiceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListETLJobInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListETLJobInstanceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListETLJobReleaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListETLJobReleaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListHostPoolRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListHpHostRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListHpHostResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobMigrateInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListJobMigrateInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaBrokerResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaReassignRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaReassignResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaReassignTopicRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaReassignTopicResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsResult.h rename emr/include/alibabacloud/emr/model/{GetAuditLogsRequest.h => ListLibrariesRequest.h} (78%) create mode 100644 emr/include/alibabacloud/emr/model/ListLibrariesResult.h rename emr/include/alibabacloud/emr/model/{ListBackupPlansRequest.h => ListLibraryInstallTasksRequest.h} (72%) rename emr/include/alibabacloud/emr/model/{MetastoreListTaskResult.h => ListLibraryInstallTasksResult.h} (62%) rename emr/include/alibabacloud/emr/model/{ListBackupRulesRequest.h => ListLibraryStatusRequest.h} (72%) rename emr/include/alibabacloud/emr/model/{GetFlowAuditLogsResult.h => ListLibraryStatusResult.h} (67%) rename emr/include/alibabacloud/emr/model/{ListKafkaBrokerRequest.h => ListMetaClusterRequest.h} (76%) rename emr/include/alibabacloud/emr/model/{ListBackupRulesResult.h => ListMetaClusterResult.h} (71%) rename emr/include/alibabacloud/emr/model/{ListClusterServiceConfigHistoryForAdminRequest.h => ListMetaDataSourceClusterForOuterRequest.h} (64%) rename emr/include/alibabacloud/emr/model/{ListBackupPlansResult.h => ListMetaDataSourceClusterForOuterResult.h} (68%) delete mode 100644 emr/include/alibabacloud/emr/model/ListNavSubTreeRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListOpsOperationRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListOpsOperationResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListOpsOperationTaskRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListOpsOperationTaskResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListRequiredServiceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListRequiredServiceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListResourcePoolForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListResourceQueueResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListScalingActivityRequest.h create mode 100644 emr/include/alibabacloud/emr/model/ListScalingActivityV2Request.h rename emr/include/alibabacloud/emr/model/{ListScalingActivityResult.h => ListScalingActivityV2Result.h} (65%) rename emr/include/alibabacloud/emr/model/{GetFlowAuditLogsRequest.h => ListScalingConfigItemV2Request.h} (64%) rename emr/include/alibabacloud/emr/model/{GetAuditLogsResult.h => ListScalingConfigItemV2Result.h} (64%) create mode 100644 emr/include/alibabacloud/emr/model/ListScalingGroupV2Request.h create mode 100644 emr/include/alibabacloud/emr/model/ListScalingGroupV2Result.h delete mode 100644 emr/include/alibabacloud/emr/model/ListScalingRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListScalingTaskGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListScalingTaskGroupResult.h rename emr/include/alibabacloud/emr/model/{RemoveHpHostRequest.h => ListSecurityGroupRequest.h} (59%) rename emr/include/alibabacloud/emr/model/{ListAlertDingDingGroupResult.h => ListSecurityGroupResult.h} (57%) delete mode 100644 emr/include/alibabacloud/emr/model/ListServiceLogRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListServiceLogResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListStackServiceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListStackServiceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListStreamingSqlQueryRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListSupportedServiceNameRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListSupportedServiceNameResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUserGroupsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUserGroupsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUserStatisticsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUserStatisticsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUsersByConditionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ListUsersByConditionResult.h rename emr/include/alibabacloud/emr/model/{CloneETLJobRequest.h => ListVswitchRequest.h} (59%) rename emr/include/alibabacloud/emr/model/{DescribeClusterScriptResult.h => ListVswitchResult.h} (56%) delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreCreateTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDataPreviewRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDataPreviewResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeTaskRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDescribeTaskResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDropDatabaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDropDatabaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDropTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreDropTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListDataResourcesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListDataSourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListDataSourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListDatabasesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListDatabasesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListTablePartitionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListTablesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListTablesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreListTaskRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreRetryTaskRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreRetryTaskResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreSearchTablesRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreSearchTablesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreUpdateTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MetastoreUpdateTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostResult.h delete mode 100644 emr/include/alibabacloud/emr/model/MigrateJobsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/MigrateJobsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyAlertContactRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyAlertContactResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyAlertUserGroupResult.h rename emr/include/alibabacloud/emr/model/{ModifyExecutionPlanBasicInfoRequest.h => ModifyClusterBootstrapActionRequest.h} (65%) rename emr/include/alibabacloud/emr/model/{ModifyFlowVariableCollectionResult.h => ModifyClusterBootstrapActionResult.h} (71%) rename emr/include/alibabacloud/emr/model/{ListScalingRuleRequest.h => ModifyClusterSecurityGroupRuleRequest.h} (58%) rename emr/include/alibabacloud/emr/model/{ModifyExecutionPlanClusterInfoResult.h => ModifyClusterSecurityGroupRuleResult.h} (71%) delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyHostPoolRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyHostPoolResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyHpHostRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyHpHostResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamRequest.h rename emr/include/alibabacloud/emr/model/{DeleteAlertDingDingGroupsRequest.h => ModifyScalingConfigItemV2Request.h} (53%) rename emr/include/alibabacloud/emr/model/{DeleteAlertDingDingGroupsResult.h => ModifyScalingConfigItemV2Result.h} (69%) rename emr/include/alibabacloud/emr/model/{CreateAlertUserGroupRequest.h => ModifyScalingGroupV2Request.h} (69%) rename emr/include/alibabacloud/emr/model/{RemoveBackupPlanResult.h => ModifyScalingGroupV2Result.h} (70%) delete mode 100644 emr/include/alibabacloud/emr/model/ModifyUserStatisticsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ModifyUserStatisticsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/OfflineKafkaBrokerRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/OfflineKafkaBrokerResult.h delete mode 100644 emr/include/alibabacloud/emr/model/OperateExistsNodeClusterRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/OperateExistsNodeClusterResult.h delete mode 100644 emr/include/alibabacloud/emr/model/PageListResourceUsersRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/PageListResourceUsersResult.h delete mode 100644 emr/include/alibabacloud/emr/model/PageListUserGroupsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/PageListUserGroupsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/PageListUsersRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/PageListUsersResult.h delete mode 100644 emr/include/alibabacloud/emr/model/PlanComponentTopoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/PlanComponentTopoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/PlanHostNameRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/PlanHostNameResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryAlarmRulesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryInfoByTokenRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryInfoByTokenResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QuerySlsMetricDataRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QuerySlsMetricDataResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryUserActionsPolicyRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryUserActionsPolicyResult.h delete mode 100644 emr/include/alibabacloud/emr/model/QueryUserPoliciesResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ReassignKafkaRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ReassignKafkaResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RefreshBackupListRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RefreshBackupListResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ReleaseETLJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ReleaseETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveBackupPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveBackupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveBackupRuleRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveBackupRuleResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveClusterHostsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveClusterHostsResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RemoveHpHostResult.h rename emr/include/alibabacloud/emr/model/{AddClusterServiceForAdminRequest.h => RemoveScalingConfigItemV2Request.h} (57%) rename emr/include/alibabacloud/emr/model/{KillExecutionPlanInstanceResult.h => RemoveScalingConfigItemV2Result.h} (69%) delete mode 100644 emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RenderResourcePoolXmlRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RenderResourcePoolXmlResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaResult.h delete mode 100644 emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryCreateUserPasswordRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryCreateUserPasswordResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryExecutionPlanRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RetryExecutionPlanResult.h rename emr/include/alibabacloud/emr/model/{DeleteHostPoolRequest.h => RetryOperationRequest.h} (74%) rename emr/include/alibabacloud/emr/model/{ModifyJobExecutionPlanParamResult.h => RetryOperationResult.h} (71%) delete mode 100644 emr/include/alibabacloud/emr/model/RetrySyncUserAccountRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RetrySyncUserAccountResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RunETLJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RunETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RunNoteParagraphsRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RunOpsCommandRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RunOpsCommandResult.h delete mode 100644 emr/include/alibabacloud/emr/model/RunParagraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/RunParagraphResult.h rename emr/include/alibabacloud/emr/model/{AddResourceToUsersRequest.h => RunScalingActionV2Request.h} (58%) rename emr/include/alibabacloud/emr/model/{CreateAlertContactResult.h => RunScalingActionV2Result.h} (69%) delete mode 100644 emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SaveParagraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SaveParagraphResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SaveUserAccountInfoRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SaveUserAccountInfoResult.h delete mode 100644 emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerResult.h delete mode 100644 emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionResult.h delete mode 100644 emr/include/alibabacloud/emr/model/StopParagraphRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/StopParagraphResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseResult.h delete mode 100644 emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableResult.h delete mode 100644 emr/include/alibabacloud/emr/model/TerminateClusterOperationRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/TerminateClusterOperationResult.h rename emr/include/alibabacloud/emr/model/{CommonApiWhiteListRequest.h => UninstallLibrariesRequest.h} (66%) rename emr/include/alibabacloud/emr/model/{CreateUserPasswordResult.h => UninstallLibrariesResult.h} (69%) rename emr/include/alibabacloud/emr/model/{DeleteBatchResourceUsersRequest.h => UntagResourcesSystemTagsRequest.h} (62%) rename emr/include/alibabacloud/emr/model/{UpdateKafkaReassignParamResult.h => UntagResourcesSystemTagsResult.h} (71%) delete mode 100644 emr/include/alibabacloud/emr/model/UpdateETLJobRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateETLJobResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateETLJobStageRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateETLJobStageResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamRequest.h rename emr/include/alibabacloud/emr/model/{ListExecutionPlanInstanceTrendRequest.h => UpdateLibraryInstallTaskStatusRequest.h} (68%) rename emr/include/alibabacloud/emr/model/{UpdateWorkspaceResourceSettingResult.h => UpdateLibraryInstallTaskStatusResult.h} (69%) delete mode 100644 emr/include/alibabacloud/emr/model/UpdateNavNodeRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateNavNodeResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateProjectSettingRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateProjectSettingResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateUserGroupRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateUserGroupResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateUserStatusRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateUserStatusResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingRequest.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingResult.h delete mode 100644 emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingRequest.h delete mode 100644 emr/src/model/AddClusterServiceForAdminRequest.cc delete mode 100644 emr/src/model/AddHpHostRequest.cc delete mode 100644 emr/src/model/AddHpHostResult.cc delete mode 100644 emr/src/model/AddResourceToUsersRequest.cc delete mode 100644 emr/src/model/AddResourceToUsersResult.cc create mode 100644 emr/src/model/AddScalingConfigItemV2Request.cc create mode 100644 emr/src/model/AddScalingConfigItemV2Result.cc delete mode 100644 emr/src/model/AddUserResourceRoleRequest.cc delete mode 100644 emr/src/model/AddUserResourceRoleResult.cc delete mode 100644 emr/src/model/AttachClusterForNoteRequest.cc delete mode 100644 emr/src/model/AttachClusterForNoteResult.cc delete mode 100644 emr/src/model/AttachPubIpRequest.cc delete mode 100644 emr/src/model/AttachPubIpResult.cc delete mode 100644 emr/src/model/CancelETLJobReleaseRequest.cc delete mode 100644 emr/src/model/CancelETLJobReleaseResult.cc delete mode 100644 emr/src/model/CheckDataSourceRequest.cc delete mode 100644 emr/src/model/CheckDataSourceResult.cc delete mode 100644 emr/src/model/CloneDataSourceRequest.cc delete mode 100644 emr/src/model/CloneDataSourceResult.cc delete mode 100644 emr/src/model/CloneETLJobRequest.cc delete mode 100644 emr/src/model/CloneETLJobResult.cc delete mode 100644 emr/src/model/CommonApiWhiteListRequest.cc delete mode 100644 emr/src/model/CommonApiWhiteListResult.cc delete mode 100644 emr/src/model/ContextQueryLogRequest.cc delete mode 100644 emr/src/model/ContextQueryLogResult.cc delete mode 100644 emr/src/model/CreateAlertContactRequest.cc delete mode 100644 emr/src/model/CreateAlertContactResult.cc delete mode 100644 emr/src/model/CreateAlertDingDingGroupRequest.cc delete mode 100644 emr/src/model/CreateAlertDingDingGroupResult.cc delete mode 100644 emr/src/model/CreateAlertUserGroupRequest.cc delete mode 100644 emr/src/model/CreateAlertUserGroupResult.cc delete mode 100644 emr/src/model/CreateBackupRuleRequest.cc delete mode 100644 emr/src/model/CreateBackupRuleResult.cc delete mode 100644 emr/src/model/CreateBatchUsersRequest.cc delete mode 100644 emr/src/model/CreateBatchUsersResult.cc create mode 100644 emr/src/model/CreateClusterBootstrapActionRequest.cc create mode 100644 emr/src/model/CreateClusterBootstrapActionResult.cc delete mode 100644 emr/src/model/CreateClusterHostGroupRequest.cc delete mode 100644 emr/src/model/CreateClusterHostGroupResult.cc delete mode 100644 emr/src/model/CreateClusterScriptRequest.cc delete mode 100644 emr/src/model/CreateClusterScriptResult.cc delete mode 100644 emr/src/model/CreateClusterWithHostPoolRequest.cc delete mode 100644 emr/src/model/CreateClusterWithHostPoolResult.cc delete mode 100644 emr/src/model/CreateETLJobRequest.cc delete mode 100644 emr/src/model/CreateETLJobResult.cc delete mode 100644 emr/src/model/CreateHostPoolRequest.cc delete mode 100644 emr/src/model/CreateHostPoolResult.cc create mode 100644 emr/src/model/CreateLibraryRequest.cc rename emr/src/model/{ModifyHpHostResult.cc => CreateLibraryResult.cc} (69%) delete mode 100644 emr/src/model/CreateNavNodeRequest.cc delete mode 100644 emr/src/model/CreateNavNodeResult.cc create mode 100644 emr/src/model/CreateScalingGroupV2Request.cc rename emr/src/model/{ModifyAlertUserGroupResult.cc => CreateScalingGroupV2Result.cc} (68%) delete mode 100644 emr/src/model/CreateScalingTaskGroupRequest.cc delete mode 100644 emr/src/model/CreateScalingTaskGroupResult.cc delete mode 100644 emr/src/model/CreateUserGroupRequest.cc delete mode 100644 emr/src/model/CreateUserPasswordRequest.cc delete mode 100644 emr/src/model/CreateUserPasswordResult.cc delete mode 100644 emr/src/model/CreateUserStatisticsRequest.cc delete mode 100644 emr/src/model/CreateUserStatisticsResult.cc delete mode 100644 emr/src/model/CreateVerificationCodeRequest.cc delete mode 100644 emr/src/model/CreateVerificationCodeResult.cc create mode 100644 emr/src/model/DecommissionHostComponentRequest.cc rename emr/src/model/{AddClusterServiceForAdminResult.cc => DecommissionHostComponentResult.cc} (75%) delete mode 100644 emr/src/model/DeleteAlertContactsRequest.cc delete mode 100644 emr/src/model/DeleteAlertContactsResult.cc delete mode 100644 emr/src/model/DeleteAlertDingDingGroupsRequest.cc delete mode 100644 emr/src/model/DeleteAlertDingDingGroupsResult.cc delete mode 100644 emr/src/model/DeleteAlertUserGroupsRequest.cc delete mode 100644 emr/src/model/DeleteAlertUserGroupsResult.cc delete mode 100644 emr/src/model/DeleteBatchResourceUsersRequest.cc delete mode 100644 emr/src/model/DeleteBatchResourceUsersResult.cc delete mode 100644 emr/src/model/DeleteClusterHostGroupRequest.cc delete mode 100644 emr/src/model/DeleteClusterHostGroupResult.cc delete mode 100644 emr/src/model/DeleteClusterScriptRequest.cc delete mode 100644 emr/src/model/DeleteClusterScriptResult.cc delete mode 100644 emr/src/model/DeleteDataSourceRequest.cc delete mode 100644 emr/src/model/DeleteDataSourceResult.cc delete mode 100644 emr/src/model/DeleteETLJobRequest.cc delete mode 100644 emr/src/model/DeleteETLJobResult.cc delete mode 100644 emr/src/model/DeleteFlowProjectByIdRequest.cc delete mode 100644 emr/src/model/DeleteFlowProjectByIdResult.cc delete mode 100644 emr/src/model/DeleteHostPoolRequest.cc delete mode 100644 emr/src/model/DeleteHostPoolResult.cc create mode 100644 emr/src/model/DeleteLibrariesRequest.cc rename emr/src/model/{RemoveBackupRuleResult.cc => DeleteLibrariesResult.cc} (74%) delete mode 100644 emr/src/model/DeleteNavNodeRequest.cc delete mode 100644 emr/src/model/DeleteNavNodeResult.cc delete mode 100644 emr/src/model/DeleteParagraphRequest.cc delete mode 100644 emr/src/model/DeleteParagraphResult.cc delete mode 100644 emr/src/model/DeleteResourceUserRequest.cc delete mode 100644 emr/src/model/DeleteResourceUserResult.cc delete mode 100644 emr/src/model/DeleteScalingTaskGroupRequest.cc delete mode 100644 emr/src/model/DeleteScalingTaskGroupResult.cc delete mode 100644 emr/src/model/DeleteUserGroupRequest.cc delete mode 100644 emr/src/model/DeleteUserResourceRoleRequest.cc delete mode 100644 emr/src/model/DeleteUserResourceRoleResult.cc delete mode 100644 emr/src/model/DescribeAvailableInstanceTypeRequest.cc delete mode 100644 emr/src/model/DescribeAvailableInstanceTypeResult.cc delete mode 100644 emr/src/model/DescribeClusterOpLogRequest.cc delete mode 100644 emr/src/model/DescribeClusterOpLogResult.cc delete mode 100644 emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.cc delete mode 100644 emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.cc delete mode 100644 emr/src/model/DescribeClusterScriptRequest.cc delete mode 100644 emr/src/model/DescribeClusterScriptResult.cc delete mode 100644 emr/src/model/DescribeClusterServiceConfigForAdminRequest.cc delete mode 100644 emr/src/model/DescribeClusterServiceConfigForAdminResult.cc delete mode 100644 emr/src/model/DescribeClusterServiceConfigTagForAdminRequest.cc delete mode 100644 emr/src/model/DescribeClusterServiceConfigTagForAdminResult.cc delete mode 100644 emr/src/model/DescribeClusterStatisticsRequest.cc delete mode 100644 emr/src/model/DescribeClusterStatisticsResult.cc delete mode 100644 emr/src/model/DescribeDataSourceCommandRequest.cc delete mode 100644 emr/src/model/DescribeDataSourceCommandResult.cc delete mode 100644 emr/src/model/DescribeDataSourceSchemaDatabaseRequest.cc delete mode 100644 emr/src/model/DescribeDataSourceSchemaDatabaseResult.cc delete mode 100644 emr/src/model/DescribeDataSourceSchemaTableRequest.cc delete mode 100644 emr/src/model/DescribeDataSourceSchemaTableResult.cc delete mode 100644 emr/src/model/DescribeETLJobInstanceRequest.cc delete mode 100644 emr/src/model/DescribeETLJobInstanceResult.cc delete mode 100644 emr/src/model/DescribeETLJobRequest.cc delete mode 100644 emr/src/model/DescribeETLJobResult.cc delete mode 100644 emr/src/model/DescribeETLJobSqlSchemaRequest.cc delete mode 100644 emr/src/model/DescribeETLJobSqlSchemaResult.cc delete mode 100644 emr/src/model/DescribeETLJobStageOutputSchemaRequest.cc delete mode 100644 emr/src/model/DescribeETLJobStageOutputSchemaResult.cc delete mode 100644 emr/src/model/DescribeEmrMainVersionRequest.cc delete mode 100644 emr/src/model/DescribeEmrMainVersionResult.cc create mode 100644 emr/src/model/DescribeFlowAgentTokenRequest.cc create mode 100644 emr/src/model/DescribeFlowAgentTokenResult.cc create mode 100644 emr/src/model/DescribeFlowAgentUserRequest.cc create mode 100644 emr/src/model/DescribeFlowAgentUserResult.cc delete mode 100644 emr/src/model/DescribeFlowJobStatisticRequest.cc delete mode 100644 emr/src/model/DescribeFlowJobStatisticResult.cc delete mode 100644 emr/src/model/DescribeFlowVariableCollectionRequest.cc delete mode 100644 emr/src/model/DescribeFlowVariableCollectionResult.cc delete mode 100644 emr/src/model/DescribeHostPoolRequest.cc delete mode 100644 emr/src/model/DescribeHostPoolResult.cc delete mode 100644 emr/src/model/DescribeHpHostRequest.cc delete mode 100644 emr/src/model/DescribeHpHostResult.cc delete mode 100644 emr/src/model/DescribeKafkaBrokerRequest.cc delete mode 100644 emr/src/model/DescribeKafkaBrokerResult.cc delete mode 100644 emr/src/model/DescribeKafkaReassignRequest.cc delete mode 100644 emr/src/model/DescribeKafkaReassignResult.cc create mode 100644 emr/src/model/DescribeLibraryDetailRequest.cc create mode 100644 emr/src/model/DescribeLibraryDetailResult.cc create mode 100644 emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc create mode 100644 emr/src/model/DescribeLibraryInstallTaskDetailResult.cc delete mode 100644 emr/src/model/DescribeNoteRequest.cc delete mode 100644 emr/src/model/DescribeNoteResult.cc delete mode 100644 emr/src/model/DescribeParagraphRequest.cc delete mode 100644 emr/src/model/DescribeParagraphResult.cc create mode 100644 emr/src/model/DescribeScalingConfigItemV2Request.cc create mode 100644 emr/src/model/DescribeScalingConfigItemV2Result.cc create mode 100644 emr/src/model/DescribeScalingGroupInstanceV2Request.cc create mode 100644 emr/src/model/DescribeScalingGroupInstanceV2Result.cc create mode 100644 emr/src/model/DescribeScalingGroupV2Request.cc create mode 100644 emr/src/model/DescribeScalingGroupV2Result.cc delete mode 100644 emr/src/model/DescribeScalingTaskGroupRequest.cc delete mode 100644 emr/src/model/DescribeScalingTaskGroupResult.cc delete mode 100644 emr/src/model/DescribeUserGroupRequest.cc delete mode 100644 emr/src/model/DescribeUserGroupResult.cc delete mode 100644 emr/src/model/DescribeUserRequest.cc delete mode 100644 emr/src/model/DescribeUserResult.cc delete mode 100644 emr/src/model/DescribeUserStatisticsRequest.cc delete mode 100644 emr/src/model/DescribeUserStatisticsResult.cc delete mode 100644 emr/src/model/DescribeWorkspaceRepoSettingRequest.cc delete mode 100644 emr/src/model/DescribeWorkspaceRepoSettingResult.cc delete mode 100644 emr/src/model/DescribeWorkspaceResourceSettingRequest.cc delete mode 100644 emr/src/model/DescribeWorkspaceResourceSettingResult.cc create mode 100644 emr/src/model/DetachAndReleaseClusterEniRequest.cc rename emr/src/model/{UpdateWorkspaceRepoSettingResult.cc => DetachAndReleaseClusterEniResult.cc} (75%) delete mode 100644 emr/src/model/DetachClusterForNoteRequest.cc delete mode 100644 emr/src/model/DetachClusterForNoteResult.cc delete mode 100644 emr/src/model/GetAuditLogsRequest.cc delete mode 100644 emr/src/model/GetBackInfoRequest.cc delete mode 100644 emr/src/model/GetBackInfoResult.cc delete mode 100644 emr/src/model/GetBackPlanInfoRequest.cc delete mode 100644 emr/src/model/GetBackPlanInfoResult.cc delete mode 100644 emr/src/model/GetBackupInfoRequest.cc delete mode 100644 emr/src/model/GetBackupInfoResult.cc delete mode 100644 emr/src/model/GetBackupRuleInfoRequest.cc delete mode 100644 emr/src/model/GetBackupRuleInfoResult.cc delete mode 100644 emr/src/model/GetFlowAuditLogsRequest.cc delete mode 100644 emr/src/model/GetFlowAuditLogsResult.cc delete mode 100644 emr/src/model/GetJobMigrateResultRequest.cc delete mode 100644 emr/src/model/GetJobMigrateResultResult.cc delete mode 100644 emr/src/model/GetLogDownloadUrlRequest.cc delete mode 100644 emr/src/model/GetLogDownloadUrlResult.cc delete mode 100644 emr/src/model/GetLogHistogramRequest.cc delete mode 100644 emr/src/model/GetLogHistogramResult.cc delete mode 100644 emr/src/model/GetMetadataTypeListRequest.cc delete mode 100644 emr/src/model/GetMetadataTypeListResult.cc delete mode 100644 emr/src/model/GetOpsCommandDetailRequest.cc delete mode 100644 emr/src/model/GetOpsCommandDetailResult.cc delete mode 100644 emr/src/model/GetOpsCommandResultOnceRequest.cc delete mode 100644 emr/src/model/GetOpsCommandResultOnceResult.cc delete mode 100644 emr/src/model/GetOpsCommandResultRequest.cc delete mode 100644 emr/src/model/GetOpsCommandResultResult.cc delete mode 100644 emr/src/model/GetSupportedOpsCommandRequest.cc delete mode 100644 emr/src/model/GetSupportedOpsCommandResult.cc create mode 100644 emr/src/model/InstallLibrariesRequest.cc create mode 100644 emr/src/model/InstallLibrariesResult.cc create mode 100644 emr/src/model/JoinResourceGroupRequest.cc rename emr/src/model/{RetryCreateUserPasswordResult.cc => JoinResourceGroupResult.cc} (72%) delete mode 100644 emr/src/model/KillETLJobInstanceRequest.cc delete mode 100644 emr/src/model/KillETLJobInstanceResult.cc delete mode 100644 emr/src/model/KillExecutionPlanInstanceRequest.cc delete mode 100644 emr/src/model/KillExecutionPlanInstanceResult.cc delete mode 100644 emr/src/model/KillFlowRequest.cc delete mode 100644 emr/src/model/KillFlowResult.cc create mode 100644 emr/src/model/ListAdviceActionRequest.cc rename emr/src/model/{ListStreamingSqlQueryResult.cc => ListAdviceActionResult.cc} (54%) delete mode 100644 emr/src/model/ListAlertContactsRequest.cc delete mode 100644 emr/src/model/ListAlertContactsResult.cc delete mode 100644 emr/src/model/ListAlertDingDingGroupRequest.cc delete mode 100644 emr/src/model/ListAlertDingDingGroupResult.cc delete mode 100644 emr/src/model/ListAlertUserGroupRequest.cc delete mode 100644 emr/src/model/ListAlertUserGroupResult.cc delete mode 100644 emr/src/model/ListBackupPlansRequest.cc delete mode 100644 emr/src/model/ListBackupRulesRequest.cc delete mode 100644 emr/src/model/ListClusterHostComponentForAdminRequest.cc create mode 100644 emr/src/model/ListClusterOperationTaskRequest.cc create mode 100644 emr/src/model/ListClusterOperationTaskResult.cc delete mode 100644 emr/src/model/ListClusterScriptsRequest.cc delete mode 100644 emr/src/model/ListClusterScriptsResult.cc create mode 100644 emr/src/model/ListClusterServiceComponentRequest.cc rename emr/src/model/{ListClusterHostComponentForAdminResult.cc => ListClusterServiceComponentResult.cc} (63%) delete mode 100644 emr/src/model/ListClusterServiceConfigHistoryForAdminRequest.cc delete mode 100644 emr/src/model/ListClusterServiceConfigHistoryForAdminResult.cc delete mode 100644 emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.cc delete mode 100644 emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminResult.cc delete mode 100644 emr/src/model/ListClusterServiceCustomActionSupportConfigRequest.cc delete mode 100644 emr/src/model/ListClusterServiceCustomActionSupportConfigResult.cc delete mode 100644 emr/src/model/ListClusterSupportServiceRequest.cc delete mode 100644 emr/src/model/ListClusterSupportServiceResult.cc delete mode 100644 emr/src/model/ListClusterTagForAdminRequest.cc delete mode 100644 emr/src/model/ListClusterTagForAdminResult.cc delete mode 100644 emr/src/model/ListClusterTagRequest.cc delete mode 100644 emr/src/model/ListClusterTagResult.cc delete mode 100644 emr/src/model/ListDataSourceSchemaDatabaseRequest.cc delete mode 100644 emr/src/model/ListDataSourceSchemaDatabaseResult.cc delete mode 100644 emr/src/model/ListDataSourceSchemaTableRequest.cc delete mode 100644 emr/src/model/ListDataSourceSchemaTableResult.cc delete mode 100644 emr/src/model/ListDependedServiceRequest.cc delete mode 100644 emr/src/model/ListDependedServiceResult.cc delete mode 100644 emr/src/model/ListETLJobInstanceRequest.cc delete mode 100644 emr/src/model/ListETLJobInstanceResult.cc delete mode 100644 emr/src/model/ListETLJobReleaseRequest.cc delete mode 100644 emr/src/model/ListETLJobReleaseResult.cc delete mode 100644 emr/src/model/ListETLJobTriggerEntityRequest.cc delete mode 100644 emr/src/model/ListETLJobTriggerEntityResult.cc delete mode 100644 emr/src/model/ListExecutePlanMigrateInfoRequest.cc delete mode 100644 emr/src/model/ListExecutePlanMigrateInfoResult.cc delete mode 100644 emr/src/model/ListExecutionPlanInstanceTrendRequest.cc delete mode 100644 emr/src/model/ListExecutionPlanInstanceTrendResult.cc delete mode 100644 emr/src/model/ListFailureJobExecutionInstancesRequest.cc delete mode 100644 emr/src/model/ListFailureJobExecutionInstancesResult.cc delete mode 100644 emr/src/model/ListHostPoolRequest.cc delete mode 100644 emr/src/model/ListHostPoolResult.cc delete mode 100644 emr/src/model/ListHpHostRequest.cc delete mode 100644 emr/src/model/ListHpHostResult.cc delete mode 100644 emr/src/model/ListJobExecutionInstanceTrendRequest.cc delete mode 100644 emr/src/model/ListJobExecutionInstanceTrendResult.cc delete mode 100644 emr/src/model/ListJobExecutionPlanHierarchyRequest.cc delete mode 100644 emr/src/model/ListJobExecutionPlanHierarchyResult.cc delete mode 100644 emr/src/model/ListJobExecutionPlanParamsRequest.cc delete mode 100644 emr/src/model/ListJobExecutionPlanParamsResult.cc delete mode 100644 emr/src/model/ListJobMigrateInfoRequest.cc delete mode 100644 emr/src/model/ListJobMigrateInfoResult.cc delete mode 100644 emr/src/model/ListKafkaBrokerRequest.cc delete mode 100644 emr/src/model/ListKafkaBrokerResult.cc delete mode 100644 emr/src/model/ListKafkaReassignRequest.cc delete mode 100644 emr/src/model/ListKafkaReassignResult.cc delete mode 100644 emr/src/model/ListKafkaReassignTopicRequest.cc delete mode 100644 emr/src/model/ListKafkaReassignTopicResult.cc delete mode 100644 emr/src/model/ListKafkaTopicStatisticsRequest.cc delete mode 100644 emr/src/model/ListKafkaTopicStatisticsResult.cc create mode 100644 emr/src/model/ListLibrariesRequest.cc create mode 100644 emr/src/model/ListLibrariesResult.cc create mode 100644 emr/src/model/ListLibraryInstallTasksRequest.cc create mode 100644 emr/src/model/ListLibraryInstallTasksResult.cc create mode 100644 emr/src/model/ListLibraryStatusRequest.cc rename emr/src/model/{ListBackupRulesResult.cc => ListLibraryStatusResult.cc} (53%) create mode 100644 emr/src/model/ListMetaClusterRequest.cc rename emr/src/model/{ListBackupPlansResult.cc => ListMetaClusterResult.cc} (66%) create mode 100644 emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc rename emr/src/model/{GetAuditLogsResult.cc => ListMetaDataSourceClusterForOuterResult.cc} (61%) delete mode 100644 emr/src/model/ListNavSubTreeRequest.cc delete mode 100644 emr/src/model/ListNavSubTreeResult.cc delete mode 100644 emr/src/model/ListOpsOperationRequest.cc delete mode 100644 emr/src/model/ListOpsOperationResult.cc delete mode 100644 emr/src/model/ListOpsOperationTaskRequest.cc delete mode 100644 emr/src/model/ListOpsOperationTaskResult.cc delete mode 100644 emr/src/model/ListRequiredServiceRequest.cc delete mode 100644 emr/src/model/ListRequiredServiceResult.cc delete mode 100644 emr/src/model/ListResourcePoolForAdminRequest.cc delete mode 100644 emr/src/model/ListResourcePoolForAdminResult.cc delete mode 100644 emr/src/model/ListResourceQueueRequest.cc delete mode 100644 emr/src/model/ListResourceQueueResult.cc delete mode 100644 emr/src/model/ListScalingActivityRequest.cc delete mode 100644 emr/src/model/ListScalingActivityResult.cc create mode 100644 emr/src/model/ListScalingActivityV2Request.cc create mode 100644 emr/src/model/ListScalingActivityV2Result.cc create mode 100644 emr/src/model/ListScalingConfigItemV2Request.cc create mode 100644 emr/src/model/ListScalingConfigItemV2Result.cc create mode 100644 emr/src/model/ListScalingGroupV2Request.cc create mode 100644 emr/src/model/ListScalingGroupV2Result.cc delete mode 100644 emr/src/model/ListScalingRuleRequest.cc delete mode 100644 emr/src/model/ListScalingRuleResult.cc delete mode 100644 emr/src/model/ListScalingTaskGroupRequest.cc delete mode 100644 emr/src/model/ListScalingTaskGroupResult.cc create mode 100644 emr/src/model/ListSecurityGroupRequest.cc create mode 100644 emr/src/model/ListSecurityGroupResult.cc delete mode 100644 emr/src/model/ListServiceLogRequest.cc delete mode 100644 emr/src/model/ListServiceLogResult.cc delete mode 100644 emr/src/model/ListSlsLogstoreInfoRequest.cc delete mode 100644 emr/src/model/ListSlsLogstoreInfoResult.cc delete mode 100644 emr/src/model/ListStackServiceRequest.cc delete mode 100644 emr/src/model/ListStackServiceResult.cc delete mode 100644 emr/src/model/ListStreamingSqlQueryRequest.cc delete mode 100644 emr/src/model/ListSupportedServiceNameForAdminRequest.cc delete mode 100644 emr/src/model/ListSupportedServiceNameForAdminResult.cc delete mode 100644 emr/src/model/ListSupportedServiceNameRequest.cc delete mode 100644 emr/src/model/ListSupportedServiceNameResult.cc delete mode 100644 emr/src/model/ListUserGroupsRequest.cc delete mode 100644 emr/src/model/ListUserGroupsResult.cc delete mode 100644 emr/src/model/ListUserStatisticsRequest.cc delete mode 100644 emr/src/model/ListUserStatisticsResult.cc delete mode 100644 emr/src/model/ListUsersByConditionRequest.cc delete mode 100644 emr/src/model/ListUsersByConditionResult.cc create mode 100644 emr/src/model/ListVswitchRequest.cc create mode 100644 emr/src/model/ListVswitchResult.cc delete mode 100644 emr/src/model/MetastoreCreateDataResourceRequest.cc delete mode 100644 emr/src/model/MetastoreCreateDataResourceResult.cc delete mode 100644 emr/src/model/MetastoreCreateDatabaseRequest.cc delete mode 100644 emr/src/model/MetastoreCreateDatabaseResult.cc delete mode 100644 emr/src/model/MetastoreCreateKafkaTopicRequest.cc delete mode 100644 emr/src/model/MetastoreCreateKafkaTopicResult.cc delete mode 100644 emr/src/model/MetastoreCreateTableRequest.cc delete mode 100644 emr/src/model/MetastoreCreateTableResult.cc delete mode 100644 emr/src/model/MetastoreDataPreviewRequest.cc delete mode 100644 emr/src/model/MetastoreDataPreviewResult.cc delete mode 100644 emr/src/model/MetastoreDeleteDataResourceRequest.cc delete mode 100644 emr/src/model/MetastoreDeleteDataResourceResult.cc delete mode 100644 emr/src/model/MetastoreDeleteKafkaTopicRequest.cc delete mode 100644 emr/src/model/MetastoreDeleteKafkaTopicResult.cc delete mode 100644 emr/src/model/MetastoreDescribeDataSourceRequest.cc delete mode 100644 emr/src/model/MetastoreDescribeDataSourceResult.cc delete mode 100644 emr/src/model/MetastoreDescribeDatabaseRequest.cc delete mode 100644 emr/src/model/MetastoreDescribeDatabaseResult.cc delete mode 100644 emr/src/model/MetastoreDescribeKafkaConsumerGroupRequest.cc delete mode 100644 emr/src/model/MetastoreDescribeKafkaConsumerGroupResult.cc delete mode 100644 emr/src/model/MetastoreDescribeKafkaTopicRequest.cc delete mode 100644 emr/src/model/MetastoreDescribeKafkaTopicResult.cc delete mode 100644 emr/src/model/MetastoreDescribeTableRequest.cc delete mode 100644 emr/src/model/MetastoreDescribeTableResult.cc delete mode 100644 emr/src/model/MetastoreDescribeTaskRequest.cc delete mode 100644 emr/src/model/MetastoreDescribeTaskResult.cc delete mode 100644 emr/src/model/MetastoreDropDatabaseRequest.cc delete mode 100644 emr/src/model/MetastoreDropDatabaseResult.cc delete mode 100644 emr/src/model/MetastoreDropTableRequest.cc delete mode 100644 emr/src/model/MetastoreDropTableResult.cc delete mode 100644 emr/src/model/MetastoreListDataResourcesRequest.cc delete mode 100644 emr/src/model/MetastoreListDataResourcesResult.cc delete mode 100644 emr/src/model/MetastoreListDataSourceRequest.cc delete mode 100644 emr/src/model/MetastoreListDataSourceResult.cc delete mode 100644 emr/src/model/MetastoreListDatabasesRequest.cc delete mode 100644 emr/src/model/MetastoreListDatabasesResult.cc delete mode 100644 emr/src/model/MetastoreListKafkaConsumerGroupRequest.cc delete mode 100644 emr/src/model/MetastoreListKafkaConsumerGroupResult.cc delete mode 100644 emr/src/model/MetastoreListKafkaTopicRequest.cc delete mode 100644 emr/src/model/MetastoreListKafkaTopicResult.cc delete mode 100644 emr/src/model/MetastoreListTablePartitionRequest.cc delete mode 100644 emr/src/model/MetastoreListTablePartitionResult.cc delete mode 100644 emr/src/model/MetastoreListTablesRequest.cc delete mode 100644 emr/src/model/MetastoreListTablesResult.cc delete mode 100644 emr/src/model/MetastoreListTaskRequest.cc delete mode 100644 emr/src/model/MetastoreListTaskResult.cc delete mode 100644 emr/src/model/MetastoreModifyDataResourceRequest.cc delete mode 100644 emr/src/model/MetastoreModifyDataResourceResult.cc delete mode 100644 emr/src/model/MetastoreRetryTaskRequest.cc delete mode 100644 emr/src/model/MetastoreRetryTaskResult.cc delete mode 100644 emr/src/model/MetastoreSearchTablesRequest.cc delete mode 100644 emr/src/model/MetastoreSearchTablesResult.cc delete mode 100644 emr/src/model/MetastoreUpdateKafkaTopicBatchRequest.cc delete mode 100644 emr/src/model/MetastoreUpdateKafkaTopicBatchResult.cc delete mode 100644 emr/src/model/MetastoreUpdateKafkaTopicRequest.cc delete mode 100644 emr/src/model/MetastoreUpdateKafkaTopicResult.cc delete mode 100644 emr/src/model/MetastoreUpdateTableRequest.cc delete mode 100644 emr/src/model/MetastoreUpdateTableResult.cc delete mode 100644 emr/src/model/MigrateClusterHostGroupHostRequest.cc delete mode 100644 emr/src/model/MigrateClusterHostGroupHostResult.cc delete mode 100644 emr/src/model/MigrateJobsRequest.cc delete mode 100644 emr/src/model/MigrateJobsResult.cc delete mode 100644 emr/src/model/ModifyAlertContactRequest.cc delete mode 100644 emr/src/model/ModifyAlertDingDingGroupRequest.cc delete mode 100644 emr/src/model/ModifyAlertDingDingGroupResult.cc delete mode 100644 emr/src/model/ModifyAlertUserGroupRequest.cc create mode 100644 emr/src/model/ModifyClusterBootstrapActionRequest.cc create mode 100644 emr/src/model/ModifyClusterBootstrapActionResult.cc create mode 100644 emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc rename emr/src/model/{UpdateWorkspaceResourceSettingResult.cc => ModifyClusterSecurityGroupRuleResult.cc} (70%) delete mode 100644 emr/src/model/ModifyClusterServiceConfigForAdminRequest.cc delete mode 100644 emr/src/model/ModifyClusterServiceConfigForAdminResult.cc delete mode 100644 emr/src/model/ModifyExecutionPlanBasicInfoRequest.cc delete mode 100644 emr/src/model/ModifyExecutionPlanBasicInfoResult.cc delete mode 100644 emr/src/model/ModifyExecutionPlanClusterInfoRequest.cc delete mode 100644 emr/src/model/ModifyExecutionPlanClusterInfoResult.cc delete mode 100644 emr/src/model/ModifyExecutionPlanJobInfoRequest.cc delete mode 100644 emr/src/model/ModifyExecutionPlanJobInfoResult.cc delete mode 100644 emr/src/model/ModifyExecutionPlanScheduleInfoRequest.cc delete mode 100644 emr/src/model/ModifyExecutionPlanScheduleInfoResult.cc delete mode 100644 emr/src/model/ModifyFlowVariableCollectionRequest.cc delete mode 100644 emr/src/model/ModifyFlowVariableCollectionResult.cc delete mode 100644 emr/src/model/ModifyHostPoolRequest.cc delete mode 100644 emr/src/model/ModifyHostPoolResult.cc delete mode 100644 emr/src/model/ModifyHpHostRequest.cc delete mode 100644 emr/src/model/ModifyJobExecutionPlanFolderRequest.cc delete mode 100644 emr/src/model/ModifyJobExecutionPlanFolderResult.cc delete mode 100644 emr/src/model/ModifyJobExecutionPlanParamRequest.cc create mode 100644 emr/src/model/ModifyScalingConfigItemV2Request.cc rename emr/src/model/{DeleteUserGroupResult.cc => ModifyScalingConfigItemV2Result.cc} (67%) create mode 100644 emr/src/model/ModifyScalingGroupV2Request.cc rename emr/src/model/{RemoveBackupPlanResult.cc => ModifyScalingGroupV2Result.cc} (72%) delete mode 100644 emr/src/model/ModifyUserStatisticsRequest.cc delete mode 100644 emr/src/model/ModifyUserStatisticsResult.cc delete mode 100644 emr/src/model/OfflineKafkaBrokerRequest.cc delete mode 100644 emr/src/model/OfflineKafkaBrokerResult.cc delete mode 100644 emr/src/model/OperateExistsNodeClusterRequest.cc delete mode 100644 emr/src/model/OperateExistsNodeClusterResult.cc delete mode 100644 emr/src/model/PageListResourceUsersRequest.cc delete mode 100644 emr/src/model/PageListResourceUsersResult.cc delete mode 100644 emr/src/model/PageListUserGroupsRequest.cc delete mode 100644 emr/src/model/PageListUserGroupsResult.cc delete mode 100644 emr/src/model/PageListUsersRequest.cc delete mode 100644 emr/src/model/PageListUsersResult.cc delete mode 100644 emr/src/model/PlanComponentTopoRequest.cc delete mode 100644 emr/src/model/PlanComponentTopoResult.cc delete mode 100644 emr/src/model/PlanHostNameRequest.cc delete mode 100644 emr/src/model/PlanHostNameResult.cc delete mode 100644 emr/src/model/QueryAlarmRulesRequest.cc delete mode 100644 emr/src/model/QueryAlarmRulesResult.cc delete mode 100644 emr/src/model/QueryInfoByTokenRequest.cc delete mode 100644 emr/src/model/QueryInfoByTokenResult.cc delete mode 100644 emr/src/model/QuerySlsMetricDataRequest.cc delete mode 100644 emr/src/model/QuerySlsMetricDataResult.cc delete mode 100644 emr/src/model/QueryUserActionsPolicyRequest.cc delete mode 100644 emr/src/model/QueryUserActionsPolicyResult.cc delete mode 100644 emr/src/model/QueryUserPoliciesRequest.cc delete mode 100644 emr/src/model/QueryUserPoliciesResult.cc delete mode 100644 emr/src/model/ReassignKafkaRequest.cc delete mode 100644 emr/src/model/ReassignKafkaResult.cc delete mode 100644 emr/src/model/RefreshBackupListRequest.cc delete mode 100644 emr/src/model/RefreshBackupListResult.cc delete mode 100644 emr/src/model/RefreshClusterResourcePoolForAdminRequest.cc delete mode 100644 emr/src/model/RefreshClusterResourcePoolForAdminResult.cc delete mode 100644 emr/src/model/ReleaseETLJobRequest.cc delete mode 100644 emr/src/model/ReleaseETLJobResult.cc delete mode 100644 emr/src/model/RemoveBackupPlanRequest.cc delete mode 100644 emr/src/model/RemoveBackupRequest.cc delete mode 100644 emr/src/model/RemoveBackupResult.cc delete mode 100644 emr/src/model/RemoveBackupRuleRequest.cc delete mode 100644 emr/src/model/RemoveClusterHostsRequest.cc delete mode 100644 emr/src/model/RemoveClusterHostsResult.cc delete mode 100644 emr/src/model/RemoveHpHostRequest.cc delete mode 100644 emr/src/model/RemoveHpHostResult.cc create mode 100644 emr/src/model/RemoveScalingConfigItemV2Request.cc rename emr/src/model/{CreateUserGroupResult.cc => RemoveScalingConfigItemV2Result.cc} (67%) delete mode 100644 emr/src/model/RenderResourcePoolXmlForAdminRequest.cc delete mode 100644 emr/src/model/RenderResourcePoolXmlForAdminResult.cc delete mode 100644 emr/src/model/RenderResourcePoolXmlRequest.cc delete mode 100644 emr/src/model/RenderResourcePoolXmlResult.cc delete mode 100644 emr/src/model/ResizeClusterWithHostPoolRequest.cc delete mode 100644 emr/src/model/ResizeClusterWithHostPoolResult.cc delete mode 100644 emr/src/model/ResolveETLJobSqlSchemaRequest.cc delete mode 100644 emr/src/model/ResolveETLJobSqlSchemaResult.cc delete mode 100644 emr/src/model/ResumeExecutionPlanInstanceRequest.cc delete mode 100644 emr/src/model/ResumeExecutionPlanInstanceResult.cc delete mode 100644 emr/src/model/RetryCreateUserPasswordRequest.cc delete mode 100644 emr/src/model/RetryExecutionPlanInstanceRequest.cc delete mode 100644 emr/src/model/RetryExecutionPlanInstanceResult.cc delete mode 100644 emr/src/model/RetryExecutionPlanRequest.cc delete mode 100644 emr/src/model/RetryExecutionPlanResult.cc create mode 100644 emr/src/model/RetryOperationRequest.cc rename emr/src/model/{ModifyJobExecutionPlanParamResult.cc => RetryOperationResult.cc} (58%) delete mode 100644 emr/src/model/RetrySyncUserAccountRequest.cc delete mode 100644 emr/src/model/RetrySyncUserAccountResult.cc delete mode 100644 emr/src/model/RunETLJobRequest.cc delete mode 100644 emr/src/model/RunETLJobResult.cc delete mode 100644 emr/src/model/RunNoteParagraphsRequest.cc delete mode 100644 emr/src/model/RunNoteParagraphsResult.cc delete mode 100644 emr/src/model/RunOpsCommandRequest.cc delete mode 100644 emr/src/model/RunOpsCommandResult.cc delete mode 100644 emr/src/model/RunParagraphRequest.cc delete mode 100644 emr/src/model/RunParagraphResult.cc create mode 100644 emr/src/model/RunScalingActionV2Request.cc rename emr/src/model/{ModifyAlertContactResult.cc => RunScalingActionV2Result.cc} (68%) delete mode 100644 emr/src/model/SaveBatchUserAccountInfoRequest.cc delete mode 100644 emr/src/model/SaveBatchUserAccountInfoResult.cc delete mode 100644 emr/src/model/SaveParagraphRequest.cc delete mode 100644 emr/src/model/SaveParagraphResult.cc delete mode 100644 emr/src/model/SaveUserAccountInfoRequest.cc delete mode 100644 emr/src/model/SaveUserAccountInfoResult.cc delete mode 100644 emr/src/model/StartKafkaBrokerDiskBalancerRequest.cc delete mode 100644 emr/src/model/StartKafkaBrokerDiskBalancerResult.cc delete mode 100644 emr/src/model/StartKafkaPreferredReplicaElectionRequest.cc delete mode 100644 emr/src/model/StartKafkaPreferredReplicaElectionResult.cc delete mode 100644 emr/src/model/StopParagraphRequest.cc delete mode 100644 emr/src/model/StopParagraphResult.cc delete mode 100644 emr/src/model/SuspendExecutionPlanInstanceRequest.cc delete mode 100644 emr/src/model/SuspendExecutionPlanInstanceResult.cc delete mode 100644 emr/src/model/SyncDataSourceSchemaDatabaseRequest.cc delete mode 100644 emr/src/model/SyncDataSourceSchemaDatabaseResult.cc delete mode 100644 emr/src/model/SyncDataSourceSchemaTableRequest.cc delete mode 100644 emr/src/model/SyncDataSourceSchemaTableResult.cc delete mode 100644 emr/src/model/TerminateClusterOperationRequest.cc delete mode 100644 emr/src/model/TerminateClusterOperationResult.cc create mode 100644 emr/src/model/UninstallLibrariesRequest.cc create mode 100644 emr/src/model/UninstallLibrariesResult.cc create mode 100644 emr/src/model/UntagResourcesSystemTagsRequest.cc create mode 100644 emr/src/model/UntagResourcesSystemTagsResult.cc delete mode 100644 emr/src/model/UpdateETLJobRequest.cc delete mode 100644 emr/src/model/UpdateETLJobResult.cc delete mode 100644 emr/src/model/UpdateETLJobStageRequest.cc delete mode 100644 emr/src/model/UpdateETLJobStageResult.cc delete mode 100644 emr/src/model/UpdateKafkaReassignParamRequest.cc delete mode 100644 emr/src/model/UpdateKafkaReassignParamResult.cc create mode 100644 emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc create mode 100644 emr/src/model/UpdateLibraryInstallTaskStatusResult.cc delete mode 100644 emr/src/model/UpdateNavNodeRequest.cc delete mode 100644 emr/src/model/UpdateNavNodeResult.cc delete mode 100644 emr/src/model/UpdateProjectSettingRequest.cc delete mode 100644 emr/src/model/UpdateProjectSettingResult.cc delete mode 100644 emr/src/model/UpdateUserGroupRequest.cc delete mode 100644 emr/src/model/UpdateUserGroupResult.cc delete mode 100644 emr/src/model/UpdateUserStatusRequest.cc delete mode 100644 emr/src/model/UpdateUserStatusResult.cc delete mode 100644 emr/src/model/UpdateWorkspaceRepoSettingRequest.cc delete mode 100644 emr/src/model/UpdateWorkspaceResourceSettingRequest.cc diff --git a/CHANGELOG b/CHANGELOG index 91c0a8b20..9ed0f3806 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-12-25 Version: patch +- Generated 2016-04-08 for `Emr`. + 2020-12-25 Version: patch - Supported for weboffice edit. diff --git a/emr/CMakeLists.txt b/emr/CMakeLists.txt index 13e13afb1..84721f879 100644 --- a/emr/CMakeLists.txt +++ b/emr/CMakeLists.txt @@ -23,72 +23,34 @@ set(emr_public_header set(emr_public_header_model include/alibabacloud/emr/model/AddClusterServiceRequest.h include/alibabacloud/emr/model/AddClusterServiceResult.h - include/alibabacloud/emr/model/AddClusterServiceForAdminRequest.h - include/alibabacloud/emr/model/AddClusterServiceForAdminResult.h - include/alibabacloud/emr/model/AddHpHostRequest.h - include/alibabacloud/emr/model/AddHpHostResult.h - include/alibabacloud/emr/model/AddResourceToUsersRequest.h - include/alibabacloud/emr/model/AddResourceToUsersResult.h - include/alibabacloud/emr/model/AddUserResourceRoleRequest.h - include/alibabacloud/emr/model/AddUserResourceRoleResult.h - include/alibabacloud/emr/model/AttachClusterForNoteRequest.h - include/alibabacloud/emr/model/AttachClusterForNoteResult.h - include/alibabacloud/emr/model/AttachPubIpRequest.h - include/alibabacloud/emr/model/AttachPubIpResult.h + include/alibabacloud/emr/model/AddScalingConfigItemV2Request.h + include/alibabacloud/emr/model/AddScalingConfigItemV2Result.h include/alibabacloud/emr/model/AuthorizeSecurityGroupRequest.h include/alibabacloud/emr/model/AuthorizeSecurityGroupResult.h - include/alibabacloud/emr/model/CancelETLJobReleaseRequest.h - include/alibabacloud/emr/model/CancelETLJobReleaseResult.h include/alibabacloud/emr/model/CancelOrderRequest.h include/alibabacloud/emr/model/CancelOrderResult.h - include/alibabacloud/emr/model/CheckDataSourceRequest.h - include/alibabacloud/emr/model/CheckDataSourceResult.h include/alibabacloud/emr/model/CleanupFlowEntitySnapshotRequest.h include/alibabacloud/emr/model/CleanupFlowEntitySnapshotResult.h - include/alibabacloud/emr/model/CloneDataSourceRequest.h - include/alibabacloud/emr/model/CloneDataSourceResult.h - include/alibabacloud/emr/model/CloneETLJobRequest.h - include/alibabacloud/emr/model/CloneETLJobResult.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/CommonApiWhiteListRequest.h - include/alibabacloud/emr/model/CommonApiWhiteListResult.h - include/alibabacloud/emr/model/ContextQueryLogRequest.h - include/alibabacloud/emr/model/ContextQueryLogResult.h - include/alibabacloud/emr/model/CreateAlertContactRequest.h - include/alibabacloud/emr/model/CreateAlertContactResult.h - include/alibabacloud/emr/model/CreateAlertDingDingGroupRequest.h - include/alibabacloud/emr/model/CreateAlertDingDingGroupResult.h - include/alibabacloud/emr/model/CreateAlertUserGroupRequest.h - include/alibabacloud/emr/model/CreateAlertUserGroupResult.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/CreateBackupRuleRequest.h - include/alibabacloud/emr/model/CreateBackupRuleResult.h - include/alibabacloud/emr/model/CreateBatchUsersRequest.h - include/alibabacloud/emr/model/CreateBatchUsersResult.h - include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h - include/alibabacloud/emr/model/CreateClusterHostGroupResult.h - include/alibabacloud/emr/model/CreateClusterScriptRequest.h - include/alibabacloud/emr/model/CreateClusterScriptResult.h + include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h + include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h include/alibabacloud/emr/model/CreateClusterTemplateRequest.h include/alibabacloud/emr/model/CreateClusterTemplateResult.h include/alibabacloud/emr/model/CreateClusterV2Request.h include/alibabacloud/emr/model/CreateClusterV2Result.h - include/alibabacloud/emr/model/CreateClusterWithHostPoolRequest.h - include/alibabacloud/emr/model/CreateClusterWithHostPoolResult.h include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h include/alibabacloud/emr/model/CreateClusterWithTemplateResult.h include/alibabacloud/emr/model/CreateDataSourceRequest.h include/alibabacloud/emr/model/CreateDataSourceResult.h - include/alibabacloud/emr/model/CreateETLJobRequest.h - include/alibabacloud/emr/model/CreateETLJobResult.h include/alibabacloud/emr/model/CreateExecutionPlanRequest.h include/alibabacloud/emr/model/CreateExecutionPlanResult.h include/alibabacloud/emr/model/CreateFlowRequest.h @@ -107,14 +69,12 @@ set(emr_public_header_model include/alibabacloud/emr/model/CreateFlowProjectClusterSettingResult.h include/alibabacloud/emr/model/CreateFlowProjectUserRequest.h include/alibabacloud/emr/model/CreateFlowProjectUserResult.h - include/alibabacloud/emr/model/CreateHostPoolRequest.h - include/alibabacloud/emr/model/CreateHostPoolResult.h include/alibabacloud/emr/model/CreateJobRequest.h include/alibabacloud/emr/model/CreateJobResult.h + include/alibabacloud/emr/model/CreateLibraryRequest.h + include/alibabacloud/emr/model/CreateLibraryResult.h include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h include/alibabacloud/emr/model/CreateMetaTablePreviewTaskResult.h - include/alibabacloud/emr/model/CreateNavNodeRequest.h - include/alibabacloud/emr/model/CreateNavNodeResult.h include/alibabacloud/emr/model/CreateNoteRequest.h include/alibabacloud/emr/model/CreateNoteResult.h include/alibabacloud/emr/model/CreateParagraphRequest.h @@ -123,42 +83,20 @@ set(emr_public_header_model include/alibabacloud/emr/model/CreateResourcePoolResult.h include/alibabacloud/emr/model/CreateResourceQueueRequest.h include/alibabacloud/emr/model/CreateResourceQueueResult.h + include/alibabacloud/emr/model/CreateScalingGroupV2Request.h + include/alibabacloud/emr/model/CreateScalingGroupV2Result.h include/alibabacloud/emr/model/CreateScalingRuleRequest.h include/alibabacloud/emr/model/CreateScalingRuleResult.h - include/alibabacloud/emr/model/CreateScalingTaskGroupRequest.h - include/alibabacloud/emr/model/CreateScalingTaskGroupResult.h include/alibabacloud/emr/model/CreateTagRequest.h include/alibabacloud/emr/model/CreateTagResult.h include/alibabacloud/emr/model/CreateUserRequest.h include/alibabacloud/emr/model/CreateUserResult.h - include/alibabacloud/emr/model/CreateUserGroupRequest.h - include/alibabacloud/emr/model/CreateUserGroupResult.h - include/alibabacloud/emr/model/CreateUserPasswordRequest.h - include/alibabacloud/emr/model/CreateUserPasswordResult.h - include/alibabacloud/emr/model/CreateUserStatisticsRequest.h - include/alibabacloud/emr/model/CreateUserStatisticsResult.h include/alibabacloud/emr/model/CreateUsersRequest.h include/alibabacloud/emr/model/CreateUsersResult.h - include/alibabacloud/emr/model/CreateVerificationCodeRequest.h - include/alibabacloud/emr/model/CreateVerificationCodeResult.h - include/alibabacloud/emr/model/DeleteAlertContactsRequest.h - include/alibabacloud/emr/model/DeleteAlertContactsResult.h - include/alibabacloud/emr/model/DeleteAlertDingDingGroupsRequest.h - include/alibabacloud/emr/model/DeleteAlertDingDingGroupsResult.h - include/alibabacloud/emr/model/DeleteAlertUserGroupsRequest.h - include/alibabacloud/emr/model/DeleteAlertUserGroupsResult.h - include/alibabacloud/emr/model/DeleteBatchResourceUsersRequest.h - include/alibabacloud/emr/model/DeleteBatchResourceUsersResult.h - include/alibabacloud/emr/model/DeleteClusterHostGroupRequest.h - include/alibabacloud/emr/model/DeleteClusterHostGroupResult.h - include/alibabacloud/emr/model/DeleteClusterScriptRequest.h - include/alibabacloud/emr/model/DeleteClusterScriptResult.h + include/alibabacloud/emr/model/DecommissionHostComponentRequest.h + include/alibabacloud/emr/model/DecommissionHostComponentResult.h include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h include/alibabacloud/emr/model/DeleteClusterTemplateResult.h - include/alibabacloud/emr/model/DeleteDataSourceRequest.h - include/alibabacloud/emr/model/DeleteDataSourceResult.h - include/alibabacloud/emr/model/DeleteETLJobRequest.h - include/alibabacloud/emr/model/DeleteETLJobResult.h include/alibabacloud/emr/model/DeleteExecutionPlanRequest.h include/alibabacloud/emr/model/DeleteExecutionPlanResult.h include/alibabacloud/emr/model/DeleteFlowRequest.h @@ -171,96 +109,56 @@ set(emr_public_header_model include/alibabacloud/emr/model/DeleteFlowJobResult.h include/alibabacloud/emr/model/DeleteFlowProjectRequest.h include/alibabacloud/emr/model/DeleteFlowProjectResult.h - include/alibabacloud/emr/model/DeleteFlowProjectByIdRequest.h - include/alibabacloud/emr/model/DeleteFlowProjectByIdResult.h include/alibabacloud/emr/model/DeleteFlowProjectClusterSettingRequest.h include/alibabacloud/emr/model/DeleteFlowProjectClusterSettingResult.h include/alibabacloud/emr/model/DeleteFlowProjectUserRequest.h include/alibabacloud/emr/model/DeleteFlowProjectUserResult.h - include/alibabacloud/emr/model/DeleteHostPoolRequest.h - include/alibabacloud/emr/model/DeleteHostPoolResult.h include/alibabacloud/emr/model/DeleteJobRequest.h include/alibabacloud/emr/model/DeleteJobResult.h - include/alibabacloud/emr/model/DeleteNavNodeRequest.h - include/alibabacloud/emr/model/DeleteNavNodeResult.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/DeleteParagraphRequest.h - include/alibabacloud/emr/model/DeleteParagraphResult.h include/alibabacloud/emr/model/DeleteResourcePoolRequest.h include/alibabacloud/emr/model/DeleteResourcePoolResult.h include/alibabacloud/emr/model/DeleteResourceQueueRequest.h include/alibabacloud/emr/model/DeleteResourceQueueResult.h - include/alibabacloud/emr/model/DeleteResourceUserRequest.h - include/alibabacloud/emr/model/DeleteResourceUserResult.h include/alibabacloud/emr/model/DeleteScalingRuleRequest.h include/alibabacloud/emr/model/DeleteScalingRuleResult.h - include/alibabacloud/emr/model/DeleteScalingTaskGroupRequest.h - include/alibabacloud/emr/model/DeleteScalingTaskGroupResult.h include/alibabacloud/emr/model/DeleteTagRequest.h include/alibabacloud/emr/model/DeleteTagResult.h include/alibabacloud/emr/model/DeleteUserRequest.h include/alibabacloud/emr/model/DeleteUserResult.h - include/alibabacloud/emr/model/DeleteUserGroupRequest.h - include/alibabacloud/emr/model/DeleteUserGroupResult.h - include/alibabacloud/emr/model/DeleteUserResourceRoleRequest.h - include/alibabacloud/emr/model/DeleteUserResourceRoleResult.h - include/alibabacloud/emr/model/DescribeAvailableInstanceTypeRequest.h - include/alibabacloud/emr/model/DescribeAvailableInstanceTypeResult.h include/alibabacloud/emr/model/DescribeClusterBasicInfoRequest.h include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h include/alibabacloud/emr/model/DescribeClusterMetaCollectRequest.h include/alibabacloud/emr/model/DescribeClusterMetaCollectResult.h - include/alibabacloud/emr/model/DescribeClusterOpLogRequest.h - include/alibabacloud/emr/model/DescribeClusterOpLogResult.h include/alibabacloud/emr/model/DescribeClusterOperationHostTaskLogRequest.h include/alibabacloud/emr/model/DescribeClusterOperationHostTaskLogResult.h include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeRequest.h include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeResult.h - include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.h - include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.h - include/alibabacloud/emr/model/DescribeClusterScriptRequest.h - include/alibabacloud/emr/model/DescribeClusterScriptResult.h include/alibabacloud/emr/model/DescribeClusterServiceRequest.h include/alibabacloud/emr/model/DescribeClusterServiceResult.h include/alibabacloud/emr/model/DescribeClusterServiceConfigRequest.h include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h - include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminRequest.h - include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminResult.h include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryRequest.h include/alibabacloud/emr/model/DescribeClusterServiceConfigHistoryResult.h include/alibabacloud/emr/model/DescribeClusterServiceConfigTagRequest.h include/alibabacloud/emr/model/DescribeClusterServiceConfigTagResult.h - include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminRequest.h - include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminResult.h - include/alibabacloud/emr/model/DescribeClusterStatisticsRequest.h - include/alibabacloud/emr/model/DescribeClusterStatisticsResult.h include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h include/alibabacloud/emr/model/DescribeClusterTemplateResult.h include/alibabacloud/emr/model/DescribeClusterV2Request.h include/alibabacloud/emr/model/DescribeClusterV2Result.h include/alibabacloud/emr/model/DescribeDataSourceRequest.h include/alibabacloud/emr/model/DescribeDataSourceResult.h - include/alibabacloud/emr/model/DescribeDataSourceCommandRequest.h - include/alibabacloud/emr/model/DescribeDataSourceCommandResult.h - include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseRequest.h - include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseResult.h - include/alibabacloud/emr/model/DescribeDataSourceSchemaTableRequest.h - include/alibabacloud/emr/model/DescribeDataSourceSchemaTableResult.h - include/alibabacloud/emr/model/DescribeETLJobRequest.h - include/alibabacloud/emr/model/DescribeETLJobResult.h - include/alibabacloud/emr/model/DescribeETLJobInstanceRequest.h - include/alibabacloud/emr/model/DescribeETLJobInstanceResult.h - include/alibabacloud/emr/model/DescribeETLJobSqlSchemaRequest.h - include/alibabacloud/emr/model/DescribeETLJobSqlSchemaResult.h - include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaRequest.h - include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaResult.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 @@ -271,8 +169,6 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeFlowInstanceResult.h include/alibabacloud/emr/model/DescribeFlowJobRequest.h include/alibabacloud/emr/model/DescribeFlowJobResult.h - include/alibabacloud/emr/model/DescribeFlowJobStatisticRequest.h - include/alibabacloud/emr/model/DescribeFlowJobStatisticResult.h include/alibabacloud/emr/model/DescribeFlowNodeInstanceRequest.h include/alibabacloud/emr/model/DescribeFlowNodeInstanceResult.h include/alibabacloud/emr/model/DescribeFlowNodeInstanceContainerLogRequest.h @@ -283,130 +179,74 @@ set(emr_public_header_model include/alibabacloud/emr/model/DescribeFlowProjectResult.h include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingRequest.h include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h - include/alibabacloud/emr/model/DescribeFlowVariableCollectionRequest.h - include/alibabacloud/emr/model/DescribeFlowVariableCollectionResult.h - include/alibabacloud/emr/model/DescribeHostPoolRequest.h - include/alibabacloud/emr/model/DescribeHostPoolResult.h - include/alibabacloud/emr/model/DescribeHpHostRequest.h - include/alibabacloud/emr/model/DescribeHpHostResult.h include/alibabacloud/emr/model/DescribeJobRequest.h include/alibabacloud/emr/model/DescribeJobResult.h - include/alibabacloud/emr/model/DescribeKafkaBrokerRequest.h - include/alibabacloud/emr/model/DescribeKafkaBrokerResult.h - include/alibabacloud/emr/model/DescribeKafkaReassignRequest.h - include/alibabacloud/emr/model/DescribeKafkaReassignResult.h + include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h + include/alibabacloud/emr/model/DescribeLibraryDetailResult.h + include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h + include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskResult.h - include/alibabacloud/emr/model/DescribeNoteRequest.h - include/alibabacloud/emr/model/DescribeNoteResult.h - include/alibabacloud/emr/model/DescribeParagraphRequest.h - include/alibabacloud/emr/model/DescribeParagraphResult.h include/alibabacloud/emr/model/DescribeScalingActivityRequest.h include/alibabacloud/emr/model/DescribeScalingActivityResult.h include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h + include/alibabacloud/emr/model/DescribeScalingConfigItemV2Request.h + include/alibabacloud/emr/model/DescribeScalingConfigItemV2Result.h + include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Request.h + include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h + include/alibabacloud/emr/model/DescribeScalingGroupV2Request.h + include/alibabacloud/emr/model/DescribeScalingGroupV2Result.h include/alibabacloud/emr/model/DescribeScalingRuleRequest.h include/alibabacloud/emr/model/DescribeScalingRuleResult.h - include/alibabacloud/emr/model/DescribeScalingTaskGroupRequest.h - include/alibabacloud/emr/model/DescribeScalingTaskGroupResult.h include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h include/alibabacloud/emr/model/DescribeSecurityGroupAttributeResult.h - include/alibabacloud/emr/model/DescribeUserRequest.h - include/alibabacloud/emr/model/DescribeUserResult.h - include/alibabacloud/emr/model/DescribeUserGroupRequest.h - include/alibabacloud/emr/model/DescribeUserGroupResult.h - include/alibabacloud/emr/model/DescribeUserStatisticsRequest.h - include/alibabacloud/emr/model/DescribeUserStatisticsResult.h - include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingRequest.h - include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingResult.h - include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingRequest.h - include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingResult.h - include/alibabacloud/emr/model/DetachClusterForNoteRequest.h - include/alibabacloud/emr/model/DetachClusterForNoteResult.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/GetAuditLogsRequest.h - include/alibabacloud/emr/model/GetAuditLogsResult.h - include/alibabacloud/emr/model/GetBackInfoRequest.h - include/alibabacloud/emr/model/GetBackInfoResult.h - include/alibabacloud/emr/model/GetBackPlanInfoRequest.h - include/alibabacloud/emr/model/GetBackPlanInfoResult.h - include/alibabacloud/emr/model/GetBackupInfoRequest.h - include/alibabacloud/emr/model/GetBackupInfoResult.h - include/alibabacloud/emr/model/GetBackupRuleInfoRequest.h - include/alibabacloud/emr/model/GetBackupRuleInfoResult.h - include/alibabacloud/emr/model/GetFlowAuditLogsRequest.h - include/alibabacloud/emr/model/GetFlowAuditLogsResult.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 include/alibabacloud/emr/model/GetJobInputStatisticInfoResult.h - include/alibabacloud/emr/model/GetJobMigrateResultRequest.h - include/alibabacloud/emr/model/GetJobMigrateResultResult.h include/alibabacloud/emr/model/GetJobOutputStatisticInfoRequest.h include/alibabacloud/emr/model/GetJobOutputStatisticInfoResult.h include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoRequest.h include/alibabacloud/emr/model/GetJobRunningTimeStatisticInfoResult.h - include/alibabacloud/emr/model/GetLogDownloadUrlRequest.h - include/alibabacloud/emr/model/GetLogDownloadUrlResult.h - include/alibabacloud/emr/model/GetLogHistogramRequest.h - include/alibabacloud/emr/model/GetLogHistogramResult.h - include/alibabacloud/emr/model/GetMetadataTypeListRequest.h - include/alibabacloud/emr/model/GetMetadataTypeListResult.h - include/alibabacloud/emr/model/GetOpsCommandDetailRequest.h - include/alibabacloud/emr/model/GetOpsCommandDetailResult.h - include/alibabacloud/emr/model/GetOpsCommandResultRequest.h - include/alibabacloud/emr/model/GetOpsCommandResultResult.h - include/alibabacloud/emr/model/GetOpsCommandResultOnceRequest.h - include/alibabacloud/emr/model/GetOpsCommandResultOnceResult.h include/alibabacloud/emr/model/GetQueueInputStatisticInfoRequest.h include/alibabacloud/emr/model/GetQueueInputStatisticInfoResult.h include/alibabacloud/emr/model/GetQueueOutputStatisticInfoRequest.h include/alibabacloud/emr/model/GetQueueOutputStatisticInfoResult.h include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoRequest.h include/alibabacloud/emr/model/GetQueueSubmissionStatisticInfoResult.h - include/alibabacloud/emr/model/GetSupportedOpsCommandRequest.h - include/alibabacloud/emr/model/GetSupportedOpsCommandResult.h include/alibabacloud/emr/model/GetUserInputStatisticInfoRequest.h include/alibabacloud/emr/model/GetUserInputStatisticInfoResult.h include/alibabacloud/emr/model/GetUserOutputStatisticInfoRequest.h include/alibabacloud/emr/model/GetUserOutputStatisticInfoResult.h include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoRequest.h include/alibabacloud/emr/model/GetUserSubmissionStatisticInfoResult.h - include/alibabacloud/emr/model/KillETLJobInstanceRequest.h - include/alibabacloud/emr/model/KillETLJobInstanceResult.h + include/alibabacloud/emr/model/InstallLibrariesRequest.h + include/alibabacloud/emr/model/InstallLibrariesResult.h + include/alibabacloud/emr/model/JoinResourceGroupRequest.h + include/alibabacloud/emr/model/JoinResourceGroupResult.h include/alibabacloud/emr/model/KillExecutionJobInstanceRequest.h include/alibabacloud/emr/model/KillExecutionJobInstanceResult.h - include/alibabacloud/emr/model/KillExecutionPlanInstanceRequest.h - include/alibabacloud/emr/model/KillExecutionPlanInstanceResult.h - include/alibabacloud/emr/model/KillFlowRequest.h - include/alibabacloud/emr/model/KillFlowResult.h include/alibabacloud/emr/model/KillFlowJobRequest.h include/alibabacloud/emr/model/KillFlowJobResult.h - include/alibabacloud/emr/model/ListAlertContactsRequest.h - include/alibabacloud/emr/model/ListAlertContactsResult.h - include/alibabacloud/emr/model/ListAlertDingDingGroupRequest.h - include/alibabacloud/emr/model/ListAlertDingDingGroupResult.h - include/alibabacloud/emr/model/ListAlertUserGroupRequest.h - include/alibabacloud/emr/model/ListAlertUserGroupResult.h + include/alibabacloud/emr/model/ListAdviceActionRequest.h + include/alibabacloud/emr/model/ListAdviceActionResult.h include/alibabacloud/emr/model/ListApmApplicationRequest.h include/alibabacloud/emr/model/ListApmApplicationResult.h - include/alibabacloud/emr/model/ListBackupPlansRequest.h - include/alibabacloud/emr/model/ListBackupPlansResult.h - include/alibabacloud/emr/model/ListBackupRulesRequest.h - include/alibabacloud/emr/model/ListBackupRulesResult.h include/alibabacloud/emr/model/ListBackupsRequest.h include/alibabacloud/emr/model/ListBackupsResult.h include/alibabacloud/emr/model/ListClusterHostRequest.h include/alibabacloud/emr/model/ListClusterHostResult.h include/alibabacloud/emr/model/ListClusterHostComponentRequest.h include/alibabacloud/emr/model/ListClusterHostComponentResult.h - include/alibabacloud/emr/model/ListClusterHostComponentForAdminRequest.h - include/alibabacloud/emr/model/ListClusterHostComponentForAdminResult.h include/alibabacloud/emr/model/ListClusterHostGroupRequest.h include/alibabacloud/emr/model/ListClusterHostGroupResult.h include/alibabacloud/emr/model/ListClusterInstalledServiceRequest.h @@ -417,62 +257,34 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListClusterOperationHostResult.h include/alibabacloud/emr/model/ListClusterOperationHostTaskRequest.h include/alibabacloud/emr/model/ListClusterOperationHostTaskResult.h - include/alibabacloud/emr/model/ListClusterScriptsRequest.h - include/alibabacloud/emr/model/ListClusterScriptsResult.h + include/alibabacloud/emr/model/ListClusterOperationTaskRequest.h + include/alibabacloud/emr/model/ListClusterOperationTaskResult.h include/alibabacloud/emr/model/ListClusterServiceRequest.h include/alibabacloud/emr/model/ListClusterServiceResult.h + include/alibabacloud/emr/model/ListClusterServiceComponentRequest.h + include/alibabacloud/emr/model/ListClusterServiceComponentResult.h include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoRequest.h include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h include/alibabacloud/emr/model/ListClusterServiceConfigHistoryRequest.h include/alibabacloud/emr/model/ListClusterServiceConfigHistoryResult.h - include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminRequest.h - include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminResult.h - include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigRequest.h - include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigResult.h - include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.h - include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminResult.h include/alibabacloud/emr/model/ListClusterServiceQuickLinkRequest.h include/alibabacloud/emr/model/ListClusterServiceQuickLinkResult.h - include/alibabacloud/emr/model/ListClusterSupportServiceRequest.h - include/alibabacloud/emr/model/ListClusterSupportServiceResult.h - include/alibabacloud/emr/model/ListClusterTagRequest.h - include/alibabacloud/emr/model/ListClusterTagResult.h - include/alibabacloud/emr/model/ListClusterTagForAdminRequest.h - include/alibabacloud/emr/model/ListClusterTagForAdminResult.h include/alibabacloud/emr/model/ListClusterTemplatesRequest.h include/alibabacloud/emr/model/ListClusterTemplatesResult.h include/alibabacloud/emr/model/ListClustersRequest.h include/alibabacloud/emr/model/ListClustersResult.h include/alibabacloud/emr/model/ListDataSourceRequest.h include/alibabacloud/emr/model/ListDataSourceResult.h - include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseRequest.h - include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseResult.h - include/alibabacloud/emr/model/ListDataSourceSchemaTableRequest.h - include/alibabacloud/emr/model/ListDataSourceSchemaTableResult.h - include/alibabacloud/emr/model/ListDependedServiceRequest.h - include/alibabacloud/emr/model/ListDependedServiceResult.h - include/alibabacloud/emr/model/ListETLJobInstanceRequest.h - include/alibabacloud/emr/model/ListETLJobInstanceResult.h - include/alibabacloud/emr/model/ListETLJobReleaseRequest.h - include/alibabacloud/emr/model/ListETLJobReleaseResult.h - include/alibabacloud/emr/model/ListETLJobTriggerEntityRequest.h - include/alibabacloud/emr/model/ListETLJobTriggerEntityResult.h include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h include/alibabacloud/emr/model/ListEmrAvailableResourceResult.h include/alibabacloud/emr/model/ListEmrMainVersionRequest.h include/alibabacloud/emr/model/ListEmrMainVersionResult.h - include/alibabacloud/emr/model/ListExecutePlanMigrateInfoRequest.h - include/alibabacloud/emr/model/ListExecutePlanMigrateInfoResult.h - include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendRequest.h - include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendResult.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/ListFailureJobExecutionInstancesRequest.h - include/alibabacloud/emr/model/ListFailureJobExecutionInstancesResult.h include/alibabacloud/emr/model/ListFlowRequest.h include/alibabacloud/emr/model/ListFlowResult.h include/alibabacloud/emr/model/ListFlowCategoryRequest.h @@ -505,174 +317,64 @@ set(emr_public_header_model include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h include/alibabacloud/emr/model/ListFlowProjectUserRequest.h include/alibabacloud/emr/model/ListFlowProjectUserResult.h - include/alibabacloud/emr/model/ListHostPoolRequest.h - include/alibabacloud/emr/model/ListHostPoolResult.h - include/alibabacloud/emr/model/ListHpHostRequest.h - include/alibabacloud/emr/model/ListHpHostResult.h - include/alibabacloud/emr/model/ListJobExecutionInstanceTrendRequest.h - include/alibabacloud/emr/model/ListJobExecutionInstanceTrendResult.h include/alibabacloud/emr/model/ListJobExecutionInstancesRequest.h include/alibabacloud/emr/model/ListJobExecutionInstancesResult.h - include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyRequest.h - include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyResult.h - include/alibabacloud/emr/model/ListJobExecutionPlanParamsRequest.h - include/alibabacloud/emr/model/ListJobExecutionPlanParamsResult.h include/alibabacloud/emr/model/ListJobInstanceWorkersRequest.h include/alibabacloud/emr/model/ListJobInstanceWorkersResult.h - include/alibabacloud/emr/model/ListJobMigrateInfoRequest.h - include/alibabacloud/emr/model/ListJobMigrateInfoResult.h include/alibabacloud/emr/model/ListJobsRequest.h include/alibabacloud/emr/model/ListJobsResult.h - include/alibabacloud/emr/model/ListKafkaBrokerRequest.h - include/alibabacloud/emr/model/ListKafkaBrokerResult.h - include/alibabacloud/emr/model/ListKafkaReassignRequest.h - include/alibabacloud/emr/model/ListKafkaReassignResult.h - include/alibabacloud/emr/model/ListKafkaReassignTopicRequest.h - include/alibabacloud/emr/model/ListKafkaReassignTopicResult.h - include/alibabacloud/emr/model/ListKafkaTopicStatisticsRequest.h - include/alibabacloud/emr/model/ListKafkaTopicStatisticsResult.h - include/alibabacloud/emr/model/ListNavSubTreeRequest.h - include/alibabacloud/emr/model/ListNavSubTreeResult.h + include/alibabacloud/emr/model/ListLibrariesRequest.h + include/alibabacloud/emr/model/ListLibrariesResult.h + include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h + include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h + include/alibabacloud/emr/model/ListLibraryStatusRequest.h + include/alibabacloud/emr/model/ListLibraryStatusResult.h + include/alibabacloud/emr/model/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/ListOpsOperationRequest.h - include/alibabacloud/emr/model/ListOpsOperationResult.h - include/alibabacloud/emr/model/ListOpsOperationTaskRequest.h - include/alibabacloud/emr/model/ListOpsOperationTaskResult.h - include/alibabacloud/emr/model/ListRequiredServiceRequest.h - include/alibabacloud/emr/model/ListRequiredServiceResult.h include/alibabacloud/emr/model/ListResourcePoolRequest.h include/alibabacloud/emr/model/ListResourcePoolResult.h - include/alibabacloud/emr/model/ListResourcePoolForAdminRequest.h - include/alibabacloud/emr/model/ListResourcePoolForAdminResult.h - include/alibabacloud/emr/model/ListResourceQueueRequest.h - include/alibabacloud/emr/model/ListResourceQueueResult.h include/alibabacloud/emr/model/ListRolesRequest.h include/alibabacloud/emr/model/ListRolesResult.h - include/alibabacloud/emr/model/ListScalingActivityRequest.h - include/alibabacloud/emr/model/ListScalingActivityResult.h - include/alibabacloud/emr/model/ListScalingRuleRequest.h - include/alibabacloud/emr/model/ListScalingRuleResult.h - include/alibabacloud/emr/model/ListScalingTaskGroupRequest.h - include/alibabacloud/emr/model/ListScalingTaskGroupResult.h - include/alibabacloud/emr/model/ListServiceLogRequest.h - include/alibabacloud/emr/model/ListServiceLogResult.h - include/alibabacloud/emr/model/ListSlsLogstoreInfoRequest.h - include/alibabacloud/emr/model/ListSlsLogstoreInfoResult.h + include/alibabacloud/emr/model/ListScalingActivityV2Request.h + include/alibabacloud/emr/model/ListScalingActivityV2Result.h + include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h + include/alibabacloud/emr/model/ListScalingConfigItemV2Result.h + include/alibabacloud/emr/model/ListScalingGroupV2Request.h + include/alibabacloud/emr/model/ListScalingGroupV2Result.h + include/alibabacloud/emr/model/ListSecurityGroupRequest.h + include/alibabacloud/emr/model/ListSecurityGroupResult.h include/alibabacloud/emr/model/ListStackRequest.h include/alibabacloud/emr/model/ListStackResult.h - include/alibabacloud/emr/model/ListStackServiceRequest.h - include/alibabacloud/emr/model/ListStackServiceResult.h - include/alibabacloud/emr/model/ListStreamingSqlQueryRequest.h - include/alibabacloud/emr/model/ListStreamingSqlQueryResult.h - include/alibabacloud/emr/model/ListSupportedServiceNameRequest.h - include/alibabacloud/emr/model/ListSupportedServiceNameResult.h - include/alibabacloud/emr/model/ListSupportedServiceNameForAdminRequest.h - include/alibabacloud/emr/model/ListSupportedServiceNameForAdminResult.h include/alibabacloud/emr/model/ListTagKeysRequest.h include/alibabacloud/emr/model/ListTagKeysResult.h include/alibabacloud/emr/model/ListTagResourcesRequest.h include/alibabacloud/emr/model/ListTagResourcesResult.h include/alibabacloud/emr/model/ListTagValuesRequest.h include/alibabacloud/emr/model/ListTagValuesResult.h - include/alibabacloud/emr/model/ListUserGroupsRequest.h - include/alibabacloud/emr/model/ListUserGroupsResult.h - include/alibabacloud/emr/model/ListUserStatisticsRequest.h - include/alibabacloud/emr/model/ListUserStatisticsResult.h include/alibabacloud/emr/model/ListUsersRequest.h include/alibabacloud/emr/model/ListUsersResult.h - include/alibabacloud/emr/model/ListUsersByConditionRequest.h - include/alibabacloud/emr/model/ListUsersByConditionResult.h - include/alibabacloud/emr/model/MetastoreCreateDataResourceRequest.h - include/alibabacloud/emr/model/MetastoreCreateDataResourceResult.h - include/alibabacloud/emr/model/MetastoreCreateDatabaseRequest.h - include/alibabacloud/emr/model/MetastoreCreateDatabaseResult.h - include/alibabacloud/emr/model/MetastoreCreateKafkaTopicRequest.h - include/alibabacloud/emr/model/MetastoreCreateKafkaTopicResult.h - include/alibabacloud/emr/model/MetastoreCreateTableRequest.h - include/alibabacloud/emr/model/MetastoreCreateTableResult.h - include/alibabacloud/emr/model/MetastoreDataPreviewRequest.h - include/alibabacloud/emr/model/MetastoreDataPreviewResult.h - include/alibabacloud/emr/model/MetastoreDeleteDataResourceRequest.h - include/alibabacloud/emr/model/MetastoreDeleteDataResourceResult.h - include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicRequest.h - include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicResult.h - include/alibabacloud/emr/model/MetastoreDescribeDataSourceRequest.h - include/alibabacloud/emr/model/MetastoreDescribeDataSourceResult.h - include/alibabacloud/emr/model/MetastoreDescribeDatabaseRequest.h - include/alibabacloud/emr/model/MetastoreDescribeDatabaseResult.h - include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupRequest.h - include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupResult.h - include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicRequest.h - include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicResult.h - include/alibabacloud/emr/model/MetastoreDescribeTableRequest.h - include/alibabacloud/emr/model/MetastoreDescribeTableResult.h - include/alibabacloud/emr/model/MetastoreDescribeTaskRequest.h - include/alibabacloud/emr/model/MetastoreDescribeTaskResult.h - include/alibabacloud/emr/model/MetastoreDropDatabaseRequest.h - include/alibabacloud/emr/model/MetastoreDropDatabaseResult.h - include/alibabacloud/emr/model/MetastoreDropTableRequest.h - include/alibabacloud/emr/model/MetastoreDropTableResult.h - include/alibabacloud/emr/model/MetastoreListDataResourcesRequest.h - include/alibabacloud/emr/model/MetastoreListDataResourcesResult.h - include/alibabacloud/emr/model/MetastoreListDataSourceRequest.h - include/alibabacloud/emr/model/MetastoreListDataSourceResult.h - include/alibabacloud/emr/model/MetastoreListDatabasesRequest.h - include/alibabacloud/emr/model/MetastoreListDatabasesResult.h - include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupRequest.h - include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupResult.h - include/alibabacloud/emr/model/MetastoreListKafkaTopicRequest.h - include/alibabacloud/emr/model/MetastoreListKafkaTopicResult.h - include/alibabacloud/emr/model/MetastoreListTablePartitionRequest.h - include/alibabacloud/emr/model/MetastoreListTablePartitionResult.h - include/alibabacloud/emr/model/MetastoreListTablesRequest.h - include/alibabacloud/emr/model/MetastoreListTablesResult.h - include/alibabacloud/emr/model/MetastoreListTaskRequest.h - include/alibabacloud/emr/model/MetastoreListTaskResult.h - include/alibabacloud/emr/model/MetastoreModifyDataResourceRequest.h - include/alibabacloud/emr/model/MetastoreModifyDataResourceResult.h - include/alibabacloud/emr/model/MetastoreRetryTaskRequest.h - include/alibabacloud/emr/model/MetastoreRetryTaskResult.h - include/alibabacloud/emr/model/MetastoreSearchTablesRequest.h - include/alibabacloud/emr/model/MetastoreSearchTablesResult.h - include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicRequest.h - include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicResult.h - include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchRequest.h - include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchResult.h - include/alibabacloud/emr/model/MetastoreUpdateTableRequest.h - include/alibabacloud/emr/model/MetastoreUpdateTableResult.h - include/alibabacloud/emr/model/MigrateClusterHostGroupHostRequest.h - include/alibabacloud/emr/model/MigrateClusterHostGroupHostResult.h - include/alibabacloud/emr/model/MigrateJobsRequest.h - include/alibabacloud/emr/model/MigrateJobsResult.h - include/alibabacloud/emr/model/ModifyAlertContactRequest.h - include/alibabacloud/emr/model/ModifyAlertContactResult.h - include/alibabacloud/emr/model/ModifyAlertDingDingGroupRequest.h - include/alibabacloud/emr/model/ModifyAlertDingDingGroupResult.h - include/alibabacloud/emr/model/ModifyAlertUserGroupRequest.h - include/alibabacloud/emr/model/ModifyAlertUserGroupResult.h + include/alibabacloud/emr/model/ListVswitchRequest.h + include/alibabacloud/emr/model/ListVswitchResult.h + include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h + include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h include/alibabacloud/emr/model/ModifyClusterHostGroupRequest.h include/alibabacloud/emr/model/ModifyClusterHostGroupResult.h include/alibabacloud/emr/model/ModifyClusterMetaCollectRequest.h include/alibabacloud/emr/model/ModifyClusterMetaCollectResult.h include/alibabacloud/emr/model/ModifyClusterNameRequest.h include/alibabacloud/emr/model/ModifyClusterNameResult.h + include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h + include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h include/alibabacloud/emr/model/ModifyClusterServiceConfigRequest.h include/alibabacloud/emr/model/ModifyClusterServiceConfigResult.h - include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminRequest.h - include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminResult.h include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h include/alibabacloud/emr/model/ModifyClusterTemplateResult.h include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h include/alibabacloud/emr/model/ModifyExecutionPlanResult.h - include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoRequest.h - include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoResult.h - include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoRequest.h - include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoResult.h - include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoRequest.h - include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoResult.h - include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoRequest.h - include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoResult.h include/alibabacloud/emr/model/ModifyFlowRequest.h include/alibabacloud/emr/model/ModifyFlowResult.h include/alibabacloud/emr/model/ModifyFlowCategoryRequest.h @@ -685,265 +387,125 @@ set(emr_public_header_model include/alibabacloud/emr/model/ModifyFlowProjectResult.h include/alibabacloud/emr/model/ModifyFlowProjectClusterSettingRequest.h include/alibabacloud/emr/model/ModifyFlowProjectClusterSettingResult.h - include/alibabacloud/emr/model/ModifyFlowVariableCollectionRequest.h - include/alibabacloud/emr/model/ModifyFlowVariableCollectionResult.h - include/alibabacloud/emr/model/ModifyHostPoolRequest.h - include/alibabacloud/emr/model/ModifyHostPoolResult.h - include/alibabacloud/emr/model/ModifyHpHostRequest.h - include/alibabacloud/emr/model/ModifyHpHostResult.h include/alibabacloud/emr/model/ModifyJobRequest.h include/alibabacloud/emr/model/ModifyJobResult.h - include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderRequest.h - include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderResult.h - include/alibabacloud/emr/model/ModifyJobExecutionPlanParamRequest.h - include/alibabacloud/emr/model/ModifyJobExecutionPlanParamResult.h include/alibabacloud/emr/model/ModifyResourcePoolRequest.h include/alibabacloud/emr/model/ModifyResourcePoolResult.h include/alibabacloud/emr/model/ModifyResourcePoolSchedulerTypeRequest.h include/alibabacloud/emr/model/ModifyResourcePoolSchedulerTypeResult.h include/alibabacloud/emr/model/ModifyResourceQueueRequest.h include/alibabacloud/emr/model/ModifyResourceQueueResult.h + include/alibabacloud/emr/model/ModifyScalingConfigItemV2Request.h + include/alibabacloud/emr/model/ModifyScalingConfigItemV2Result.h + include/alibabacloud/emr/model/ModifyScalingGroupV2Request.h + include/alibabacloud/emr/model/ModifyScalingGroupV2Result.h include/alibabacloud/emr/model/ModifyScalingRuleRequest.h include/alibabacloud/emr/model/ModifyScalingRuleResult.h include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h include/alibabacloud/emr/model/ModifyScalingTaskGroupResult.h - include/alibabacloud/emr/model/ModifyUserStatisticsRequest.h - include/alibabacloud/emr/model/ModifyUserStatisticsResult.h - include/alibabacloud/emr/model/OfflineKafkaBrokerRequest.h - include/alibabacloud/emr/model/OfflineKafkaBrokerResult.h - include/alibabacloud/emr/model/OperateExistsNodeClusterRequest.h - include/alibabacloud/emr/model/OperateExistsNodeClusterResult.h - include/alibabacloud/emr/model/PageListResourceUsersRequest.h - include/alibabacloud/emr/model/PageListResourceUsersResult.h - include/alibabacloud/emr/model/PageListUserGroupsRequest.h - include/alibabacloud/emr/model/PageListUserGroupsResult.h - include/alibabacloud/emr/model/PageListUsersRequest.h - include/alibabacloud/emr/model/PageListUsersResult.h - include/alibabacloud/emr/model/PlanComponentTopoRequest.h - include/alibabacloud/emr/model/PlanComponentTopoResult.h - include/alibabacloud/emr/model/PlanHostNameRequest.h - include/alibabacloud/emr/model/PlanHostNameResult.h include/alibabacloud/emr/model/QueryAlarmHistoryRequest.h include/alibabacloud/emr/model/QueryAlarmHistoryResult.h - include/alibabacloud/emr/model/QueryAlarmRulesRequest.h - include/alibabacloud/emr/model/QueryAlarmRulesResult.h include/alibabacloud/emr/model/QueryEntityRequest.h include/alibabacloud/emr/model/QueryEntityResult.h - include/alibabacloud/emr/model/QueryInfoByTokenRequest.h - include/alibabacloud/emr/model/QueryInfoByTokenResult.h - include/alibabacloud/emr/model/QuerySlsMetricDataRequest.h - include/alibabacloud/emr/model/QuerySlsMetricDataResult.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/QueryUserActionsPolicyRequest.h - include/alibabacloud/emr/model/QueryUserActionsPolicyResult.h - include/alibabacloud/emr/model/QueryUserPoliciesRequest.h - include/alibabacloud/emr/model/QueryUserPoliciesResult.h - include/alibabacloud/emr/model/ReassignKafkaRequest.h - include/alibabacloud/emr/model/ReassignKafkaResult.h - include/alibabacloud/emr/model/RefreshBackupListRequest.h - include/alibabacloud/emr/model/RefreshBackupListResult.h include/alibabacloud/emr/model/RefreshClusterResourcePoolRequest.h include/alibabacloud/emr/model/RefreshClusterResourcePoolResult.h - include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminRequest.h - include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminResult.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/ReleaseETLJobRequest.h - include/alibabacloud/emr/model/ReleaseETLJobResult.h - include/alibabacloud/emr/model/RemoveBackupRequest.h - include/alibabacloud/emr/model/RemoveBackupResult.h - include/alibabacloud/emr/model/RemoveBackupPlanRequest.h - include/alibabacloud/emr/model/RemoveBackupPlanResult.h - include/alibabacloud/emr/model/RemoveBackupRuleRequest.h - include/alibabacloud/emr/model/RemoveBackupRuleResult.h - include/alibabacloud/emr/model/RemoveClusterHostsRequest.h - include/alibabacloud/emr/model/RemoveClusterHostsResult.h - include/alibabacloud/emr/model/RemoveHpHostRequest.h - include/alibabacloud/emr/model/RemoveHpHostResult.h - include/alibabacloud/emr/model/RenderResourcePoolXmlRequest.h - include/alibabacloud/emr/model/RenderResourcePoolXmlResult.h - include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminRequest.h - include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminResult.h + include/alibabacloud/emr/model/RemoveScalingConfigItemV2Request.h + include/alibabacloud/emr/model/RemoveScalingConfigItemV2Result.h include/alibabacloud/emr/model/RerunFlowRequest.h include/alibabacloud/emr/model/RerunFlowResult.h include/alibabacloud/emr/model/ResizeClusterV2Request.h include/alibabacloud/emr/model/ResizeClusterV2Result.h - include/alibabacloud/emr/model/ResizeClusterWithHostPoolRequest.h - include/alibabacloud/emr/model/ResizeClusterWithHostPoolResult.h - include/alibabacloud/emr/model/ResolveETLJobSqlSchemaRequest.h - include/alibabacloud/emr/model/ResolveETLJobSqlSchemaResult.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/ResumeExecutionPlanInstanceRequest.h - include/alibabacloud/emr/model/ResumeExecutionPlanInstanceResult.h include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerRequest.h include/alibabacloud/emr/model/ResumeExecutionPlanSchedulerResult.h include/alibabacloud/emr/model/ResumeFlowRequest.h include/alibabacloud/emr/model/ResumeFlowResult.h - include/alibabacloud/emr/model/RetryCreateUserPasswordRequest.h - include/alibabacloud/emr/model/RetryCreateUserPasswordResult.h - include/alibabacloud/emr/model/RetryExecutionPlanRequest.h - include/alibabacloud/emr/model/RetryExecutionPlanResult.h - include/alibabacloud/emr/model/RetryExecutionPlanInstanceRequest.h - include/alibabacloud/emr/model/RetryExecutionPlanInstanceResult.h - include/alibabacloud/emr/model/RetrySyncUserAccountRequest.h - include/alibabacloud/emr/model/RetrySyncUserAccountResult.h + include/alibabacloud/emr/model/RetryOperationRequest.h + include/alibabacloud/emr/model/RetryOperationResult.h include/alibabacloud/emr/model/RunClusterServiceActionRequest.h include/alibabacloud/emr/model/RunClusterServiceActionResult.h - include/alibabacloud/emr/model/RunETLJobRequest.h - include/alibabacloud/emr/model/RunETLJobResult.h include/alibabacloud/emr/model/RunExecutionPlanRequest.h include/alibabacloud/emr/model/RunExecutionPlanResult.h - include/alibabacloud/emr/model/RunNoteParagraphsRequest.h - include/alibabacloud/emr/model/RunNoteParagraphsResult.h - include/alibabacloud/emr/model/RunOpsCommandRequest.h - include/alibabacloud/emr/model/RunOpsCommandResult.h - include/alibabacloud/emr/model/RunParagraphRequest.h - include/alibabacloud/emr/model/RunParagraphResult.h - include/alibabacloud/emr/model/SaveBatchUserAccountInfoRequest.h - include/alibabacloud/emr/model/SaveBatchUserAccountInfoResult.h - include/alibabacloud/emr/model/SaveParagraphRequest.h - include/alibabacloud/emr/model/SaveParagraphResult.h - include/alibabacloud/emr/model/SaveUserAccountInfoRequest.h - include/alibabacloud/emr/model/SaveUserAccountInfoResult.h + include/alibabacloud/emr/model/RunScalingActionV2Request.h + include/alibabacloud/emr/model/RunScalingActionV2Result.h include/alibabacloud/emr/model/SearchLogRequest.h include/alibabacloud/emr/model/SearchLogResult.h include/alibabacloud/emr/model/StartFlowRequest.h include/alibabacloud/emr/model/StartFlowResult.h - include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerRequest.h - include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerResult.h - include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionRequest.h - include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionResult.h - include/alibabacloud/emr/model/StopParagraphRequest.h - include/alibabacloud/emr/model/StopParagraphResult.h include/alibabacloud/emr/model/SubmitFlowRequest.h include/alibabacloud/emr/model/SubmitFlowResult.h include/alibabacloud/emr/model/SubmitFlowJobRequest.h include/alibabacloud/emr/model/SubmitFlowJobResult.h - include/alibabacloud/emr/model/SuspendExecutionPlanInstanceRequest.h - include/alibabacloud/emr/model/SuspendExecutionPlanInstanceResult.h include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerRequest.h include/alibabacloud/emr/model/SuspendExecutionPlanSchedulerResult.h include/alibabacloud/emr/model/SuspendFlowRequest.h include/alibabacloud/emr/model/SuspendFlowResult.h - include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseRequest.h - include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseResult.h - include/alibabacloud/emr/model/SyncDataSourceSchemaTableRequest.h - include/alibabacloud/emr/model/SyncDataSourceSchemaTableResult.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/TerminateClusterOperationRequest.h - include/alibabacloud/emr/model/TerminateClusterOperationResult.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/UpdateETLJobRequest.h - include/alibabacloud/emr/model/UpdateETLJobResult.h - include/alibabacloud/emr/model/UpdateETLJobStageRequest.h - include/alibabacloud/emr/model/UpdateETLJobStageResult.h - include/alibabacloud/emr/model/UpdateKafkaReassignParamRequest.h - include/alibabacloud/emr/model/UpdateKafkaReassignParamResult.h - include/alibabacloud/emr/model/UpdateNavNodeRequest.h - include/alibabacloud/emr/model/UpdateNavNodeResult.h - include/alibabacloud/emr/model/UpdateProjectSettingRequest.h - include/alibabacloud/emr/model/UpdateProjectSettingResult.h + include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h + include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h include/alibabacloud/emr/model/UpdateTagRequest.h include/alibabacloud/emr/model/UpdateTagResult.h include/alibabacloud/emr/model/UpdateUserRequest.h - include/alibabacloud/emr/model/UpdateUserResult.h - include/alibabacloud/emr/model/UpdateUserGroupRequest.h - include/alibabacloud/emr/model/UpdateUserGroupResult.h - include/alibabacloud/emr/model/UpdateUserStatusRequest.h - include/alibabacloud/emr/model/UpdateUserStatusResult.h - include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingRequest.h - include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingResult.h - include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingRequest.h - include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingResult.h ) + include/alibabacloud/emr/model/UpdateUserResult.h ) set(emr_src src/EmrClient.cc src/model/AddClusterServiceRequest.cc src/model/AddClusterServiceResult.cc - src/model/AddClusterServiceForAdminRequest.cc - src/model/AddClusterServiceForAdminResult.cc - src/model/AddHpHostRequest.cc - src/model/AddHpHostResult.cc - src/model/AddResourceToUsersRequest.cc - src/model/AddResourceToUsersResult.cc - src/model/AddUserResourceRoleRequest.cc - src/model/AddUserResourceRoleResult.cc - src/model/AttachClusterForNoteRequest.cc - src/model/AttachClusterForNoteResult.cc - src/model/AttachPubIpRequest.cc - src/model/AttachPubIpResult.cc + src/model/AddScalingConfigItemV2Request.cc + src/model/AddScalingConfigItemV2Result.cc src/model/AuthorizeSecurityGroupRequest.cc src/model/AuthorizeSecurityGroupResult.cc - src/model/CancelETLJobReleaseRequest.cc - src/model/CancelETLJobReleaseResult.cc src/model/CancelOrderRequest.cc src/model/CancelOrderResult.cc - src/model/CheckDataSourceRequest.cc - src/model/CheckDataSourceResult.cc src/model/CleanupFlowEntitySnapshotRequest.cc src/model/CleanupFlowEntitySnapshotResult.cc - src/model/CloneDataSourceRequest.cc - src/model/CloneDataSourceResult.cc - src/model/CloneETLJobRequest.cc - src/model/CloneETLJobResult.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/CommonApiWhiteListRequest.cc - src/model/CommonApiWhiteListResult.cc - src/model/ContextQueryLogRequest.cc - src/model/ContextQueryLogResult.cc - src/model/CreateAlertContactRequest.cc - src/model/CreateAlertContactResult.cc - src/model/CreateAlertDingDingGroupRequest.cc - src/model/CreateAlertDingDingGroupResult.cc - src/model/CreateAlertUserGroupRequest.cc - src/model/CreateAlertUserGroupResult.cc src/model/CreateBackupRequest.cc src/model/CreateBackupResult.cc src/model/CreateBackupPlanRequest.cc src/model/CreateBackupPlanResult.cc - src/model/CreateBackupRuleRequest.cc - src/model/CreateBackupRuleResult.cc - src/model/CreateBatchUsersRequest.cc - src/model/CreateBatchUsersResult.cc - src/model/CreateClusterHostGroupRequest.cc - src/model/CreateClusterHostGroupResult.cc - src/model/CreateClusterScriptRequest.cc - src/model/CreateClusterScriptResult.cc + src/model/CreateClusterBootstrapActionRequest.cc + src/model/CreateClusterBootstrapActionResult.cc src/model/CreateClusterTemplateRequest.cc src/model/CreateClusterTemplateResult.cc src/model/CreateClusterV2Request.cc src/model/CreateClusterV2Result.cc - src/model/CreateClusterWithHostPoolRequest.cc - src/model/CreateClusterWithHostPoolResult.cc src/model/CreateClusterWithTemplateRequest.cc src/model/CreateClusterWithTemplateResult.cc src/model/CreateDataSourceRequest.cc src/model/CreateDataSourceResult.cc - src/model/CreateETLJobRequest.cc - src/model/CreateETLJobResult.cc src/model/CreateExecutionPlanRequest.cc src/model/CreateExecutionPlanResult.cc src/model/CreateFlowRequest.cc @@ -962,14 +524,12 @@ set(emr_src src/model/CreateFlowProjectClusterSettingResult.cc src/model/CreateFlowProjectUserRequest.cc src/model/CreateFlowProjectUserResult.cc - src/model/CreateHostPoolRequest.cc - src/model/CreateHostPoolResult.cc src/model/CreateJobRequest.cc src/model/CreateJobResult.cc + src/model/CreateLibraryRequest.cc + src/model/CreateLibraryResult.cc src/model/CreateMetaTablePreviewTaskRequest.cc src/model/CreateMetaTablePreviewTaskResult.cc - src/model/CreateNavNodeRequest.cc - src/model/CreateNavNodeResult.cc src/model/CreateNoteRequest.cc src/model/CreateNoteResult.cc src/model/CreateParagraphRequest.cc @@ -978,42 +538,20 @@ set(emr_src src/model/CreateResourcePoolResult.cc src/model/CreateResourceQueueRequest.cc src/model/CreateResourceQueueResult.cc + src/model/CreateScalingGroupV2Request.cc + src/model/CreateScalingGroupV2Result.cc src/model/CreateScalingRuleRequest.cc src/model/CreateScalingRuleResult.cc - src/model/CreateScalingTaskGroupRequest.cc - src/model/CreateScalingTaskGroupResult.cc src/model/CreateTagRequest.cc src/model/CreateTagResult.cc src/model/CreateUserRequest.cc src/model/CreateUserResult.cc - src/model/CreateUserGroupRequest.cc - src/model/CreateUserGroupResult.cc - src/model/CreateUserPasswordRequest.cc - src/model/CreateUserPasswordResult.cc - src/model/CreateUserStatisticsRequest.cc - src/model/CreateUserStatisticsResult.cc src/model/CreateUsersRequest.cc src/model/CreateUsersResult.cc - src/model/CreateVerificationCodeRequest.cc - src/model/CreateVerificationCodeResult.cc - src/model/DeleteAlertContactsRequest.cc - src/model/DeleteAlertContactsResult.cc - src/model/DeleteAlertDingDingGroupsRequest.cc - src/model/DeleteAlertDingDingGroupsResult.cc - src/model/DeleteAlertUserGroupsRequest.cc - src/model/DeleteAlertUserGroupsResult.cc - src/model/DeleteBatchResourceUsersRequest.cc - src/model/DeleteBatchResourceUsersResult.cc - src/model/DeleteClusterHostGroupRequest.cc - src/model/DeleteClusterHostGroupResult.cc - src/model/DeleteClusterScriptRequest.cc - src/model/DeleteClusterScriptResult.cc + src/model/DecommissionHostComponentRequest.cc + src/model/DecommissionHostComponentResult.cc src/model/DeleteClusterTemplateRequest.cc src/model/DeleteClusterTemplateResult.cc - src/model/DeleteDataSourceRequest.cc - src/model/DeleteDataSourceResult.cc - src/model/DeleteETLJobRequest.cc - src/model/DeleteETLJobResult.cc src/model/DeleteExecutionPlanRequest.cc src/model/DeleteExecutionPlanResult.cc src/model/DeleteFlowRequest.cc @@ -1026,96 +564,56 @@ set(emr_src src/model/DeleteFlowJobResult.cc src/model/DeleteFlowProjectRequest.cc src/model/DeleteFlowProjectResult.cc - src/model/DeleteFlowProjectByIdRequest.cc - src/model/DeleteFlowProjectByIdResult.cc src/model/DeleteFlowProjectClusterSettingRequest.cc src/model/DeleteFlowProjectClusterSettingResult.cc src/model/DeleteFlowProjectUserRequest.cc src/model/DeleteFlowProjectUserResult.cc - src/model/DeleteHostPoolRequest.cc - src/model/DeleteHostPoolResult.cc src/model/DeleteJobRequest.cc src/model/DeleteJobResult.cc - src/model/DeleteNavNodeRequest.cc - src/model/DeleteNavNodeResult.cc + src/model/DeleteLibrariesRequest.cc + src/model/DeleteLibrariesResult.cc src/model/DeleteNoteRequest.cc src/model/DeleteNoteResult.cc - src/model/DeleteParagraphRequest.cc - src/model/DeleteParagraphResult.cc src/model/DeleteResourcePoolRequest.cc src/model/DeleteResourcePoolResult.cc src/model/DeleteResourceQueueRequest.cc src/model/DeleteResourceQueueResult.cc - src/model/DeleteResourceUserRequest.cc - src/model/DeleteResourceUserResult.cc src/model/DeleteScalingRuleRequest.cc src/model/DeleteScalingRuleResult.cc - src/model/DeleteScalingTaskGroupRequest.cc - src/model/DeleteScalingTaskGroupResult.cc src/model/DeleteTagRequest.cc src/model/DeleteTagResult.cc src/model/DeleteUserRequest.cc src/model/DeleteUserResult.cc - src/model/DeleteUserGroupRequest.cc - src/model/DeleteUserGroupResult.cc - src/model/DeleteUserResourceRoleRequest.cc - src/model/DeleteUserResourceRoleResult.cc - src/model/DescribeAvailableInstanceTypeRequest.cc - src/model/DescribeAvailableInstanceTypeResult.cc src/model/DescribeClusterBasicInfoRequest.cc src/model/DescribeClusterBasicInfoResult.cc src/model/DescribeClusterMetaCollectRequest.cc src/model/DescribeClusterMetaCollectResult.cc - src/model/DescribeClusterOpLogRequest.cc - src/model/DescribeClusterOpLogResult.cc src/model/DescribeClusterOperationHostTaskLogRequest.cc src/model/DescribeClusterOperationHostTaskLogResult.cc src/model/DescribeClusterResourcePoolSchedulerTypeRequest.cc src/model/DescribeClusterResourcePoolSchedulerTypeResult.cc - src/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.cc - src/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.cc - src/model/DescribeClusterScriptRequest.cc - src/model/DescribeClusterScriptResult.cc src/model/DescribeClusterServiceRequest.cc src/model/DescribeClusterServiceResult.cc src/model/DescribeClusterServiceConfigRequest.cc src/model/DescribeClusterServiceConfigResult.cc - src/model/DescribeClusterServiceConfigForAdminRequest.cc - src/model/DescribeClusterServiceConfigForAdminResult.cc src/model/DescribeClusterServiceConfigHistoryRequest.cc src/model/DescribeClusterServiceConfigHistoryResult.cc src/model/DescribeClusterServiceConfigTagRequest.cc src/model/DescribeClusterServiceConfigTagResult.cc - src/model/DescribeClusterServiceConfigTagForAdminRequest.cc - src/model/DescribeClusterServiceConfigTagForAdminResult.cc - src/model/DescribeClusterStatisticsRequest.cc - src/model/DescribeClusterStatisticsResult.cc src/model/DescribeClusterTemplateRequest.cc src/model/DescribeClusterTemplateResult.cc src/model/DescribeClusterV2Request.cc src/model/DescribeClusterV2Result.cc src/model/DescribeDataSourceRequest.cc src/model/DescribeDataSourceResult.cc - src/model/DescribeDataSourceCommandRequest.cc - src/model/DescribeDataSourceCommandResult.cc - src/model/DescribeDataSourceSchemaDatabaseRequest.cc - src/model/DescribeDataSourceSchemaDatabaseResult.cc - src/model/DescribeDataSourceSchemaTableRequest.cc - src/model/DescribeDataSourceSchemaTableResult.cc - src/model/DescribeETLJobRequest.cc - src/model/DescribeETLJobResult.cc - src/model/DescribeETLJobInstanceRequest.cc - src/model/DescribeETLJobInstanceResult.cc - src/model/DescribeETLJobSqlSchemaRequest.cc - src/model/DescribeETLJobSqlSchemaResult.cc - src/model/DescribeETLJobStageOutputSchemaRequest.cc - src/model/DescribeETLJobStageOutputSchemaResult.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 @@ -1126,8 +624,6 @@ set(emr_src src/model/DescribeFlowInstanceResult.cc src/model/DescribeFlowJobRequest.cc src/model/DescribeFlowJobResult.cc - src/model/DescribeFlowJobStatisticRequest.cc - src/model/DescribeFlowJobStatisticResult.cc src/model/DescribeFlowNodeInstanceRequest.cc src/model/DescribeFlowNodeInstanceResult.cc src/model/DescribeFlowNodeInstanceContainerLogRequest.cc @@ -1138,130 +634,74 @@ set(emr_src src/model/DescribeFlowProjectResult.cc src/model/DescribeFlowProjectClusterSettingRequest.cc src/model/DescribeFlowProjectClusterSettingResult.cc - src/model/DescribeFlowVariableCollectionRequest.cc - src/model/DescribeFlowVariableCollectionResult.cc - src/model/DescribeHostPoolRequest.cc - src/model/DescribeHostPoolResult.cc - src/model/DescribeHpHostRequest.cc - src/model/DescribeHpHostResult.cc src/model/DescribeJobRequest.cc src/model/DescribeJobResult.cc - src/model/DescribeKafkaBrokerRequest.cc - src/model/DescribeKafkaBrokerResult.cc - src/model/DescribeKafkaReassignRequest.cc - src/model/DescribeKafkaReassignResult.cc + src/model/DescribeLibraryDetailRequest.cc + src/model/DescribeLibraryDetailResult.cc + src/model/DescribeLibraryInstallTaskDetailRequest.cc + src/model/DescribeLibraryInstallTaskDetailResult.cc src/model/DescribeMetaTablePreviewTaskRequest.cc src/model/DescribeMetaTablePreviewTaskResult.cc - src/model/DescribeNoteRequest.cc - src/model/DescribeNoteResult.cc - src/model/DescribeParagraphRequest.cc - src/model/DescribeParagraphResult.cc src/model/DescribeScalingActivityRequest.cc src/model/DescribeScalingActivityResult.cc src/model/DescribeScalingCommonConfigRequest.cc src/model/DescribeScalingCommonConfigResult.cc + src/model/DescribeScalingConfigItemV2Request.cc + src/model/DescribeScalingConfigItemV2Result.cc + src/model/DescribeScalingGroupInstanceV2Request.cc + src/model/DescribeScalingGroupInstanceV2Result.cc + src/model/DescribeScalingGroupV2Request.cc + src/model/DescribeScalingGroupV2Result.cc src/model/DescribeScalingRuleRequest.cc src/model/DescribeScalingRuleResult.cc - src/model/DescribeScalingTaskGroupRequest.cc - src/model/DescribeScalingTaskGroupResult.cc src/model/DescribeSecurityGroupAttributeRequest.cc src/model/DescribeSecurityGroupAttributeResult.cc - src/model/DescribeUserRequest.cc - src/model/DescribeUserResult.cc - src/model/DescribeUserGroupRequest.cc - src/model/DescribeUserGroupResult.cc - src/model/DescribeUserStatisticsRequest.cc - src/model/DescribeUserStatisticsResult.cc - src/model/DescribeWorkspaceRepoSettingRequest.cc - src/model/DescribeWorkspaceRepoSettingResult.cc - src/model/DescribeWorkspaceResourceSettingRequest.cc - src/model/DescribeWorkspaceResourceSettingResult.cc - src/model/DetachClusterForNoteRequest.cc - src/model/DetachClusterForNoteResult.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/GetAuditLogsRequest.cc - src/model/GetAuditLogsResult.cc - src/model/GetBackInfoRequest.cc - src/model/GetBackInfoResult.cc - src/model/GetBackPlanInfoRequest.cc - src/model/GetBackPlanInfoResult.cc - src/model/GetBackupInfoRequest.cc - src/model/GetBackupInfoResult.cc - src/model/GetBackupRuleInfoRequest.cc - src/model/GetBackupRuleInfoResult.cc - src/model/GetFlowAuditLogsRequest.cc - src/model/GetFlowAuditLogsResult.cc src/model/GetFlowEntityRelationGraphRequest.cc src/model/GetFlowEntityRelationGraphResult.cc src/model/GetHdfsCapacityStatisticInfoRequest.cc src/model/GetHdfsCapacityStatisticInfoResult.cc src/model/GetJobInputStatisticInfoRequest.cc src/model/GetJobInputStatisticInfoResult.cc - src/model/GetJobMigrateResultRequest.cc - src/model/GetJobMigrateResultResult.cc src/model/GetJobOutputStatisticInfoRequest.cc src/model/GetJobOutputStatisticInfoResult.cc src/model/GetJobRunningTimeStatisticInfoRequest.cc src/model/GetJobRunningTimeStatisticInfoResult.cc - src/model/GetLogDownloadUrlRequest.cc - src/model/GetLogDownloadUrlResult.cc - src/model/GetLogHistogramRequest.cc - src/model/GetLogHistogramResult.cc - src/model/GetMetadataTypeListRequest.cc - src/model/GetMetadataTypeListResult.cc - src/model/GetOpsCommandDetailRequest.cc - src/model/GetOpsCommandDetailResult.cc - src/model/GetOpsCommandResultRequest.cc - src/model/GetOpsCommandResultResult.cc - src/model/GetOpsCommandResultOnceRequest.cc - src/model/GetOpsCommandResultOnceResult.cc src/model/GetQueueInputStatisticInfoRequest.cc src/model/GetQueueInputStatisticInfoResult.cc src/model/GetQueueOutputStatisticInfoRequest.cc src/model/GetQueueOutputStatisticInfoResult.cc src/model/GetQueueSubmissionStatisticInfoRequest.cc src/model/GetQueueSubmissionStatisticInfoResult.cc - src/model/GetSupportedOpsCommandRequest.cc - src/model/GetSupportedOpsCommandResult.cc src/model/GetUserInputStatisticInfoRequest.cc src/model/GetUserInputStatisticInfoResult.cc src/model/GetUserOutputStatisticInfoRequest.cc src/model/GetUserOutputStatisticInfoResult.cc src/model/GetUserSubmissionStatisticInfoRequest.cc src/model/GetUserSubmissionStatisticInfoResult.cc - src/model/KillETLJobInstanceRequest.cc - src/model/KillETLJobInstanceResult.cc + src/model/InstallLibrariesRequest.cc + src/model/InstallLibrariesResult.cc + src/model/JoinResourceGroupRequest.cc + src/model/JoinResourceGroupResult.cc src/model/KillExecutionJobInstanceRequest.cc src/model/KillExecutionJobInstanceResult.cc - src/model/KillExecutionPlanInstanceRequest.cc - src/model/KillExecutionPlanInstanceResult.cc - src/model/KillFlowRequest.cc - src/model/KillFlowResult.cc src/model/KillFlowJobRequest.cc src/model/KillFlowJobResult.cc - src/model/ListAlertContactsRequest.cc - src/model/ListAlertContactsResult.cc - src/model/ListAlertDingDingGroupRequest.cc - src/model/ListAlertDingDingGroupResult.cc - src/model/ListAlertUserGroupRequest.cc - src/model/ListAlertUserGroupResult.cc + src/model/ListAdviceActionRequest.cc + src/model/ListAdviceActionResult.cc src/model/ListApmApplicationRequest.cc src/model/ListApmApplicationResult.cc - src/model/ListBackupPlansRequest.cc - src/model/ListBackupPlansResult.cc - src/model/ListBackupRulesRequest.cc - src/model/ListBackupRulesResult.cc src/model/ListBackupsRequest.cc src/model/ListBackupsResult.cc src/model/ListClusterHostRequest.cc src/model/ListClusterHostResult.cc src/model/ListClusterHostComponentRequest.cc src/model/ListClusterHostComponentResult.cc - src/model/ListClusterHostComponentForAdminRequest.cc - src/model/ListClusterHostComponentForAdminResult.cc src/model/ListClusterHostGroupRequest.cc src/model/ListClusterHostGroupResult.cc src/model/ListClusterInstalledServiceRequest.cc @@ -1272,62 +712,34 @@ set(emr_src src/model/ListClusterOperationHostResult.cc src/model/ListClusterOperationHostTaskRequest.cc src/model/ListClusterOperationHostTaskResult.cc - src/model/ListClusterScriptsRequest.cc - src/model/ListClusterScriptsResult.cc + src/model/ListClusterOperationTaskRequest.cc + src/model/ListClusterOperationTaskResult.cc src/model/ListClusterServiceRequest.cc src/model/ListClusterServiceResult.cc + src/model/ListClusterServiceComponentRequest.cc + src/model/ListClusterServiceComponentResult.cc src/model/ListClusterServiceComponentHealthInfoRequest.cc src/model/ListClusterServiceComponentHealthInfoResult.cc src/model/ListClusterServiceConfigHistoryRequest.cc src/model/ListClusterServiceConfigHistoryResult.cc - src/model/ListClusterServiceConfigHistoryForAdminRequest.cc - src/model/ListClusterServiceConfigHistoryForAdminResult.cc - src/model/ListClusterServiceCustomActionSupportConfigRequest.cc - src/model/ListClusterServiceCustomActionSupportConfigResult.cc - src/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.cc - src/model/ListClusterServiceCustomActionSupportConfigForAdminResult.cc src/model/ListClusterServiceQuickLinkRequest.cc src/model/ListClusterServiceQuickLinkResult.cc - src/model/ListClusterSupportServiceRequest.cc - src/model/ListClusterSupportServiceResult.cc - src/model/ListClusterTagRequest.cc - src/model/ListClusterTagResult.cc - src/model/ListClusterTagForAdminRequest.cc - src/model/ListClusterTagForAdminResult.cc src/model/ListClusterTemplatesRequest.cc src/model/ListClusterTemplatesResult.cc src/model/ListClustersRequest.cc src/model/ListClustersResult.cc src/model/ListDataSourceRequest.cc src/model/ListDataSourceResult.cc - src/model/ListDataSourceSchemaDatabaseRequest.cc - src/model/ListDataSourceSchemaDatabaseResult.cc - src/model/ListDataSourceSchemaTableRequest.cc - src/model/ListDataSourceSchemaTableResult.cc - src/model/ListDependedServiceRequest.cc - src/model/ListDependedServiceResult.cc - src/model/ListETLJobInstanceRequest.cc - src/model/ListETLJobInstanceResult.cc - src/model/ListETLJobReleaseRequest.cc - src/model/ListETLJobReleaseResult.cc - src/model/ListETLJobTriggerEntityRequest.cc - src/model/ListETLJobTriggerEntityResult.cc src/model/ListEmrAvailableConfigRequest.cc src/model/ListEmrAvailableConfigResult.cc src/model/ListEmrAvailableResourceRequest.cc src/model/ListEmrAvailableResourceResult.cc src/model/ListEmrMainVersionRequest.cc src/model/ListEmrMainVersionResult.cc - src/model/ListExecutePlanMigrateInfoRequest.cc - src/model/ListExecutePlanMigrateInfoResult.cc - src/model/ListExecutionPlanInstanceTrendRequest.cc - src/model/ListExecutionPlanInstanceTrendResult.cc src/model/ListExecutionPlanInstancesRequest.cc src/model/ListExecutionPlanInstancesResult.cc src/model/ListExecutionPlansRequest.cc src/model/ListExecutionPlansResult.cc - src/model/ListFailureJobExecutionInstancesRequest.cc - src/model/ListFailureJobExecutionInstancesResult.cc src/model/ListFlowRequest.cc src/model/ListFlowResult.cc src/model/ListFlowCategoryRequest.cc @@ -1360,174 +772,64 @@ set(emr_src src/model/ListFlowProjectClusterSettingResult.cc src/model/ListFlowProjectUserRequest.cc src/model/ListFlowProjectUserResult.cc - src/model/ListHostPoolRequest.cc - src/model/ListHostPoolResult.cc - src/model/ListHpHostRequest.cc - src/model/ListHpHostResult.cc - src/model/ListJobExecutionInstanceTrendRequest.cc - src/model/ListJobExecutionInstanceTrendResult.cc src/model/ListJobExecutionInstancesRequest.cc src/model/ListJobExecutionInstancesResult.cc - src/model/ListJobExecutionPlanHierarchyRequest.cc - src/model/ListJobExecutionPlanHierarchyResult.cc - src/model/ListJobExecutionPlanParamsRequest.cc - src/model/ListJobExecutionPlanParamsResult.cc src/model/ListJobInstanceWorkersRequest.cc src/model/ListJobInstanceWorkersResult.cc - src/model/ListJobMigrateInfoRequest.cc - src/model/ListJobMigrateInfoResult.cc src/model/ListJobsRequest.cc src/model/ListJobsResult.cc - src/model/ListKafkaBrokerRequest.cc - src/model/ListKafkaBrokerResult.cc - src/model/ListKafkaReassignRequest.cc - src/model/ListKafkaReassignResult.cc - src/model/ListKafkaReassignTopicRequest.cc - src/model/ListKafkaReassignTopicResult.cc - src/model/ListKafkaTopicStatisticsRequest.cc - src/model/ListKafkaTopicStatisticsResult.cc - src/model/ListNavSubTreeRequest.cc - src/model/ListNavSubTreeResult.cc + src/model/ListLibrariesRequest.cc + src/model/ListLibrariesResult.cc + src/model/ListLibraryInstallTasksRequest.cc + src/model/ListLibraryInstallTasksResult.cc + src/model/ListLibraryStatusRequest.cc + src/model/ListLibraryStatusResult.cc + src/model/ListMetaClusterRequest.cc + src/model/ListMetaClusterResult.cc + src/model/ListMetaDataSourceClusterForOuterRequest.cc + src/model/ListMetaDataSourceClusterForOuterResult.cc src/model/ListNotesRequest.cc src/model/ListNotesResult.cc - src/model/ListOpsOperationRequest.cc - src/model/ListOpsOperationResult.cc - src/model/ListOpsOperationTaskRequest.cc - src/model/ListOpsOperationTaskResult.cc - src/model/ListRequiredServiceRequest.cc - src/model/ListRequiredServiceResult.cc src/model/ListResourcePoolRequest.cc src/model/ListResourcePoolResult.cc - src/model/ListResourcePoolForAdminRequest.cc - src/model/ListResourcePoolForAdminResult.cc - src/model/ListResourceQueueRequest.cc - src/model/ListResourceQueueResult.cc src/model/ListRolesRequest.cc src/model/ListRolesResult.cc - src/model/ListScalingActivityRequest.cc - src/model/ListScalingActivityResult.cc - src/model/ListScalingRuleRequest.cc - src/model/ListScalingRuleResult.cc - src/model/ListScalingTaskGroupRequest.cc - src/model/ListScalingTaskGroupResult.cc - src/model/ListServiceLogRequest.cc - src/model/ListServiceLogResult.cc - src/model/ListSlsLogstoreInfoRequest.cc - src/model/ListSlsLogstoreInfoResult.cc + src/model/ListScalingActivityV2Request.cc + src/model/ListScalingActivityV2Result.cc + src/model/ListScalingConfigItemV2Request.cc + src/model/ListScalingConfigItemV2Result.cc + src/model/ListScalingGroupV2Request.cc + src/model/ListScalingGroupV2Result.cc + src/model/ListSecurityGroupRequest.cc + src/model/ListSecurityGroupResult.cc src/model/ListStackRequest.cc src/model/ListStackResult.cc - src/model/ListStackServiceRequest.cc - src/model/ListStackServiceResult.cc - src/model/ListStreamingSqlQueryRequest.cc - src/model/ListStreamingSqlQueryResult.cc - src/model/ListSupportedServiceNameRequest.cc - src/model/ListSupportedServiceNameResult.cc - src/model/ListSupportedServiceNameForAdminRequest.cc - src/model/ListSupportedServiceNameForAdminResult.cc src/model/ListTagKeysRequest.cc src/model/ListTagKeysResult.cc src/model/ListTagResourcesRequest.cc src/model/ListTagResourcesResult.cc src/model/ListTagValuesRequest.cc src/model/ListTagValuesResult.cc - src/model/ListUserGroupsRequest.cc - src/model/ListUserGroupsResult.cc - src/model/ListUserStatisticsRequest.cc - src/model/ListUserStatisticsResult.cc src/model/ListUsersRequest.cc src/model/ListUsersResult.cc - src/model/ListUsersByConditionRequest.cc - src/model/ListUsersByConditionResult.cc - src/model/MetastoreCreateDataResourceRequest.cc - src/model/MetastoreCreateDataResourceResult.cc - src/model/MetastoreCreateDatabaseRequest.cc - src/model/MetastoreCreateDatabaseResult.cc - src/model/MetastoreCreateKafkaTopicRequest.cc - src/model/MetastoreCreateKafkaTopicResult.cc - src/model/MetastoreCreateTableRequest.cc - src/model/MetastoreCreateTableResult.cc - src/model/MetastoreDataPreviewRequest.cc - src/model/MetastoreDataPreviewResult.cc - src/model/MetastoreDeleteDataResourceRequest.cc - src/model/MetastoreDeleteDataResourceResult.cc - src/model/MetastoreDeleteKafkaTopicRequest.cc - src/model/MetastoreDeleteKafkaTopicResult.cc - src/model/MetastoreDescribeDataSourceRequest.cc - src/model/MetastoreDescribeDataSourceResult.cc - src/model/MetastoreDescribeDatabaseRequest.cc - src/model/MetastoreDescribeDatabaseResult.cc - src/model/MetastoreDescribeKafkaConsumerGroupRequest.cc - src/model/MetastoreDescribeKafkaConsumerGroupResult.cc - src/model/MetastoreDescribeKafkaTopicRequest.cc - src/model/MetastoreDescribeKafkaTopicResult.cc - src/model/MetastoreDescribeTableRequest.cc - src/model/MetastoreDescribeTableResult.cc - src/model/MetastoreDescribeTaskRequest.cc - src/model/MetastoreDescribeTaskResult.cc - src/model/MetastoreDropDatabaseRequest.cc - src/model/MetastoreDropDatabaseResult.cc - src/model/MetastoreDropTableRequest.cc - src/model/MetastoreDropTableResult.cc - src/model/MetastoreListDataResourcesRequest.cc - src/model/MetastoreListDataResourcesResult.cc - src/model/MetastoreListDataSourceRequest.cc - src/model/MetastoreListDataSourceResult.cc - src/model/MetastoreListDatabasesRequest.cc - src/model/MetastoreListDatabasesResult.cc - src/model/MetastoreListKafkaConsumerGroupRequest.cc - src/model/MetastoreListKafkaConsumerGroupResult.cc - src/model/MetastoreListKafkaTopicRequest.cc - src/model/MetastoreListKafkaTopicResult.cc - src/model/MetastoreListTablePartitionRequest.cc - src/model/MetastoreListTablePartitionResult.cc - src/model/MetastoreListTablesRequest.cc - src/model/MetastoreListTablesResult.cc - src/model/MetastoreListTaskRequest.cc - src/model/MetastoreListTaskResult.cc - src/model/MetastoreModifyDataResourceRequest.cc - src/model/MetastoreModifyDataResourceResult.cc - src/model/MetastoreRetryTaskRequest.cc - src/model/MetastoreRetryTaskResult.cc - src/model/MetastoreSearchTablesRequest.cc - src/model/MetastoreSearchTablesResult.cc - src/model/MetastoreUpdateKafkaTopicRequest.cc - src/model/MetastoreUpdateKafkaTopicResult.cc - src/model/MetastoreUpdateKafkaTopicBatchRequest.cc - src/model/MetastoreUpdateKafkaTopicBatchResult.cc - src/model/MetastoreUpdateTableRequest.cc - src/model/MetastoreUpdateTableResult.cc - src/model/MigrateClusterHostGroupHostRequest.cc - src/model/MigrateClusterHostGroupHostResult.cc - src/model/MigrateJobsRequest.cc - src/model/MigrateJobsResult.cc - src/model/ModifyAlertContactRequest.cc - src/model/ModifyAlertContactResult.cc - src/model/ModifyAlertDingDingGroupRequest.cc - src/model/ModifyAlertDingDingGroupResult.cc - src/model/ModifyAlertUserGroupRequest.cc - src/model/ModifyAlertUserGroupResult.cc + src/model/ListVswitchRequest.cc + src/model/ListVswitchResult.cc + src/model/ModifyClusterBootstrapActionRequest.cc + src/model/ModifyClusterBootstrapActionResult.cc src/model/ModifyClusterHostGroupRequest.cc src/model/ModifyClusterHostGroupResult.cc src/model/ModifyClusterMetaCollectRequest.cc src/model/ModifyClusterMetaCollectResult.cc src/model/ModifyClusterNameRequest.cc src/model/ModifyClusterNameResult.cc + src/model/ModifyClusterSecurityGroupRuleRequest.cc + src/model/ModifyClusterSecurityGroupRuleResult.cc src/model/ModifyClusterServiceConfigRequest.cc src/model/ModifyClusterServiceConfigResult.cc - src/model/ModifyClusterServiceConfigForAdminRequest.cc - src/model/ModifyClusterServiceConfigForAdminResult.cc src/model/ModifyClusterTemplateRequest.cc src/model/ModifyClusterTemplateResult.cc src/model/ModifyExecutionPlanRequest.cc src/model/ModifyExecutionPlanResult.cc - src/model/ModifyExecutionPlanBasicInfoRequest.cc - src/model/ModifyExecutionPlanBasicInfoResult.cc - src/model/ModifyExecutionPlanClusterInfoRequest.cc - src/model/ModifyExecutionPlanClusterInfoResult.cc - src/model/ModifyExecutionPlanJobInfoRequest.cc - src/model/ModifyExecutionPlanJobInfoResult.cc - src/model/ModifyExecutionPlanScheduleInfoRequest.cc - src/model/ModifyExecutionPlanScheduleInfoResult.cc src/model/ModifyFlowRequest.cc src/model/ModifyFlowResult.cc src/model/ModifyFlowCategoryRequest.cc @@ -1540,194 +842,92 @@ set(emr_src src/model/ModifyFlowProjectResult.cc src/model/ModifyFlowProjectClusterSettingRequest.cc src/model/ModifyFlowProjectClusterSettingResult.cc - src/model/ModifyFlowVariableCollectionRequest.cc - src/model/ModifyFlowVariableCollectionResult.cc - src/model/ModifyHostPoolRequest.cc - src/model/ModifyHostPoolResult.cc - src/model/ModifyHpHostRequest.cc - src/model/ModifyHpHostResult.cc src/model/ModifyJobRequest.cc src/model/ModifyJobResult.cc - src/model/ModifyJobExecutionPlanFolderRequest.cc - src/model/ModifyJobExecutionPlanFolderResult.cc - src/model/ModifyJobExecutionPlanParamRequest.cc - src/model/ModifyJobExecutionPlanParamResult.cc src/model/ModifyResourcePoolRequest.cc src/model/ModifyResourcePoolResult.cc src/model/ModifyResourcePoolSchedulerTypeRequest.cc src/model/ModifyResourcePoolSchedulerTypeResult.cc src/model/ModifyResourceQueueRequest.cc src/model/ModifyResourceQueueResult.cc + src/model/ModifyScalingConfigItemV2Request.cc + src/model/ModifyScalingConfigItemV2Result.cc + src/model/ModifyScalingGroupV2Request.cc + src/model/ModifyScalingGroupV2Result.cc src/model/ModifyScalingRuleRequest.cc src/model/ModifyScalingRuleResult.cc src/model/ModifyScalingTaskGroupRequest.cc src/model/ModifyScalingTaskGroupResult.cc - src/model/ModifyUserStatisticsRequest.cc - src/model/ModifyUserStatisticsResult.cc - src/model/OfflineKafkaBrokerRequest.cc - src/model/OfflineKafkaBrokerResult.cc - src/model/OperateExistsNodeClusterRequest.cc - src/model/OperateExistsNodeClusterResult.cc - src/model/PageListResourceUsersRequest.cc - src/model/PageListResourceUsersResult.cc - src/model/PageListUserGroupsRequest.cc - src/model/PageListUserGroupsResult.cc - src/model/PageListUsersRequest.cc - src/model/PageListUsersResult.cc - src/model/PlanComponentTopoRequest.cc - src/model/PlanComponentTopoResult.cc - src/model/PlanHostNameRequest.cc - src/model/PlanHostNameResult.cc src/model/QueryAlarmHistoryRequest.cc src/model/QueryAlarmHistoryResult.cc - src/model/QueryAlarmRulesRequest.cc - src/model/QueryAlarmRulesResult.cc src/model/QueryEntityRequest.cc src/model/QueryEntityResult.cc - src/model/QueryInfoByTokenRequest.cc - src/model/QueryInfoByTokenResult.cc - src/model/QuerySlsMetricDataRequest.cc - src/model/QuerySlsMetricDataResult.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/QueryUserActionsPolicyRequest.cc - src/model/QueryUserActionsPolicyResult.cc - src/model/QueryUserPoliciesRequest.cc - src/model/QueryUserPoliciesResult.cc - src/model/ReassignKafkaRequest.cc - src/model/ReassignKafkaResult.cc - src/model/RefreshBackupListRequest.cc - src/model/RefreshBackupListResult.cc src/model/RefreshClusterResourcePoolRequest.cc src/model/RefreshClusterResourcePoolResult.cc - src/model/RefreshClusterResourcePoolForAdminRequest.cc - src/model/RefreshClusterResourcePoolForAdminResult.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/ReleaseETLJobRequest.cc - src/model/ReleaseETLJobResult.cc - src/model/RemoveBackupRequest.cc - src/model/RemoveBackupResult.cc - src/model/RemoveBackupPlanRequest.cc - src/model/RemoveBackupPlanResult.cc - src/model/RemoveBackupRuleRequest.cc - src/model/RemoveBackupRuleResult.cc - src/model/RemoveClusterHostsRequest.cc - src/model/RemoveClusterHostsResult.cc - src/model/RemoveHpHostRequest.cc - src/model/RemoveHpHostResult.cc - src/model/RenderResourcePoolXmlRequest.cc - src/model/RenderResourcePoolXmlResult.cc - src/model/RenderResourcePoolXmlForAdminRequest.cc - src/model/RenderResourcePoolXmlForAdminResult.cc + src/model/RemoveScalingConfigItemV2Request.cc + src/model/RemoveScalingConfigItemV2Result.cc src/model/RerunFlowRequest.cc src/model/RerunFlowResult.cc src/model/ResizeClusterV2Request.cc src/model/ResizeClusterV2Result.cc - src/model/ResizeClusterWithHostPoolRequest.cc - src/model/ResizeClusterWithHostPoolResult.cc - src/model/ResolveETLJobSqlSchemaRequest.cc - src/model/ResolveETLJobSqlSchemaResult.cc src/model/RestoreBackupRequest.cc src/model/RestoreBackupResult.cc src/model/RestoreFlowEntitySnapshotRequest.cc src/model/RestoreFlowEntitySnapshotResult.cc - src/model/ResumeExecutionPlanInstanceRequest.cc - src/model/ResumeExecutionPlanInstanceResult.cc src/model/ResumeExecutionPlanSchedulerRequest.cc src/model/ResumeExecutionPlanSchedulerResult.cc src/model/ResumeFlowRequest.cc src/model/ResumeFlowResult.cc - src/model/RetryCreateUserPasswordRequest.cc - src/model/RetryCreateUserPasswordResult.cc - src/model/RetryExecutionPlanRequest.cc - src/model/RetryExecutionPlanResult.cc - src/model/RetryExecutionPlanInstanceRequest.cc - src/model/RetryExecutionPlanInstanceResult.cc - src/model/RetrySyncUserAccountRequest.cc - src/model/RetrySyncUserAccountResult.cc + src/model/RetryOperationRequest.cc + src/model/RetryOperationResult.cc src/model/RunClusterServiceActionRequest.cc src/model/RunClusterServiceActionResult.cc - src/model/RunETLJobRequest.cc - src/model/RunETLJobResult.cc src/model/RunExecutionPlanRequest.cc src/model/RunExecutionPlanResult.cc - src/model/RunNoteParagraphsRequest.cc - src/model/RunNoteParagraphsResult.cc - src/model/RunOpsCommandRequest.cc - src/model/RunOpsCommandResult.cc - src/model/RunParagraphRequest.cc - src/model/RunParagraphResult.cc - src/model/SaveBatchUserAccountInfoRequest.cc - src/model/SaveBatchUserAccountInfoResult.cc - src/model/SaveParagraphRequest.cc - src/model/SaveParagraphResult.cc - src/model/SaveUserAccountInfoRequest.cc - src/model/SaveUserAccountInfoResult.cc + src/model/RunScalingActionV2Request.cc + src/model/RunScalingActionV2Result.cc src/model/SearchLogRequest.cc src/model/SearchLogResult.cc src/model/StartFlowRequest.cc src/model/StartFlowResult.cc - src/model/StartKafkaBrokerDiskBalancerRequest.cc - src/model/StartKafkaBrokerDiskBalancerResult.cc - src/model/StartKafkaPreferredReplicaElectionRequest.cc - src/model/StartKafkaPreferredReplicaElectionResult.cc - src/model/StopParagraphRequest.cc - src/model/StopParagraphResult.cc src/model/SubmitFlowRequest.cc src/model/SubmitFlowResult.cc src/model/SubmitFlowJobRequest.cc src/model/SubmitFlowJobResult.cc - src/model/SuspendExecutionPlanInstanceRequest.cc - src/model/SuspendExecutionPlanInstanceResult.cc src/model/SuspendExecutionPlanSchedulerRequest.cc src/model/SuspendExecutionPlanSchedulerResult.cc src/model/SuspendFlowRequest.cc src/model/SuspendFlowResult.cc - src/model/SyncDataSourceSchemaDatabaseRequest.cc - src/model/SyncDataSourceSchemaDatabaseResult.cc - src/model/SyncDataSourceSchemaTableRequest.cc - src/model/SyncDataSourceSchemaTableResult.cc src/model/TagResourcesRequest.cc src/model/TagResourcesResult.cc src/model/TagResourcesSystemTagsRequest.cc src/model/TagResourcesSystemTagsResult.cc - src/model/TerminateClusterOperationRequest.cc - src/model/TerminateClusterOperationResult.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/UpdateETLJobRequest.cc - src/model/UpdateETLJobResult.cc - src/model/UpdateETLJobStageRequest.cc - src/model/UpdateETLJobStageResult.cc - src/model/UpdateKafkaReassignParamRequest.cc - src/model/UpdateKafkaReassignParamResult.cc - src/model/UpdateNavNodeRequest.cc - src/model/UpdateNavNodeResult.cc - src/model/UpdateProjectSettingRequest.cc - src/model/UpdateProjectSettingResult.cc + src/model/UpdateLibraryInstallTaskStatusRequest.cc + src/model/UpdateLibraryInstallTaskStatusResult.cc src/model/UpdateTagRequest.cc src/model/UpdateTagResult.cc src/model/UpdateUserRequest.cc - src/model/UpdateUserResult.cc - src/model/UpdateUserGroupRequest.cc - src/model/UpdateUserGroupResult.cc - src/model/UpdateUserStatusRequest.cc - src/model/UpdateUserStatusResult.cc - src/model/UpdateWorkspaceRepoSettingRequest.cc - src/model/UpdateWorkspaceRepoSettingResult.cc - src/model/UpdateWorkspaceResourceSettingRequest.cc - src/model/UpdateWorkspaceResourceSettingResult.cc ) + src/model/UpdateUserResult.cc ) add_library(emr ${LIB_TYPE} ${emr_public_header} diff --git a/emr/include/alibabacloud/emr/EmrClient.h b/emr/include/alibabacloud/emr/EmrClient.h index 7a3cc32dd..0765f0a0a 100644 --- a/emr/include/alibabacloud/emr/EmrClient.h +++ b/emr/include/alibabacloud/emr/EmrClient.h @@ -24,72 +24,34 @@ #include "EmrExport.h" #include "model/AddClusterServiceRequest.h" #include "model/AddClusterServiceResult.h" -#include "model/AddClusterServiceForAdminRequest.h" -#include "model/AddClusterServiceForAdminResult.h" -#include "model/AddHpHostRequest.h" -#include "model/AddHpHostResult.h" -#include "model/AddResourceToUsersRequest.h" -#include "model/AddResourceToUsersResult.h" -#include "model/AddUserResourceRoleRequest.h" -#include "model/AddUserResourceRoleResult.h" -#include "model/AttachClusterForNoteRequest.h" -#include "model/AttachClusterForNoteResult.h" -#include "model/AttachPubIpRequest.h" -#include "model/AttachPubIpResult.h" +#include "model/AddScalingConfigItemV2Request.h" +#include "model/AddScalingConfigItemV2Result.h" #include "model/AuthorizeSecurityGroupRequest.h" #include "model/AuthorizeSecurityGroupResult.h" -#include "model/CancelETLJobReleaseRequest.h" -#include "model/CancelETLJobReleaseResult.h" #include "model/CancelOrderRequest.h" #include "model/CancelOrderResult.h" -#include "model/CheckDataSourceRequest.h" -#include "model/CheckDataSourceResult.h" #include "model/CleanupFlowEntitySnapshotRequest.h" #include "model/CleanupFlowEntitySnapshotResult.h" -#include "model/CloneDataSourceRequest.h" -#include "model/CloneDataSourceResult.h" -#include "model/CloneETLJobRequest.h" -#include "model/CloneETLJobResult.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/CommonApiWhiteListRequest.h" -#include "model/CommonApiWhiteListResult.h" -#include "model/ContextQueryLogRequest.h" -#include "model/ContextQueryLogResult.h" -#include "model/CreateAlertContactRequest.h" -#include "model/CreateAlertContactResult.h" -#include "model/CreateAlertDingDingGroupRequest.h" -#include "model/CreateAlertDingDingGroupResult.h" -#include "model/CreateAlertUserGroupRequest.h" -#include "model/CreateAlertUserGroupResult.h" #include "model/CreateBackupRequest.h" #include "model/CreateBackupResult.h" #include "model/CreateBackupPlanRequest.h" #include "model/CreateBackupPlanResult.h" -#include "model/CreateBackupRuleRequest.h" -#include "model/CreateBackupRuleResult.h" -#include "model/CreateBatchUsersRequest.h" -#include "model/CreateBatchUsersResult.h" -#include "model/CreateClusterHostGroupRequest.h" -#include "model/CreateClusterHostGroupResult.h" -#include "model/CreateClusterScriptRequest.h" -#include "model/CreateClusterScriptResult.h" +#include "model/CreateClusterBootstrapActionRequest.h" +#include "model/CreateClusterBootstrapActionResult.h" #include "model/CreateClusterTemplateRequest.h" #include "model/CreateClusterTemplateResult.h" #include "model/CreateClusterV2Request.h" #include "model/CreateClusterV2Result.h" -#include "model/CreateClusterWithHostPoolRequest.h" -#include "model/CreateClusterWithHostPoolResult.h" #include "model/CreateClusterWithTemplateRequest.h" #include "model/CreateClusterWithTemplateResult.h" #include "model/CreateDataSourceRequest.h" #include "model/CreateDataSourceResult.h" -#include "model/CreateETLJobRequest.h" -#include "model/CreateETLJobResult.h" #include "model/CreateExecutionPlanRequest.h" #include "model/CreateExecutionPlanResult.h" #include "model/CreateFlowRequest.h" @@ -108,14 +70,12 @@ #include "model/CreateFlowProjectClusterSettingResult.h" #include "model/CreateFlowProjectUserRequest.h" #include "model/CreateFlowProjectUserResult.h" -#include "model/CreateHostPoolRequest.h" -#include "model/CreateHostPoolResult.h" #include "model/CreateJobRequest.h" #include "model/CreateJobResult.h" +#include "model/CreateLibraryRequest.h" +#include "model/CreateLibraryResult.h" #include "model/CreateMetaTablePreviewTaskRequest.h" #include "model/CreateMetaTablePreviewTaskResult.h" -#include "model/CreateNavNodeRequest.h" -#include "model/CreateNavNodeResult.h" #include "model/CreateNoteRequest.h" #include "model/CreateNoteResult.h" #include "model/CreateParagraphRequest.h" @@ -124,42 +84,20 @@ #include "model/CreateResourcePoolResult.h" #include "model/CreateResourceQueueRequest.h" #include "model/CreateResourceQueueResult.h" +#include "model/CreateScalingGroupV2Request.h" +#include "model/CreateScalingGroupV2Result.h" #include "model/CreateScalingRuleRequest.h" #include "model/CreateScalingRuleResult.h" -#include "model/CreateScalingTaskGroupRequest.h" -#include "model/CreateScalingTaskGroupResult.h" #include "model/CreateTagRequest.h" #include "model/CreateTagResult.h" #include "model/CreateUserRequest.h" #include "model/CreateUserResult.h" -#include "model/CreateUserGroupRequest.h" -#include "model/CreateUserGroupResult.h" -#include "model/CreateUserPasswordRequest.h" -#include "model/CreateUserPasswordResult.h" -#include "model/CreateUserStatisticsRequest.h" -#include "model/CreateUserStatisticsResult.h" #include "model/CreateUsersRequest.h" #include "model/CreateUsersResult.h" -#include "model/CreateVerificationCodeRequest.h" -#include "model/CreateVerificationCodeResult.h" -#include "model/DeleteAlertContactsRequest.h" -#include "model/DeleteAlertContactsResult.h" -#include "model/DeleteAlertDingDingGroupsRequest.h" -#include "model/DeleteAlertDingDingGroupsResult.h" -#include "model/DeleteAlertUserGroupsRequest.h" -#include "model/DeleteAlertUserGroupsResult.h" -#include "model/DeleteBatchResourceUsersRequest.h" -#include "model/DeleteBatchResourceUsersResult.h" -#include "model/DeleteClusterHostGroupRequest.h" -#include "model/DeleteClusterHostGroupResult.h" -#include "model/DeleteClusterScriptRequest.h" -#include "model/DeleteClusterScriptResult.h" +#include "model/DecommissionHostComponentRequest.h" +#include "model/DecommissionHostComponentResult.h" #include "model/DeleteClusterTemplateRequest.h" #include "model/DeleteClusterTemplateResult.h" -#include "model/DeleteDataSourceRequest.h" -#include "model/DeleteDataSourceResult.h" -#include "model/DeleteETLJobRequest.h" -#include "model/DeleteETLJobResult.h" #include "model/DeleteExecutionPlanRequest.h" #include "model/DeleteExecutionPlanResult.h" #include "model/DeleteFlowRequest.h" @@ -172,96 +110,56 @@ #include "model/DeleteFlowJobResult.h" #include "model/DeleteFlowProjectRequest.h" #include "model/DeleteFlowProjectResult.h" -#include "model/DeleteFlowProjectByIdRequest.h" -#include "model/DeleteFlowProjectByIdResult.h" #include "model/DeleteFlowProjectClusterSettingRequest.h" #include "model/DeleteFlowProjectClusterSettingResult.h" #include "model/DeleteFlowProjectUserRequest.h" #include "model/DeleteFlowProjectUserResult.h" -#include "model/DeleteHostPoolRequest.h" -#include "model/DeleteHostPoolResult.h" #include "model/DeleteJobRequest.h" #include "model/DeleteJobResult.h" -#include "model/DeleteNavNodeRequest.h" -#include "model/DeleteNavNodeResult.h" +#include "model/DeleteLibrariesRequest.h" +#include "model/DeleteLibrariesResult.h" #include "model/DeleteNoteRequest.h" #include "model/DeleteNoteResult.h" -#include "model/DeleteParagraphRequest.h" -#include "model/DeleteParagraphResult.h" #include "model/DeleteResourcePoolRequest.h" #include "model/DeleteResourcePoolResult.h" #include "model/DeleteResourceQueueRequest.h" #include "model/DeleteResourceQueueResult.h" -#include "model/DeleteResourceUserRequest.h" -#include "model/DeleteResourceUserResult.h" #include "model/DeleteScalingRuleRequest.h" #include "model/DeleteScalingRuleResult.h" -#include "model/DeleteScalingTaskGroupRequest.h" -#include "model/DeleteScalingTaskGroupResult.h" #include "model/DeleteTagRequest.h" #include "model/DeleteTagResult.h" #include "model/DeleteUserRequest.h" #include "model/DeleteUserResult.h" -#include "model/DeleteUserGroupRequest.h" -#include "model/DeleteUserGroupResult.h" -#include "model/DeleteUserResourceRoleRequest.h" -#include "model/DeleteUserResourceRoleResult.h" -#include "model/DescribeAvailableInstanceTypeRequest.h" -#include "model/DescribeAvailableInstanceTypeResult.h" #include "model/DescribeClusterBasicInfoRequest.h" #include "model/DescribeClusterBasicInfoResult.h" #include "model/DescribeClusterMetaCollectRequest.h" #include "model/DescribeClusterMetaCollectResult.h" -#include "model/DescribeClusterOpLogRequest.h" -#include "model/DescribeClusterOpLogResult.h" #include "model/DescribeClusterOperationHostTaskLogRequest.h" #include "model/DescribeClusterOperationHostTaskLogResult.h" #include "model/DescribeClusterResourcePoolSchedulerTypeRequest.h" #include "model/DescribeClusterResourcePoolSchedulerTypeResult.h" -#include "model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.h" -#include "model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.h" -#include "model/DescribeClusterScriptRequest.h" -#include "model/DescribeClusterScriptResult.h" #include "model/DescribeClusterServiceRequest.h" #include "model/DescribeClusterServiceResult.h" #include "model/DescribeClusterServiceConfigRequest.h" #include "model/DescribeClusterServiceConfigResult.h" -#include "model/DescribeClusterServiceConfigForAdminRequest.h" -#include "model/DescribeClusterServiceConfigForAdminResult.h" #include "model/DescribeClusterServiceConfigHistoryRequest.h" #include "model/DescribeClusterServiceConfigHistoryResult.h" #include "model/DescribeClusterServiceConfigTagRequest.h" #include "model/DescribeClusterServiceConfigTagResult.h" -#include "model/DescribeClusterServiceConfigTagForAdminRequest.h" -#include "model/DescribeClusterServiceConfigTagForAdminResult.h" -#include "model/DescribeClusterStatisticsRequest.h" -#include "model/DescribeClusterStatisticsResult.h" #include "model/DescribeClusterTemplateRequest.h" #include "model/DescribeClusterTemplateResult.h" #include "model/DescribeClusterV2Request.h" #include "model/DescribeClusterV2Result.h" #include "model/DescribeDataSourceRequest.h" #include "model/DescribeDataSourceResult.h" -#include "model/DescribeDataSourceCommandRequest.h" -#include "model/DescribeDataSourceCommandResult.h" -#include "model/DescribeDataSourceSchemaDatabaseRequest.h" -#include "model/DescribeDataSourceSchemaDatabaseResult.h" -#include "model/DescribeDataSourceSchemaTableRequest.h" -#include "model/DescribeDataSourceSchemaTableResult.h" -#include "model/DescribeETLJobRequest.h" -#include "model/DescribeETLJobResult.h" -#include "model/DescribeETLJobInstanceRequest.h" -#include "model/DescribeETLJobInstanceResult.h" -#include "model/DescribeETLJobSqlSchemaRequest.h" -#include "model/DescribeETLJobSqlSchemaResult.h" -#include "model/DescribeETLJobStageOutputSchemaRequest.h" -#include "model/DescribeETLJobStageOutputSchemaResult.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" @@ -272,8 +170,6 @@ #include "model/DescribeFlowInstanceResult.h" #include "model/DescribeFlowJobRequest.h" #include "model/DescribeFlowJobResult.h" -#include "model/DescribeFlowJobStatisticRequest.h" -#include "model/DescribeFlowJobStatisticResult.h" #include "model/DescribeFlowNodeInstanceRequest.h" #include "model/DescribeFlowNodeInstanceResult.h" #include "model/DescribeFlowNodeInstanceContainerLogRequest.h" @@ -284,130 +180,74 @@ #include "model/DescribeFlowProjectResult.h" #include "model/DescribeFlowProjectClusterSettingRequest.h" #include "model/DescribeFlowProjectClusterSettingResult.h" -#include "model/DescribeFlowVariableCollectionRequest.h" -#include "model/DescribeFlowVariableCollectionResult.h" -#include "model/DescribeHostPoolRequest.h" -#include "model/DescribeHostPoolResult.h" -#include "model/DescribeHpHostRequest.h" -#include "model/DescribeHpHostResult.h" #include "model/DescribeJobRequest.h" #include "model/DescribeJobResult.h" -#include "model/DescribeKafkaBrokerRequest.h" -#include "model/DescribeKafkaBrokerResult.h" -#include "model/DescribeKafkaReassignRequest.h" -#include "model/DescribeKafkaReassignResult.h" +#include "model/DescribeLibraryDetailRequest.h" +#include "model/DescribeLibraryDetailResult.h" +#include "model/DescribeLibraryInstallTaskDetailRequest.h" +#include "model/DescribeLibraryInstallTaskDetailResult.h" #include "model/DescribeMetaTablePreviewTaskRequest.h" #include "model/DescribeMetaTablePreviewTaskResult.h" -#include "model/DescribeNoteRequest.h" -#include "model/DescribeNoteResult.h" -#include "model/DescribeParagraphRequest.h" -#include "model/DescribeParagraphResult.h" #include "model/DescribeScalingActivityRequest.h" #include "model/DescribeScalingActivityResult.h" #include "model/DescribeScalingCommonConfigRequest.h" #include "model/DescribeScalingCommonConfigResult.h" +#include "model/DescribeScalingConfigItemV2Request.h" +#include "model/DescribeScalingConfigItemV2Result.h" +#include "model/DescribeScalingGroupInstanceV2Request.h" +#include "model/DescribeScalingGroupInstanceV2Result.h" +#include "model/DescribeScalingGroupV2Request.h" +#include "model/DescribeScalingGroupV2Result.h" #include "model/DescribeScalingRuleRequest.h" #include "model/DescribeScalingRuleResult.h" -#include "model/DescribeScalingTaskGroupRequest.h" -#include "model/DescribeScalingTaskGroupResult.h" #include "model/DescribeSecurityGroupAttributeRequest.h" #include "model/DescribeSecurityGroupAttributeResult.h" -#include "model/DescribeUserRequest.h" -#include "model/DescribeUserResult.h" -#include "model/DescribeUserGroupRequest.h" -#include "model/DescribeUserGroupResult.h" -#include "model/DescribeUserStatisticsRequest.h" -#include "model/DescribeUserStatisticsResult.h" -#include "model/DescribeWorkspaceRepoSettingRequest.h" -#include "model/DescribeWorkspaceRepoSettingResult.h" -#include "model/DescribeWorkspaceResourceSettingRequest.h" -#include "model/DescribeWorkspaceResourceSettingResult.h" -#include "model/DetachClusterForNoteRequest.h" -#include "model/DetachClusterForNoteResult.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/GetAuditLogsRequest.h" -#include "model/GetAuditLogsResult.h" -#include "model/GetBackInfoRequest.h" -#include "model/GetBackInfoResult.h" -#include "model/GetBackPlanInfoRequest.h" -#include "model/GetBackPlanInfoResult.h" -#include "model/GetBackupInfoRequest.h" -#include "model/GetBackupInfoResult.h" -#include "model/GetBackupRuleInfoRequest.h" -#include "model/GetBackupRuleInfoResult.h" -#include "model/GetFlowAuditLogsRequest.h" -#include "model/GetFlowAuditLogsResult.h" #include "model/GetFlowEntityRelationGraphRequest.h" #include "model/GetFlowEntityRelationGraphResult.h" #include "model/GetHdfsCapacityStatisticInfoRequest.h" #include "model/GetHdfsCapacityStatisticInfoResult.h" #include "model/GetJobInputStatisticInfoRequest.h" #include "model/GetJobInputStatisticInfoResult.h" -#include "model/GetJobMigrateResultRequest.h" -#include "model/GetJobMigrateResultResult.h" #include "model/GetJobOutputStatisticInfoRequest.h" #include "model/GetJobOutputStatisticInfoResult.h" #include "model/GetJobRunningTimeStatisticInfoRequest.h" #include "model/GetJobRunningTimeStatisticInfoResult.h" -#include "model/GetLogDownloadUrlRequest.h" -#include "model/GetLogDownloadUrlResult.h" -#include "model/GetLogHistogramRequest.h" -#include "model/GetLogHistogramResult.h" -#include "model/GetMetadataTypeListRequest.h" -#include "model/GetMetadataTypeListResult.h" -#include "model/GetOpsCommandDetailRequest.h" -#include "model/GetOpsCommandDetailResult.h" -#include "model/GetOpsCommandResultRequest.h" -#include "model/GetOpsCommandResultResult.h" -#include "model/GetOpsCommandResultOnceRequest.h" -#include "model/GetOpsCommandResultOnceResult.h" #include "model/GetQueueInputStatisticInfoRequest.h" #include "model/GetQueueInputStatisticInfoResult.h" #include "model/GetQueueOutputStatisticInfoRequest.h" #include "model/GetQueueOutputStatisticInfoResult.h" #include "model/GetQueueSubmissionStatisticInfoRequest.h" #include "model/GetQueueSubmissionStatisticInfoResult.h" -#include "model/GetSupportedOpsCommandRequest.h" -#include "model/GetSupportedOpsCommandResult.h" #include "model/GetUserInputStatisticInfoRequest.h" #include "model/GetUserInputStatisticInfoResult.h" #include "model/GetUserOutputStatisticInfoRequest.h" #include "model/GetUserOutputStatisticInfoResult.h" #include "model/GetUserSubmissionStatisticInfoRequest.h" #include "model/GetUserSubmissionStatisticInfoResult.h" -#include "model/KillETLJobInstanceRequest.h" -#include "model/KillETLJobInstanceResult.h" +#include "model/InstallLibrariesRequest.h" +#include "model/InstallLibrariesResult.h" +#include "model/JoinResourceGroupRequest.h" +#include "model/JoinResourceGroupResult.h" #include "model/KillExecutionJobInstanceRequest.h" #include "model/KillExecutionJobInstanceResult.h" -#include "model/KillExecutionPlanInstanceRequest.h" -#include "model/KillExecutionPlanInstanceResult.h" -#include "model/KillFlowRequest.h" -#include "model/KillFlowResult.h" #include "model/KillFlowJobRequest.h" #include "model/KillFlowJobResult.h" -#include "model/ListAlertContactsRequest.h" -#include "model/ListAlertContactsResult.h" -#include "model/ListAlertDingDingGroupRequest.h" -#include "model/ListAlertDingDingGroupResult.h" -#include "model/ListAlertUserGroupRequest.h" -#include "model/ListAlertUserGroupResult.h" +#include "model/ListAdviceActionRequest.h" +#include "model/ListAdviceActionResult.h" #include "model/ListApmApplicationRequest.h" #include "model/ListApmApplicationResult.h" -#include "model/ListBackupPlansRequest.h" -#include "model/ListBackupPlansResult.h" -#include "model/ListBackupRulesRequest.h" -#include "model/ListBackupRulesResult.h" #include "model/ListBackupsRequest.h" #include "model/ListBackupsResult.h" #include "model/ListClusterHostRequest.h" #include "model/ListClusterHostResult.h" #include "model/ListClusterHostComponentRequest.h" #include "model/ListClusterHostComponentResult.h" -#include "model/ListClusterHostComponentForAdminRequest.h" -#include "model/ListClusterHostComponentForAdminResult.h" #include "model/ListClusterHostGroupRequest.h" #include "model/ListClusterHostGroupResult.h" #include "model/ListClusterInstalledServiceRequest.h" @@ -418,62 +258,34 @@ #include "model/ListClusterOperationHostResult.h" #include "model/ListClusterOperationHostTaskRequest.h" #include "model/ListClusterOperationHostTaskResult.h" -#include "model/ListClusterScriptsRequest.h" -#include "model/ListClusterScriptsResult.h" +#include "model/ListClusterOperationTaskRequest.h" +#include "model/ListClusterOperationTaskResult.h" #include "model/ListClusterServiceRequest.h" #include "model/ListClusterServiceResult.h" +#include "model/ListClusterServiceComponentRequest.h" +#include "model/ListClusterServiceComponentResult.h" #include "model/ListClusterServiceComponentHealthInfoRequest.h" #include "model/ListClusterServiceComponentHealthInfoResult.h" #include "model/ListClusterServiceConfigHistoryRequest.h" #include "model/ListClusterServiceConfigHistoryResult.h" -#include "model/ListClusterServiceConfigHistoryForAdminRequest.h" -#include "model/ListClusterServiceConfigHistoryForAdminResult.h" -#include "model/ListClusterServiceCustomActionSupportConfigRequest.h" -#include "model/ListClusterServiceCustomActionSupportConfigResult.h" -#include "model/ListClusterServiceCustomActionSupportConfigForAdminRequest.h" -#include "model/ListClusterServiceCustomActionSupportConfigForAdminResult.h" #include "model/ListClusterServiceQuickLinkRequest.h" #include "model/ListClusterServiceQuickLinkResult.h" -#include "model/ListClusterSupportServiceRequest.h" -#include "model/ListClusterSupportServiceResult.h" -#include "model/ListClusterTagRequest.h" -#include "model/ListClusterTagResult.h" -#include "model/ListClusterTagForAdminRequest.h" -#include "model/ListClusterTagForAdminResult.h" #include "model/ListClusterTemplatesRequest.h" #include "model/ListClusterTemplatesResult.h" #include "model/ListClustersRequest.h" #include "model/ListClustersResult.h" #include "model/ListDataSourceRequest.h" #include "model/ListDataSourceResult.h" -#include "model/ListDataSourceSchemaDatabaseRequest.h" -#include "model/ListDataSourceSchemaDatabaseResult.h" -#include "model/ListDataSourceSchemaTableRequest.h" -#include "model/ListDataSourceSchemaTableResult.h" -#include "model/ListDependedServiceRequest.h" -#include "model/ListDependedServiceResult.h" -#include "model/ListETLJobInstanceRequest.h" -#include "model/ListETLJobInstanceResult.h" -#include "model/ListETLJobReleaseRequest.h" -#include "model/ListETLJobReleaseResult.h" -#include "model/ListETLJobTriggerEntityRequest.h" -#include "model/ListETLJobTriggerEntityResult.h" #include "model/ListEmrAvailableConfigRequest.h" #include "model/ListEmrAvailableConfigResult.h" #include "model/ListEmrAvailableResourceRequest.h" #include "model/ListEmrAvailableResourceResult.h" #include "model/ListEmrMainVersionRequest.h" #include "model/ListEmrMainVersionResult.h" -#include "model/ListExecutePlanMigrateInfoRequest.h" -#include "model/ListExecutePlanMigrateInfoResult.h" -#include "model/ListExecutionPlanInstanceTrendRequest.h" -#include "model/ListExecutionPlanInstanceTrendResult.h" #include "model/ListExecutionPlanInstancesRequest.h" #include "model/ListExecutionPlanInstancesResult.h" #include "model/ListExecutionPlansRequest.h" #include "model/ListExecutionPlansResult.h" -#include "model/ListFailureJobExecutionInstancesRequest.h" -#include "model/ListFailureJobExecutionInstancesResult.h" #include "model/ListFlowRequest.h" #include "model/ListFlowResult.h" #include "model/ListFlowCategoryRequest.h" @@ -506,174 +318,64 @@ #include "model/ListFlowProjectClusterSettingResult.h" #include "model/ListFlowProjectUserRequest.h" #include "model/ListFlowProjectUserResult.h" -#include "model/ListHostPoolRequest.h" -#include "model/ListHostPoolResult.h" -#include "model/ListHpHostRequest.h" -#include "model/ListHpHostResult.h" -#include "model/ListJobExecutionInstanceTrendRequest.h" -#include "model/ListJobExecutionInstanceTrendResult.h" #include "model/ListJobExecutionInstancesRequest.h" #include "model/ListJobExecutionInstancesResult.h" -#include "model/ListJobExecutionPlanHierarchyRequest.h" -#include "model/ListJobExecutionPlanHierarchyResult.h" -#include "model/ListJobExecutionPlanParamsRequest.h" -#include "model/ListJobExecutionPlanParamsResult.h" #include "model/ListJobInstanceWorkersRequest.h" #include "model/ListJobInstanceWorkersResult.h" -#include "model/ListJobMigrateInfoRequest.h" -#include "model/ListJobMigrateInfoResult.h" #include "model/ListJobsRequest.h" #include "model/ListJobsResult.h" -#include "model/ListKafkaBrokerRequest.h" -#include "model/ListKafkaBrokerResult.h" -#include "model/ListKafkaReassignRequest.h" -#include "model/ListKafkaReassignResult.h" -#include "model/ListKafkaReassignTopicRequest.h" -#include "model/ListKafkaReassignTopicResult.h" -#include "model/ListKafkaTopicStatisticsRequest.h" -#include "model/ListKafkaTopicStatisticsResult.h" -#include "model/ListNavSubTreeRequest.h" -#include "model/ListNavSubTreeResult.h" +#include "model/ListLibrariesRequest.h" +#include "model/ListLibrariesResult.h" +#include "model/ListLibraryInstallTasksRequest.h" +#include "model/ListLibraryInstallTasksResult.h" +#include "model/ListLibraryStatusRequest.h" +#include "model/ListLibraryStatusResult.h" +#include "model/ListMetaClusterRequest.h" +#include "model/ListMetaClusterResult.h" +#include "model/ListMetaDataSourceClusterForOuterRequest.h" +#include "model/ListMetaDataSourceClusterForOuterResult.h" #include "model/ListNotesRequest.h" #include "model/ListNotesResult.h" -#include "model/ListOpsOperationRequest.h" -#include "model/ListOpsOperationResult.h" -#include "model/ListOpsOperationTaskRequest.h" -#include "model/ListOpsOperationTaskResult.h" -#include "model/ListRequiredServiceRequest.h" -#include "model/ListRequiredServiceResult.h" #include "model/ListResourcePoolRequest.h" #include "model/ListResourcePoolResult.h" -#include "model/ListResourcePoolForAdminRequest.h" -#include "model/ListResourcePoolForAdminResult.h" -#include "model/ListResourceQueueRequest.h" -#include "model/ListResourceQueueResult.h" #include "model/ListRolesRequest.h" #include "model/ListRolesResult.h" -#include "model/ListScalingActivityRequest.h" -#include "model/ListScalingActivityResult.h" -#include "model/ListScalingRuleRequest.h" -#include "model/ListScalingRuleResult.h" -#include "model/ListScalingTaskGroupRequest.h" -#include "model/ListScalingTaskGroupResult.h" -#include "model/ListServiceLogRequest.h" -#include "model/ListServiceLogResult.h" -#include "model/ListSlsLogstoreInfoRequest.h" -#include "model/ListSlsLogstoreInfoResult.h" +#include "model/ListScalingActivityV2Request.h" +#include "model/ListScalingActivityV2Result.h" +#include "model/ListScalingConfigItemV2Request.h" +#include "model/ListScalingConfigItemV2Result.h" +#include "model/ListScalingGroupV2Request.h" +#include "model/ListScalingGroupV2Result.h" +#include "model/ListSecurityGroupRequest.h" +#include "model/ListSecurityGroupResult.h" #include "model/ListStackRequest.h" #include "model/ListStackResult.h" -#include "model/ListStackServiceRequest.h" -#include "model/ListStackServiceResult.h" -#include "model/ListStreamingSqlQueryRequest.h" -#include "model/ListStreamingSqlQueryResult.h" -#include "model/ListSupportedServiceNameRequest.h" -#include "model/ListSupportedServiceNameResult.h" -#include "model/ListSupportedServiceNameForAdminRequest.h" -#include "model/ListSupportedServiceNameForAdminResult.h" #include "model/ListTagKeysRequest.h" #include "model/ListTagKeysResult.h" #include "model/ListTagResourcesRequest.h" #include "model/ListTagResourcesResult.h" #include "model/ListTagValuesRequest.h" #include "model/ListTagValuesResult.h" -#include "model/ListUserGroupsRequest.h" -#include "model/ListUserGroupsResult.h" -#include "model/ListUserStatisticsRequest.h" -#include "model/ListUserStatisticsResult.h" #include "model/ListUsersRequest.h" #include "model/ListUsersResult.h" -#include "model/ListUsersByConditionRequest.h" -#include "model/ListUsersByConditionResult.h" -#include "model/MetastoreCreateDataResourceRequest.h" -#include "model/MetastoreCreateDataResourceResult.h" -#include "model/MetastoreCreateDatabaseRequest.h" -#include "model/MetastoreCreateDatabaseResult.h" -#include "model/MetastoreCreateKafkaTopicRequest.h" -#include "model/MetastoreCreateKafkaTopicResult.h" -#include "model/MetastoreCreateTableRequest.h" -#include "model/MetastoreCreateTableResult.h" -#include "model/MetastoreDataPreviewRequest.h" -#include "model/MetastoreDataPreviewResult.h" -#include "model/MetastoreDeleteDataResourceRequest.h" -#include "model/MetastoreDeleteDataResourceResult.h" -#include "model/MetastoreDeleteKafkaTopicRequest.h" -#include "model/MetastoreDeleteKafkaTopicResult.h" -#include "model/MetastoreDescribeDataSourceRequest.h" -#include "model/MetastoreDescribeDataSourceResult.h" -#include "model/MetastoreDescribeDatabaseRequest.h" -#include "model/MetastoreDescribeDatabaseResult.h" -#include "model/MetastoreDescribeKafkaConsumerGroupRequest.h" -#include "model/MetastoreDescribeKafkaConsumerGroupResult.h" -#include "model/MetastoreDescribeKafkaTopicRequest.h" -#include "model/MetastoreDescribeKafkaTopicResult.h" -#include "model/MetastoreDescribeTableRequest.h" -#include "model/MetastoreDescribeTableResult.h" -#include "model/MetastoreDescribeTaskRequest.h" -#include "model/MetastoreDescribeTaskResult.h" -#include "model/MetastoreDropDatabaseRequest.h" -#include "model/MetastoreDropDatabaseResult.h" -#include "model/MetastoreDropTableRequest.h" -#include "model/MetastoreDropTableResult.h" -#include "model/MetastoreListDataResourcesRequest.h" -#include "model/MetastoreListDataResourcesResult.h" -#include "model/MetastoreListDataSourceRequest.h" -#include "model/MetastoreListDataSourceResult.h" -#include "model/MetastoreListDatabasesRequest.h" -#include "model/MetastoreListDatabasesResult.h" -#include "model/MetastoreListKafkaConsumerGroupRequest.h" -#include "model/MetastoreListKafkaConsumerGroupResult.h" -#include "model/MetastoreListKafkaTopicRequest.h" -#include "model/MetastoreListKafkaTopicResult.h" -#include "model/MetastoreListTablePartitionRequest.h" -#include "model/MetastoreListTablePartitionResult.h" -#include "model/MetastoreListTablesRequest.h" -#include "model/MetastoreListTablesResult.h" -#include "model/MetastoreListTaskRequest.h" -#include "model/MetastoreListTaskResult.h" -#include "model/MetastoreModifyDataResourceRequest.h" -#include "model/MetastoreModifyDataResourceResult.h" -#include "model/MetastoreRetryTaskRequest.h" -#include "model/MetastoreRetryTaskResult.h" -#include "model/MetastoreSearchTablesRequest.h" -#include "model/MetastoreSearchTablesResult.h" -#include "model/MetastoreUpdateKafkaTopicRequest.h" -#include "model/MetastoreUpdateKafkaTopicResult.h" -#include "model/MetastoreUpdateKafkaTopicBatchRequest.h" -#include "model/MetastoreUpdateKafkaTopicBatchResult.h" -#include "model/MetastoreUpdateTableRequest.h" -#include "model/MetastoreUpdateTableResult.h" -#include "model/MigrateClusterHostGroupHostRequest.h" -#include "model/MigrateClusterHostGroupHostResult.h" -#include "model/MigrateJobsRequest.h" -#include "model/MigrateJobsResult.h" -#include "model/ModifyAlertContactRequest.h" -#include "model/ModifyAlertContactResult.h" -#include "model/ModifyAlertDingDingGroupRequest.h" -#include "model/ModifyAlertDingDingGroupResult.h" -#include "model/ModifyAlertUserGroupRequest.h" -#include "model/ModifyAlertUserGroupResult.h" +#include "model/ListVswitchRequest.h" +#include "model/ListVswitchResult.h" +#include "model/ModifyClusterBootstrapActionRequest.h" +#include "model/ModifyClusterBootstrapActionResult.h" #include "model/ModifyClusterHostGroupRequest.h" #include "model/ModifyClusterHostGroupResult.h" #include "model/ModifyClusterMetaCollectRequest.h" #include "model/ModifyClusterMetaCollectResult.h" #include "model/ModifyClusterNameRequest.h" #include "model/ModifyClusterNameResult.h" +#include "model/ModifyClusterSecurityGroupRuleRequest.h" +#include "model/ModifyClusterSecurityGroupRuleResult.h" #include "model/ModifyClusterServiceConfigRequest.h" #include "model/ModifyClusterServiceConfigResult.h" -#include "model/ModifyClusterServiceConfigForAdminRequest.h" -#include "model/ModifyClusterServiceConfigForAdminResult.h" #include "model/ModifyClusterTemplateRequest.h" #include "model/ModifyClusterTemplateResult.h" #include "model/ModifyExecutionPlanRequest.h" #include "model/ModifyExecutionPlanResult.h" -#include "model/ModifyExecutionPlanBasicInfoRequest.h" -#include "model/ModifyExecutionPlanBasicInfoResult.h" -#include "model/ModifyExecutionPlanClusterInfoRequest.h" -#include "model/ModifyExecutionPlanClusterInfoResult.h" -#include "model/ModifyExecutionPlanJobInfoRequest.h" -#include "model/ModifyExecutionPlanJobInfoResult.h" -#include "model/ModifyExecutionPlanScheduleInfoRequest.h" -#include "model/ModifyExecutionPlanScheduleInfoResult.h" #include "model/ModifyFlowRequest.h" #include "model/ModifyFlowResult.h" #include "model/ModifyFlowCategoryRequest.h" @@ -686,194 +388,92 @@ #include "model/ModifyFlowProjectResult.h" #include "model/ModifyFlowProjectClusterSettingRequest.h" #include "model/ModifyFlowProjectClusterSettingResult.h" -#include "model/ModifyFlowVariableCollectionRequest.h" -#include "model/ModifyFlowVariableCollectionResult.h" -#include "model/ModifyHostPoolRequest.h" -#include "model/ModifyHostPoolResult.h" -#include "model/ModifyHpHostRequest.h" -#include "model/ModifyHpHostResult.h" #include "model/ModifyJobRequest.h" #include "model/ModifyJobResult.h" -#include "model/ModifyJobExecutionPlanFolderRequest.h" -#include "model/ModifyJobExecutionPlanFolderResult.h" -#include "model/ModifyJobExecutionPlanParamRequest.h" -#include "model/ModifyJobExecutionPlanParamResult.h" #include "model/ModifyResourcePoolRequest.h" #include "model/ModifyResourcePoolResult.h" #include "model/ModifyResourcePoolSchedulerTypeRequest.h" #include "model/ModifyResourcePoolSchedulerTypeResult.h" #include "model/ModifyResourceQueueRequest.h" #include "model/ModifyResourceQueueResult.h" +#include "model/ModifyScalingConfigItemV2Request.h" +#include "model/ModifyScalingConfigItemV2Result.h" +#include "model/ModifyScalingGroupV2Request.h" +#include "model/ModifyScalingGroupV2Result.h" #include "model/ModifyScalingRuleRequest.h" #include "model/ModifyScalingRuleResult.h" #include "model/ModifyScalingTaskGroupRequest.h" #include "model/ModifyScalingTaskGroupResult.h" -#include "model/ModifyUserStatisticsRequest.h" -#include "model/ModifyUserStatisticsResult.h" -#include "model/OfflineKafkaBrokerRequest.h" -#include "model/OfflineKafkaBrokerResult.h" -#include "model/OperateExistsNodeClusterRequest.h" -#include "model/OperateExistsNodeClusterResult.h" -#include "model/PageListResourceUsersRequest.h" -#include "model/PageListResourceUsersResult.h" -#include "model/PageListUserGroupsRequest.h" -#include "model/PageListUserGroupsResult.h" -#include "model/PageListUsersRequest.h" -#include "model/PageListUsersResult.h" -#include "model/PlanComponentTopoRequest.h" -#include "model/PlanComponentTopoResult.h" -#include "model/PlanHostNameRequest.h" -#include "model/PlanHostNameResult.h" #include "model/QueryAlarmHistoryRequest.h" #include "model/QueryAlarmHistoryResult.h" -#include "model/QueryAlarmRulesRequest.h" -#include "model/QueryAlarmRulesResult.h" #include "model/QueryEntityRequest.h" #include "model/QueryEntityResult.h" -#include "model/QueryInfoByTokenRequest.h" -#include "model/QueryInfoByTokenResult.h" -#include "model/QuerySlsMetricDataRequest.h" -#include "model/QuerySlsMetricDataResult.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/QueryUserActionsPolicyRequest.h" -#include "model/QueryUserActionsPolicyResult.h" -#include "model/QueryUserPoliciesRequest.h" -#include "model/QueryUserPoliciesResult.h" -#include "model/ReassignKafkaRequest.h" -#include "model/ReassignKafkaResult.h" -#include "model/RefreshBackupListRequest.h" -#include "model/RefreshBackupListResult.h" #include "model/RefreshClusterResourcePoolRequest.h" #include "model/RefreshClusterResourcePoolResult.h" -#include "model/RefreshClusterResourcePoolForAdminRequest.h" -#include "model/RefreshClusterResourcePoolForAdminResult.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/ReleaseETLJobRequest.h" -#include "model/ReleaseETLJobResult.h" -#include "model/RemoveBackupRequest.h" -#include "model/RemoveBackupResult.h" -#include "model/RemoveBackupPlanRequest.h" -#include "model/RemoveBackupPlanResult.h" -#include "model/RemoveBackupRuleRequest.h" -#include "model/RemoveBackupRuleResult.h" -#include "model/RemoveClusterHostsRequest.h" -#include "model/RemoveClusterHostsResult.h" -#include "model/RemoveHpHostRequest.h" -#include "model/RemoveHpHostResult.h" -#include "model/RenderResourcePoolXmlRequest.h" -#include "model/RenderResourcePoolXmlResult.h" -#include "model/RenderResourcePoolXmlForAdminRequest.h" -#include "model/RenderResourcePoolXmlForAdminResult.h" +#include "model/RemoveScalingConfigItemV2Request.h" +#include "model/RemoveScalingConfigItemV2Result.h" #include "model/RerunFlowRequest.h" #include "model/RerunFlowResult.h" #include "model/ResizeClusterV2Request.h" #include "model/ResizeClusterV2Result.h" -#include "model/ResizeClusterWithHostPoolRequest.h" -#include "model/ResizeClusterWithHostPoolResult.h" -#include "model/ResolveETLJobSqlSchemaRequest.h" -#include "model/ResolveETLJobSqlSchemaResult.h" #include "model/RestoreBackupRequest.h" #include "model/RestoreBackupResult.h" #include "model/RestoreFlowEntitySnapshotRequest.h" #include "model/RestoreFlowEntitySnapshotResult.h" -#include "model/ResumeExecutionPlanInstanceRequest.h" -#include "model/ResumeExecutionPlanInstanceResult.h" #include "model/ResumeExecutionPlanSchedulerRequest.h" #include "model/ResumeExecutionPlanSchedulerResult.h" #include "model/ResumeFlowRequest.h" #include "model/ResumeFlowResult.h" -#include "model/RetryCreateUserPasswordRequest.h" -#include "model/RetryCreateUserPasswordResult.h" -#include "model/RetryExecutionPlanRequest.h" -#include "model/RetryExecutionPlanResult.h" -#include "model/RetryExecutionPlanInstanceRequest.h" -#include "model/RetryExecutionPlanInstanceResult.h" -#include "model/RetrySyncUserAccountRequest.h" -#include "model/RetrySyncUserAccountResult.h" +#include "model/RetryOperationRequest.h" +#include "model/RetryOperationResult.h" #include "model/RunClusterServiceActionRequest.h" #include "model/RunClusterServiceActionResult.h" -#include "model/RunETLJobRequest.h" -#include "model/RunETLJobResult.h" #include "model/RunExecutionPlanRequest.h" #include "model/RunExecutionPlanResult.h" -#include "model/RunNoteParagraphsRequest.h" -#include "model/RunNoteParagraphsResult.h" -#include "model/RunOpsCommandRequest.h" -#include "model/RunOpsCommandResult.h" -#include "model/RunParagraphRequest.h" -#include "model/RunParagraphResult.h" -#include "model/SaveBatchUserAccountInfoRequest.h" -#include "model/SaveBatchUserAccountInfoResult.h" -#include "model/SaveParagraphRequest.h" -#include "model/SaveParagraphResult.h" -#include "model/SaveUserAccountInfoRequest.h" -#include "model/SaveUserAccountInfoResult.h" +#include "model/RunScalingActionV2Request.h" +#include "model/RunScalingActionV2Result.h" #include "model/SearchLogRequest.h" #include "model/SearchLogResult.h" #include "model/StartFlowRequest.h" #include "model/StartFlowResult.h" -#include "model/StartKafkaBrokerDiskBalancerRequest.h" -#include "model/StartKafkaBrokerDiskBalancerResult.h" -#include "model/StartKafkaPreferredReplicaElectionRequest.h" -#include "model/StartKafkaPreferredReplicaElectionResult.h" -#include "model/StopParagraphRequest.h" -#include "model/StopParagraphResult.h" #include "model/SubmitFlowRequest.h" #include "model/SubmitFlowResult.h" #include "model/SubmitFlowJobRequest.h" #include "model/SubmitFlowJobResult.h" -#include "model/SuspendExecutionPlanInstanceRequest.h" -#include "model/SuspendExecutionPlanInstanceResult.h" #include "model/SuspendExecutionPlanSchedulerRequest.h" #include "model/SuspendExecutionPlanSchedulerResult.h" #include "model/SuspendFlowRequest.h" #include "model/SuspendFlowResult.h" -#include "model/SyncDataSourceSchemaDatabaseRequest.h" -#include "model/SyncDataSourceSchemaDatabaseResult.h" -#include "model/SyncDataSourceSchemaTableRequest.h" -#include "model/SyncDataSourceSchemaTableResult.h" #include "model/TagResourcesRequest.h" #include "model/TagResourcesResult.h" #include "model/TagResourcesSystemTagsRequest.h" #include "model/TagResourcesSystemTagsResult.h" -#include "model/TerminateClusterOperationRequest.h" -#include "model/TerminateClusterOperationResult.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/UpdateETLJobRequest.h" -#include "model/UpdateETLJobResult.h" -#include "model/UpdateETLJobStageRequest.h" -#include "model/UpdateETLJobStageResult.h" -#include "model/UpdateKafkaReassignParamRequest.h" -#include "model/UpdateKafkaReassignParamResult.h" -#include "model/UpdateNavNodeRequest.h" -#include "model/UpdateNavNodeResult.h" -#include "model/UpdateProjectSettingRequest.h" -#include "model/UpdateProjectSettingResult.h" +#include "model/UpdateLibraryInstallTaskStatusRequest.h" +#include "model/UpdateLibraryInstallTaskStatusResult.h" #include "model/UpdateTagRequest.h" #include "model/UpdateTagResult.h" #include "model/UpdateUserRequest.h" #include "model/UpdateUserResult.h" -#include "model/UpdateUserGroupRequest.h" -#include "model/UpdateUserGroupResult.h" -#include "model/UpdateUserStatusRequest.h" -#include "model/UpdateUserStatusResult.h" -#include "model/UpdateWorkspaceRepoSettingRequest.h" -#include "model/UpdateWorkspaceRepoSettingResult.h" -#include "model/UpdateWorkspaceResourceSettingRequest.h" -#include "model/UpdateWorkspaceResourceSettingResult.h" namespace AlibabaCloud @@ -886,45 +486,18 @@ namespace AlibabaCloud typedef Outcome AddClusterServiceOutcome; typedef std::future AddClusterServiceOutcomeCallable; typedef std::function&)> AddClusterServiceAsyncHandler; - typedef Outcome AddClusterServiceForAdminOutcome; - typedef std::future AddClusterServiceForAdminOutcomeCallable; - typedef std::function&)> AddClusterServiceForAdminAsyncHandler; - typedef Outcome AddHpHostOutcome; - typedef std::future AddHpHostOutcomeCallable; - typedef std::function&)> AddHpHostAsyncHandler; - typedef Outcome AddResourceToUsersOutcome; - typedef std::future AddResourceToUsersOutcomeCallable; - typedef std::function&)> AddResourceToUsersAsyncHandler; - typedef Outcome AddUserResourceRoleOutcome; - typedef std::future AddUserResourceRoleOutcomeCallable; - typedef std::function&)> AddUserResourceRoleAsyncHandler; - typedef Outcome AttachClusterForNoteOutcome; - typedef std::future AttachClusterForNoteOutcomeCallable; - typedef std::function&)> AttachClusterForNoteAsyncHandler; - typedef Outcome AttachPubIpOutcome; - typedef std::future AttachPubIpOutcomeCallable; - typedef std::function&)> AttachPubIpAsyncHandler; + typedef Outcome AddScalingConfigItemV2Outcome; + typedef std::future AddScalingConfigItemV2OutcomeCallable; + typedef std::function&)> AddScalingConfigItemV2AsyncHandler; typedef Outcome AuthorizeSecurityGroupOutcome; typedef std::future AuthorizeSecurityGroupOutcomeCallable; typedef std::function&)> AuthorizeSecurityGroupAsyncHandler; - typedef Outcome CancelETLJobReleaseOutcome; - typedef std::future CancelETLJobReleaseOutcomeCallable; - typedef std::function&)> CancelETLJobReleaseAsyncHandler; typedef Outcome CancelOrderOutcome; typedef std::future CancelOrderOutcomeCallable; typedef std::function&)> CancelOrderAsyncHandler; - typedef Outcome CheckDataSourceOutcome; - typedef std::future CheckDataSourceOutcomeCallable; - typedef std::function&)> CheckDataSourceAsyncHandler; typedef Outcome CleanupFlowEntitySnapshotOutcome; typedef std::future CleanupFlowEntitySnapshotOutcomeCallable; typedef std::function&)> CleanupFlowEntitySnapshotAsyncHandler; - typedef Outcome CloneDataSourceOutcome; - typedef std::future CloneDataSourceOutcomeCallable; - typedef std::function&)> CloneDataSourceAsyncHandler; - typedef Outcome CloneETLJobOutcome; - typedef std::future CloneETLJobOutcomeCallable; - typedef std::function&)> CloneETLJobAsyncHandler; typedef Outcome CloneFlowOutcome; typedef std::future CloneFlowOutcomeCallable; typedef std::function&)> CloneFlowAsyncHandler; @@ -934,57 +507,27 @@ namespace AlibabaCloud typedef Outcome CommitFlowEntitySnapshotOutcome; typedef std::future CommitFlowEntitySnapshotOutcomeCallable; typedef std::function&)> CommitFlowEntitySnapshotAsyncHandler; - typedef Outcome CommonApiWhiteListOutcome; - typedef std::future CommonApiWhiteListOutcomeCallable; - typedef std::function&)> CommonApiWhiteListAsyncHandler; - typedef Outcome ContextQueryLogOutcome; - typedef std::future ContextQueryLogOutcomeCallable; - typedef std::function&)> ContextQueryLogAsyncHandler; - typedef Outcome CreateAlertContactOutcome; - typedef std::future CreateAlertContactOutcomeCallable; - typedef std::function&)> CreateAlertContactAsyncHandler; - typedef Outcome CreateAlertDingDingGroupOutcome; - typedef std::future CreateAlertDingDingGroupOutcomeCallable; - typedef std::function&)> CreateAlertDingDingGroupAsyncHandler; - typedef Outcome CreateAlertUserGroupOutcome; - typedef std::future CreateAlertUserGroupOutcomeCallable; - typedef std::function&)> CreateAlertUserGroupAsyncHandler; typedef Outcome CreateBackupOutcome; typedef std::future CreateBackupOutcomeCallable; typedef std::function&)> CreateBackupAsyncHandler; typedef Outcome CreateBackupPlanOutcome; typedef std::future CreateBackupPlanOutcomeCallable; typedef std::function&)> CreateBackupPlanAsyncHandler; - typedef Outcome CreateBackupRuleOutcome; - typedef std::future CreateBackupRuleOutcomeCallable; - typedef std::function&)> CreateBackupRuleAsyncHandler; - typedef Outcome CreateBatchUsersOutcome; - typedef std::future CreateBatchUsersOutcomeCallable; - typedef std::function&)> CreateBatchUsersAsyncHandler; - typedef Outcome CreateClusterHostGroupOutcome; - typedef std::future CreateClusterHostGroupOutcomeCallable; - typedef std::function&)> CreateClusterHostGroupAsyncHandler; - typedef Outcome CreateClusterScriptOutcome; - typedef std::future CreateClusterScriptOutcomeCallable; - typedef std::function&)> CreateClusterScriptAsyncHandler; + typedef Outcome CreateClusterBootstrapActionOutcome; + typedef std::future CreateClusterBootstrapActionOutcomeCallable; + typedef std::function&)> CreateClusterBootstrapActionAsyncHandler; typedef Outcome CreateClusterTemplateOutcome; typedef std::future CreateClusterTemplateOutcomeCallable; typedef std::function&)> CreateClusterTemplateAsyncHandler; typedef Outcome CreateClusterV2Outcome; typedef std::future CreateClusterV2OutcomeCallable; typedef std::function&)> CreateClusterV2AsyncHandler; - typedef Outcome CreateClusterWithHostPoolOutcome; - typedef std::future CreateClusterWithHostPoolOutcomeCallable; - typedef std::function&)> CreateClusterWithHostPoolAsyncHandler; typedef Outcome CreateClusterWithTemplateOutcome; typedef std::future CreateClusterWithTemplateOutcomeCallable; typedef std::function&)> CreateClusterWithTemplateAsyncHandler; typedef Outcome CreateDataSourceOutcome; typedef std::future CreateDataSourceOutcomeCallable; typedef std::function&)> CreateDataSourceAsyncHandler; - typedef Outcome CreateETLJobOutcome; - typedef std::future CreateETLJobOutcomeCallable; - typedef std::function&)> CreateETLJobAsyncHandler; typedef Outcome CreateExecutionPlanOutcome; typedef std::future CreateExecutionPlanOutcomeCallable; typedef std::function&)> CreateExecutionPlanAsyncHandler; @@ -1012,18 +555,15 @@ namespace AlibabaCloud typedef Outcome CreateFlowProjectUserOutcome; typedef std::future CreateFlowProjectUserOutcomeCallable; typedef std::function&)> CreateFlowProjectUserAsyncHandler; - typedef Outcome CreateHostPoolOutcome; - typedef std::future CreateHostPoolOutcomeCallable; - typedef std::function&)> CreateHostPoolAsyncHandler; typedef Outcome CreateJobOutcome; typedef std::future CreateJobOutcomeCallable; typedef std::function&)> CreateJobAsyncHandler; + typedef Outcome CreateLibraryOutcome; + typedef std::future CreateLibraryOutcomeCallable; + typedef std::function&)> CreateLibraryAsyncHandler; typedef Outcome CreateMetaTablePreviewTaskOutcome; typedef std::future CreateMetaTablePreviewTaskOutcomeCallable; typedef std::function&)> CreateMetaTablePreviewTaskAsyncHandler; - typedef Outcome CreateNavNodeOutcome; - typedef std::future CreateNavNodeOutcomeCallable; - typedef std::function&)> CreateNavNodeAsyncHandler; typedef Outcome CreateNoteOutcome; typedef std::future CreateNoteOutcomeCallable; typedef std::function&)> CreateNoteAsyncHandler; @@ -1036,60 +576,27 @@ namespace AlibabaCloud typedef Outcome CreateResourceQueueOutcome; typedef std::future CreateResourceQueueOutcomeCallable; typedef std::function&)> CreateResourceQueueAsyncHandler; + typedef Outcome CreateScalingGroupV2Outcome; + typedef std::future CreateScalingGroupV2OutcomeCallable; + typedef std::function&)> CreateScalingGroupV2AsyncHandler; typedef Outcome CreateScalingRuleOutcome; typedef std::future CreateScalingRuleOutcomeCallable; typedef std::function&)> CreateScalingRuleAsyncHandler; - typedef Outcome CreateScalingTaskGroupOutcome; - typedef std::future CreateScalingTaskGroupOutcomeCallable; - typedef std::function&)> CreateScalingTaskGroupAsyncHandler; typedef Outcome CreateTagOutcome; typedef std::future CreateTagOutcomeCallable; typedef std::function&)> CreateTagAsyncHandler; typedef Outcome CreateUserOutcome; typedef std::future CreateUserOutcomeCallable; typedef std::function&)> CreateUserAsyncHandler; - typedef Outcome CreateUserGroupOutcome; - typedef std::future CreateUserGroupOutcomeCallable; - typedef std::function&)> CreateUserGroupAsyncHandler; - typedef Outcome CreateUserPasswordOutcome; - typedef std::future CreateUserPasswordOutcomeCallable; - typedef std::function&)> CreateUserPasswordAsyncHandler; - typedef Outcome CreateUserStatisticsOutcome; - typedef std::future CreateUserStatisticsOutcomeCallable; - typedef std::function&)> CreateUserStatisticsAsyncHandler; typedef Outcome CreateUsersOutcome; typedef std::future CreateUsersOutcomeCallable; typedef std::function&)> CreateUsersAsyncHandler; - typedef Outcome CreateVerificationCodeOutcome; - typedef std::future CreateVerificationCodeOutcomeCallable; - typedef std::function&)> CreateVerificationCodeAsyncHandler; - typedef Outcome DeleteAlertContactsOutcome; - typedef std::future DeleteAlertContactsOutcomeCallable; - typedef std::function&)> DeleteAlertContactsAsyncHandler; - typedef Outcome DeleteAlertDingDingGroupsOutcome; - typedef std::future DeleteAlertDingDingGroupsOutcomeCallable; - typedef std::function&)> DeleteAlertDingDingGroupsAsyncHandler; - typedef Outcome DeleteAlertUserGroupsOutcome; - typedef std::future DeleteAlertUserGroupsOutcomeCallable; - typedef std::function&)> DeleteAlertUserGroupsAsyncHandler; - typedef Outcome DeleteBatchResourceUsersOutcome; - typedef std::future DeleteBatchResourceUsersOutcomeCallable; - typedef std::function&)> DeleteBatchResourceUsersAsyncHandler; - typedef Outcome DeleteClusterHostGroupOutcome; - typedef std::future DeleteClusterHostGroupOutcomeCallable; - typedef std::function&)> DeleteClusterHostGroupAsyncHandler; - typedef Outcome DeleteClusterScriptOutcome; - typedef std::future DeleteClusterScriptOutcomeCallable; - typedef std::function&)> DeleteClusterScriptAsyncHandler; + typedef Outcome DecommissionHostComponentOutcome; + typedef std::future DecommissionHostComponentOutcomeCallable; + typedef std::function&)> DecommissionHostComponentAsyncHandler; typedef Outcome DeleteClusterTemplateOutcome; typedef std::future DeleteClusterTemplateOutcomeCallable; typedef std::function&)> DeleteClusterTemplateAsyncHandler; - typedef Outcome DeleteDataSourceOutcome; - typedef std::future DeleteDataSourceOutcomeCallable; - typedef std::function&)> DeleteDataSourceAsyncHandler; - typedef Outcome DeleteETLJobOutcome; - typedef std::future DeleteETLJobOutcomeCallable; - typedef std::function&)> DeleteETLJobAsyncHandler; typedef Outcome DeleteExecutionPlanOutcome; typedef std::future DeleteExecutionPlanOutcomeCallable; typedef std::function&)> DeleteExecutionPlanAsyncHandler; @@ -1108,102 +615,60 @@ namespace AlibabaCloud typedef Outcome DeleteFlowProjectOutcome; typedef std::future DeleteFlowProjectOutcomeCallable; typedef std::function&)> DeleteFlowProjectAsyncHandler; - typedef Outcome DeleteFlowProjectByIdOutcome; - typedef std::future DeleteFlowProjectByIdOutcomeCallable; - typedef std::function&)> DeleteFlowProjectByIdAsyncHandler; typedef Outcome DeleteFlowProjectClusterSettingOutcome; typedef std::future DeleteFlowProjectClusterSettingOutcomeCallable; typedef std::function&)> DeleteFlowProjectClusterSettingAsyncHandler; typedef Outcome DeleteFlowProjectUserOutcome; typedef std::future DeleteFlowProjectUserOutcomeCallable; typedef std::function&)> DeleteFlowProjectUserAsyncHandler; - typedef Outcome DeleteHostPoolOutcome; - typedef std::future DeleteHostPoolOutcomeCallable; - typedef std::function&)> DeleteHostPoolAsyncHandler; typedef Outcome DeleteJobOutcome; typedef std::future DeleteJobOutcomeCallable; typedef std::function&)> DeleteJobAsyncHandler; - typedef Outcome DeleteNavNodeOutcome; - typedef std::future DeleteNavNodeOutcomeCallable; - typedef std::function&)> DeleteNavNodeAsyncHandler; + typedef Outcome DeleteLibrariesOutcome; + typedef std::future DeleteLibrariesOutcomeCallable; + typedef std::function&)> DeleteLibrariesAsyncHandler; typedef Outcome DeleteNoteOutcome; typedef std::future DeleteNoteOutcomeCallable; typedef std::function&)> DeleteNoteAsyncHandler; - typedef Outcome DeleteParagraphOutcome; - typedef std::future DeleteParagraphOutcomeCallable; - typedef std::function&)> DeleteParagraphAsyncHandler; typedef Outcome DeleteResourcePoolOutcome; typedef std::future DeleteResourcePoolOutcomeCallable; typedef std::function&)> DeleteResourcePoolAsyncHandler; typedef Outcome DeleteResourceQueueOutcome; typedef std::future DeleteResourceQueueOutcomeCallable; typedef std::function&)> DeleteResourceQueueAsyncHandler; - typedef Outcome DeleteResourceUserOutcome; - typedef std::future DeleteResourceUserOutcomeCallable; - typedef std::function&)> DeleteResourceUserAsyncHandler; typedef Outcome DeleteScalingRuleOutcome; typedef std::future DeleteScalingRuleOutcomeCallable; typedef std::function&)> DeleteScalingRuleAsyncHandler; - typedef Outcome DeleteScalingTaskGroupOutcome; - typedef std::future DeleteScalingTaskGroupOutcomeCallable; - typedef std::function&)> DeleteScalingTaskGroupAsyncHandler; typedef Outcome DeleteTagOutcome; typedef std::future DeleteTagOutcomeCallable; typedef std::function&)> DeleteTagAsyncHandler; typedef Outcome DeleteUserOutcome; typedef std::future DeleteUserOutcomeCallable; typedef std::function&)> DeleteUserAsyncHandler; - typedef Outcome DeleteUserGroupOutcome; - typedef std::future DeleteUserGroupOutcomeCallable; - typedef std::function&)> DeleteUserGroupAsyncHandler; - typedef Outcome DeleteUserResourceRoleOutcome; - typedef std::future DeleteUserResourceRoleOutcomeCallable; - typedef std::function&)> DeleteUserResourceRoleAsyncHandler; - typedef Outcome DescribeAvailableInstanceTypeOutcome; - typedef std::future DescribeAvailableInstanceTypeOutcomeCallable; - typedef std::function&)> DescribeAvailableInstanceTypeAsyncHandler; typedef Outcome DescribeClusterBasicInfoOutcome; typedef std::future DescribeClusterBasicInfoOutcomeCallable; typedef std::function&)> DescribeClusterBasicInfoAsyncHandler; typedef Outcome DescribeClusterMetaCollectOutcome; typedef std::future DescribeClusterMetaCollectOutcomeCallable; typedef std::function&)> DescribeClusterMetaCollectAsyncHandler; - typedef Outcome DescribeClusterOpLogOutcome; - typedef std::future DescribeClusterOpLogOutcomeCallable; - typedef std::function&)> DescribeClusterOpLogAsyncHandler; typedef Outcome DescribeClusterOperationHostTaskLogOutcome; typedef std::future DescribeClusterOperationHostTaskLogOutcomeCallable; typedef std::function&)> DescribeClusterOperationHostTaskLogAsyncHandler; typedef Outcome DescribeClusterResourcePoolSchedulerTypeOutcome; typedef std::future DescribeClusterResourcePoolSchedulerTypeOutcomeCallable; typedef std::function&)> DescribeClusterResourcePoolSchedulerTypeAsyncHandler; - typedef Outcome DescribeClusterResourcePoolSchedulerTypeForAdminOutcome; - typedef std::future DescribeClusterResourcePoolSchedulerTypeForAdminOutcomeCallable; - typedef std::function&)> DescribeClusterResourcePoolSchedulerTypeForAdminAsyncHandler; - typedef Outcome DescribeClusterScriptOutcome; - typedef std::future DescribeClusterScriptOutcomeCallable; - typedef std::function&)> DescribeClusterScriptAsyncHandler; typedef Outcome DescribeClusterServiceOutcome; typedef std::future DescribeClusterServiceOutcomeCallable; typedef std::function&)> DescribeClusterServiceAsyncHandler; typedef Outcome DescribeClusterServiceConfigOutcome; typedef std::future DescribeClusterServiceConfigOutcomeCallable; typedef std::function&)> DescribeClusterServiceConfigAsyncHandler; - typedef Outcome DescribeClusterServiceConfigForAdminOutcome; - typedef std::future DescribeClusterServiceConfigForAdminOutcomeCallable; - typedef std::function&)> DescribeClusterServiceConfigForAdminAsyncHandler; typedef Outcome DescribeClusterServiceConfigHistoryOutcome; typedef std::future DescribeClusterServiceConfigHistoryOutcomeCallable; typedef std::function&)> DescribeClusterServiceConfigHistoryAsyncHandler; typedef Outcome DescribeClusterServiceConfigTagOutcome; typedef std::future DescribeClusterServiceConfigTagOutcomeCallable; typedef std::function&)> DescribeClusterServiceConfigTagAsyncHandler; - typedef Outcome DescribeClusterServiceConfigTagForAdminOutcome; - typedef std::future DescribeClusterServiceConfigTagForAdminOutcomeCallable; - typedef std::function&)> DescribeClusterServiceConfigTagForAdminAsyncHandler; - typedef Outcome DescribeClusterStatisticsOutcome; - typedef std::future DescribeClusterStatisticsOutcomeCallable; - typedef std::function&)> DescribeClusterStatisticsAsyncHandler; typedef Outcome DescribeClusterTemplateOutcome; typedef std::future DescribeClusterTemplateOutcomeCallable; typedef std::function&)> DescribeClusterTemplateAsyncHandler; @@ -1213,36 +678,18 @@ namespace AlibabaCloud typedef Outcome DescribeDataSourceOutcome; typedef std::future DescribeDataSourceOutcomeCallable; typedef std::function&)> DescribeDataSourceAsyncHandler; - typedef Outcome DescribeDataSourceCommandOutcome; - typedef std::future DescribeDataSourceCommandOutcomeCallable; - typedef std::function&)> DescribeDataSourceCommandAsyncHandler; - typedef Outcome DescribeDataSourceSchemaDatabaseOutcome; - typedef std::future DescribeDataSourceSchemaDatabaseOutcomeCallable; - typedef std::function&)> DescribeDataSourceSchemaDatabaseAsyncHandler; - typedef Outcome DescribeDataSourceSchemaTableOutcome; - typedef std::future DescribeDataSourceSchemaTableOutcomeCallable; - typedef std::function&)> DescribeDataSourceSchemaTableAsyncHandler; - typedef Outcome DescribeETLJobOutcome; - typedef std::future DescribeETLJobOutcomeCallable; - typedef std::function&)> DescribeETLJobAsyncHandler; - typedef Outcome DescribeETLJobInstanceOutcome; - typedef std::future DescribeETLJobInstanceOutcomeCallable; - typedef std::function&)> DescribeETLJobInstanceAsyncHandler; - typedef Outcome DescribeETLJobSqlSchemaOutcome; - typedef std::future DescribeETLJobSqlSchemaOutcomeCallable; - typedef std::function&)> DescribeETLJobSqlSchemaAsyncHandler; - typedef Outcome DescribeETLJobStageOutputSchemaOutcome; - typedef std::future DescribeETLJobStageOutputSchemaOutcomeCallable; - typedef std::function&)> DescribeETLJobStageOutputSchemaAsyncHandler; - 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; @@ -1258,9 +705,6 @@ namespace AlibabaCloud typedef Outcome DescribeFlowJobOutcome; typedef std::future DescribeFlowJobOutcomeCallable; typedef std::function&)> DescribeFlowJobAsyncHandler; - typedef Outcome DescribeFlowJobStatisticOutcome; - typedef std::future DescribeFlowJobStatisticOutcomeCallable; - typedef std::function&)> DescribeFlowJobStatisticAsyncHandler; typedef Outcome DescribeFlowNodeInstanceOutcome; typedef std::future DescribeFlowNodeInstanceOutcomeCallable; typedef std::function&)> DescribeFlowNodeInstanceAsyncHandler; @@ -1276,90 +720,48 @@ namespace AlibabaCloud typedef Outcome DescribeFlowProjectClusterSettingOutcome; typedef std::future DescribeFlowProjectClusterSettingOutcomeCallable; typedef std::function&)> DescribeFlowProjectClusterSettingAsyncHandler; - typedef Outcome DescribeFlowVariableCollectionOutcome; - typedef std::future DescribeFlowVariableCollectionOutcomeCallable; - typedef std::function&)> DescribeFlowVariableCollectionAsyncHandler; - typedef Outcome DescribeHostPoolOutcome; - typedef std::future DescribeHostPoolOutcomeCallable; - typedef std::function&)> DescribeHostPoolAsyncHandler; - typedef Outcome DescribeHpHostOutcome; - typedef std::future DescribeHpHostOutcomeCallable; - typedef std::function&)> DescribeHpHostAsyncHandler; typedef Outcome DescribeJobOutcome; typedef std::future DescribeJobOutcomeCallable; typedef std::function&)> DescribeJobAsyncHandler; - typedef Outcome DescribeKafkaBrokerOutcome; - typedef std::future DescribeKafkaBrokerOutcomeCallable; - typedef std::function&)> DescribeKafkaBrokerAsyncHandler; - typedef Outcome DescribeKafkaReassignOutcome; - typedef std::future DescribeKafkaReassignOutcomeCallable; - typedef std::function&)> DescribeKafkaReassignAsyncHandler; + typedef Outcome DescribeLibraryDetailOutcome; + typedef std::future DescribeLibraryDetailOutcomeCallable; + typedef std::function&)> DescribeLibraryDetailAsyncHandler; + typedef Outcome DescribeLibraryInstallTaskDetailOutcome; + typedef std::future DescribeLibraryInstallTaskDetailOutcomeCallable; + typedef std::function&)> DescribeLibraryInstallTaskDetailAsyncHandler; typedef Outcome DescribeMetaTablePreviewTaskOutcome; typedef std::future DescribeMetaTablePreviewTaskOutcomeCallable; typedef std::function&)> DescribeMetaTablePreviewTaskAsyncHandler; - typedef Outcome DescribeNoteOutcome; - typedef std::future DescribeNoteOutcomeCallable; - typedef std::function&)> DescribeNoteAsyncHandler; - typedef Outcome DescribeParagraphOutcome; - typedef std::future DescribeParagraphOutcomeCallable; - typedef std::function&)> DescribeParagraphAsyncHandler; typedef Outcome DescribeScalingActivityOutcome; typedef std::future DescribeScalingActivityOutcomeCallable; typedef std::function&)> DescribeScalingActivityAsyncHandler; typedef Outcome DescribeScalingCommonConfigOutcome; typedef std::future DescribeScalingCommonConfigOutcomeCallable; typedef std::function&)> DescribeScalingCommonConfigAsyncHandler; + typedef Outcome DescribeScalingConfigItemV2Outcome; + typedef std::future DescribeScalingConfigItemV2OutcomeCallable; + typedef std::function&)> DescribeScalingConfigItemV2AsyncHandler; + typedef Outcome DescribeScalingGroupInstanceV2Outcome; + typedef std::future DescribeScalingGroupInstanceV2OutcomeCallable; + typedef std::function&)> DescribeScalingGroupInstanceV2AsyncHandler; + typedef Outcome DescribeScalingGroupV2Outcome; + typedef std::future DescribeScalingGroupV2OutcomeCallable; + typedef std::function&)> DescribeScalingGroupV2AsyncHandler; typedef Outcome DescribeScalingRuleOutcome; typedef std::future DescribeScalingRuleOutcomeCallable; typedef std::function&)> DescribeScalingRuleAsyncHandler; - typedef Outcome DescribeScalingTaskGroupOutcome; - typedef std::future DescribeScalingTaskGroupOutcomeCallable; - typedef std::function&)> DescribeScalingTaskGroupAsyncHandler; typedef Outcome DescribeSecurityGroupAttributeOutcome; typedef std::future DescribeSecurityGroupAttributeOutcomeCallable; typedef std::function&)> DescribeSecurityGroupAttributeAsyncHandler; - typedef Outcome DescribeUserOutcome; - typedef std::future DescribeUserOutcomeCallable; - typedef std::function&)> DescribeUserAsyncHandler; - typedef Outcome DescribeUserGroupOutcome; - typedef std::future DescribeUserGroupOutcomeCallable; - typedef std::function&)> DescribeUserGroupAsyncHandler; - typedef Outcome DescribeUserStatisticsOutcome; - typedef std::future DescribeUserStatisticsOutcomeCallable; - typedef std::function&)> DescribeUserStatisticsAsyncHandler; - typedef Outcome DescribeWorkspaceRepoSettingOutcome; - typedef std::future DescribeWorkspaceRepoSettingOutcomeCallable; - typedef std::function&)> DescribeWorkspaceRepoSettingAsyncHandler; - typedef Outcome DescribeWorkspaceResourceSettingOutcome; - typedef std::future DescribeWorkspaceResourceSettingOutcomeCallable; - typedef std::function&)> DescribeWorkspaceResourceSettingAsyncHandler; - typedef Outcome DetachClusterForNoteOutcome; - typedef std::future DetachClusterForNoteOutcomeCallable; - typedef std::function&)> DetachClusterForNoteAsyncHandler; + 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 GetAuditLogsOutcome; - typedef std::future GetAuditLogsOutcomeCallable; - typedef std::function&)> GetAuditLogsAsyncHandler; - typedef Outcome GetBackInfoOutcome; - typedef std::future GetBackInfoOutcomeCallable; - typedef std::function&)> GetBackInfoAsyncHandler; - typedef Outcome GetBackPlanInfoOutcome; - typedef std::future GetBackPlanInfoOutcomeCallable; - typedef std::function&)> GetBackPlanInfoAsyncHandler; - typedef Outcome GetBackupInfoOutcome; - typedef std::future GetBackupInfoOutcomeCallable; - typedef std::function&)> GetBackupInfoAsyncHandler; - typedef Outcome GetBackupRuleInfoOutcome; - typedef std::future GetBackupRuleInfoOutcomeCallable; - typedef std::function&)> GetBackupRuleInfoAsyncHandler; - typedef Outcome GetFlowAuditLogsOutcome; - typedef std::future GetFlowAuditLogsOutcomeCallable; - typedef std::function&)> GetFlowAuditLogsAsyncHandler; typedef Outcome GetFlowEntityRelationGraphOutcome; typedef std::future GetFlowEntityRelationGraphOutcomeCallable; typedef std::function&)> GetFlowEntityRelationGraphAsyncHandler; @@ -1369,33 +771,12 @@ namespace AlibabaCloud typedef Outcome GetJobInputStatisticInfoOutcome; typedef std::future GetJobInputStatisticInfoOutcomeCallable; typedef std::function&)> GetJobInputStatisticInfoAsyncHandler; - typedef Outcome GetJobMigrateResultOutcome; - typedef std::future GetJobMigrateResultOutcomeCallable; - typedef std::function&)> GetJobMigrateResultAsyncHandler; typedef Outcome GetJobOutputStatisticInfoOutcome; typedef std::future GetJobOutputStatisticInfoOutcomeCallable; typedef std::function&)> GetJobOutputStatisticInfoAsyncHandler; typedef Outcome GetJobRunningTimeStatisticInfoOutcome; typedef std::future GetJobRunningTimeStatisticInfoOutcomeCallable; typedef std::function&)> GetJobRunningTimeStatisticInfoAsyncHandler; - typedef Outcome GetLogDownloadUrlOutcome; - typedef std::future GetLogDownloadUrlOutcomeCallable; - typedef std::function&)> GetLogDownloadUrlAsyncHandler; - typedef Outcome GetLogHistogramOutcome; - typedef std::future GetLogHistogramOutcomeCallable; - typedef std::function&)> GetLogHistogramAsyncHandler; - typedef Outcome GetMetadataTypeListOutcome; - typedef std::future GetMetadataTypeListOutcomeCallable; - typedef std::function&)> GetMetadataTypeListAsyncHandler; - typedef Outcome GetOpsCommandDetailOutcome; - typedef std::future GetOpsCommandDetailOutcomeCallable; - typedef std::function&)> GetOpsCommandDetailAsyncHandler; - typedef Outcome GetOpsCommandResultOutcome; - typedef std::future GetOpsCommandResultOutcomeCallable; - typedef std::function&)> GetOpsCommandResultAsyncHandler; - typedef Outcome GetOpsCommandResultOnceOutcome; - typedef std::future GetOpsCommandResultOnceOutcomeCallable; - typedef std::function&)> GetOpsCommandResultOnceAsyncHandler; typedef Outcome GetQueueInputStatisticInfoOutcome; typedef std::future GetQueueInputStatisticInfoOutcomeCallable; typedef std::function&)> GetQueueInputStatisticInfoAsyncHandler; @@ -1405,9 +786,6 @@ namespace AlibabaCloud typedef Outcome GetQueueSubmissionStatisticInfoOutcome; typedef std::future GetQueueSubmissionStatisticInfoOutcomeCallable; typedef std::function&)> GetQueueSubmissionStatisticInfoAsyncHandler; - typedef Outcome GetSupportedOpsCommandOutcome; - typedef std::future GetSupportedOpsCommandOutcomeCallable; - typedef std::function&)> GetSupportedOpsCommandAsyncHandler; typedef Outcome GetUserInputStatisticInfoOutcome; typedef std::future GetUserInputStatisticInfoOutcomeCallable; typedef std::function&)> GetUserInputStatisticInfoAsyncHandler; @@ -1417,39 +795,24 @@ namespace AlibabaCloud typedef Outcome GetUserSubmissionStatisticInfoOutcome; typedef std::future GetUserSubmissionStatisticInfoOutcomeCallable; typedef std::function&)> GetUserSubmissionStatisticInfoAsyncHandler; - typedef Outcome KillETLJobInstanceOutcome; - typedef std::future KillETLJobInstanceOutcomeCallable; - typedef std::function&)> KillETLJobInstanceAsyncHandler; + typedef Outcome InstallLibrariesOutcome; + typedef std::future InstallLibrariesOutcomeCallable; + typedef std::function&)> InstallLibrariesAsyncHandler; + typedef Outcome JoinResourceGroupOutcome; + typedef std::future JoinResourceGroupOutcomeCallable; + typedef std::function&)> JoinResourceGroupAsyncHandler; typedef Outcome KillExecutionJobInstanceOutcome; typedef std::future KillExecutionJobInstanceOutcomeCallable; typedef std::function&)> KillExecutionJobInstanceAsyncHandler; - typedef Outcome KillExecutionPlanInstanceOutcome; - typedef std::future KillExecutionPlanInstanceOutcomeCallable; - typedef std::function&)> KillExecutionPlanInstanceAsyncHandler; - typedef Outcome KillFlowOutcome; - typedef std::future KillFlowOutcomeCallable; - typedef std::function&)> KillFlowAsyncHandler; typedef Outcome KillFlowJobOutcome; typedef std::future KillFlowJobOutcomeCallable; typedef std::function&)> KillFlowJobAsyncHandler; - typedef Outcome ListAlertContactsOutcome; - typedef std::future ListAlertContactsOutcomeCallable; - typedef std::function&)> ListAlertContactsAsyncHandler; - typedef Outcome ListAlertDingDingGroupOutcome; - typedef std::future ListAlertDingDingGroupOutcomeCallable; - typedef std::function&)> ListAlertDingDingGroupAsyncHandler; - typedef Outcome ListAlertUserGroupOutcome; - typedef std::future ListAlertUserGroupOutcomeCallable; - typedef std::function&)> ListAlertUserGroupAsyncHandler; + typedef Outcome ListAdviceActionOutcome; + typedef std::future ListAdviceActionOutcomeCallable; + typedef std::function&)> ListAdviceActionAsyncHandler; typedef Outcome ListApmApplicationOutcome; typedef std::future ListApmApplicationOutcomeCallable; typedef std::function&)> ListApmApplicationAsyncHandler; - typedef Outcome ListBackupPlansOutcome; - typedef std::future ListBackupPlansOutcomeCallable; - typedef std::function&)> ListBackupPlansAsyncHandler; - typedef Outcome ListBackupRulesOutcome; - typedef std::future ListBackupRulesOutcomeCallable; - typedef std::function&)> ListBackupRulesAsyncHandler; typedef Outcome ListBackupsOutcome; typedef std::future ListBackupsOutcomeCallable; typedef std::function&)> ListBackupsAsyncHandler; @@ -1459,9 +822,6 @@ namespace AlibabaCloud typedef Outcome ListClusterHostComponentOutcome; typedef std::future ListClusterHostComponentOutcomeCallable; typedef std::function&)> ListClusterHostComponentAsyncHandler; - typedef Outcome ListClusterHostComponentForAdminOutcome; - typedef std::future ListClusterHostComponentForAdminOutcomeCallable; - typedef std::function&)> ListClusterHostComponentForAdminAsyncHandler; typedef Outcome ListClusterHostGroupOutcome; typedef std::future ListClusterHostGroupOutcomeCallable; typedef std::function&)> ListClusterHostGroupAsyncHandler; @@ -1477,39 +837,24 @@ namespace AlibabaCloud typedef Outcome ListClusterOperationHostTaskOutcome; typedef std::future ListClusterOperationHostTaskOutcomeCallable; typedef std::function&)> ListClusterOperationHostTaskAsyncHandler; - typedef Outcome ListClusterScriptsOutcome; - typedef std::future ListClusterScriptsOutcomeCallable; - typedef std::function&)> ListClusterScriptsAsyncHandler; + typedef Outcome ListClusterOperationTaskOutcome; + typedef std::future ListClusterOperationTaskOutcomeCallable; + typedef std::function&)> ListClusterOperationTaskAsyncHandler; typedef Outcome ListClusterServiceOutcome; typedef std::future ListClusterServiceOutcomeCallable; typedef std::function&)> ListClusterServiceAsyncHandler; + typedef Outcome ListClusterServiceComponentOutcome; + typedef std::future ListClusterServiceComponentOutcomeCallable; + typedef std::function&)> ListClusterServiceComponentAsyncHandler; typedef Outcome ListClusterServiceComponentHealthInfoOutcome; typedef std::future ListClusterServiceComponentHealthInfoOutcomeCallable; typedef std::function&)> ListClusterServiceComponentHealthInfoAsyncHandler; typedef Outcome ListClusterServiceConfigHistoryOutcome; typedef std::future ListClusterServiceConfigHistoryOutcomeCallable; typedef std::function&)> ListClusterServiceConfigHistoryAsyncHandler; - typedef Outcome ListClusterServiceConfigHistoryForAdminOutcome; - typedef std::future ListClusterServiceConfigHistoryForAdminOutcomeCallable; - typedef std::function&)> ListClusterServiceConfigHistoryForAdminAsyncHandler; - typedef Outcome ListClusterServiceCustomActionSupportConfigOutcome; - typedef std::future ListClusterServiceCustomActionSupportConfigOutcomeCallable; - typedef std::function&)> ListClusterServiceCustomActionSupportConfigAsyncHandler; - typedef Outcome ListClusterServiceCustomActionSupportConfigForAdminOutcome; - typedef std::future ListClusterServiceCustomActionSupportConfigForAdminOutcomeCallable; - typedef std::function&)> ListClusterServiceCustomActionSupportConfigForAdminAsyncHandler; typedef Outcome ListClusterServiceQuickLinkOutcome; typedef std::future ListClusterServiceQuickLinkOutcomeCallable; typedef std::function&)> ListClusterServiceQuickLinkAsyncHandler; - typedef Outcome ListClusterSupportServiceOutcome; - typedef std::future ListClusterSupportServiceOutcomeCallable; - typedef std::function&)> ListClusterSupportServiceAsyncHandler; - typedef Outcome ListClusterTagOutcome; - typedef std::future ListClusterTagOutcomeCallable; - typedef std::function&)> ListClusterTagAsyncHandler; - typedef Outcome ListClusterTagForAdminOutcome; - typedef std::future ListClusterTagForAdminOutcomeCallable; - typedef std::function&)> ListClusterTagForAdminAsyncHandler; typedef Outcome ListClusterTemplatesOutcome; typedef std::future ListClusterTemplatesOutcomeCallable; typedef std::function&)> ListClusterTemplatesAsyncHandler; @@ -1519,24 +864,6 @@ namespace AlibabaCloud typedef Outcome ListDataSourceOutcome; typedef std::future ListDataSourceOutcomeCallable; typedef std::function&)> ListDataSourceAsyncHandler; - typedef Outcome ListDataSourceSchemaDatabaseOutcome; - typedef std::future ListDataSourceSchemaDatabaseOutcomeCallable; - typedef std::function&)> ListDataSourceSchemaDatabaseAsyncHandler; - typedef Outcome ListDataSourceSchemaTableOutcome; - typedef std::future ListDataSourceSchemaTableOutcomeCallable; - typedef std::function&)> ListDataSourceSchemaTableAsyncHandler; - typedef Outcome ListDependedServiceOutcome; - typedef std::future ListDependedServiceOutcomeCallable; - typedef std::function&)> ListDependedServiceAsyncHandler; - typedef Outcome ListETLJobInstanceOutcome; - typedef std::future ListETLJobInstanceOutcomeCallable; - typedef std::function&)> ListETLJobInstanceAsyncHandler; - typedef Outcome ListETLJobReleaseOutcome; - typedef std::future ListETLJobReleaseOutcomeCallable; - typedef std::function&)> ListETLJobReleaseAsyncHandler; - typedef Outcome ListETLJobTriggerEntityOutcome; - typedef std::future ListETLJobTriggerEntityOutcomeCallable; - typedef std::function&)> ListETLJobTriggerEntityAsyncHandler; typedef Outcome ListEmrAvailableConfigOutcome; typedef std::future ListEmrAvailableConfigOutcomeCallable; typedef std::function&)> ListEmrAvailableConfigAsyncHandler; @@ -1546,21 +873,12 @@ namespace AlibabaCloud typedef Outcome ListEmrMainVersionOutcome; typedef std::future ListEmrMainVersionOutcomeCallable; typedef std::function&)> ListEmrMainVersionAsyncHandler; - typedef Outcome ListExecutePlanMigrateInfoOutcome; - typedef std::future ListExecutePlanMigrateInfoOutcomeCallable; - typedef std::function&)> ListExecutePlanMigrateInfoAsyncHandler; - typedef Outcome ListExecutionPlanInstanceTrendOutcome; - typedef std::future ListExecutionPlanInstanceTrendOutcomeCallable; - typedef std::function&)> ListExecutionPlanInstanceTrendAsyncHandler; typedef Outcome ListExecutionPlanInstancesOutcome; typedef std::future ListExecutionPlanInstancesOutcomeCallable; typedef std::function&)> ListExecutionPlanInstancesAsyncHandler; typedef Outcome ListExecutionPlansOutcome; typedef std::future ListExecutionPlansOutcomeCallable; typedef std::function&)> ListExecutionPlansAsyncHandler; - typedef Outcome ListFailureJobExecutionInstancesOutcome; - typedef std::future ListFailureJobExecutionInstancesOutcomeCallable; - typedef std::function&)> ListFailureJobExecutionInstancesAsyncHandler; typedef Outcome ListFlowOutcome; typedef std::future ListFlowOutcomeCallable; typedef std::function&)> ListFlowAsyncHandler; @@ -1609,102 +927,54 @@ namespace AlibabaCloud typedef Outcome ListFlowProjectUserOutcome; typedef std::future ListFlowProjectUserOutcomeCallable; typedef std::function&)> ListFlowProjectUserAsyncHandler; - typedef Outcome ListHostPoolOutcome; - typedef std::future ListHostPoolOutcomeCallable; - typedef std::function&)> ListHostPoolAsyncHandler; - typedef Outcome ListHpHostOutcome; - typedef std::future ListHpHostOutcomeCallable; - typedef std::function&)> ListHpHostAsyncHandler; - typedef Outcome ListJobExecutionInstanceTrendOutcome; - typedef std::future ListJobExecutionInstanceTrendOutcomeCallable; - typedef std::function&)> ListJobExecutionInstanceTrendAsyncHandler; typedef Outcome ListJobExecutionInstancesOutcome; typedef std::future ListJobExecutionInstancesOutcomeCallable; typedef std::function&)> ListJobExecutionInstancesAsyncHandler; - typedef Outcome ListJobExecutionPlanHierarchyOutcome; - typedef std::future ListJobExecutionPlanHierarchyOutcomeCallable; - typedef std::function&)> ListJobExecutionPlanHierarchyAsyncHandler; - typedef Outcome ListJobExecutionPlanParamsOutcome; - typedef std::future ListJobExecutionPlanParamsOutcomeCallable; - typedef std::function&)> ListJobExecutionPlanParamsAsyncHandler; typedef Outcome ListJobInstanceWorkersOutcome; typedef std::future ListJobInstanceWorkersOutcomeCallable; typedef std::function&)> ListJobInstanceWorkersAsyncHandler; - typedef Outcome ListJobMigrateInfoOutcome; - typedef std::future ListJobMigrateInfoOutcomeCallable; - typedef std::function&)> ListJobMigrateInfoAsyncHandler; typedef Outcome ListJobsOutcome; typedef std::future ListJobsOutcomeCallable; typedef std::function&)> ListJobsAsyncHandler; - typedef Outcome ListKafkaBrokerOutcome; - typedef std::future ListKafkaBrokerOutcomeCallable; - typedef std::function&)> ListKafkaBrokerAsyncHandler; - typedef Outcome ListKafkaReassignOutcome; - typedef std::future ListKafkaReassignOutcomeCallable; - typedef std::function&)> ListKafkaReassignAsyncHandler; - typedef Outcome ListKafkaReassignTopicOutcome; - typedef std::future ListKafkaReassignTopicOutcomeCallable; - typedef std::function&)> ListKafkaReassignTopicAsyncHandler; - typedef Outcome ListKafkaTopicStatisticsOutcome; - typedef std::future ListKafkaTopicStatisticsOutcomeCallable; - typedef std::function&)> ListKafkaTopicStatisticsAsyncHandler; - typedef Outcome ListNavSubTreeOutcome; - typedef std::future ListNavSubTreeOutcomeCallable; - typedef std::function&)> ListNavSubTreeAsyncHandler; + typedef Outcome ListLibrariesOutcome; + typedef std::future ListLibrariesOutcomeCallable; + typedef std::function&)> ListLibrariesAsyncHandler; + typedef Outcome ListLibraryInstallTasksOutcome; + typedef std::future ListLibraryInstallTasksOutcomeCallable; + typedef std::function&)> ListLibraryInstallTasksAsyncHandler; + typedef Outcome ListLibraryStatusOutcome; + typedef std::future ListLibraryStatusOutcomeCallable; + typedef std::function&)> ListLibraryStatusAsyncHandler; + typedef Outcome 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 ListOpsOperationOutcome; - typedef std::future ListOpsOperationOutcomeCallable; - typedef std::function&)> ListOpsOperationAsyncHandler; - typedef Outcome ListOpsOperationTaskOutcome; - typedef std::future ListOpsOperationTaskOutcomeCallable; - typedef std::function&)> ListOpsOperationTaskAsyncHandler; - typedef Outcome ListRequiredServiceOutcome; - typedef std::future ListRequiredServiceOutcomeCallable; - typedef std::function&)> ListRequiredServiceAsyncHandler; typedef Outcome ListResourcePoolOutcome; typedef std::future ListResourcePoolOutcomeCallable; typedef std::function&)> ListResourcePoolAsyncHandler; - typedef Outcome ListResourcePoolForAdminOutcome; - typedef std::future ListResourcePoolForAdminOutcomeCallable; - typedef std::function&)> ListResourcePoolForAdminAsyncHandler; - typedef Outcome ListResourceQueueOutcome; - typedef std::future ListResourceQueueOutcomeCallable; - typedef std::function&)> ListResourceQueueAsyncHandler; typedef Outcome ListRolesOutcome; typedef std::future ListRolesOutcomeCallable; typedef std::function&)> ListRolesAsyncHandler; - typedef Outcome ListScalingActivityOutcome; - typedef std::future ListScalingActivityOutcomeCallable; - typedef std::function&)> ListScalingActivityAsyncHandler; - typedef Outcome ListScalingRuleOutcome; - typedef std::future ListScalingRuleOutcomeCallable; - typedef std::function&)> ListScalingRuleAsyncHandler; - typedef Outcome ListScalingTaskGroupOutcome; - typedef std::future ListScalingTaskGroupOutcomeCallable; - typedef std::function&)> ListScalingTaskGroupAsyncHandler; - typedef Outcome ListServiceLogOutcome; - typedef std::future ListServiceLogOutcomeCallable; - typedef std::function&)> ListServiceLogAsyncHandler; - typedef Outcome ListSlsLogstoreInfoOutcome; - typedef std::future ListSlsLogstoreInfoOutcomeCallable; - typedef std::function&)> ListSlsLogstoreInfoAsyncHandler; + typedef Outcome ListScalingActivityV2Outcome; + typedef std::future ListScalingActivityV2OutcomeCallable; + typedef std::function&)> ListScalingActivityV2AsyncHandler; + typedef Outcome ListScalingConfigItemV2Outcome; + typedef std::future ListScalingConfigItemV2OutcomeCallable; + typedef std::function&)> ListScalingConfigItemV2AsyncHandler; + typedef Outcome ListScalingGroupV2Outcome; + typedef std::future ListScalingGroupV2OutcomeCallable; + typedef std::function&)> ListScalingGroupV2AsyncHandler; + typedef Outcome ListSecurityGroupOutcome; + typedef std::future ListSecurityGroupOutcomeCallable; + typedef std::function&)> ListSecurityGroupAsyncHandler; typedef Outcome ListStackOutcome; typedef std::future ListStackOutcomeCallable; typedef std::function&)> ListStackAsyncHandler; - typedef Outcome ListStackServiceOutcome; - typedef std::future ListStackServiceOutcomeCallable; - typedef std::function&)> ListStackServiceAsyncHandler; - typedef Outcome ListStreamingSqlQueryOutcome; - typedef std::future ListStreamingSqlQueryOutcomeCallable; - typedef std::function&)> ListStreamingSqlQueryAsyncHandler; - typedef Outcome ListSupportedServiceNameOutcome; - typedef std::future ListSupportedServiceNameOutcomeCallable; - typedef std::function&)> ListSupportedServiceNameAsyncHandler; - typedef Outcome ListSupportedServiceNameForAdminOutcome; - typedef std::future ListSupportedServiceNameForAdminOutcomeCallable; - typedef std::function&)> ListSupportedServiceNameForAdminAsyncHandler; typedef Outcome ListTagKeysOutcome; typedef std::future ListTagKeysOutcomeCallable; typedef std::function&)> ListTagKeysAsyncHandler; @@ -1714,120 +984,15 @@ namespace AlibabaCloud typedef Outcome ListTagValuesOutcome; typedef std::future ListTagValuesOutcomeCallable; typedef std::function&)> ListTagValuesAsyncHandler; - typedef Outcome ListUserGroupsOutcome; - typedef std::future ListUserGroupsOutcomeCallable; - typedef std::function&)> ListUserGroupsAsyncHandler; - typedef Outcome ListUserStatisticsOutcome; - typedef std::future ListUserStatisticsOutcomeCallable; - typedef std::function&)> ListUserStatisticsAsyncHandler; typedef Outcome ListUsersOutcome; typedef std::future ListUsersOutcomeCallable; typedef std::function&)> ListUsersAsyncHandler; - typedef Outcome ListUsersByConditionOutcome; - typedef std::future ListUsersByConditionOutcomeCallable; - typedef std::function&)> ListUsersByConditionAsyncHandler; - typedef Outcome MetastoreCreateDataResourceOutcome; - typedef std::future MetastoreCreateDataResourceOutcomeCallable; - typedef std::function&)> MetastoreCreateDataResourceAsyncHandler; - typedef Outcome MetastoreCreateDatabaseOutcome; - typedef std::future MetastoreCreateDatabaseOutcomeCallable; - typedef std::function&)> MetastoreCreateDatabaseAsyncHandler; - typedef Outcome MetastoreCreateKafkaTopicOutcome; - typedef std::future MetastoreCreateKafkaTopicOutcomeCallable; - typedef std::function&)> MetastoreCreateKafkaTopicAsyncHandler; - typedef Outcome MetastoreCreateTableOutcome; - typedef std::future MetastoreCreateTableOutcomeCallable; - typedef std::function&)> MetastoreCreateTableAsyncHandler; - typedef Outcome MetastoreDataPreviewOutcome; - typedef std::future MetastoreDataPreviewOutcomeCallable; - typedef std::function&)> MetastoreDataPreviewAsyncHandler; - typedef Outcome MetastoreDeleteDataResourceOutcome; - typedef std::future MetastoreDeleteDataResourceOutcomeCallable; - typedef std::function&)> MetastoreDeleteDataResourceAsyncHandler; - typedef Outcome MetastoreDeleteKafkaTopicOutcome; - typedef std::future MetastoreDeleteKafkaTopicOutcomeCallable; - typedef std::function&)> MetastoreDeleteKafkaTopicAsyncHandler; - typedef Outcome MetastoreDescribeDataSourceOutcome; - typedef std::future MetastoreDescribeDataSourceOutcomeCallable; - typedef std::function&)> MetastoreDescribeDataSourceAsyncHandler; - typedef Outcome MetastoreDescribeDatabaseOutcome; - typedef std::future MetastoreDescribeDatabaseOutcomeCallable; - typedef std::function&)> MetastoreDescribeDatabaseAsyncHandler; - typedef Outcome MetastoreDescribeKafkaConsumerGroupOutcome; - typedef std::future MetastoreDescribeKafkaConsumerGroupOutcomeCallable; - typedef std::function&)> MetastoreDescribeKafkaConsumerGroupAsyncHandler; - typedef Outcome MetastoreDescribeKafkaTopicOutcome; - typedef std::future MetastoreDescribeKafkaTopicOutcomeCallable; - typedef std::function&)> MetastoreDescribeKafkaTopicAsyncHandler; - typedef Outcome MetastoreDescribeTableOutcome; - typedef std::future MetastoreDescribeTableOutcomeCallable; - typedef std::function&)> MetastoreDescribeTableAsyncHandler; - typedef Outcome MetastoreDescribeTaskOutcome; - typedef std::future MetastoreDescribeTaskOutcomeCallable; - typedef std::function&)> MetastoreDescribeTaskAsyncHandler; - typedef Outcome MetastoreDropDatabaseOutcome; - typedef std::future MetastoreDropDatabaseOutcomeCallable; - typedef std::function&)> MetastoreDropDatabaseAsyncHandler; - typedef Outcome MetastoreDropTableOutcome; - typedef std::future MetastoreDropTableOutcomeCallable; - typedef std::function&)> MetastoreDropTableAsyncHandler; - typedef Outcome MetastoreListDataResourcesOutcome; - typedef std::future MetastoreListDataResourcesOutcomeCallable; - typedef std::function&)> MetastoreListDataResourcesAsyncHandler; - typedef Outcome MetastoreListDataSourceOutcome; - typedef std::future MetastoreListDataSourceOutcomeCallable; - typedef std::function&)> MetastoreListDataSourceAsyncHandler; - typedef Outcome MetastoreListDatabasesOutcome; - typedef std::future MetastoreListDatabasesOutcomeCallable; - typedef std::function&)> MetastoreListDatabasesAsyncHandler; - typedef Outcome MetastoreListKafkaConsumerGroupOutcome; - typedef std::future MetastoreListKafkaConsumerGroupOutcomeCallable; - typedef std::function&)> MetastoreListKafkaConsumerGroupAsyncHandler; - typedef Outcome MetastoreListKafkaTopicOutcome; - typedef std::future MetastoreListKafkaTopicOutcomeCallable; - typedef std::function&)> MetastoreListKafkaTopicAsyncHandler; - typedef Outcome MetastoreListTablePartitionOutcome; - typedef std::future MetastoreListTablePartitionOutcomeCallable; - typedef std::function&)> MetastoreListTablePartitionAsyncHandler; - typedef Outcome MetastoreListTablesOutcome; - typedef std::future MetastoreListTablesOutcomeCallable; - typedef std::function&)> MetastoreListTablesAsyncHandler; - typedef Outcome MetastoreListTaskOutcome; - typedef std::future MetastoreListTaskOutcomeCallable; - typedef std::function&)> MetastoreListTaskAsyncHandler; - typedef Outcome MetastoreModifyDataResourceOutcome; - typedef std::future MetastoreModifyDataResourceOutcomeCallable; - typedef std::function&)> MetastoreModifyDataResourceAsyncHandler; - typedef Outcome MetastoreRetryTaskOutcome; - typedef std::future MetastoreRetryTaskOutcomeCallable; - typedef std::function&)> MetastoreRetryTaskAsyncHandler; - typedef Outcome MetastoreSearchTablesOutcome; - typedef std::future MetastoreSearchTablesOutcomeCallable; - typedef std::function&)> MetastoreSearchTablesAsyncHandler; - typedef Outcome MetastoreUpdateKafkaTopicOutcome; - typedef std::future MetastoreUpdateKafkaTopicOutcomeCallable; - typedef std::function&)> MetastoreUpdateKafkaTopicAsyncHandler; - typedef Outcome MetastoreUpdateKafkaTopicBatchOutcome; - typedef std::future MetastoreUpdateKafkaTopicBatchOutcomeCallable; - typedef std::function&)> MetastoreUpdateKafkaTopicBatchAsyncHandler; - typedef Outcome MetastoreUpdateTableOutcome; - typedef std::future MetastoreUpdateTableOutcomeCallable; - typedef std::function&)> MetastoreUpdateTableAsyncHandler; - typedef Outcome MigrateClusterHostGroupHostOutcome; - typedef std::future MigrateClusterHostGroupHostOutcomeCallable; - typedef std::function&)> MigrateClusterHostGroupHostAsyncHandler; - typedef Outcome MigrateJobsOutcome; - typedef std::future MigrateJobsOutcomeCallable; - typedef std::function&)> MigrateJobsAsyncHandler; - typedef Outcome ModifyAlertContactOutcome; - typedef std::future ModifyAlertContactOutcomeCallable; - typedef std::function&)> ModifyAlertContactAsyncHandler; - typedef Outcome ModifyAlertDingDingGroupOutcome; - typedef std::future ModifyAlertDingDingGroupOutcomeCallable; - typedef std::function&)> ModifyAlertDingDingGroupAsyncHandler; - typedef Outcome ModifyAlertUserGroupOutcome; - typedef std::future ModifyAlertUserGroupOutcomeCallable; - typedef std::function&)> ModifyAlertUserGroupAsyncHandler; + typedef Outcome ListVswitchOutcome; + typedef std::future ListVswitchOutcomeCallable; + typedef std::function&)> ListVswitchAsyncHandler; + typedef Outcome ModifyClusterBootstrapActionOutcome; + typedef std::future ModifyClusterBootstrapActionOutcomeCallable; + typedef std::function&)> ModifyClusterBootstrapActionAsyncHandler; typedef Outcome ModifyClusterHostGroupOutcome; typedef std::future ModifyClusterHostGroupOutcomeCallable; typedef std::function&)> ModifyClusterHostGroupAsyncHandler; @@ -1837,30 +1002,18 @@ namespace AlibabaCloud typedef Outcome ModifyClusterNameOutcome; typedef std::future ModifyClusterNameOutcomeCallable; typedef std::function&)> ModifyClusterNameAsyncHandler; + typedef Outcome ModifyClusterSecurityGroupRuleOutcome; + typedef std::future ModifyClusterSecurityGroupRuleOutcomeCallable; + typedef std::function&)> ModifyClusterSecurityGroupRuleAsyncHandler; typedef Outcome ModifyClusterServiceConfigOutcome; typedef std::future ModifyClusterServiceConfigOutcomeCallable; typedef std::function&)> ModifyClusterServiceConfigAsyncHandler; - typedef Outcome ModifyClusterServiceConfigForAdminOutcome; - typedef std::future ModifyClusterServiceConfigForAdminOutcomeCallable; - typedef std::function&)> ModifyClusterServiceConfigForAdminAsyncHandler; typedef Outcome ModifyClusterTemplateOutcome; typedef std::future ModifyClusterTemplateOutcomeCallable; typedef std::function&)> ModifyClusterTemplateAsyncHandler; typedef Outcome ModifyExecutionPlanOutcome; typedef std::future ModifyExecutionPlanOutcomeCallable; typedef std::function&)> ModifyExecutionPlanAsyncHandler; - typedef Outcome ModifyExecutionPlanBasicInfoOutcome; - typedef std::future ModifyExecutionPlanBasicInfoOutcomeCallable; - typedef std::function&)> ModifyExecutionPlanBasicInfoAsyncHandler; - typedef Outcome ModifyExecutionPlanClusterInfoOutcome; - typedef std::future ModifyExecutionPlanClusterInfoOutcomeCallable; - typedef std::function&)> ModifyExecutionPlanClusterInfoAsyncHandler; - typedef Outcome ModifyExecutionPlanJobInfoOutcome; - typedef std::future ModifyExecutionPlanJobInfoOutcomeCallable; - typedef std::function&)> ModifyExecutionPlanJobInfoAsyncHandler; - typedef Outcome ModifyExecutionPlanScheduleInfoOutcome; - typedef std::future ModifyExecutionPlanScheduleInfoOutcomeCallable; - typedef std::function&)> ModifyExecutionPlanScheduleInfoAsyncHandler; typedef Outcome ModifyFlowOutcome; typedef std::future ModifyFlowOutcomeCallable; typedef std::function&)> ModifyFlowAsyncHandler; @@ -1879,24 +1032,9 @@ namespace AlibabaCloud typedef Outcome ModifyFlowProjectClusterSettingOutcome; typedef std::future ModifyFlowProjectClusterSettingOutcomeCallable; typedef std::function&)> ModifyFlowProjectClusterSettingAsyncHandler; - typedef Outcome ModifyFlowVariableCollectionOutcome; - typedef std::future ModifyFlowVariableCollectionOutcomeCallable; - typedef std::function&)> ModifyFlowVariableCollectionAsyncHandler; - typedef Outcome ModifyHostPoolOutcome; - typedef std::future ModifyHostPoolOutcomeCallable; - typedef std::function&)> ModifyHostPoolAsyncHandler; - typedef Outcome ModifyHpHostOutcome; - typedef std::future ModifyHpHostOutcomeCallable; - typedef std::function&)> ModifyHpHostAsyncHandler; typedef Outcome ModifyJobOutcome; typedef std::future ModifyJobOutcomeCallable; typedef std::function&)> ModifyJobAsyncHandler; - typedef Outcome ModifyJobExecutionPlanFolderOutcome; - typedef std::future ModifyJobExecutionPlanFolderOutcomeCallable; - typedef std::function&)> ModifyJobExecutionPlanFolderAsyncHandler; - typedef Outcome ModifyJobExecutionPlanParamOutcome; - typedef std::future ModifyJobExecutionPlanParamOutcomeCallable; - typedef std::function&)> ModifyJobExecutionPlanParamAsyncHandler; typedef Outcome ModifyResourcePoolOutcome; typedef std::future ModifyResourcePoolOutcomeCallable; typedef std::function&)> ModifyResourcePoolAsyncHandler; @@ -1906,51 +1044,24 @@ namespace AlibabaCloud typedef Outcome ModifyResourceQueueOutcome; typedef std::future ModifyResourceQueueOutcomeCallable; typedef std::function&)> ModifyResourceQueueAsyncHandler; + typedef Outcome ModifyScalingConfigItemV2Outcome; + typedef std::future ModifyScalingConfigItemV2OutcomeCallable; + typedef std::function&)> ModifyScalingConfigItemV2AsyncHandler; + typedef Outcome ModifyScalingGroupV2Outcome; + typedef std::future ModifyScalingGroupV2OutcomeCallable; + typedef std::function&)> ModifyScalingGroupV2AsyncHandler; typedef Outcome ModifyScalingRuleOutcome; typedef std::future ModifyScalingRuleOutcomeCallable; typedef std::function&)> ModifyScalingRuleAsyncHandler; typedef Outcome ModifyScalingTaskGroupOutcome; typedef std::future ModifyScalingTaskGroupOutcomeCallable; typedef std::function&)> ModifyScalingTaskGroupAsyncHandler; - typedef Outcome ModifyUserStatisticsOutcome; - typedef std::future ModifyUserStatisticsOutcomeCallable; - typedef std::function&)> ModifyUserStatisticsAsyncHandler; - typedef Outcome OfflineKafkaBrokerOutcome; - typedef std::future OfflineKafkaBrokerOutcomeCallable; - typedef std::function&)> OfflineKafkaBrokerAsyncHandler; - typedef Outcome OperateExistsNodeClusterOutcome; - typedef std::future OperateExistsNodeClusterOutcomeCallable; - typedef std::function&)> OperateExistsNodeClusterAsyncHandler; - typedef Outcome PageListResourceUsersOutcome; - typedef std::future PageListResourceUsersOutcomeCallable; - typedef std::function&)> PageListResourceUsersAsyncHandler; - typedef Outcome PageListUserGroupsOutcome; - typedef std::future PageListUserGroupsOutcomeCallable; - typedef std::function&)> PageListUserGroupsAsyncHandler; - typedef Outcome PageListUsersOutcome; - typedef std::future PageListUsersOutcomeCallable; - typedef std::function&)> PageListUsersAsyncHandler; - typedef Outcome PlanComponentTopoOutcome; - typedef std::future PlanComponentTopoOutcomeCallable; - typedef std::function&)> PlanComponentTopoAsyncHandler; - typedef Outcome PlanHostNameOutcome; - typedef std::future PlanHostNameOutcomeCallable; - typedef std::function&)> PlanHostNameAsyncHandler; typedef Outcome QueryAlarmHistoryOutcome; typedef std::future QueryAlarmHistoryOutcomeCallable; typedef std::function&)> QueryAlarmHistoryAsyncHandler; - typedef Outcome QueryAlarmRulesOutcome; - typedef std::future QueryAlarmRulesOutcomeCallable; - typedef std::function&)> QueryAlarmRulesAsyncHandler; typedef Outcome QueryEntityOutcome; typedef std::future QueryEntityOutcomeCallable; typedef std::function&)> QueryEntityAsyncHandler; - typedef Outcome QueryInfoByTokenOutcome; - typedef std::future QueryInfoByTokenOutcomeCallable; - typedef std::function&)> QueryInfoByTokenAsyncHandler; - typedef Outcome QuerySlsMetricDataOutcome; - typedef std::future QuerySlsMetricDataOutcomeCallable; - typedef std::function&)> QuerySlsMetricDataAsyncHandler; typedef Outcome QueryTableDataOutcome; typedef std::future QueryTableDataOutcomeCallable; typedef std::function&)> QueryTableDataAsyncHandler; @@ -1960,24 +1071,9 @@ namespace AlibabaCloud typedef Outcome QueryTrendDataOutcome; typedef std::future QueryTrendDataOutcomeCallable; typedef std::function&)> QueryTrendDataAsyncHandler; - typedef Outcome QueryUserActionsPolicyOutcome; - typedef std::future QueryUserActionsPolicyOutcomeCallable; - typedef std::function&)> QueryUserActionsPolicyAsyncHandler; - typedef Outcome QueryUserPoliciesOutcome; - typedef std::future QueryUserPoliciesOutcomeCallable; - typedef std::function&)> QueryUserPoliciesAsyncHandler; - typedef Outcome ReassignKafkaOutcome; - typedef std::future ReassignKafkaOutcomeCallable; - typedef std::function&)> ReassignKafkaAsyncHandler; - typedef Outcome RefreshBackupListOutcome; - typedef std::future RefreshBackupListOutcomeCallable; - typedef std::function&)> RefreshBackupListAsyncHandler; typedef Outcome RefreshClusterResourcePoolOutcome; typedef std::future RefreshClusterResourcePoolOutcomeCallable; typedef std::function&)> RefreshClusterResourcePoolAsyncHandler; - typedef Outcome RefreshClusterResourcePoolForAdminOutcome; - typedef std::future RefreshClusterResourcePoolForAdminOutcomeCallable; - typedef std::function&)> RefreshClusterResourcePoolForAdminAsyncHandler; typedef Outcome ReleaseClusterOutcome; typedef std::future ReleaseClusterOutcomeCallable; typedef std::function&)> ReleaseClusterAsyncHandler; @@ -1987,180 +1083,84 @@ namespace AlibabaCloud typedef Outcome ReleaseClusterHostGroupOutcome; typedef std::future ReleaseClusterHostGroupOutcomeCallable; typedef std::function&)> ReleaseClusterHostGroupAsyncHandler; - typedef Outcome ReleaseETLJobOutcome; - typedef std::future ReleaseETLJobOutcomeCallable; - typedef std::function&)> ReleaseETLJobAsyncHandler; - typedef Outcome RemoveBackupOutcome; - typedef std::future RemoveBackupOutcomeCallable; - typedef std::function&)> RemoveBackupAsyncHandler; - typedef Outcome RemoveBackupPlanOutcome; - typedef std::future RemoveBackupPlanOutcomeCallable; - typedef std::function&)> RemoveBackupPlanAsyncHandler; - typedef Outcome RemoveBackupRuleOutcome; - typedef std::future RemoveBackupRuleOutcomeCallable; - typedef std::function&)> RemoveBackupRuleAsyncHandler; - typedef Outcome RemoveClusterHostsOutcome; - typedef std::future RemoveClusterHostsOutcomeCallable; - typedef std::function&)> RemoveClusterHostsAsyncHandler; - typedef Outcome RemoveHpHostOutcome; - typedef std::future RemoveHpHostOutcomeCallable; - typedef std::function&)> RemoveHpHostAsyncHandler; - typedef Outcome RenderResourcePoolXmlOutcome; - typedef std::future RenderResourcePoolXmlOutcomeCallable; - typedef std::function&)> RenderResourcePoolXmlAsyncHandler; - typedef Outcome RenderResourcePoolXmlForAdminOutcome; - typedef std::future RenderResourcePoolXmlForAdminOutcomeCallable; - typedef std::function&)> RenderResourcePoolXmlForAdminAsyncHandler; + typedef Outcome RemoveScalingConfigItemV2Outcome; + typedef std::future RemoveScalingConfigItemV2OutcomeCallable; + typedef std::function&)> RemoveScalingConfigItemV2AsyncHandler; typedef Outcome RerunFlowOutcome; typedef std::future RerunFlowOutcomeCallable; typedef std::function&)> RerunFlowAsyncHandler; typedef Outcome ResizeClusterV2Outcome; typedef std::future ResizeClusterV2OutcomeCallable; typedef std::function&)> ResizeClusterV2AsyncHandler; - typedef Outcome ResizeClusterWithHostPoolOutcome; - typedef std::future ResizeClusterWithHostPoolOutcomeCallable; - typedef std::function&)> ResizeClusterWithHostPoolAsyncHandler; - typedef Outcome ResolveETLJobSqlSchemaOutcome; - typedef std::future ResolveETLJobSqlSchemaOutcomeCallable; - typedef std::function&)> ResolveETLJobSqlSchemaAsyncHandler; typedef Outcome RestoreBackupOutcome; typedef std::future RestoreBackupOutcomeCallable; typedef std::function&)> RestoreBackupAsyncHandler; typedef Outcome RestoreFlowEntitySnapshotOutcome; typedef std::future RestoreFlowEntitySnapshotOutcomeCallable; typedef std::function&)> RestoreFlowEntitySnapshotAsyncHandler; - typedef Outcome ResumeExecutionPlanInstanceOutcome; - typedef std::future ResumeExecutionPlanInstanceOutcomeCallable; - typedef std::function&)> ResumeExecutionPlanInstanceAsyncHandler; typedef Outcome ResumeExecutionPlanSchedulerOutcome; typedef std::future ResumeExecutionPlanSchedulerOutcomeCallable; typedef std::function&)> ResumeExecutionPlanSchedulerAsyncHandler; typedef Outcome ResumeFlowOutcome; typedef std::future ResumeFlowOutcomeCallable; typedef std::function&)> ResumeFlowAsyncHandler; - typedef Outcome RetryCreateUserPasswordOutcome; - typedef std::future RetryCreateUserPasswordOutcomeCallable; - typedef std::function&)> RetryCreateUserPasswordAsyncHandler; - typedef Outcome RetryExecutionPlanOutcome; - typedef std::future RetryExecutionPlanOutcomeCallable; - typedef std::function&)> RetryExecutionPlanAsyncHandler; - typedef Outcome RetryExecutionPlanInstanceOutcome; - typedef std::future RetryExecutionPlanInstanceOutcomeCallable; - typedef std::function&)> RetryExecutionPlanInstanceAsyncHandler; - typedef Outcome RetrySyncUserAccountOutcome; - typedef std::future RetrySyncUserAccountOutcomeCallable; - typedef std::function&)> RetrySyncUserAccountAsyncHandler; + typedef Outcome RetryOperationOutcome; + typedef std::future RetryOperationOutcomeCallable; + typedef std::function&)> RetryOperationAsyncHandler; typedef Outcome RunClusterServiceActionOutcome; typedef std::future RunClusterServiceActionOutcomeCallable; typedef std::function&)> RunClusterServiceActionAsyncHandler; - typedef Outcome RunETLJobOutcome; - typedef std::future RunETLJobOutcomeCallable; - typedef std::function&)> RunETLJobAsyncHandler; typedef Outcome RunExecutionPlanOutcome; typedef std::future RunExecutionPlanOutcomeCallable; typedef std::function&)> RunExecutionPlanAsyncHandler; - typedef Outcome RunNoteParagraphsOutcome; - typedef std::future RunNoteParagraphsOutcomeCallable; - typedef std::function&)> RunNoteParagraphsAsyncHandler; - typedef Outcome RunOpsCommandOutcome; - typedef std::future RunOpsCommandOutcomeCallable; - typedef std::function&)> RunOpsCommandAsyncHandler; - typedef Outcome RunParagraphOutcome; - typedef std::future RunParagraphOutcomeCallable; - typedef std::function&)> RunParagraphAsyncHandler; - typedef Outcome SaveBatchUserAccountInfoOutcome; - typedef std::future SaveBatchUserAccountInfoOutcomeCallable; - typedef std::function&)> SaveBatchUserAccountInfoAsyncHandler; - typedef Outcome SaveParagraphOutcome; - typedef std::future SaveParagraphOutcomeCallable; - typedef std::function&)> SaveParagraphAsyncHandler; - typedef Outcome SaveUserAccountInfoOutcome; - typedef std::future SaveUserAccountInfoOutcomeCallable; - typedef std::function&)> SaveUserAccountInfoAsyncHandler; + typedef Outcome RunScalingActionV2Outcome; + typedef std::future RunScalingActionV2OutcomeCallable; + typedef std::function&)> RunScalingActionV2AsyncHandler; typedef Outcome SearchLogOutcome; typedef std::future SearchLogOutcomeCallable; typedef std::function&)> SearchLogAsyncHandler; typedef Outcome StartFlowOutcome; typedef std::future StartFlowOutcomeCallable; typedef std::function&)> StartFlowAsyncHandler; - typedef Outcome StartKafkaBrokerDiskBalancerOutcome; - typedef std::future StartKafkaBrokerDiskBalancerOutcomeCallable; - typedef std::function&)> StartKafkaBrokerDiskBalancerAsyncHandler; - typedef Outcome StartKafkaPreferredReplicaElectionOutcome; - typedef std::future StartKafkaPreferredReplicaElectionOutcomeCallable; - typedef std::function&)> StartKafkaPreferredReplicaElectionAsyncHandler; - typedef Outcome StopParagraphOutcome; - typedef std::future StopParagraphOutcomeCallable; - typedef std::function&)> StopParagraphAsyncHandler; typedef Outcome SubmitFlowOutcome; typedef std::future SubmitFlowOutcomeCallable; typedef std::function&)> SubmitFlowAsyncHandler; typedef Outcome SubmitFlowJobOutcome; typedef std::future SubmitFlowJobOutcomeCallable; typedef std::function&)> SubmitFlowJobAsyncHandler; - typedef Outcome SuspendExecutionPlanInstanceOutcome; - typedef std::future SuspendExecutionPlanInstanceOutcomeCallable; - typedef std::function&)> SuspendExecutionPlanInstanceAsyncHandler; typedef Outcome SuspendExecutionPlanSchedulerOutcome; typedef std::future SuspendExecutionPlanSchedulerOutcomeCallable; typedef std::function&)> SuspendExecutionPlanSchedulerAsyncHandler; typedef Outcome SuspendFlowOutcome; typedef std::future SuspendFlowOutcomeCallable; typedef std::function&)> SuspendFlowAsyncHandler; - typedef Outcome SyncDataSourceSchemaDatabaseOutcome; - typedef std::future SyncDataSourceSchemaDatabaseOutcomeCallable; - typedef std::function&)> SyncDataSourceSchemaDatabaseAsyncHandler; - typedef Outcome SyncDataSourceSchemaTableOutcome; - typedef std::future SyncDataSourceSchemaTableOutcomeCallable; - typedef std::function&)> SyncDataSourceSchemaTableAsyncHandler; typedef Outcome TagResourcesOutcome; typedef std::future TagResourcesOutcomeCallable; typedef std::function&)> TagResourcesAsyncHandler; typedef Outcome TagResourcesSystemTagsOutcome; typedef std::future TagResourcesSystemTagsOutcomeCallable; typedef std::function&)> TagResourcesSystemTagsAsyncHandler; - typedef Outcome TerminateClusterOperationOutcome; - typedef std::future TerminateClusterOperationOutcomeCallable; - typedef std::function&)> TerminateClusterOperationAsyncHandler; + 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; - typedef Outcome UpdateETLJobOutcome; - typedef std::future UpdateETLJobOutcomeCallable; - typedef std::function&)> UpdateETLJobAsyncHandler; - typedef Outcome UpdateETLJobStageOutcome; - typedef std::future UpdateETLJobStageOutcomeCallable; - typedef std::function&)> UpdateETLJobStageAsyncHandler; - typedef Outcome UpdateKafkaReassignParamOutcome; - typedef std::future UpdateKafkaReassignParamOutcomeCallable; - typedef std::function&)> UpdateKafkaReassignParamAsyncHandler; - typedef Outcome UpdateNavNodeOutcome; - typedef std::future UpdateNavNodeOutcomeCallable; - typedef std::function&)> UpdateNavNodeAsyncHandler; - typedef Outcome UpdateProjectSettingOutcome; - typedef std::future UpdateProjectSettingOutcomeCallable; - typedef std::function&)> UpdateProjectSettingAsyncHandler; + typedef Outcome UpdateLibraryInstallTaskStatusOutcome; + typedef std::future UpdateLibraryInstallTaskStatusOutcomeCallable; + typedef std::function&)> UpdateLibraryInstallTaskStatusAsyncHandler; typedef Outcome UpdateTagOutcome; typedef std::future UpdateTagOutcomeCallable; typedef std::function&)> UpdateTagAsyncHandler; typedef Outcome UpdateUserOutcome; typedef std::future UpdateUserOutcomeCallable; typedef std::function&)> UpdateUserAsyncHandler; - typedef Outcome UpdateUserGroupOutcome; - typedef std::future UpdateUserGroupOutcomeCallable; - typedef std::function&)> UpdateUserGroupAsyncHandler; - typedef Outcome UpdateUserStatusOutcome; - typedef std::future UpdateUserStatusOutcomeCallable; - typedef std::function&)> UpdateUserStatusAsyncHandler; - typedef Outcome UpdateWorkspaceRepoSettingOutcome; - typedef std::future UpdateWorkspaceRepoSettingOutcomeCallable; - typedef std::function&)> UpdateWorkspaceRepoSettingAsyncHandler; - typedef Outcome UpdateWorkspaceResourceSettingOutcome; - typedef std::future UpdateWorkspaceResourceSettingOutcomeCallable; - typedef std::function&)> UpdateWorkspaceResourceSettingAsyncHandler; EmrClient(const Credentials &credentials, const ClientConfiguration &configuration); EmrClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -2169,45 +1169,18 @@ namespace AlibabaCloud AddClusterServiceOutcome addClusterService(const Model::AddClusterServiceRequest &request)const; void addClusterServiceAsync(const Model::AddClusterServiceRequest& request, const AddClusterServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddClusterServiceOutcomeCallable addClusterServiceCallable(const Model::AddClusterServiceRequest& request) const; - AddClusterServiceForAdminOutcome addClusterServiceForAdmin(const Model::AddClusterServiceForAdminRequest &request)const; - void addClusterServiceForAdminAsync(const Model::AddClusterServiceForAdminRequest& request, const AddClusterServiceForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddClusterServiceForAdminOutcomeCallable addClusterServiceForAdminCallable(const Model::AddClusterServiceForAdminRequest& request) const; - AddHpHostOutcome addHpHost(const Model::AddHpHostRequest &request)const; - void addHpHostAsync(const Model::AddHpHostRequest& request, const AddHpHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddHpHostOutcomeCallable addHpHostCallable(const Model::AddHpHostRequest& request) const; - AddResourceToUsersOutcome addResourceToUsers(const Model::AddResourceToUsersRequest &request)const; - void addResourceToUsersAsync(const Model::AddResourceToUsersRequest& request, const AddResourceToUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddResourceToUsersOutcomeCallable addResourceToUsersCallable(const Model::AddResourceToUsersRequest& request) const; - AddUserResourceRoleOutcome addUserResourceRole(const Model::AddUserResourceRoleRequest &request)const; - void addUserResourceRoleAsync(const Model::AddUserResourceRoleRequest& request, const AddUserResourceRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AddUserResourceRoleOutcomeCallable addUserResourceRoleCallable(const Model::AddUserResourceRoleRequest& request) const; - AttachClusterForNoteOutcome attachClusterForNote(const Model::AttachClusterForNoteRequest &request)const; - void attachClusterForNoteAsync(const Model::AttachClusterForNoteRequest& request, const AttachClusterForNoteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AttachClusterForNoteOutcomeCallable attachClusterForNoteCallable(const Model::AttachClusterForNoteRequest& request) const; - AttachPubIpOutcome attachPubIp(const Model::AttachPubIpRequest &request)const; - void attachPubIpAsync(const Model::AttachPubIpRequest& request, const AttachPubIpAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - AttachPubIpOutcomeCallable attachPubIpCallable(const Model::AttachPubIpRequest& request) const; + AddScalingConfigItemV2Outcome addScalingConfigItemV2(const Model::AddScalingConfigItemV2Request &request)const; + void addScalingConfigItemV2Async(const Model::AddScalingConfigItemV2Request& request, const AddScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddScalingConfigItemV2OutcomeCallable addScalingConfigItemV2Callable(const Model::AddScalingConfigItemV2Request& request) const; AuthorizeSecurityGroupOutcome authorizeSecurityGroup(const Model::AuthorizeSecurityGroupRequest &request)const; void authorizeSecurityGroupAsync(const Model::AuthorizeSecurityGroupRequest& request, const AuthorizeSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AuthorizeSecurityGroupOutcomeCallable authorizeSecurityGroupCallable(const Model::AuthorizeSecurityGroupRequest& request) const; - CancelETLJobReleaseOutcome cancelETLJobRelease(const Model::CancelETLJobReleaseRequest &request)const; - void cancelETLJobReleaseAsync(const Model::CancelETLJobReleaseRequest& request, const CancelETLJobReleaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CancelETLJobReleaseOutcomeCallable cancelETLJobReleaseCallable(const Model::CancelETLJobReleaseRequest& request) const; CancelOrderOutcome cancelOrder(const Model::CancelOrderRequest &request)const; void cancelOrderAsync(const Model::CancelOrderRequest& request, const CancelOrderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelOrderOutcomeCallable cancelOrderCallable(const Model::CancelOrderRequest& request) const; - CheckDataSourceOutcome checkDataSource(const Model::CheckDataSourceRequest &request)const; - void checkDataSourceAsync(const Model::CheckDataSourceRequest& request, const CheckDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CheckDataSourceOutcomeCallable checkDataSourceCallable(const Model::CheckDataSourceRequest& 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; - CloneDataSourceOutcome cloneDataSource(const Model::CloneDataSourceRequest &request)const; - void cloneDataSourceAsync(const Model::CloneDataSourceRequest& request, const CloneDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CloneDataSourceOutcomeCallable cloneDataSourceCallable(const Model::CloneDataSourceRequest& request) const; - CloneETLJobOutcome cloneETLJob(const Model::CloneETLJobRequest &request)const; - void cloneETLJobAsync(const Model::CloneETLJobRequest& request, const CloneETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CloneETLJobOutcomeCallable cloneETLJobCallable(const Model::CloneETLJobRequest& 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; @@ -2217,57 +1190,27 @@ namespace AlibabaCloud 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; - CommonApiWhiteListOutcome commonApiWhiteList(const Model::CommonApiWhiteListRequest &request)const; - void commonApiWhiteListAsync(const Model::CommonApiWhiteListRequest& request, const CommonApiWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CommonApiWhiteListOutcomeCallable commonApiWhiteListCallable(const Model::CommonApiWhiteListRequest& request) const; - ContextQueryLogOutcome contextQueryLog(const Model::ContextQueryLogRequest &request)const; - void contextQueryLogAsync(const Model::ContextQueryLogRequest& request, const ContextQueryLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ContextQueryLogOutcomeCallable contextQueryLogCallable(const Model::ContextQueryLogRequest& request) const; - CreateAlertContactOutcome createAlertContact(const Model::CreateAlertContactRequest &request)const; - void createAlertContactAsync(const Model::CreateAlertContactRequest& request, const CreateAlertContactAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateAlertContactOutcomeCallable createAlertContactCallable(const Model::CreateAlertContactRequest& request) const; - CreateAlertDingDingGroupOutcome createAlertDingDingGroup(const Model::CreateAlertDingDingGroupRequest &request)const; - void createAlertDingDingGroupAsync(const Model::CreateAlertDingDingGroupRequest& request, const CreateAlertDingDingGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateAlertDingDingGroupOutcomeCallable createAlertDingDingGroupCallable(const Model::CreateAlertDingDingGroupRequest& request) const; - CreateAlertUserGroupOutcome createAlertUserGroup(const Model::CreateAlertUserGroupRequest &request)const; - void createAlertUserGroupAsync(const Model::CreateAlertUserGroupRequest& request, const CreateAlertUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateAlertUserGroupOutcomeCallable createAlertUserGroupCallable(const Model::CreateAlertUserGroupRequest& request) const; CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const; void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateBackupOutcomeCallable createBackupCallable(const Model::CreateBackupRequest& request) const; CreateBackupPlanOutcome createBackupPlan(const Model::CreateBackupPlanRequest &request)const; void createBackupPlanAsync(const Model::CreateBackupPlanRequest& request, const CreateBackupPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateBackupPlanOutcomeCallable createBackupPlanCallable(const Model::CreateBackupPlanRequest& request) const; - CreateBackupRuleOutcome createBackupRule(const Model::CreateBackupRuleRequest &request)const; - void createBackupRuleAsync(const Model::CreateBackupRuleRequest& request, const CreateBackupRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateBackupRuleOutcomeCallable createBackupRuleCallable(const Model::CreateBackupRuleRequest& request) const; - CreateBatchUsersOutcome createBatchUsers(const Model::CreateBatchUsersRequest &request)const; - void createBatchUsersAsync(const Model::CreateBatchUsersRequest& request, const CreateBatchUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateBatchUsersOutcomeCallable createBatchUsersCallable(const Model::CreateBatchUsersRequest& 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; - CreateClusterScriptOutcome createClusterScript(const Model::CreateClusterScriptRequest &request)const; - void createClusterScriptAsync(const Model::CreateClusterScriptRequest& request, const CreateClusterScriptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateClusterScriptOutcomeCallable createClusterScriptCallable(const Model::CreateClusterScriptRequest& request) const; + CreateClusterBootstrapActionOutcome createClusterBootstrapAction(const Model::CreateClusterBootstrapActionRequest &request)const; + void createClusterBootstrapActionAsync(const Model::CreateClusterBootstrapActionRequest& request, const CreateClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateClusterBootstrapActionOutcomeCallable createClusterBootstrapActionCallable(const Model::CreateClusterBootstrapActionRequest& request) const; 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; CreateClusterV2Outcome createClusterV2(const Model::CreateClusterV2Request &request)const; void createClusterV2Async(const Model::CreateClusterV2Request& request, const CreateClusterV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateClusterV2OutcomeCallable createClusterV2Callable(const Model::CreateClusterV2Request& request) const; - CreateClusterWithHostPoolOutcome createClusterWithHostPool(const Model::CreateClusterWithHostPoolRequest &request)const; - void createClusterWithHostPoolAsync(const Model::CreateClusterWithHostPoolRequest& request, const CreateClusterWithHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateClusterWithHostPoolOutcomeCallable createClusterWithHostPoolCallable(const Model::CreateClusterWithHostPoolRequest& request) const; CreateClusterWithTemplateOutcome createClusterWithTemplate(const Model::CreateClusterWithTemplateRequest &request)const; void createClusterWithTemplateAsync(const Model::CreateClusterWithTemplateRequest& request, const CreateClusterWithTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateClusterWithTemplateOutcomeCallable createClusterWithTemplateCallable(const Model::CreateClusterWithTemplateRequest& request) const; CreateDataSourceOutcome createDataSource(const Model::CreateDataSourceRequest &request)const; void createDataSourceAsync(const Model::CreateDataSourceRequest& request, const CreateDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDataSourceOutcomeCallable createDataSourceCallable(const Model::CreateDataSourceRequest& request) const; - CreateETLJobOutcome createETLJob(const Model::CreateETLJobRequest &request)const; - void createETLJobAsync(const Model::CreateETLJobRequest& request, const CreateETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateETLJobOutcomeCallable createETLJobCallable(const Model::CreateETLJobRequest& request) const; CreateExecutionPlanOutcome createExecutionPlan(const Model::CreateExecutionPlanRequest &request)const; void createExecutionPlanAsync(const Model::CreateExecutionPlanRequest& request, const CreateExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateExecutionPlanOutcomeCallable createExecutionPlanCallable(const Model::CreateExecutionPlanRequest& request) const; @@ -2295,18 +1238,15 @@ namespace AlibabaCloud CreateFlowProjectUserOutcome createFlowProjectUser(const Model::CreateFlowProjectUserRequest &request)const; void createFlowProjectUserAsync(const Model::CreateFlowProjectUserRequest& request, const CreateFlowProjectUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFlowProjectUserOutcomeCallable createFlowProjectUserCallable(const Model::CreateFlowProjectUserRequest& request) const; - CreateHostPoolOutcome createHostPool(const Model::CreateHostPoolRequest &request)const; - void createHostPoolAsync(const Model::CreateHostPoolRequest& request, const CreateHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateHostPoolOutcomeCallable createHostPoolCallable(const Model::CreateHostPoolRequest& request) const; CreateJobOutcome createJob(const Model::CreateJobRequest &request)const; void createJobAsync(const Model::CreateJobRequest& request, const CreateJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateJobOutcomeCallable createJobCallable(const Model::CreateJobRequest& request) const; + CreateLibraryOutcome createLibrary(const Model::CreateLibraryRequest &request)const; + void createLibraryAsync(const Model::CreateLibraryRequest& request, const CreateLibraryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateLibraryOutcomeCallable createLibraryCallable(const Model::CreateLibraryRequest& request) const; CreateMetaTablePreviewTaskOutcome createMetaTablePreviewTask(const Model::CreateMetaTablePreviewTaskRequest &request)const; void createMetaTablePreviewTaskAsync(const Model::CreateMetaTablePreviewTaskRequest& request, const CreateMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMetaTablePreviewTaskOutcomeCallable createMetaTablePreviewTaskCallable(const Model::CreateMetaTablePreviewTaskRequest& request) const; - CreateNavNodeOutcome createNavNode(const Model::CreateNavNodeRequest &request)const; - void createNavNodeAsync(const Model::CreateNavNodeRequest& request, const CreateNavNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateNavNodeOutcomeCallable createNavNodeCallable(const Model::CreateNavNodeRequest& 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; @@ -2319,60 +1259,27 @@ namespace AlibabaCloud CreateResourceQueueOutcome createResourceQueue(const Model::CreateResourceQueueRequest &request)const; void createResourceQueueAsync(const Model::CreateResourceQueueRequest& request, const CreateResourceQueueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateResourceQueueOutcomeCallable createResourceQueueCallable(const Model::CreateResourceQueueRequest& request) const; + CreateScalingGroupV2Outcome createScalingGroupV2(const Model::CreateScalingGroupV2Request &request)const; + void createScalingGroupV2Async(const Model::CreateScalingGroupV2Request& request, const CreateScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateScalingGroupV2OutcomeCallable createScalingGroupV2Callable(const Model::CreateScalingGroupV2Request& request) const; CreateScalingRuleOutcome createScalingRule(const Model::CreateScalingRuleRequest &request)const; void createScalingRuleAsync(const Model::CreateScalingRuleRequest& request, const CreateScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateScalingRuleOutcomeCallable createScalingRuleCallable(const Model::CreateScalingRuleRequest& request) const; - CreateScalingTaskGroupOutcome createScalingTaskGroup(const Model::CreateScalingTaskGroupRequest &request)const; - void createScalingTaskGroupAsync(const Model::CreateScalingTaskGroupRequest& request, const CreateScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateScalingTaskGroupOutcomeCallable createScalingTaskGroupCallable(const Model::CreateScalingTaskGroupRequest& request) const; CreateTagOutcome createTag(const Model::CreateTagRequest &request)const; void createTagAsync(const Model::CreateTagRequest& request, const CreateTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateTagOutcomeCallable createTagCallable(const Model::CreateTagRequest& request) const; CreateUserOutcome createUser(const Model::CreateUserRequest &request)const; void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const; - CreateUserGroupOutcome createUserGroup(const Model::CreateUserGroupRequest &request)const; - void createUserGroupAsync(const Model::CreateUserGroupRequest& request, const CreateUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUserGroupOutcomeCallable createUserGroupCallable(const Model::CreateUserGroupRequest& request) const; - CreateUserPasswordOutcome createUserPassword(const Model::CreateUserPasswordRequest &request)const; - void createUserPasswordAsync(const Model::CreateUserPasswordRequest& request, const CreateUserPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUserPasswordOutcomeCallable createUserPasswordCallable(const Model::CreateUserPasswordRequest& request) const; - CreateUserStatisticsOutcome createUserStatistics(const Model::CreateUserStatisticsRequest &request)const; - void createUserStatisticsAsync(const Model::CreateUserStatisticsRequest& request, const CreateUserStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUserStatisticsOutcomeCallable createUserStatisticsCallable(const Model::CreateUserStatisticsRequest& request) const; CreateUsersOutcome createUsers(const Model::CreateUsersRequest &request)const; void createUsersAsync(const Model::CreateUsersRequest& request, const CreateUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUsersOutcomeCallable createUsersCallable(const Model::CreateUsersRequest& request) const; - CreateVerificationCodeOutcome createVerificationCode(const Model::CreateVerificationCodeRequest &request)const; - void createVerificationCodeAsync(const Model::CreateVerificationCodeRequest& request, const CreateVerificationCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateVerificationCodeOutcomeCallable createVerificationCodeCallable(const Model::CreateVerificationCodeRequest& request) const; - DeleteAlertContactsOutcome deleteAlertContacts(const Model::DeleteAlertContactsRequest &request)const; - void deleteAlertContactsAsync(const Model::DeleteAlertContactsRequest& request, const DeleteAlertContactsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteAlertContactsOutcomeCallable deleteAlertContactsCallable(const Model::DeleteAlertContactsRequest& request) const; - DeleteAlertDingDingGroupsOutcome deleteAlertDingDingGroups(const Model::DeleteAlertDingDingGroupsRequest &request)const; - void deleteAlertDingDingGroupsAsync(const Model::DeleteAlertDingDingGroupsRequest& request, const DeleteAlertDingDingGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteAlertDingDingGroupsOutcomeCallable deleteAlertDingDingGroupsCallable(const Model::DeleteAlertDingDingGroupsRequest& request) const; - DeleteAlertUserGroupsOutcome deleteAlertUserGroups(const Model::DeleteAlertUserGroupsRequest &request)const; - void deleteAlertUserGroupsAsync(const Model::DeleteAlertUserGroupsRequest& request, const DeleteAlertUserGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteAlertUserGroupsOutcomeCallable deleteAlertUserGroupsCallable(const Model::DeleteAlertUserGroupsRequest& request) const; - DeleteBatchResourceUsersOutcome deleteBatchResourceUsers(const Model::DeleteBatchResourceUsersRequest &request)const; - void deleteBatchResourceUsersAsync(const Model::DeleteBatchResourceUsersRequest& request, const DeleteBatchResourceUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteBatchResourceUsersOutcomeCallable deleteBatchResourceUsersCallable(const Model::DeleteBatchResourceUsersRequest& request) const; - DeleteClusterHostGroupOutcome deleteClusterHostGroup(const Model::DeleteClusterHostGroupRequest &request)const; - void deleteClusterHostGroupAsync(const Model::DeleteClusterHostGroupRequest& request, const DeleteClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteClusterHostGroupOutcomeCallable deleteClusterHostGroupCallable(const Model::DeleteClusterHostGroupRequest& request) const; - DeleteClusterScriptOutcome deleteClusterScript(const Model::DeleteClusterScriptRequest &request)const; - void deleteClusterScriptAsync(const Model::DeleteClusterScriptRequest& request, const DeleteClusterScriptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteClusterScriptOutcomeCallable deleteClusterScriptCallable(const Model::DeleteClusterScriptRequest& request) const; + DecommissionHostComponentOutcome decommissionHostComponent(const Model::DecommissionHostComponentRequest &request)const; + void decommissionHostComponentAsync(const Model::DecommissionHostComponentRequest& request, const DecommissionHostComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DecommissionHostComponentOutcomeCallable decommissionHostComponentCallable(const Model::DecommissionHostComponentRequest& request) const; DeleteClusterTemplateOutcome deleteClusterTemplate(const Model::DeleteClusterTemplateRequest &request)const; void deleteClusterTemplateAsync(const Model::DeleteClusterTemplateRequest& request, const DeleteClusterTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteClusterTemplateOutcomeCallable deleteClusterTemplateCallable(const Model::DeleteClusterTemplateRequest& request) const; - DeleteDataSourceOutcome deleteDataSource(const Model::DeleteDataSourceRequest &request)const; - void deleteDataSourceAsync(const Model::DeleteDataSourceRequest& request, const DeleteDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteDataSourceOutcomeCallable deleteDataSourceCallable(const Model::DeleteDataSourceRequest& request) const; - DeleteETLJobOutcome deleteETLJob(const Model::DeleteETLJobRequest &request)const; - void deleteETLJobAsync(const Model::DeleteETLJobRequest& request, const DeleteETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteETLJobOutcomeCallable deleteETLJobCallable(const Model::DeleteETLJobRequest& request) const; DeleteExecutionPlanOutcome deleteExecutionPlan(const Model::DeleteExecutionPlanRequest &request)const; void deleteExecutionPlanAsync(const Model::DeleteExecutionPlanRequest& request, const DeleteExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteExecutionPlanOutcomeCallable deleteExecutionPlanCallable(const Model::DeleteExecutionPlanRequest& request) const; @@ -2391,102 +1298,60 @@ namespace AlibabaCloud DeleteFlowProjectOutcome deleteFlowProject(const Model::DeleteFlowProjectRequest &request)const; void deleteFlowProjectAsync(const Model::DeleteFlowProjectRequest& request, const DeleteFlowProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowProjectOutcomeCallable deleteFlowProjectCallable(const Model::DeleteFlowProjectRequest& request) const; - DeleteFlowProjectByIdOutcome deleteFlowProjectById(const Model::DeleteFlowProjectByIdRequest &request)const; - void deleteFlowProjectByIdAsync(const Model::DeleteFlowProjectByIdRequest& request, const DeleteFlowProjectByIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteFlowProjectByIdOutcomeCallable deleteFlowProjectByIdCallable(const Model::DeleteFlowProjectByIdRequest& request) const; DeleteFlowProjectClusterSettingOutcome deleteFlowProjectClusterSetting(const Model::DeleteFlowProjectClusterSettingRequest &request)const; void deleteFlowProjectClusterSettingAsync(const Model::DeleteFlowProjectClusterSettingRequest& request, const DeleteFlowProjectClusterSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowProjectClusterSettingOutcomeCallable deleteFlowProjectClusterSettingCallable(const Model::DeleteFlowProjectClusterSettingRequest& request) const; DeleteFlowProjectUserOutcome deleteFlowProjectUser(const Model::DeleteFlowProjectUserRequest &request)const; void deleteFlowProjectUserAsync(const Model::DeleteFlowProjectUserRequest& request, const DeleteFlowProjectUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFlowProjectUserOutcomeCallable deleteFlowProjectUserCallable(const Model::DeleteFlowProjectUserRequest& request) const; - DeleteHostPoolOutcome deleteHostPool(const Model::DeleteHostPoolRequest &request)const; - void deleteHostPoolAsync(const Model::DeleteHostPoolRequest& request, const DeleteHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteHostPoolOutcomeCallable deleteHostPoolCallable(const Model::DeleteHostPoolRequest& request) const; DeleteJobOutcome deleteJob(const Model::DeleteJobRequest &request)const; void deleteJobAsync(const Model::DeleteJobRequest& request, const DeleteJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteJobOutcomeCallable deleteJobCallable(const Model::DeleteJobRequest& request) const; - DeleteNavNodeOutcome deleteNavNode(const Model::DeleteNavNodeRequest &request)const; - void deleteNavNodeAsync(const Model::DeleteNavNodeRequest& request, const DeleteNavNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteNavNodeOutcomeCallable deleteNavNodeCallable(const Model::DeleteNavNodeRequest& request) const; + DeleteLibrariesOutcome deleteLibraries(const Model::DeleteLibrariesRequest &request)const; + void deleteLibrariesAsync(const Model::DeleteLibrariesRequest& request, const DeleteLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLibrariesOutcomeCallable deleteLibrariesCallable(const Model::DeleteLibrariesRequest& request) const; 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; - DeleteParagraphOutcome deleteParagraph(const Model::DeleteParagraphRequest &request)const; - void deleteParagraphAsync(const Model::DeleteParagraphRequest& request, const DeleteParagraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteParagraphOutcomeCallable deleteParagraphCallable(const Model::DeleteParagraphRequest& request) const; DeleteResourcePoolOutcome deleteResourcePool(const Model::DeleteResourcePoolRequest &request)const; void deleteResourcePoolAsync(const Model::DeleteResourcePoolRequest& request, const DeleteResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteResourcePoolOutcomeCallable deleteResourcePoolCallable(const Model::DeleteResourcePoolRequest& request) const; DeleteResourceQueueOutcome deleteResourceQueue(const Model::DeleteResourceQueueRequest &request)const; void deleteResourceQueueAsync(const Model::DeleteResourceQueueRequest& request, const DeleteResourceQueueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteResourceQueueOutcomeCallable deleteResourceQueueCallable(const Model::DeleteResourceQueueRequest& request) const; - DeleteResourceUserOutcome deleteResourceUser(const Model::DeleteResourceUserRequest &request)const; - void deleteResourceUserAsync(const Model::DeleteResourceUserRequest& request, const DeleteResourceUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteResourceUserOutcomeCallable deleteResourceUserCallable(const Model::DeleteResourceUserRequest& request) const; DeleteScalingRuleOutcome deleteScalingRule(const Model::DeleteScalingRuleRequest &request)const; void deleteScalingRuleAsync(const Model::DeleteScalingRuleRequest& request, const DeleteScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteScalingRuleOutcomeCallable deleteScalingRuleCallable(const Model::DeleteScalingRuleRequest& request) const; - DeleteScalingTaskGroupOutcome deleteScalingTaskGroup(const Model::DeleteScalingTaskGroupRequest &request)const; - void deleteScalingTaskGroupAsync(const Model::DeleteScalingTaskGroupRequest& request, const DeleteScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteScalingTaskGroupOutcomeCallable deleteScalingTaskGroupCallable(const Model::DeleteScalingTaskGroupRequest& request) const; DeleteTagOutcome deleteTag(const Model::DeleteTagRequest &request)const; void deleteTagAsync(const Model::DeleteTagRequest& request, const DeleteTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTagOutcomeCallable deleteTagCallable(const Model::DeleteTagRequest& request) const; DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const; void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const; - DeleteUserGroupOutcome deleteUserGroup(const Model::DeleteUserGroupRequest &request)const; - void deleteUserGroupAsync(const Model::DeleteUserGroupRequest& request, const DeleteUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteUserGroupOutcomeCallable deleteUserGroupCallable(const Model::DeleteUserGroupRequest& request) const; - DeleteUserResourceRoleOutcome deleteUserResourceRole(const Model::DeleteUserResourceRoleRequest &request)const; - void deleteUserResourceRoleAsync(const Model::DeleteUserResourceRoleRequest& request, const DeleteUserResourceRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteUserResourceRoleOutcomeCallable deleteUserResourceRoleCallable(const Model::DeleteUserResourceRoleRequest& request) const; - DescribeAvailableInstanceTypeOutcome describeAvailableInstanceType(const Model::DescribeAvailableInstanceTypeRequest &request)const; - void describeAvailableInstanceTypeAsync(const Model::DescribeAvailableInstanceTypeRequest& request, const DescribeAvailableInstanceTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeAvailableInstanceTypeOutcomeCallable describeAvailableInstanceTypeCallable(const Model::DescribeAvailableInstanceTypeRequest& request) const; DescribeClusterBasicInfoOutcome describeClusterBasicInfo(const Model::DescribeClusterBasicInfoRequest &request)const; void describeClusterBasicInfoAsync(const Model::DescribeClusterBasicInfoRequest& request, const DescribeClusterBasicInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterBasicInfoOutcomeCallable describeClusterBasicInfoCallable(const Model::DescribeClusterBasicInfoRequest& request) const; DescribeClusterMetaCollectOutcome describeClusterMetaCollect(const Model::DescribeClusterMetaCollectRequest &request)const; void describeClusterMetaCollectAsync(const Model::DescribeClusterMetaCollectRequest& request, const DescribeClusterMetaCollectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterMetaCollectOutcomeCallable describeClusterMetaCollectCallable(const Model::DescribeClusterMetaCollectRequest& request) const; - DescribeClusterOpLogOutcome describeClusterOpLog(const Model::DescribeClusterOpLogRequest &request)const; - void describeClusterOpLogAsync(const Model::DescribeClusterOpLogRequest& request, const DescribeClusterOpLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterOpLogOutcomeCallable describeClusterOpLogCallable(const Model::DescribeClusterOpLogRequest& request) const; DescribeClusterOperationHostTaskLogOutcome describeClusterOperationHostTaskLog(const Model::DescribeClusterOperationHostTaskLogRequest &request)const; void describeClusterOperationHostTaskLogAsync(const Model::DescribeClusterOperationHostTaskLogRequest& request, const DescribeClusterOperationHostTaskLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterOperationHostTaskLogOutcomeCallable describeClusterOperationHostTaskLogCallable(const Model::DescribeClusterOperationHostTaskLogRequest& request) const; DescribeClusterResourcePoolSchedulerTypeOutcome describeClusterResourcePoolSchedulerType(const Model::DescribeClusterResourcePoolSchedulerTypeRequest &request)const; void describeClusterResourcePoolSchedulerTypeAsync(const Model::DescribeClusterResourcePoolSchedulerTypeRequest& request, const DescribeClusterResourcePoolSchedulerTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterResourcePoolSchedulerTypeOutcomeCallable describeClusterResourcePoolSchedulerTypeCallable(const Model::DescribeClusterResourcePoolSchedulerTypeRequest& request) const; - DescribeClusterResourcePoolSchedulerTypeForAdminOutcome describeClusterResourcePoolSchedulerTypeForAdmin(const Model::DescribeClusterResourcePoolSchedulerTypeForAdminRequest &request)const; - void describeClusterResourcePoolSchedulerTypeForAdminAsync(const Model::DescribeClusterResourcePoolSchedulerTypeForAdminRequest& request, const DescribeClusterResourcePoolSchedulerTypeForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterResourcePoolSchedulerTypeForAdminOutcomeCallable describeClusterResourcePoolSchedulerTypeForAdminCallable(const Model::DescribeClusterResourcePoolSchedulerTypeForAdminRequest& request) const; - DescribeClusterScriptOutcome describeClusterScript(const Model::DescribeClusterScriptRequest &request)const; - void describeClusterScriptAsync(const Model::DescribeClusterScriptRequest& request, const DescribeClusterScriptAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterScriptOutcomeCallable describeClusterScriptCallable(const Model::DescribeClusterScriptRequest& request) const; DescribeClusterServiceOutcome describeClusterService(const Model::DescribeClusterServiceRequest &request)const; void describeClusterServiceAsync(const Model::DescribeClusterServiceRequest& request, const DescribeClusterServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterServiceOutcomeCallable describeClusterServiceCallable(const Model::DescribeClusterServiceRequest& request) const; DescribeClusterServiceConfigOutcome describeClusterServiceConfig(const Model::DescribeClusterServiceConfigRequest &request)const; void describeClusterServiceConfigAsync(const Model::DescribeClusterServiceConfigRequest& request, const DescribeClusterServiceConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterServiceConfigOutcomeCallable describeClusterServiceConfigCallable(const Model::DescribeClusterServiceConfigRequest& request) const; - DescribeClusterServiceConfigForAdminOutcome describeClusterServiceConfigForAdmin(const Model::DescribeClusterServiceConfigForAdminRequest &request)const; - void describeClusterServiceConfigForAdminAsync(const Model::DescribeClusterServiceConfigForAdminRequest& request, const DescribeClusterServiceConfigForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterServiceConfigForAdminOutcomeCallable describeClusterServiceConfigForAdminCallable(const Model::DescribeClusterServiceConfigForAdminRequest& request) const; DescribeClusterServiceConfigHistoryOutcome describeClusterServiceConfigHistory(const Model::DescribeClusterServiceConfigHistoryRequest &request)const; void describeClusterServiceConfigHistoryAsync(const Model::DescribeClusterServiceConfigHistoryRequest& request, const DescribeClusterServiceConfigHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterServiceConfigHistoryOutcomeCallable describeClusterServiceConfigHistoryCallable(const Model::DescribeClusterServiceConfigHistoryRequest& request) const; DescribeClusterServiceConfigTagOutcome describeClusterServiceConfigTag(const Model::DescribeClusterServiceConfigTagRequest &request)const; void describeClusterServiceConfigTagAsync(const Model::DescribeClusterServiceConfigTagRequest& request, const DescribeClusterServiceConfigTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterServiceConfigTagOutcomeCallable describeClusterServiceConfigTagCallable(const Model::DescribeClusterServiceConfigTagRequest& request) const; - DescribeClusterServiceConfigTagForAdminOutcome describeClusterServiceConfigTagForAdmin(const Model::DescribeClusterServiceConfigTagForAdminRequest &request)const; - void describeClusterServiceConfigTagForAdminAsync(const Model::DescribeClusterServiceConfigTagForAdminRequest& request, const DescribeClusterServiceConfigTagForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterServiceConfigTagForAdminOutcomeCallable describeClusterServiceConfigTagForAdminCallable(const Model::DescribeClusterServiceConfigTagForAdminRequest& request) const; - DescribeClusterStatisticsOutcome describeClusterStatistics(const Model::DescribeClusterStatisticsRequest &request)const; - void describeClusterStatisticsAsync(const Model::DescribeClusterStatisticsRequest& request, const DescribeClusterStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeClusterStatisticsOutcomeCallable describeClusterStatisticsCallable(const Model::DescribeClusterStatisticsRequest& request) const; DescribeClusterTemplateOutcome describeClusterTemplate(const Model::DescribeClusterTemplateRequest &request)const; void describeClusterTemplateAsync(const Model::DescribeClusterTemplateRequest& request, const DescribeClusterTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterTemplateOutcomeCallable describeClusterTemplateCallable(const Model::DescribeClusterTemplateRequest& request) const; @@ -2496,36 +1361,18 @@ 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; - DescribeDataSourceCommandOutcome describeDataSourceCommand(const Model::DescribeDataSourceCommandRequest &request)const; - void describeDataSourceCommandAsync(const Model::DescribeDataSourceCommandRequest& request, const DescribeDataSourceCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDataSourceCommandOutcomeCallable describeDataSourceCommandCallable(const Model::DescribeDataSourceCommandRequest& request) const; - DescribeDataSourceSchemaDatabaseOutcome describeDataSourceSchemaDatabase(const Model::DescribeDataSourceSchemaDatabaseRequest &request)const; - void describeDataSourceSchemaDatabaseAsync(const Model::DescribeDataSourceSchemaDatabaseRequest& request, const DescribeDataSourceSchemaDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDataSourceSchemaDatabaseOutcomeCallable describeDataSourceSchemaDatabaseCallable(const Model::DescribeDataSourceSchemaDatabaseRequest& request) const; - DescribeDataSourceSchemaTableOutcome describeDataSourceSchemaTable(const Model::DescribeDataSourceSchemaTableRequest &request)const; - void describeDataSourceSchemaTableAsync(const Model::DescribeDataSourceSchemaTableRequest& request, const DescribeDataSourceSchemaTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDataSourceSchemaTableOutcomeCallable describeDataSourceSchemaTableCallable(const Model::DescribeDataSourceSchemaTableRequest& request) const; - DescribeETLJobOutcome describeETLJob(const Model::DescribeETLJobRequest &request)const; - void describeETLJobAsync(const Model::DescribeETLJobRequest& request, const DescribeETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeETLJobOutcomeCallable describeETLJobCallable(const Model::DescribeETLJobRequest& request) const; - DescribeETLJobInstanceOutcome describeETLJobInstance(const Model::DescribeETLJobInstanceRequest &request)const; - void describeETLJobInstanceAsync(const Model::DescribeETLJobInstanceRequest& request, const DescribeETLJobInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeETLJobInstanceOutcomeCallable describeETLJobInstanceCallable(const Model::DescribeETLJobInstanceRequest& request) const; - DescribeETLJobSqlSchemaOutcome describeETLJobSqlSchema(const Model::DescribeETLJobSqlSchemaRequest &request)const; - void describeETLJobSqlSchemaAsync(const Model::DescribeETLJobSqlSchemaRequest& request, const DescribeETLJobSqlSchemaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeETLJobSqlSchemaOutcomeCallable describeETLJobSqlSchemaCallable(const Model::DescribeETLJobSqlSchemaRequest& request) const; - DescribeETLJobStageOutputSchemaOutcome describeETLJobStageOutputSchema(const Model::DescribeETLJobStageOutputSchemaRequest &request)const; - void describeETLJobStageOutputSchemaAsync(const Model::DescribeETLJobStageOutputSchemaRequest& request, const DescribeETLJobStageOutputSchemaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeETLJobStageOutputSchemaOutcomeCallable describeETLJobStageOutputSchemaCallable(const Model::DescribeETLJobStageOutputSchemaRequest& 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; @@ -2541,9 +1388,6 @@ namespace AlibabaCloud DescribeFlowJobOutcome describeFlowJob(const Model::DescribeFlowJobRequest &request)const; void describeFlowJobAsync(const Model::DescribeFlowJobRequest& request, const DescribeFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowJobOutcomeCallable describeFlowJobCallable(const Model::DescribeFlowJobRequest& request) const; - DescribeFlowJobStatisticOutcome describeFlowJobStatistic(const Model::DescribeFlowJobStatisticRequest &request)const; - void describeFlowJobStatisticAsync(const Model::DescribeFlowJobStatisticRequest& request, const DescribeFlowJobStatisticAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeFlowJobStatisticOutcomeCallable describeFlowJobStatisticCallable(const Model::DescribeFlowJobStatisticRequest& request) const; DescribeFlowNodeInstanceOutcome describeFlowNodeInstance(const Model::DescribeFlowNodeInstanceRequest &request)const; void describeFlowNodeInstanceAsync(const Model::DescribeFlowNodeInstanceRequest& request, const DescribeFlowNodeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowNodeInstanceOutcomeCallable describeFlowNodeInstanceCallable(const Model::DescribeFlowNodeInstanceRequest& request) const; @@ -2559,90 +1403,48 @@ namespace AlibabaCloud DescribeFlowProjectClusterSettingOutcome describeFlowProjectClusterSetting(const Model::DescribeFlowProjectClusterSettingRequest &request)const; void describeFlowProjectClusterSettingAsync(const Model::DescribeFlowProjectClusterSettingRequest& request, const DescribeFlowProjectClusterSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeFlowProjectClusterSettingOutcomeCallable describeFlowProjectClusterSettingCallable(const Model::DescribeFlowProjectClusterSettingRequest& request) const; - DescribeFlowVariableCollectionOutcome describeFlowVariableCollection(const Model::DescribeFlowVariableCollectionRequest &request)const; - void describeFlowVariableCollectionAsync(const Model::DescribeFlowVariableCollectionRequest& request, const DescribeFlowVariableCollectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeFlowVariableCollectionOutcomeCallable describeFlowVariableCollectionCallable(const Model::DescribeFlowVariableCollectionRequest& request) const; - DescribeHostPoolOutcome describeHostPool(const Model::DescribeHostPoolRequest &request)const; - void describeHostPoolAsync(const Model::DescribeHostPoolRequest& request, const DescribeHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeHostPoolOutcomeCallable describeHostPoolCallable(const Model::DescribeHostPoolRequest& request) const; - DescribeHpHostOutcome describeHpHost(const Model::DescribeHpHostRequest &request)const; - void describeHpHostAsync(const Model::DescribeHpHostRequest& request, const DescribeHpHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeHpHostOutcomeCallable describeHpHostCallable(const Model::DescribeHpHostRequest& request) const; DescribeJobOutcome describeJob(const Model::DescribeJobRequest &request)const; void describeJobAsync(const Model::DescribeJobRequest& request, const DescribeJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeJobOutcomeCallable describeJobCallable(const Model::DescribeJobRequest& request) const; - DescribeKafkaBrokerOutcome describeKafkaBroker(const Model::DescribeKafkaBrokerRequest &request)const; - void describeKafkaBrokerAsync(const Model::DescribeKafkaBrokerRequest& request, const DescribeKafkaBrokerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeKafkaBrokerOutcomeCallable describeKafkaBrokerCallable(const Model::DescribeKafkaBrokerRequest& request) const; - DescribeKafkaReassignOutcome describeKafkaReassign(const Model::DescribeKafkaReassignRequest &request)const; - void describeKafkaReassignAsync(const Model::DescribeKafkaReassignRequest& request, const DescribeKafkaReassignAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeKafkaReassignOutcomeCallable describeKafkaReassignCallable(const Model::DescribeKafkaReassignRequest& request) const; + DescribeLibraryDetailOutcome describeLibraryDetail(const Model::DescribeLibraryDetailRequest &request)const; + void describeLibraryDetailAsync(const Model::DescribeLibraryDetailRequest& request, const DescribeLibraryDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLibraryDetailOutcomeCallable describeLibraryDetailCallable(const Model::DescribeLibraryDetailRequest& request) const; + DescribeLibraryInstallTaskDetailOutcome describeLibraryInstallTaskDetail(const Model::DescribeLibraryInstallTaskDetailRequest &request)const; + void describeLibraryInstallTaskDetailAsync(const Model::DescribeLibraryInstallTaskDetailRequest& request, const DescribeLibraryInstallTaskDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLibraryInstallTaskDetailOutcomeCallable describeLibraryInstallTaskDetailCallable(const Model::DescribeLibraryInstallTaskDetailRequest& request) const; DescribeMetaTablePreviewTaskOutcome describeMetaTablePreviewTask(const Model::DescribeMetaTablePreviewTaskRequest &request)const; void describeMetaTablePreviewTaskAsync(const Model::DescribeMetaTablePreviewTaskRequest& request, const DescribeMetaTablePreviewTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeMetaTablePreviewTaskOutcomeCallable describeMetaTablePreviewTaskCallable(const Model::DescribeMetaTablePreviewTaskRequest& request) const; - DescribeNoteOutcome describeNote(const Model::DescribeNoteRequest &request)const; - void describeNoteAsync(const Model::DescribeNoteRequest& request, const DescribeNoteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeNoteOutcomeCallable describeNoteCallable(const Model::DescribeNoteRequest& request) const; - DescribeParagraphOutcome describeParagraph(const Model::DescribeParagraphRequest &request)const; - void describeParagraphAsync(const Model::DescribeParagraphRequest& request, const DescribeParagraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeParagraphOutcomeCallable describeParagraphCallable(const Model::DescribeParagraphRequest& request) const; DescribeScalingActivityOutcome describeScalingActivity(const Model::DescribeScalingActivityRequest &request)const; void describeScalingActivityAsync(const Model::DescribeScalingActivityRequest& request, const DescribeScalingActivityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeScalingActivityOutcomeCallable describeScalingActivityCallable(const Model::DescribeScalingActivityRequest& request) const; DescribeScalingCommonConfigOutcome describeScalingCommonConfig(const Model::DescribeScalingCommonConfigRequest &request)const; void describeScalingCommonConfigAsync(const Model::DescribeScalingCommonConfigRequest& request, const DescribeScalingCommonConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeScalingCommonConfigOutcomeCallable describeScalingCommonConfigCallable(const Model::DescribeScalingCommonConfigRequest& request) const; + DescribeScalingConfigItemV2Outcome describeScalingConfigItemV2(const Model::DescribeScalingConfigItemV2Request &request)const; + void describeScalingConfigItemV2Async(const Model::DescribeScalingConfigItemV2Request& request, const DescribeScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScalingConfigItemV2OutcomeCallable describeScalingConfigItemV2Callable(const Model::DescribeScalingConfigItemV2Request& request) const; + DescribeScalingGroupInstanceV2Outcome describeScalingGroupInstanceV2(const Model::DescribeScalingGroupInstanceV2Request &request)const; + void describeScalingGroupInstanceV2Async(const Model::DescribeScalingGroupInstanceV2Request& request, const DescribeScalingGroupInstanceV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScalingGroupInstanceV2OutcomeCallable describeScalingGroupInstanceV2Callable(const Model::DescribeScalingGroupInstanceV2Request& request) const; + DescribeScalingGroupV2Outcome describeScalingGroupV2(const Model::DescribeScalingGroupV2Request &request)const; + void describeScalingGroupV2Async(const Model::DescribeScalingGroupV2Request& request, const DescribeScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeScalingGroupV2OutcomeCallable describeScalingGroupV2Callable(const Model::DescribeScalingGroupV2Request& request) const; DescribeScalingRuleOutcome describeScalingRule(const Model::DescribeScalingRuleRequest &request)const; void describeScalingRuleAsync(const Model::DescribeScalingRuleRequest& request, const DescribeScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeScalingRuleOutcomeCallable describeScalingRuleCallable(const Model::DescribeScalingRuleRequest& request) const; - DescribeScalingTaskGroupOutcome describeScalingTaskGroup(const Model::DescribeScalingTaskGroupRequest &request)const; - void describeScalingTaskGroupAsync(const Model::DescribeScalingTaskGroupRequest& request, const DescribeScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeScalingTaskGroupOutcomeCallable describeScalingTaskGroupCallable(const Model::DescribeScalingTaskGroupRequest& request) const; DescribeSecurityGroupAttributeOutcome describeSecurityGroupAttribute(const Model::DescribeSecurityGroupAttributeRequest &request)const; void describeSecurityGroupAttributeAsync(const Model::DescribeSecurityGroupAttributeRequest& request, const DescribeSecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityGroupAttributeOutcomeCallable describeSecurityGroupAttributeCallable(const Model::DescribeSecurityGroupAttributeRequest& request) const; - DescribeUserOutcome describeUser(const Model::DescribeUserRequest &request)const; - void describeUserAsync(const Model::DescribeUserRequest& request, const DescribeUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeUserOutcomeCallable describeUserCallable(const Model::DescribeUserRequest& request) const; - DescribeUserGroupOutcome describeUserGroup(const Model::DescribeUserGroupRequest &request)const; - void describeUserGroupAsync(const Model::DescribeUserGroupRequest& request, const DescribeUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeUserGroupOutcomeCallable describeUserGroupCallable(const Model::DescribeUserGroupRequest& request) const; - DescribeUserStatisticsOutcome describeUserStatistics(const Model::DescribeUserStatisticsRequest &request)const; - void describeUserStatisticsAsync(const Model::DescribeUserStatisticsRequest& request, const DescribeUserStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeUserStatisticsOutcomeCallable describeUserStatisticsCallable(const Model::DescribeUserStatisticsRequest& request) const; - DescribeWorkspaceRepoSettingOutcome describeWorkspaceRepoSetting(const Model::DescribeWorkspaceRepoSettingRequest &request)const; - void describeWorkspaceRepoSettingAsync(const Model::DescribeWorkspaceRepoSettingRequest& request, const DescribeWorkspaceRepoSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeWorkspaceRepoSettingOutcomeCallable describeWorkspaceRepoSettingCallable(const Model::DescribeWorkspaceRepoSettingRequest& request) const; - DescribeWorkspaceResourceSettingOutcome describeWorkspaceResourceSetting(const Model::DescribeWorkspaceResourceSettingRequest &request)const; - void describeWorkspaceResourceSettingAsync(const Model::DescribeWorkspaceResourceSettingRequest& request, const DescribeWorkspaceResourceSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeWorkspaceResourceSettingOutcomeCallable describeWorkspaceResourceSettingCallable(const Model::DescribeWorkspaceResourceSettingRequest& request) const; - DetachClusterForNoteOutcome detachClusterForNote(const Model::DetachClusterForNoteRequest &request)const; - void detachClusterForNoteAsync(const Model::DetachClusterForNoteRequest& request, const DetachClusterForNoteAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DetachClusterForNoteOutcomeCallable detachClusterForNoteCallable(const Model::DetachClusterForNoteRequest& request) const; + DetachAndReleaseClusterEniOutcome detachAndReleaseClusterEni(const Model::DetachAndReleaseClusterEniRequest &request)const; + void detachAndReleaseClusterEniAsync(const Model::DetachAndReleaseClusterEniRequest& request, const DetachAndReleaseClusterEniAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetachAndReleaseClusterEniOutcomeCallable detachAndReleaseClusterEniCallable(const Model::DetachAndReleaseClusterEniRequest& request) const; 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; - GetAuditLogsOutcome getAuditLogs(const Model::GetAuditLogsRequest &request)const; - void getAuditLogsAsync(const Model::GetAuditLogsRequest& request, const GetAuditLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetAuditLogsOutcomeCallable getAuditLogsCallable(const Model::GetAuditLogsRequest& request) const; - GetBackInfoOutcome getBackInfo(const Model::GetBackInfoRequest &request)const; - void getBackInfoAsync(const Model::GetBackInfoRequest& request, const GetBackInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBackInfoOutcomeCallable getBackInfoCallable(const Model::GetBackInfoRequest& request) const; - GetBackPlanInfoOutcome getBackPlanInfo(const Model::GetBackPlanInfoRequest &request)const; - void getBackPlanInfoAsync(const Model::GetBackPlanInfoRequest& request, const GetBackPlanInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBackPlanInfoOutcomeCallable getBackPlanInfoCallable(const Model::GetBackPlanInfoRequest& request) const; - GetBackupInfoOutcome getBackupInfo(const Model::GetBackupInfoRequest &request)const; - void getBackupInfoAsync(const Model::GetBackupInfoRequest& request, const GetBackupInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBackupInfoOutcomeCallable getBackupInfoCallable(const Model::GetBackupInfoRequest& request) const; - GetBackupRuleInfoOutcome getBackupRuleInfo(const Model::GetBackupRuleInfoRequest &request)const; - void getBackupRuleInfoAsync(const Model::GetBackupRuleInfoRequest& request, const GetBackupRuleInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetBackupRuleInfoOutcomeCallable getBackupRuleInfoCallable(const Model::GetBackupRuleInfoRequest& request) const; - GetFlowAuditLogsOutcome getFlowAuditLogs(const Model::GetFlowAuditLogsRequest &request)const; - void getFlowAuditLogsAsync(const Model::GetFlowAuditLogsRequest& request, const GetFlowAuditLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetFlowAuditLogsOutcomeCallable getFlowAuditLogsCallable(const Model::GetFlowAuditLogsRequest& 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; @@ -2652,33 +1454,12 @@ namespace AlibabaCloud GetJobInputStatisticInfoOutcome getJobInputStatisticInfo(const Model::GetJobInputStatisticInfoRequest &request)const; void getJobInputStatisticInfoAsync(const Model::GetJobInputStatisticInfoRequest& request, const GetJobInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetJobInputStatisticInfoOutcomeCallable getJobInputStatisticInfoCallable(const Model::GetJobInputStatisticInfoRequest& request) const; - GetJobMigrateResultOutcome getJobMigrateResult(const Model::GetJobMigrateResultRequest &request)const; - void getJobMigrateResultAsync(const Model::GetJobMigrateResultRequest& request, const GetJobMigrateResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetJobMigrateResultOutcomeCallable getJobMigrateResultCallable(const Model::GetJobMigrateResultRequest& request) const; GetJobOutputStatisticInfoOutcome getJobOutputStatisticInfo(const Model::GetJobOutputStatisticInfoRequest &request)const; void getJobOutputStatisticInfoAsync(const Model::GetJobOutputStatisticInfoRequest& request, const GetJobOutputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetJobOutputStatisticInfoOutcomeCallable getJobOutputStatisticInfoCallable(const Model::GetJobOutputStatisticInfoRequest& request) const; GetJobRunningTimeStatisticInfoOutcome getJobRunningTimeStatisticInfo(const Model::GetJobRunningTimeStatisticInfoRequest &request)const; void getJobRunningTimeStatisticInfoAsync(const Model::GetJobRunningTimeStatisticInfoRequest& request, const GetJobRunningTimeStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetJobRunningTimeStatisticInfoOutcomeCallable getJobRunningTimeStatisticInfoCallable(const Model::GetJobRunningTimeStatisticInfoRequest& request) const; - GetLogDownloadUrlOutcome getLogDownloadUrl(const Model::GetLogDownloadUrlRequest &request)const; - void getLogDownloadUrlAsync(const Model::GetLogDownloadUrlRequest& request, const GetLogDownloadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetLogDownloadUrlOutcomeCallable getLogDownloadUrlCallable(const Model::GetLogDownloadUrlRequest& request) const; - GetLogHistogramOutcome getLogHistogram(const Model::GetLogHistogramRequest &request)const; - void getLogHistogramAsync(const Model::GetLogHistogramRequest& request, const GetLogHistogramAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetLogHistogramOutcomeCallable getLogHistogramCallable(const Model::GetLogHistogramRequest& request) const; - GetMetadataTypeListOutcome getMetadataTypeList(const Model::GetMetadataTypeListRequest &request)const; - void getMetadataTypeListAsync(const Model::GetMetadataTypeListRequest& request, const GetMetadataTypeListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetMetadataTypeListOutcomeCallable getMetadataTypeListCallable(const Model::GetMetadataTypeListRequest& request) const; - GetOpsCommandDetailOutcome getOpsCommandDetail(const Model::GetOpsCommandDetailRequest &request)const; - void getOpsCommandDetailAsync(const Model::GetOpsCommandDetailRequest& request, const GetOpsCommandDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetOpsCommandDetailOutcomeCallable getOpsCommandDetailCallable(const Model::GetOpsCommandDetailRequest& request) const; - GetOpsCommandResultOutcome getOpsCommandResult(const Model::GetOpsCommandResultRequest &request)const; - void getOpsCommandResultAsync(const Model::GetOpsCommandResultRequest& request, const GetOpsCommandResultAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetOpsCommandResultOutcomeCallable getOpsCommandResultCallable(const Model::GetOpsCommandResultRequest& request) const; - GetOpsCommandResultOnceOutcome getOpsCommandResultOnce(const Model::GetOpsCommandResultOnceRequest &request)const; - void getOpsCommandResultOnceAsync(const Model::GetOpsCommandResultOnceRequest& request, const GetOpsCommandResultOnceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetOpsCommandResultOnceOutcomeCallable getOpsCommandResultOnceCallable(const Model::GetOpsCommandResultOnceRequest& request) const; GetQueueInputStatisticInfoOutcome getQueueInputStatisticInfo(const Model::GetQueueInputStatisticInfoRequest &request)const; void getQueueInputStatisticInfoAsync(const Model::GetQueueInputStatisticInfoRequest& request, const GetQueueInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetQueueInputStatisticInfoOutcomeCallable getQueueInputStatisticInfoCallable(const Model::GetQueueInputStatisticInfoRequest& request) const; @@ -2688,9 +1469,6 @@ namespace AlibabaCloud GetQueueSubmissionStatisticInfoOutcome getQueueSubmissionStatisticInfo(const Model::GetQueueSubmissionStatisticInfoRequest &request)const; void getQueueSubmissionStatisticInfoAsync(const Model::GetQueueSubmissionStatisticInfoRequest& request, const GetQueueSubmissionStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetQueueSubmissionStatisticInfoOutcomeCallable getQueueSubmissionStatisticInfoCallable(const Model::GetQueueSubmissionStatisticInfoRequest& request) const; - GetSupportedOpsCommandOutcome getSupportedOpsCommand(const Model::GetSupportedOpsCommandRequest &request)const; - void getSupportedOpsCommandAsync(const Model::GetSupportedOpsCommandRequest& request, const GetSupportedOpsCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetSupportedOpsCommandOutcomeCallable getSupportedOpsCommandCallable(const Model::GetSupportedOpsCommandRequest& request) const; GetUserInputStatisticInfoOutcome getUserInputStatisticInfo(const Model::GetUserInputStatisticInfoRequest &request)const; void getUserInputStatisticInfoAsync(const Model::GetUserInputStatisticInfoRequest& request, const GetUserInputStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetUserInputStatisticInfoOutcomeCallable getUserInputStatisticInfoCallable(const Model::GetUserInputStatisticInfoRequest& request) const; @@ -2700,39 +1478,24 @@ namespace AlibabaCloud GetUserSubmissionStatisticInfoOutcome getUserSubmissionStatisticInfo(const Model::GetUserSubmissionStatisticInfoRequest &request)const; void getUserSubmissionStatisticInfoAsync(const Model::GetUserSubmissionStatisticInfoRequest& request, const GetUserSubmissionStatisticInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetUserSubmissionStatisticInfoOutcomeCallable getUserSubmissionStatisticInfoCallable(const Model::GetUserSubmissionStatisticInfoRequest& request) const; - KillETLJobInstanceOutcome killETLJobInstance(const Model::KillETLJobInstanceRequest &request)const; - void killETLJobInstanceAsync(const Model::KillETLJobInstanceRequest& request, const KillETLJobInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - KillETLJobInstanceOutcomeCallable killETLJobInstanceCallable(const Model::KillETLJobInstanceRequest& request) const; + InstallLibrariesOutcome installLibraries(const Model::InstallLibrariesRequest &request)const; + void installLibrariesAsync(const Model::InstallLibrariesRequest& request, const InstallLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + InstallLibrariesOutcomeCallable installLibrariesCallable(const Model::InstallLibrariesRequest& request) const; + JoinResourceGroupOutcome joinResourceGroup(const Model::JoinResourceGroupRequest &request)const; + void joinResourceGroupAsync(const Model::JoinResourceGroupRequest& request, const JoinResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + JoinResourceGroupOutcomeCallable joinResourceGroupCallable(const Model::JoinResourceGroupRequest& request) const; 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; - KillExecutionPlanInstanceOutcome killExecutionPlanInstance(const Model::KillExecutionPlanInstanceRequest &request)const; - void killExecutionPlanInstanceAsync(const Model::KillExecutionPlanInstanceRequest& request, const KillExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - KillExecutionPlanInstanceOutcomeCallable killExecutionPlanInstanceCallable(const Model::KillExecutionPlanInstanceRequest& request) const; - KillFlowOutcome killFlow(const Model::KillFlowRequest &request)const; - void killFlowAsync(const Model::KillFlowRequest& request, const KillFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - KillFlowOutcomeCallable killFlowCallable(const Model::KillFlowRequest& 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; - ListAlertContactsOutcome listAlertContacts(const Model::ListAlertContactsRequest &request)const; - void listAlertContactsAsync(const Model::ListAlertContactsRequest& request, const ListAlertContactsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAlertContactsOutcomeCallable listAlertContactsCallable(const Model::ListAlertContactsRequest& request) const; - ListAlertDingDingGroupOutcome listAlertDingDingGroup(const Model::ListAlertDingDingGroupRequest &request)const; - void listAlertDingDingGroupAsync(const Model::ListAlertDingDingGroupRequest& request, const ListAlertDingDingGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAlertDingDingGroupOutcomeCallable listAlertDingDingGroupCallable(const Model::ListAlertDingDingGroupRequest& request) const; - ListAlertUserGroupOutcome listAlertUserGroup(const Model::ListAlertUserGroupRequest &request)const; - void listAlertUserGroupAsync(const Model::ListAlertUserGroupRequest& request, const ListAlertUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAlertUserGroupOutcomeCallable listAlertUserGroupCallable(const Model::ListAlertUserGroupRequest& request) const; + ListAdviceActionOutcome listAdviceAction(const Model::ListAdviceActionRequest &request)const; + void listAdviceActionAsync(const Model::ListAdviceActionRequest& request, const ListAdviceActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAdviceActionOutcomeCallable listAdviceActionCallable(const Model::ListAdviceActionRequest& request) const; ListApmApplicationOutcome listApmApplication(const Model::ListApmApplicationRequest &request)const; void listApmApplicationAsync(const Model::ListApmApplicationRequest& request, const ListApmApplicationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListApmApplicationOutcomeCallable listApmApplicationCallable(const Model::ListApmApplicationRequest& request) const; - ListBackupPlansOutcome listBackupPlans(const Model::ListBackupPlansRequest &request)const; - void listBackupPlansAsync(const Model::ListBackupPlansRequest& request, const ListBackupPlansAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListBackupPlansOutcomeCallable listBackupPlansCallable(const Model::ListBackupPlansRequest& request) const; - ListBackupRulesOutcome listBackupRules(const Model::ListBackupRulesRequest &request)const; - void listBackupRulesAsync(const Model::ListBackupRulesRequest& request, const ListBackupRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListBackupRulesOutcomeCallable listBackupRulesCallable(const Model::ListBackupRulesRequest& request) const; ListBackupsOutcome listBackups(const Model::ListBackupsRequest &request)const; void listBackupsAsync(const Model::ListBackupsRequest& request, const ListBackupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListBackupsOutcomeCallable listBackupsCallable(const Model::ListBackupsRequest& request) const; @@ -2742,9 +1505,6 @@ namespace AlibabaCloud ListClusterHostComponentOutcome listClusterHostComponent(const Model::ListClusterHostComponentRequest &request)const; void listClusterHostComponentAsync(const Model::ListClusterHostComponentRequest& request, const ListClusterHostComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterHostComponentOutcomeCallable listClusterHostComponentCallable(const Model::ListClusterHostComponentRequest& request) const; - ListClusterHostComponentForAdminOutcome listClusterHostComponentForAdmin(const Model::ListClusterHostComponentForAdminRequest &request)const; - void listClusterHostComponentForAdminAsync(const Model::ListClusterHostComponentForAdminRequest& request, const ListClusterHostComponentForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterHostComponentForAdminOutcomeCallable listClusterHostComponentForAdminCallable(const Model::ListClusterHostComponentForAdminRequest& request) const; ListClusterHostGroupOutcome listClusterHostGroup(const Model::ListClusterHostGroupRequest &request)const; void listClusterHostGroupAsync(const Model::ListClusterHostGroupRequest& request, const ListClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterHostGroupOutcomeCallable listClusterHostGroupCallable(const Model::ListClusterHostGroupRequest& request) const; @@ -2760,39 +1520,24 @@ namespace AlibabaCloud ListClusterOperationHostTaskOutcome listClusterOperationHostTask(const Model::ListClusterOperationHostTaskRequest &request)const; void listClusterOperationHostTaskAsync(const Model::ListClusterOperationHostTaskRequest& request, const ListClusterOperationHostTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterOperationHostTaskOutcomeCallable listClusterOperationHostTaskCallable(const Model::ListClusterOperationHostTaskRequest& request) const; - ListClusterScriptsOutcome listClusterScripts(const Model::ListClusterScriptsRequest &request)const; - void listClusterScriptsAsync(const Model::ListClusterScriptsRequest& request, const ListClusterScriptsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterScriptsOutcomeCallable listClusterScriptsCallable(const Model::ListClusterScriptsRequest& request) const; + ListClusterOperationTaskOutcome listClusterOperationTask(const Model::ListClusterOperationTaskRequest &request)const; + void listClusterOperationTaskAsync(const Model::ListClusterOperationTaskRequest& request, const ListClusterOperationTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListClusterOperationTaskOutcomeCallable listClusterOperationTaskCallable(const Model::ListClusterOperationTaskRequest& request) const; ListClusterServiceOutcome listClusterService(const Model::ListClusterServiceRequest &request)const; void listClusterServiceAsync(const Model::ListClusterServiceRequest& request, const ListClusterServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterServiceOutcomeCallable listClusterServiceCallable(const Model::ListClusterServiceRequest& request) const; + ListClusterServiceComponentOutcome listClusterServiceComponent(const Model::ListClusterServiceComponentRequest &request)const; + void listClusterServiceComponentAsync(const Model::ListClusterServiceComponentRequest& request, const ListClusterServiceComponentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListClusterServiceComponentOutcomeCallable listClusterServiceComponentCallable(const Model::ListClusterServiceComponentRequest& request) const; ListClusterServiceComponentHealthInfoOutcome listClusterServiceComponentHealthInfo(const Model::ListClusterServiceComponentHealthInfoRequest &request)const; void listClusterServiceComponentHealthInfoAsync(const Model::ListClusterServiceComponentHealthInfoRequest& request, const ListClusterServiceComponentHealthInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterServiceComponentHealthInfoOutcomeCallable listClusterServiceComponentHealthInfoCallable(const Model::ListClusterServiceComponentHealthInfoRequest& request) const; ListClusterServiceConfigHistoryOutcome listClusterServiceConfigHistory(const Model::ListClusterServiceConfigHistoryRequest &request)const; void listClusterServiceConfigHistoryAsync(const Model::ListClusterServiceConfigHistoryRequest& request, const ListClusterServiceConfigHistoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterServiceConfigHistoryOutcomeCallable listClusterServiceConfigHistoryCallable(const Model::ListClusterServiceConfigHistoryRequest& request) const; - ListClusterServiceConfigHistoryForAdminOutcome listClusterServiceConfigHistoryForAdmin(const Model::ListClusterServiceConfigHistoryForAdminRequest &request)const; - void listClusterServiceConfigHistoryForAdminAsync(const Model::ListClusterServiceConfigHistoryForAdminRequest& request, const ListClusterServiceConfigHistoryForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterServiceConfigHistoryForAdminOutcomeCallable listClusterServiceConfigHistoryForAdminCallable(const Model::ListClusterServiceConfigHistoryForAdminRequest& request) const; - ListClusterServiceCustomActionSupportConfigOutcome listClusterServiceCustomActionSupportConfig(const Model::ListClusterServiceCustomActionSupportConfigRequest &request)const; - void listClusterServiceCustomActionSupportConfigAsync(const Model::ListClusterServiceCustomActionSupportConfigRequest& request, const ListClusterServiceCustomActionSupportConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterServiceCustomActionSupportConfigOutcomeCallable listClusterServiceCustomActionSupportConfigCallable(const Model::ListClusterServiceCustomActionSupportConfigRequest& request) const; - ListClusterServiceCustomActionSupportConfigForAdminOutcome listClusterServiceCustomActionSupportConfigForAdmin(const Model::ListClusterServiceCustomActionSupportConfigForAdminRequest &request)const; - void listClusterServiceCustomActionSupportConfigForAdminAsync(const Model::ListClusterServiceCustomActionSupportConfigForAdminRequest& request, const ListClusterServiceCustomActionSupportConfigForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterServiceCustomActionSupportConfigForAdminOutcomeCallable listClusterServiceCustomActionSupportConfigForAdminCallable(const Model::ListClusterServiceCustomActionSupportConfigForAdminRequest& request) const; ListClusterServiceQuickLinkOutcome listClusterServiceQuickLink(const Model::ListClusterServiceQuickLinkRequest &request)const; void listClusterServiceQuickLinkAsync(const Model::ListClusterServiceQuickLinkRequest& request, const ListClusterServiceQuickLinkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterServiceQuickLinkOutcomeCallable listClusterServiceQuickLinkCallable(const Model::ListClusterServiceQuickLinkRequest& request) const; - ListClusterSupportServiceOutcome listClusterSupportService(const Model::ListClusterSupportServiceRequest &request)const; - void listClusterSupportServiceAsync(const Model::ListClusterSupportServiceRequest& request, const ListClusterSupportServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterSupportServiceOutcomeCallable listClusterSupportServiceCallable(const Model::ListClusterSupportServiceRequest& request) const; - ListClusterTagOutcome listClusterTag(const Model::ListClusterTagRequest &request)const; - void listClusterTagAsync(const Model::ListClusterTagRequest& request, const ListClusterTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterTagOutcomeCallable listClusterTagCallable(const Model::ListClusterTagRequest& request) const; - ListClusterTagForAdminOutcome listClusterTagForAdmin(const Model::ListClusterTagForAdminRequest &request)const; - void listClusterTagForAdminAsync(const Model::ListClusterTagForAdminRequest& request, const ListClusterTagForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListClusterTagForAdminOutcomeCallable listClusterTagForAdminCallable(const Model::ListClusterTagForAdminRequest& request) const; ListClusterTemplatesOutcome listClusterTemplates(const Model::ListClusterTemplatesRequest &request)const; void listClusterTemplatesAsync(const Model::ListClusterTemplatesRequest& request, const ListClusterTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListClusterTemplatesOutcomeCallable listClusterTemplatesCallable(const Model::ListClusterTemplatesRequest& request) const; @@ -2802,24 +1547,6 @@ 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; - ListDataSourceSchemaDatabaseOutcome listDataSourceSchemaDatabase(const Model::ListDataSourceSchemaDatabaseRequest &request)const; - void listDataSourceSchemaDatabaseAsync(const Model::ListDataSourceSchemaDatabaseRequest& request, const ListDataSourceSchemaDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataSourceSchemaDatabaseOutcomeCallable listDataSourceSchemaDatabaseCallable(const Model::ListDataSourceSchemaDatabaseRequest& request) const; - ListDataSourceSchemaTableOutcome listDataSourceSchemaTable(const Model::ListDataSourceSchemaTableRequest &request)const; - void listDataSourceSchemaTableAsync(const Model::ListDataSourceSchemaTableRequest& request, const ListDataSourceSchemaTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDataSourceSchemaTableOutcomeCallable listDataSourceSchemaTableCallable(const Model::ListDataSourceSchemaTableRequest& request) const; - ListDependedServiceOutcome listDependedService(const Model::ListDependedServiceRequest &request)const; - void listDependedServiceAsync(const Model::ListDependedServiceRequest& request, const ListDependedServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListDependedServiceOutcomeCallable listDependedServiceCallable(const Model::ListDependedServiceRequest& request) const; - ListETLJobInstanceOutcome listETLJobInstance(const Model::ListETLJobInstanceRequest &request)const; - void listETLJobInstanceAsync(const Model::ListETLJobInstanceRequest& request, const ListETLJobInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListETLJobInstanceOutcomeCallable listETLJobInstanceCallable(const Model::ListETLJobInstanceRequest& request) const; - ListETLJobReleaseOutcome listETLJobRelease(const Model::ListETLJobReleaseRequest &request)const; - void listETLJobReleaseAsync(const Model::ListETLJobReleaseRequest& request, const ListETLJobReleaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListETLJobReleaseOutcomeCallable listETLJobReleaseCallable(const Model::ListETLJobReleaseRequest& request) const; - ListETLJobTriggerEntityOutcome listETLJobTriggerEntity(const Model::ListETLJobTriggerEntityRequest &request)const; - void listETLJobTriggerEntityAsync(const Model::ListETLJobTriggerEntityRequest& request, const ListETLJobTriggerEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListETLJobTriggerEntityOutcomeCallable listETLJobTriggerEntityCallable(const Model::ListETLJobTriggerEntityRequest& 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; @@ -2829,21 +1556,12 @@ namespace AlibabaCloud ListEmrMainVersionOutcome listEmrMainVersion(const Model::ListEmrMainVersionRequest &request)const; void listEmrMainVersionAsync(const Model::ListEmrMainVersionRequest& request, const ListEmrMainVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListEmrMainVersionOutcomeCallable listEmrMainVersionCallable(const Model::ListEmrMainVersionRequest& request) const; - ListExecutePlanMigrateInfoOutcome listExecutePlanMigrateInfo(const Model::ListExecutePlanMigrateInfoRequest &request)const; - void listExecutePlanMigrateInfoAsync(const Model::ListExecutePlanMigrateInfoRequest& request, const ListExecutePlanMigrateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListExecutePlanMigrateInfoOutcomeCallable listExecutePlanMigrateInfoCallable(const Model::ListExecutePlanMigrateInfoRequest& request) const; - ListExecutionPlanInstanceTrendOutcome listExecutionPlanInstanceTrend(const Model::ListExecutionPlanInstanceTrendRequest &request)const; - void listExecutionPlanInstanceTrendAsync(const Model::ListExecutionPlanInstanceTrendRequest& request, const ListExecutionPlanInstanceTrendAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListExecutionPlanInstanceTrendOutcomeCallable listExecutionPlanInstanceTrendCallable(const Model::ListExecutionPlanInstanceTrendRequest& request) const; ListExecutionPlanInstancesOutcome listExecutionPlanInstances(const Model::ListExecutionPlanInstancesRequest &request)const; void listExecutionPlanInstancesAsync(const Model::ListExecutionPlanInstancesRequest& request, const ListExecutionPlanInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListExecutionPlanInstancesOutcomeCallable listExecutionPlanInstancesCallable(const Model::ListExecutionPlanInstancesRequest& request) const; 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; - ListFailureJobExecutionInstancesOutcome listFailureJobExecutionInstances(const Model::ListFailureJobExecutionInstancesRequest &request)const; - void listFailureJobExecutionInstancesAsync(const Model::ListFailureJobExecutionInstancesRequest& request, const ListFailureJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListFailureJobExecutionInstancesOutcomeCallable listFailureJobExecutionInstancesCallable(const Model::ListFailureJobExecutionInstancesRequest& 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; @@ -2892,102 +1610,54 @@ namespace AlibabaCloud ListFlowProjectUserOutcome listFlowProjectUser(const Model::ListFlowProjectUserRequest &request)const; void listFlowProjectUserAsync(const Model::ListFlowProjectUserRequest& request, const ListFlowProjectUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFlowProjectUserOutcomeCallable listFlowProjectUserCallable(const Model::ListFlowProjectUserRequest& request) const; - ListHostPoolOutcome listHostPool(const Model::ListHostPoolRequest &request)const; - void listHostPoolAsync(const Model::ListHostPoolRequest& request, const ListHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListHostPoolOutcomeCallable listHostPoolCallable(const Model::ListHostPoolRequest& request) const; - ListHpHostOutcome listHpHost(const Model::ListHpHostRequest &request)const; - void listHpHostAsync(const Model::ListHpHostRequest& request, const ListHpHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListHpHostOutcomeCallable listHpHostCallable(const Model::ListHpHostRequest& request) const; - ListJobExecutionInstanceTrendOutcome listJobExecutionInstanceTrend(const Model::ListJobExecutionInstanceTrendRequest &request)const; - void listJobExecutionInstanceTrendAsync(const Model::ListJobExecutionInstanceTrendRequest& request, const ListJobExecutionInstanceTrendAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobExecutionInstanceTrendOutcomeCallable listJobExecutionInstanceTrendCallable(const Model::ListJobExecutionInstanceTrendRequest& request) const; ListJobExecutionInstancesOutcome listJobExecutionInstances(const Model::ListJobExecutionInstancesRequest &request)const; void listJobExecutionInstancesAsync(const Model::ListJobExecutionInstancesRequest& request, const ListJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListJobExecutionInstancesOutcomeCallable listJobExecutionInstancesCallable(const Model::ListJobExecutionInstancesRequest& request) const; - ListJobExecutionPlanHierarchyOutcome listJobExecutionPlanHierarchy(const Model::ListJobExecutionPlanHierarchyRequest &request)const; - void listJobExecutionPlanHierarchyAsync(const Model::ListJobExecutionPlanHierarchyRequest& request, const ListJobExecutionPlanHierarchyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobExecutionPlanHierarchyOutcomeCallable listJobExecutionPlanHierarchyCallable(const Model::ListJobExecutionPlanHierarchyRequest& request) const; - ListJobExecutionPlanParamsOutcome listJobExecutionPlanParams(const Model::ListJobExecutionPlanParamsRequest &request)const; - void listJobExecutionPlanParamsAsync(const Model::ListJobExecutionPlanParamsRequest& request, const ListJobExecutionPlanParamsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobExecutionPlanParamsOutcomeCallable listJobExecutionPlanParamsCallable(const Model::ListJobExecutionPlanParamsRequest& 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; - ListJobMigrateInfoOutcome listJobMigrateInfo(const Model::ListJobMigrateInfoRequest &request)const; - void listJobMigrateInfoAsync(const Model::ListJobMigrateInfoRequest& request, const ListJobMigrateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListJobMigrateInfoOutcomeCallable listJobMigrateInfoCallable(const Model::ListJobMigrateInfoRequest& 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; - ListKafkaBrokerOutcome listKafkaBroker(const Model::ListKafkaBrokerRequest &request)const; - void listKafkaBrokerAsync(const Model::ListKafkaBrokerRequest& request, const ListKafkaBrokerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListKafkaBrokerOutcomeCallable listKafkaBrokerCallable(const Model::ListKafkaBrokerRequest& request) const; - ListKafkaReassignOutcome listKafkaReassign(const Model::ListKafkaReassignRequest &request)const; - void listKafkaReassignAsync(const Model::ListKafkaReassignRequest& request, const ListKafkaReassignAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListKafkaReassignOutcomeCallable listKafkaReassignCallable(const Model::ListKafkaReassignRequest& request) const; - ListKafkaReassignTopicOutcome listKafkaReassignTopic(const Model::ListKafkaReassignTopicRequest &request)const; - void listKafkaReassignTopicAsync(const Model::ListKafkaReassignTopicRequest& request, const ListKafkaReassignTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListKafkaReassignTopicOutcomeCallable listKafkaReassignTopicCallable(const Model::ListKafkaReassignTopicRequest& request) const; - ListKafkaTopicStatisticsOutcome listKafkaTopicStatistics(const Model::ListKafkaTopicStatisticsRequest &request)const; - void listKafkaTopicStatisticsAsync(const Model::ListKafkaTopicStatisticsRequest& request, const ListKafkaTopicStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListKafkaTopicStatisticsOutcomeCallable listKafkaTopicStatisticsCallable(const Model::ListKafkaTopicStatisticsRequest& request) const; - ListNavSubTreeOutcome listNavSubTree(const Model::ListNavSubTreeRequest &request)const; - void listNavSubTreeAsync(const Model::ListNavSubTreeRequest& request, const ListNavSubTreeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListNavSubTreeOutcomeCallable listNavSubTreeCallable(const Model::ListNavSubTreeRequest& request) const; + ListLibrariesOutcome listLibraries(const Model::ListLibrariesRequest &request)const; + void listLibrariesAsync(const Model::ListLibrariesRequest& request, const ListLibrariesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListLibrariesOutcomeCallable listLibrariesCallable(const Model::ListLibrariesRequest& request) const; + ListLibraryInstallTasksOutcome listLibraryInstallTasks(const Model::ListLibraryInstallTasksRequest &request)const; + void listLibraryInstallTasksAsync(const Model::ListLibraryInstallTasksRequest& request, const ListLibraryInstallTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListLibraryInstallTasksOutcomeCallable listLibraryInstallTasksCallable(const Model::ListLibraryInstallTasksRequest& request) const; + ListLibraryStatusOutcome listLibraryStatus(const Model::ListLibraryStatusRequest &request)const; + void listLibraryStatusAsync(const Model::ListLibraryStatusRequest& request, const ListLibraryStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListLibraryStatusOutcomeCallable listLibraryStatusCallable(const Model::ListLibraryStatusRequest& request) const; + 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; - ListOpsOperationOutcome listOpsOperation(const Model::ListOpsOperationRequest &request)const; - void listOpsOperationAsync(const Model::ListOpsOperationRequest& request, const ListOpsOperationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListOpsOperationOutcomeCallable listOpsOperationCallable(const Model::ListOpsOperationRequest& request) const; - ListOpsOperationTaskOutcome listOpsOperationTask(const Model::ListOpsOperationTaskRequest &request)const; - void listOpsOperationTaskAsync(const Model::ListOpsOperationTaskRequest& request, const ListOpsOperationTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListOpsOperationTaskOutcomeCallable listOpsOperationTaskCallable(const Model::ListOpsOperationTaskRequest& request) const; - ListRequiredServiceOutcome listRequiredService(const Model::ListRequiredServiceRequest &request)const; - void listRequiredServiceAsync(const Model::ListRequiredServiceRequest& request, const ListRequiredServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListRequiredServiceOutcomeCallable listRequiredServiceCallable(const Model::ListRequiredServiceRequest& 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; - ListResourcePoolForAdminOutcome listResourcePoolForAdmin(const Model::ListResourcePoolForAdminRequest &request)const; - void listResourcePoolForAdminAsync(const Model::ListResourcePoolForAdminRequest& request, const ListResourcePoolForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListResourcePoolForAdminOutcomeCallable listResourcePoolForAdminCallable(const Model::ListResourcePoolForAdminRequest& request) const; - ListResourceQueueOutcome listResourceQueue(const Model::ListResourceQueueRequest &request)const; - void listResourceQueueAsync(const Model::ListResourceQueueRequest& request, const ListResourceQueueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListResourceQueueOutcomeCallable listResourceQueueCallable(const Model::ListResourceQueueRequest& request) const; ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const; void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const; - ListScalingActivityOutcome listScalingActivity(const Model::ListScalingActivityRequest &request)const; - void listScalingActivityAsync(const Model::ListScalingActivityRequest& request, const ListScalingActivityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListScalingActivityOutcomeCallable listScalingActivityCallable(const Model::ListScalingActivityRequest& request) const; - ListScalingRuleOutcome listScalingRule(const Model::ListScalingRuleRequest &request)const; - void listScalingRuleAsync(const Model::ListScalingRuleRequest& request, const ListScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListScalingRuleOutcomeCallable listScalingRuleCallable(const Model::ListScalingRuleRequest& request) const; - ListScalingTaskGroupOutcome listScalingTaskGroup(const Model::ListScalingTaskGroupRequest &request)const; - void listScalingTaskGroupAsync(const Model::ListScalingTaskGroupRequest& request, const ListScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListScalingTaskGroupOutcomeCallable listScalingTaskGroupCallable(const Model::ListScalingTaskGroupRequest& request) const; - ListServiceLogOutcome listServiceLog(const Model::ListServiceLogRequest &request)const; - void listServiceLogAsync(const Model::ListServiceLogRequest& request, const ListServiceLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListServiceLogOutcomeCallable listServiceLogCallable(const Model::ListServiceLogRequest& request) const; - ListSlsLogstoreInfoOutcome listSlsLogstoreInfo(const Model::ListSlsLogstoreInfoRequest &request)const; - void listSlsLogstoreInfoAsync(const Model::ListSlsLogstoreInfoRequest& request, const ListSlsLogstoreInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListSlsLogstoreInfoOutcomeCallable listSlsLogstoreInfoCallable(const Model::ListSlsLogstoreInfoRequest& request) const; + ListScalingActivityV2Outcome listScalingActivityV2(const Model::ListScalingActivityV2Request &request)const; + void listScalingActivityV2Async(const Model::ListScalingActivityV2Request& request, const ListScalingActivityV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListScalingActivityV2OutcomeCallable listScalingActivityV2Callable(const Model::ListScalingActivityV2Request& request) const; + ListScalingConfigItemV2Outcome listScalingConfigItemV2(const Model::ListScalingConfigItemV2Request &request)const; + void listScalingConfigItemV2Async(const Model::ListScalingConfigItemV2Request& request, const ListScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListScalingConfigItemV2OutcomeCallable listScalingConfigItemV2Callable(const Model::ListScalingConfigItemV2Request& request) const; + ListScalingGroupV2Outcome listScalingGroupV2(const Model::ListScalingGroupV2Request &request)const; + void listScalingGroupV2Async(const Model::ListScalingGroupV2Request& request, const ListScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListScalingGroupV2OutcomeCallable listScalingGroupV2Callable(const Model::ListScalingGroupV2Request& request) const; + ListSecurityGroupOutcome listSecurityGroup(const Model::ListSecurityGroupRequest &request)const; + void listSecurityGroupAsync(const Model::ListSecurityGroupRequest& request, const ListSecurityGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSecurityGroupOutcomeCallable listSecurityGroupCallable(const Model::ListSecurityGroupRequest& request) const; ListStackOutcome listStack(const Model::ListStackRequest &request)const; void listStackAsync(const Model::ListStackRequest& request, const ListStackAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListStackOutcomeCallable listStackCallable(const Model::ListStackRequest& request) const; - ListStackServiceOutcome listStackService(const Model::ListStackServiceRequest &request)const; - void listStackServiceAsync(const Model::ListStackServiceRequest& request, const ListStackServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListStackServiceOutcomeCallable listStackServiceCallable(const Model::ListStackServiceRequest& request) const; - ListStreamingSqlQueryOutcome listStreamingSqlQuery(const Model::ListStreamingSqlQueryRequest &request)const; - void listStreamingSqlQueryAsync(const Model::ListStreamingSqlQueryRequest& request, const ListStreamingSqlQueryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListStreamingSqlQueryOutcomeCallable listStreamingSqlQueryCallable(const Model::ListStreamingSqlQueryRequest& request) const; - ListSupportedServiceNameOutcome listSupportedServiceName(const Model::ListSupportedServiceNameRequest &request)const; - void listSupportedServiceNameAsync(const Model::ListSupportedServiceNameRequest& request, const ListSupportedServiceNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListSupportedServiceNameOutcomeCallable listSupportedServiceNameCallable(const Model::ListSupportedServiceNameRequest& request) const; - ListSupportedServiceNameForAdminOutcome listSupportedServiceNameForAdmin(const Model::ListSupportedServiceNameForAdminRequest &request)const; - void listSupportedServiceNameForAdminAsync(const Model::ListSupportedServiceNameForAdminRequest& request, const ListSupportedServiceNameForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListSupportedServiceNameForAdminOutcomeCallable listSupportedServiceNameForAdminCallable(const Model::ListSupportedServiceNameForAdminRequest& request) const; ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const; void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const; @@ -2997,120 +1667,15 @@ namespace AlibabaCloud ListTagValuesOutcome listTagValues(const Model::ListTagValuesRequest &request)const; void listTagValuesAsync(const Model::ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagValuesOutcomeCallable listTagValuesCallable(const Model::ListTagValuesRequest& request) const; - ListUserGroupsOutcome listUserGroups(const Model::ListUserGroupsRequest &request)const; - void listUserGroupsAsync(const Model::ListUserGroupsRequest& request, const ListUserGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListUserGroupsOutcomeCallable listUserGroupsCallable(const Model::ListUserGroupsRequest& request) const; - ListUserStatisticsOutcome listUserStatistics(const Model::ListUserStatisticsRequest &request)const; - void listUserStatisticsAsync(const Model::ListUserStatisticsRequest& request, const ListUserStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListUserStatisticsOutcomeCallable listUserStatisticsCallable(const Model::ListUserStatisticsRequest& request) const; ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const; void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const; - ListUsersByConditionOutcome listUsersByCondition(const Model::ListUsersByConditionRequest &request)const; - void listUsersByConditionAsync(const Model::ListUsersByConditionRequest& request, const ListUsersByConditionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListUsersByConditionOutcomeCallable listUsersByConditionCallable(const Model::ListUsersByConditionRequest& request) const; - MetastoreCreateDataResourceOutcome metastoreCreateDataResource(const Model::MetastoreCreateDataResourceRequest &request)const; - void metastoreCreateDataResourceAsync(const Model::MetastoreCreateDataResourceRequest& request, const MetastoreCreateDataResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreCreateDataResourceOutcomeCallable metastoreCreateDataResourceCallable(const Model::MetastoreCreateDataResourceRequest& request) const; - MetastoreCreateDatabaseOutcome metastoreCreateDatabase(const Model::MetastoreCreateDatabaseRequest &request)const; - void metastoreCreateDatabaseAsync(const Model::MetastoreCreateDatabaseRequest& request, const MetastoreCreateDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreCreateDatabaseOutcomeCallable metastoreCreateDatabaseCallable(const Model::MetastoreCreateDatabaseRequest& request) const; - MetastoreCreateKafkaTopicOutcome metastoreCreateKafkaTopic(const Model::MetastoreCreateKafkaTopicRequest &request)const; - void metastoreCreateKafkaTopicAsync(const Model::MetastoreCreateKafkaTopicRequest& request, const MetastoreCreateKafkaTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreCreateKafkaTopicOutcomeCallable metastoreCreateKafkaTopicCallable(const Model::MetastoreCreateKafkaTopicRequest& request) const; - MetastoreCreateTableOutcome metastoreCreateTable(const Model::MetastoreCreateTableRequest &request)const; - void metastoreCreateTableAsync(const Model::MetastoreCreateTableRequest& request, const MetastoreCreateTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreCreateTableOutcomeCallable metastoreCreateTableCallable(const Model::MetastoreCreateTableRequest& request) const; - MetastoreDataPreviewOutcome metastoreDataPreview(const Model::MetastoreDataPreviewRequest &request)const; - void metastoreDataPreviewAsync(const Model::MetastoreDataPreviewRequest& request, const MetastoreDataPreviewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDataPreviewOutcomeCallable metastoreDataPreviewCallable(const Model::MetastoreDataPreviewRequest& request) const; - MetastoreDeleteDataResourceOutcome metastoreDeleteDataResource(const Model::MetastoreDeleteDataResourceRequest &request)const; - void metastoreDeleteDataResourceAsync(const Model::MetastoreDeleteDataResourceRequest& request, const MetastoreDeleteDataResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDeleteDataResourceOutcomeCallable metastoreDeleteDataResourceCallable(const Model::MetastoreDeleteDataResourceRequest& request) const; - MetastoreDeleteKafkaTopicOutcome metastoreDeleteKafkaTopic(const Model::MetastoreDeleteKafkaTopicRequest &request)const; - void metastoreDeleteKafkaTopicAsync(const Model::MetastoreDeleteKafkaTopicRequest& request, const MetastoreDeleteKafkaTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDeleteKafkaTopicOutcomeCallable metastoreDeleteKafkaTopicCallable(const Model::MetastoreDeleteKafkaTopicRequest& request) const; - MetastoreDescribeDataSourceOutcome metastoreDescribeDataSource(const Model::MetastoreDescribeDataSourceRequest &request)const; - void metastoreDescribeDataSourceAsync(const Model::MetastoreDescribeDataSourceRequest& request, const MetastoreDescribeDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDescribeDataSourceOutcomeCallable metastoreDescribeDataSourceCallable(const Model::MetastoreDescribeDataSourceRequest& request) const; - MetastoreDescribeDatabaseOutcome metastoreDescribeDatabase(const Model::MetastoreDescribeDatabaseRequest &request)const; - void metastoreDescribeDatabaseAsync(const Model::MetastoreDescribeDatabaseRequest& request, const MetastoreDescribeDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDescribeDatabaseOutcomeCallable metastoreDescribeDatabaseCallable(const Model::MetastoreDescribeDatabaseRequest& request) const; - MetastoreDescribeKafkaConsumerGroupOutcome metastoreDescribeKafkaConsumerGroup(const Model::MetastoreDescribeKafkaConsumerGroupRequest &request)const; - void metastoreDescribeKafkaConsumerGroupAsync(const Model::MetastoreDescribeKafkaConsumerGroupRequest& request, const MetastoreDescribeKafkaConsumerGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDescribeKafkaConsumerGroupOutcomeCallable metastoreDescribeKafkaConsumerGroupCallable(const Model::MetastoreDescribeKafkaConsumerGroupRequest& request) const; - MetastoreDescribeKafkaTopicOutcome metastoreDescribeKafkaTopic(const Model::MetastoreDescribeKafkaTopicRequest &request)const; - void metastoreDescribeKafkaTopicAsync(const Model::MetastoreDescribeKafkaTopicRequest& request, const MetastoreDescribeKafkaTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDescribeKafkaTopicOutcomeCallable metastoreDescribeKafkaTopicCallable(const Model::MetastoreDescribeKafkaTopicRequest& request) const; - MetastoreDescribeTableOutcome metastoreDescribeTable(const Model::MetastoreDescribeTableRequest &request)const; - void metastoreDescribeTableAsync(const Model::MetastoreDescribeTableRequest& request, const MetastoreDescribeTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDescribeTableOutcomeCallable metastoreDescribeTableCallable(const Model::MetastoreDescribeTableRequest& request) const; - MetastoreDescribeTaskOutcome metastoreDescribeTask(const Model::MetastoreDescribeTaskRequest &request)const; - void metastoreDescribeTaskAsync(const Model::MetastoreDescribeTaskRequest& request, const MetastoreDescribeTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDescribeTaskOutcomeCallable metastoreDescribeTaskCallable(const Model::MetastoreDescribeTaskRequest& request) const; - MetastoreDropDatabaseOutcome metastoreDropDatabase(const Model::MetastoreDropDatabaseRequest &request)const; - void metastoreDropDatabaseAsync(const Model::MetastoreDropDatabaseRequest& request, const MetastoreDropDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDropDatabaseOutcomeCallable metastoreDropDatabaseCallable(const Model::MetastoreDropDatabaseRequest& request) const; - MetastoreDropTableOutcome metastoreDropTable(const Model::MetastoreDropTableRequest &request)const; - void metastoreDropTableAsync(const Model::MetastoreDropTableRequest& request, const MetastoreDropTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreDropTableOutcomeCallable metastoreDropTableCallable(const Model::MetastoreDropTableRequest& request) const; - MetastoreListDataResourcesOutcome metastoreListDataResources(const Model::MetastoreListDataResourcesRequest &request)const; - void metastoreListDataResourcesAsync(const Model::MetastoreListDataResourcesRequest& request, const MetastoreListDataResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListDataResourcesOutcomeCallable metastoreListDataResourcesCallable(const Model::MetastoreListDataResourcesRequest& request) const; - MetastoreListDataSourceOutcome metastoreListDataSource(const Model::MetastoreListDataSourceRequest &request)const; - void metastoreListDataSourceAsync(const Model::MetastoreListDataSourceRequest& request, const MetastoreListDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListDataSourceOutcomeCallable metastoreListDataSourceCallable(const Model::MetastoreListDataSourceRequest& request) const; - MetastoreListDatabasesOutcome metastoreListDatabases(const Model::MetastoreListDatabasesRequest &request)const; - void metastoreListDatabasesAsync(const Model::MetastoreListDatabasesRequest& request, const MetastoreListDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListDatabasesOutcomeCallable metastoreListDatabasesCallable(const Model::MetastoreListDatabasesRequest& request) const; - MetastoreListKafkaConsumerGroupOutcome metastoreListKafkaConsumerGroup(const Model::MetastoreListKafkaConsumerGroupRequest &request)const; - void metastoreListKafkaConsumerGroupAsync(const Model::MetastoreListKafkaConsumerGroupRequest& request, const MetastoreListKafkaConsumerGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListKafkaConsumerGroupOutcomeCallable metastoreListKafkaConsumerGroupCallable(const Model::MetastoreListKafkaConsumerGroupRequest& request) const; - MetastoreListKafkaTopicOutcome metastoreListKafkaTopic(const Model::MetastoreListKafkaTopicRequest &request)const; - void metastoreListKafkaTopicAsync(const Model::MetastoreListKafkaTopicRequest& request, const MetastoreListKafkaTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListKafkaTopicOutcomeCallable metastoreListKafkaTopicCallable(const Model::MetastoreListKafkaTopicRequest& request) const; - MetastoreListTablePartitionOutcome metastoreListTablePartition(const Model::MetastoreListTablePartitionRequest &request)const; - void metastoreListTablePartitionAsync(const Model::MetastoreListTablePartitionRequest& request, const MetastoreListTablePartitionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListTablePartitionOutcomeCallable metastoreListTablePartitionCallable(const Model::MetastoreListTablePartitionRequest& request) const; - MetastoreListTablesOutcome metastoreListTables(const Model::MetastoreListTablesRequest &request)const; - void metastoreListTablesAsync(const Model::MetastoreListTablesRequest& request, const MetastoreListTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListTablesOutcomeCallable metastoreListTablesCallable(const Model::MetastoreListTablesRequest& request) const; - MetastoreListTaskOutcome metastoreListTask(const Model::MetastoreListTaskRequest &request)const; - void metastoreListTaskAsync(const Model::MetastoreListTaskRequest& request, const MetastoreListTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreListTaskOutcomeCallable metastoreListTaskCallable(const Model::MetastoreListTaskRequest& request) const; - MetastoreModifyDataResourceOutcome metastoreModifyDataResource(const Model::MetastoreModifyDataResourceRequest &request)const; - void metastoreModifyDataResourceAsync(const Model::MetastoreModifyDataResourceRequest& request, const MetastoreModifyDataResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreModifyDataResourceOutcomeCallable metastoreModifyDataResourceCallable(const Model::MetastoreModifyDataResourceRequest& request) const; - MetastoreRetryTaskOutcome metastoreRetryTask(const Model::MetastoreRetryTaskRequest &request)const; - void metastoreRetryTaskAsync(const Model::MetastoreRetryTaskRequest& request, const MetastoreRetryTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreRetryTaskOutcomeCallable metastoreRetryTaskCallable(const Model::MetastoreRetryTaskRequest& request) const; - MetastoreSearchTablesOutcome metastoreSearchTables(const Model::MetastoreSearchTablesRequest &request)const; - void metastoreSearchTablesAsync(const Model::MetastoreSearchTablesRequest& request, const MetastoreSearchTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreSearchTablesOutcomeCallable metastoreSearchTablesCallable(const Model::MetastoreSearchTablesRequest& request) const; - MetastoreUpdateKafkaTopicOutcome metastoreUpdateKafkaTopic(const Model::MetastoreUpdateKafkaTopicRequest &request)const; - void metastoreUpdateKafkaTopicAsync(const Model::MetastoreUpdateKafkaTopicRequest& request, const MetastoreUpdateKafkaTopicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreUpdateKafkaTopicOutcomeCallable metastoreUpdateKafkaTopicCallable(const Model::MetastoreUpdateKafkaTopicRequest& request) const; - MetastoreUpdateKafkaTopicBatchOutcome metastoreUpdateKafkaTopicBatch(const Model::MetastoreUpdateKafkaTopicBatchRequest &request)const; - void metastoreUpdateKafkaTopicBatchAsync(const Model::MetastoreUpdateKafkaTopicBatchRequest& request, const MetastoreUpdateKafkaTopicBatchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreUpdateKafkaTopicBatchOutcomeCallable metastoreUpdateKafkaTopicBatchCallable(const Model::MetastoreUpdateKafkaTopicBatchRequest& request) const; - MetastoreUpdateTableOutcome metastoreUpdateTable(const Model::MetastoreUpdateTableRequest &request)const; - void metastoreUpdateTableAsync(const Model::MetastoreUpdateTableRequest& request, const MetastoreUpdateTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MetastoreUpdateTableOutcomeCallable metastoreUpdateTableCallable(const Model::MetastoreUpdateTableRequest& request) const; - MigrateClusterHostGroupHostOutcome migrateClusterHostGroupHost(const Model::MigrateClusterHostGroupHostRequest &request)const; - void migrateClusterHostGroupHostAsync(const Model::MigrateClusterHostGroupHostRequest& request, const MigrateClusterHostGroupHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MigrateClusterHostGroupHostOutcomeCallable migrateClusterHostGroupHostCallable(const Model::MigrateClusterHostGroupHostRequest& request) const; - MigrateJobsOutcome migrateJobs(const Model::MigrateJobsRequest &request)const; - void migrateJobsAsync(const Model::MigrateJobsRequest& request, const MigrateJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - MigrateJobsOutcomeCallable migrateJobsCallable(const Model::MigrateJobsRequest& request) const; - ModifyAlertContactOutcome modifyAlertContact(const Model::ModifyAlertContactRequest &request)const; - void modifyAlertContactAsync(const Model::ModifyAlertContactRequest& request, const ModifyAlertContactAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyAlertContactOutcomeCallable modifyAlertContactCallable(const Model::ModifyAlertContactRequest& request) const; - ModifyAlertDingDingGroupOutcome modifyAlertDingDingGroup(const Model::ModifyAlertDingDingGroupRequest &request)const; - void modifyAlertDingDingGroupAsync(const Model::ModifyAlertDingDingGroupRequest& request, const ModifyAlertDingDingGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyAlertDingDingGroupOutcomeCallable modifyAlertDingDingGroupCallable(const Model::ModifyAlertDingDingGroupRequest& request) const; - ModifyAlertUserGroupOutcome modifyAlertUserGroup(const Model::ModifyAlertUserGroupRequest &request)const; - void modifyAlertUserGroupAsync(const Model::ModifyAlertUserGroupRequest& request, const ModifyAlertUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyAlertUserGroupOutcomeCallable modifyAlertUserGroupCallable(const Model::ModifyAlertUserGroupRequest& request) const; + ListVswitchOutcome listVswitch(const Model::ListVswitchRequest &request)const; + void listVswitchAsync(const Model::ListVswitchRequest& request, const ListVswitchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVswitchOutcomeCallable listVswitchCallable(const Model::ListVswitchRequest& request) const; + ModifyClusterBootstrapActionOutcome modifyClusterBootstrapAction(const Model::ModifyClusterBootstrapActionRequest &request)const; + void modifyClusterBootstrapActionAsync(const Model::ModifyClusterBootstrapActionRequest& request, const ModifyClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyClusterBootstrapActionOutcomeCallable modifyClusterBootstrapActionCallable(const Model::ModifyClusterBootstrapActionRequest& request) const; ModifyClusterHostGroupOutcome modifyClusterHostGroup(const Model::ModifyClusterHostGroupRequest &request)const; void modifyClusterHostGroupAsync(const Model::ModifyClusterHostGroupRequest& request, const ModifyClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterHostGroupOutcomeCallable modifyClusterHostGroupCallable(const Model::ModifyClusterHostGroupRequest& request) const; @@ -3120,30 +1685,18 @@ namespace AlibabaCloud ModifyClusterNameOutcome modifyClusterName(const Model::ModifyClusterNameRequest &request)const; void modifyClusterNameAsync(const Model::ModifyClusterNameRequest& request, const ModifyClusterNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterNameOutcomeCallable modifyClusterNameCallable(const Model::ModifyClusterNameRequest& request) const; + ModifyClusterSecurityGroupRuleOutcome modifyClusterSecurityGroupRule(const Model::ModifyClusterSecurityGroupRuleRequest &request)const; + void modifyClusterSecurityGroupRuleAsync(const Model::ModifyClusterSecurityGroupRuleRequest& request, const ModifyClusterSecurityGroupRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyClusterSecurityGroupRuleOutcomeCallable modifyClusterSecurityGroupRuleCallable(const Model::ModifyClusterSecurityGroupRuleRequest& request) const; ModifyClusterServiceConfigOutcome modifyClusterServiceConfig(const Model::ModifyClusterServiceConfigRequest &request)const; void modifyClusterServiceConfigAsync(const Model::ModifyClusterServiceConfigRequest& request, const ModifyClusterServiceConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterServiceConfigOutcomeCallable modifyClusterServiceConfigCallable(const Model::ModifyClusterServiceConfigRequest& request) const; - ModifyClusterServiceConfigForAdminOutcome modifyClusterServiceConfigForAdmin(const Model::ModifyClusterServiceConfigForAdminRequest &request)const; - void modifyClusterServiceConfigForAdminAsync(const Model::ModifyClusterServiceConfigForAdminRequest& request, const ModifyClusterServiceConfigForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyClusterServiceConfigForAdminOutcomeCallable modifyClusterServiceConfigForAdminCallable(const Model::ModifyClusterServiceConfigForAdminRequest& request) const; ModifyClusterTemplateOutcome modifyClusterTemplate(const Model::ModifyClusterTemplateRequest &request)const; void modifyClusterTemplateAsync(const Model::ModifyClusterTemplateRequest& request, const ModifyClusterTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterTemplateOutcomeCallable modifyClusterTemplateCallable(const Model::ModifyClusterTemplateRequest& request) const; ModifyExecutionPlanOutcome modifyExecutionPlan(const Model::ModifyExecutionPlanRequest &request)const; void modifyExecutionPlanAsync(const Model::ModifyExecutionPlanRequest& request, const ModifyExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyExecutionPlanOutcomeCallable modifyExecutionPlanCallable(const Model::ModifyExecutionPlanRequest& request) const; - ModifyExecutionPlanBasicInfoOutcome modifyExecutionPlanBasicInfo(const Model::ModifyExecutionPlanBasicInfoRequest &request)const; - void modifyExecutionPlanBasicInfoAsync(const Model::ModifyExecutionPlanBasicInfoRequest& request, const ModifyExecutionPlanBasicInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyExecutionPlanBasicInfoOutcomeCallable modifyExecutionPlanBasicInfoCallable(const Model::ModifyExecutionPlanBasicInfoRequest& request) const; - ModifyExecutionPlanClusterInfoOutcome modifyExecutionPlanClusterInfo(const Model::ModifyExecutionPlanClusterInfoRequest &request)const; - void modifyExecutionPlanClusterInfoAsync(const Model::ModifyExecutionPlanClusterInfoRequest& request, const ModifyExecutionPlanClusterInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyExecutionPlanClusterInfoOutcomeCallable modifyExecutionPlanClusterInfoCallable(const Model::ModifyExecutionPlanClusterInfoRequest& request) const; - ModifyExecutionPlanJobInfoOutcome modifyExecutionPlanJobInfo(const Model::ModifyExecutionPlanJobInfoRequest &request)const; - void modifyExecutionPlanJobInfoAsync(const Model::ModifyExecutionPlanJobInfoRequest& request, const ModifyExecutionPlanJobInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyExecutionPlanJobInfoOutcomeCallable modifyExecutionPlanJobInfoCallable(const Model::ModifyExecutionPlanJobInfoRequest& request) const; - ModifyExecutionPlanScheduleInfoOutcome modifyExecutionPlanScheduleInfo(const Model::ModifyExecutionPlanScheduleInfoRequest &request)const; - void modifyExecutionPlanScheduleInfoAsync(const Model::ModifyExecutionPlanScheduleInfoRequest& request, const ModifyExecutionPlanScheduleInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyExecutionPlanScheduleInfoOutcomeCallable modifyExecutionPlanScheduleInfoCallable(const Model::ModifyExecutionPlanScheduleInfoRequest& request) const; ModifyFlowOutcome modifyFlow(const Model::ModifyFlowRequest &request)const; void modifyFlowAsync(const Model::ModifyFlowRequest& request, const ModifyFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyFlowOutcomeCallable modifyFlowCallable(const Model::ModifyFlowRequest& request) const; @@ -3162,24 +1715,9 @@ namespace AlibabaCloud ModifyFlowProjectClusterSettingOutcome modifyFlowProjectClusterSetting(const Model::ModifyFlowProjectClusterSettingRequest &request)const; void modifyFlowProjectClusterSettingAsync(const Model::ModifyFlowProjectClusterSettingRequest& request, const ModifyFlowProjectClusterSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyFlowProjectClusterSettingOutcomeCallable modifyFlowProjectClusterSettingCallable(const Model::ModifyFlowProjectClusterSettingRequest& request) const; - ModifyFlowVariableCollectionOutcome modifyFlowVariableCollection(const Model::ModifyFlowVariableCollectionRequest &request)const; - void modifyFlowVariableCollectionAsync(const Model::ModifyFlowVariableCollectionRequest& request, const ModifyFlowVariableCollectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyFlowVariableCollectionOutcomeCallable modifyFlowVariableCollectionCallable(const Model::ModifyFlowVariableCollectionRequest& request) const; - ModifyHostPoolOutcome modifyHostPool(const Model::ModifyHostPoolRequest &request)const; - void modifyHostPoolAsync(const Model::ModifyHostPoolRequest& request, const ModifyHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyHostPoolOutcomeCallable modifyHostPoolCallable(const Model::ModifyHostPoolRequest& request) const; - ModifyHpHostOutcome modifyHpHost(const Model::ModifyHpHostRequest &request)const; - void modifyHpHostAsync(const Model::ModifyHpHostRequest& request, const ModifyHpHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyHpHostOutcomeCallable modifyHpHostCallable(const Model::ModifyHpHostRequest& request) const; ModifyJobOutcome modifyJob(const Model::ModifyJobRequest &request)const; void modifyJobAsync(const Model::ModifyJobRequest& request, const ModifyJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyJobOutcomeCallable modifyJobCallable(const Model::ModifyJobRequest& request) const; - ModifyJobExecutionPlanFolderOutcome modifyJobExecutionPlanFolder(const Model::ModifyJobExecutionPlanFolderRequest &request)const; - void modifyJobExecutionPlanFolderAsync(const Model::ModifyJobExecutionPlanFolderRequest& request, const ModifyJobExecutionPlanFolderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyJobExecutionPlanFolderOutcomeCallable modifyJobExecutionPlanFolderCallable(const Model::ModifyJobExecutionPlanFolderRequest& request) const; - ModifyJobExecutionPlanParamOutcome modifyJobExecutionPlanParam(const Model::ModifyJobExecutionPlanParamRequest &request)const; - void modifyJobExecutionPlanParamAsync(const Model::ModifyJobExecutionPlanParamRequest& request, const ModifyJobExecutionPlanParamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyJobExecutionPlanParamOutcomeCallable modifyJobExecutionPlanParamCallable(const Model::ModifyJobExecutionPlanParamRequest& request) const; ModifyResourcePoolOutcome modifyResourcePool(const Model::ModifyResourcePoolRequest &request)const; void modifyResourcePoolAsync(const Model::ModifyResourcePoolRequest& request, const ModifyResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyResourcePoolOutcomeCallable modifyResourcePoolCallable(const Model::ModifyResourcePoolRequest& request) const; @@ -3189,51 +1727,24 @@ namespace AlibabaCloud ModifyResourceQueueOutcome modifyResourceQueue(const Model::ModifyResourceQueueRequest &request)const; void modifyResourceQueueAsync(const Model::ModifyResourceQueueRequest& request, const ModifyResourceQueueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyResourceQueueOutcomeCallable modifyResourceQueueCallable(const Model::ModifyResourceQueueRequest& request) const; + ModifyScalingConfigItemV2Outcome modifyScalingConfigItemV2(const Model::ModifyScalingConfigItemV2Request &request)const; + void modifyScalingConfigItemV2Async(const Model::ModifyScalingConfigItemV2Request& request, const ModifyScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyScalingConfigItemV2OutcomeCallable modifyScalingConfigItemV2Callable(const Model::ModifyScalingConfigItemV2Request& request) const; + ModifyScalingGroupV2Outcome modifyScalingGroupV2(const Model::ModifyScalingGroupV2Request &request)const; + void modifyScalingGroupV2Async(const Model::ModifyScalingGroupV2Request& request, const ModifyScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyScalingGroupV2OutcomeCallable modifyScalingGroupV2Callable(const Model::ModifyScalingGroupV2Request& request) const; ModifyScalingRuleOutcome modifyScalingRule(const Model::ModifyScalingRuleRequest &request)const; void modifyScalingRuleAsync(const Model::ModifyScalingRuleRequest& request, const ModifyScalingRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyScalingRuleOutcomeCallable modifyScalingRuleCallable(const Model::ModifyScalingRuleRequest& request) const; ModifyScalingTaskGroupOutcome modifyScalingTaskGroup(const Model::ModifyScalingTaskGroupRequest &request)const; void modifyScalingTaskGroupAsync(const Model::ModifyScalingTaskGroupRequest& request, const ModifyScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyScalingTaskGroupOutcomeCallable modifyScalingTaskGroupCallable(const Model::ModifyScalingTaskGroupRequest& request) const; - ModifyUserStatisticsOutcome modifyUserStatistics(const Model::ModifyUserStatisticsRequest &request)const; - void modifyUserStatisticsAsync(const Model::ModifyUserStatisticsRequest& request, const ModifyUserStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyUserStatisticsOutcomeCallable modifyUserStatisticsCallable(const Model::ModifyUserStatisticsRequest& request) const; - OfflineKafkaBrokerOutcome offlineKafkaBroker(const Model::OfflineKafkaBrokerRequest &request)const; - void offlineKafkaBrokerAsync(const Model::OfflineKafkaBrokerRequest& request, const OfflineKafkaBrokerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - OfflineKafkaBrokerOutcomeCallable offlineKafkaBrokerCallable(const Model::OfflineKafkaBrokerRequest& request) const; - OperateExistsNodeClusterOutcome operateExistsNodeCluster(const Model::OperateExistsNodeClusterRequest &request)const; - void operateExistsNodeClusterAsync(const Model::OperateExistsNodeClusterRequest& request, const OperateExistsNodeClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - OperateExistsNodeClusterOutcomeCallable operateExistsNodeClusterCallable(const Model::OperateExistsNodeClusterRequest& request) const; - PageListResourceUsersOutcome pageListResourceUsers(const Model::PageListResourceUsersRequest &request)const; - void pageListResourceUsersAsync(const Model::PageListResourceUsersRequest& request, const PageListResourceUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PageListResourceUsersOutcomeCallable pageListResourceUsersCallable(const Model::PageListResourceUsersRequest& request) const; - PageListUserGroupsOutcome pageListUserGroups(const Model::PageListUserGroupsRequest &request)const; - void pageListUserGroupsAsync(const Model::PageListUserGroupsRequest& request, const PageListUserGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PageListUserGroupsOutcomeCallable pageListUserGroupsCallable(const Model::PageListUserGroupsRequest& request) const; - PageListUsersOutcome pageListUsers(const Model::PageListUsersRequest &request)const; - void pageListUsersAsync(const Model::PageListUsersRequest& request, const PageListUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PageListUsersOutcomeCallable pageListUsersCallable(const Model::PageListUsersRequest& request) const; - PlanComponentTopoOutcome planComponentTopo(const Model::PlanComponentTopoRequest &request)const; - void planComponentTopoAsync(const Model::PlanComponentTopoRequest& request, const PlanComponentTopoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PlanComponentTopoOutcomeCallable planComponentTopoCallable(const Model::PlanComponentTopoRequest& request) const; - PlanHostNameOutcome planHostName(const Model::PlanHostNameRequest &request)const; - void planHostNameAsync(const Model::PlanHostNameRequest& request, const PlanHostNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - PlanHostNameOutcomeCallable planHostNameCallable(const Model::PlanHostNameRequest& 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; - QueryAlarmRulesOutcome queryAlarmRules(const Model::QueryAlarmRulesRequest &request)const; - void queryAlarmRulesAsync(const Model::QueryAlarmRulesRequest& request, const QueryAlarmRulesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryAlarmRulesOutcomeCallable queryAlarmRulesCallable(const Model::QueryAlarmRulesRequest& 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; - QueryInfoByTokenOutcome queryInfoByToken(const Model::QueryInfoByTokenRequest &request)const; - void queryInfoByTokenAsync(const Model::QueryInfoByTokenRequest& request, const QueryInfoByTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryInfoByTokenOutcomeCallable queryInfoByTokenCallable(const Model::QueryInfoByTokenRequest& request) const; - QuerySlsMetricDataOutcome querySlsMetricData(const Model::QuerySlsMetricDataRequest &request)const; - void querySlsMetricDataAsync(const Model::QuerySlsMetricDataRequest& request, const QuerySlsMetricDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QuerySlsMetricDataOutcomeCallable querySlsMetricDataCallable(const Model::QuerySlsMetricDataRequest& 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; @@ -3243,24 +1754,9 @@ namespace AlibabaCloud 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; - QueryUserActionsPolicyOutcome queryUserActionsPolicy(const Model::QueryUserActionsPolicyRequest &request)const; - void queryUserActionsPolicyAsync(const Model::QueryUserActionsPolicyRequest& request, const QueryUserActionsPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryUserActionsPolicyOutcomeCallable queryUserActionsPolicyCallable(const Model::QueryUserActionsPolicyRequest& request) const; - QueryUserPoliciesOutcome queryUserPolicies(const Model::QueryUserPoliciesRequest &request)const; - void queryUserPoliciesAsync(const Model::QueryUserPoliciesRequest& request, const QueryUserPoliciesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryUserPoliciesOutcomeCallable queryUserPoliciesCallable(const Model::QueryUserPoliciesRequest& request) const; - ReassignKafkaOutcome reassignKafka(const Model::ReassignKafkaRequest &request)const; - void reassignKafkaAsync(const Model::ReassignKafkaRequest& request, const ReassignKafkaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReassignKafkaOutcomeCallable reassignKafkaCallable(const Model::ReassignKafkaRequest& request) const; - RefreshBackupListOutcome refreshBackupList(const Model::RefreshBackupListRequest &request)const; - void refreshBackupListAsync(const Model::RefreshBackupListRequest& request, const RefreshBackupListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RefreshBackupListOutcomeCallable refreshBackupListCallable(const Model::RefreshBackupListRequest& 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; - RefreshClusterResourcePoolForAdminOutcome refreshClusterResourcePoolForAdmin(const Model::RefreshClusterResourcePoolForAdminRequest &request)const; - void refreshClusterResourcePoolForAdminAsync(const Model::RefreshClusterResourcePoolForAdminRequest& request, const RefreshClusterResourcePoolForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RefreshClusterResourcePoolForAdminOutcomeCallable refreshClusterResourcePoolForAdminCallable(const Model::RefreshClusterResourcePoolForAdminRequest& 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; @@ -3270,180 +1766,84 @@ namespace AlibabaCloud 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; - ReleaseETLJobOutcome releaseETLJob(const Model::ReleaseETLJobRequest &request)const; - void releaseETLJobAsync(const Model::ReleaseETLJobRequest& request, const ReleaseETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ReleaseETLJobOutcomeCallable releaseETLJobCallable(const Model::ReleaseETLJobRequest& request) const; - RemoveBackupOutcome removeBackup(const Model::RemoveBackupRequest &request)const; - void removeBackupAsync(const Model::RemoveBackupRequest& request, const RemoveBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RemoveBackupOutcomeCallable removeBackupCallable(const Model::RemoveBackupRequest& request) const; - RemoveBackupPlanOutcome removeBackupPlan(const Model::RemoveBackupPlanRequest &request)const; - void removeBackupPlanAsync(const Model::RemoveBackupPlanRequest& request, const RemoveBackupPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RemoveBackupPlanOutcomeCallable removeBackupPlanCallable(const Model::RemoveBackupPlanRequest& request) const; - RemoveBackupRuleOutcome removeBackupRule(const Model::RemoveBackupRuleRequest &request)const; - void removeBackupRuleAsync(const Model::RemoveBackupRuleRequest& request, const RemoveBackupRuleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RemoveBackupRuleOutcomeCallable removeBackupRuleCallable(const Model::RemoveBackupRuleRequest& request) const; - RemoveClusterHostsOutcome removeClusterHosts(const Model::RemoveClusterHostsRequest &request)const; - void removeClusterHostsAsync(const Model::RemoveClusterHostsRequest& request, const RemoveClusterHostsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RemoveClusterHostsOutcomeCallable removeClusterHostsCallable(const Model::RemoveClusterHostsRequest& request) const; - RemoveHpHostOutcome removeHpHost(const Model::RemoveHpHostRequest &request)const; - void removeHpHostAsync(const Model::RemoveHpHostRequest& request, const RemoveHpHostAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RemoveHpHostOutcomeCallable removeHpHostCallable(const Model::RemoveHpHostRequest& request) const; - RenderResourcePoolXmlOutcome renderResourcePoolXml(const Model::RenderResourcePoolXmlRequest &request)const; - void renderResourcePoolXmlAsync(const Model::RenderResourcePoolXmlRequest& request, const RenderResourcePoolXmlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RenderResourcePoolXmlOutcomeCallable renderResourcePoolXmlCallable(const Model::RenderResourcePoolXmlRequest& request) const; - RenderResourcePoolXmlForAdminOutcome renderResourcePoolXmlForAdmin(const Model::RenderResourcePoolXmlForAdminRequest &request)const; - void renderResourcePoolXmlForAdminAsync(const Model::RenderResourcePoolXmlForAdminRequest& request, const RenderResourcePoolXmlForAdminAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RenderResourcePoolXmlForAdminOutcomeCallable renderResourcePoolXmlForAdminCallable(const Model::RenderResourcePoolXmlForAdminRequest& request) const; + RemoveScalingConfigItemV2Outcome removeScalingConfigItemV2(const Model::RemoveScalingConfigItemV2Request &request)const; + void removeScalingConfigItemV2Async(const Model::RemoveScalingConfigItemV2Request& request, const RemoveScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveScalingConfigItemV2OutcomeCallable removeScalingConfigItemV2Callable(const Model::RemoveScalingConfigItemV2Request& request) const; RerunFlowOutcome rerunFlow(const Model::RerunFlowRequest &request)const; void rerunFlowAsync(const Model::RerunFlowRequest& request, const RerunFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RerunFlowOutcomeCallable rerunFlowCallable(const Model::RerunFlowRequest& request) const; 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; - ResizeClusterWithHostPoolOutcome resizeClusterWithHostPool(const Model::ResizeClusterWithHostPoolRequest &request)const; - void resizeClusterWithHostPoolAsync(const Model::ResizeClusterWithHostPoolRequest& request, const ResizeClusterWithHostPoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResizeClusterWithHostPoolOutcomeCallable resizeClusterWithHostPoolCallable(const Model::ResizeClusterWithHostPoolRequest& request) const; - ResolveETLJobSqlSchemaOutcome resolveETLJobSqlSchema(const Model::ResolveETLJobSqlSchemaRequest &request)const; - void resolveETLJobSqlSchemaAsync(const Model::ResolveETLJobSqlSchemaRequest& request, const ResolveETLJobSqlSchemaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResolveETLJobSqlSchemaOutcomeCallable resolveETLJobSqlSchemaCallable(const Model::ResolveETLJobSqlSchemaRequest& 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; - ResumeExecutionPlanInstanceOutcome resumeExecutionPlanInstance(const Model::ResumeExecutionPlanInstanceRequest &request)const; - void resumeExecutionPlanInstanceAsync(const Model::ResumeExecutionPlanInstanceRequest& request, const ResumeExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ResumeExecutionPlanInstanceOutcomeCallable resumeExecutionPlanInstanceCallable(const Model::ResumeExecutionPlanInstanceRequest& request) const; ResumeExecutionPlanSchedulerOutcome resumeExecutionPlanScheduler(const Model::ResumeExecutionPlanSchedulerRequest &request)const; void resumeExecutionPlanSchedulerAsync(const Model::ResumeExecutionPlanSchedulerRequest& request, const ResumeExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeExecutionPlanSchedulerOutcomeCallable resumeExecutionPlanSchedulerCallable(const Model::ResumeExecutionPlanSchedulerRequest& request) const; ResumeFlowOutcome resumeFlow(const Model::ResumeFlowRequest &request)const; void resumeFlowAsync(const Model::ResumeFlowRequest& request, const ResumeFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResumeFlowOutcomeCallable resumeFlowCallable(const Model::ResumeFlowRequest& request) const; - RetryCreateUserPasswordOutcome retryCreateUserPassword(const Model::RetryCreateUserPasswordRequest &request)const; - void retryCreateUserPasswordAsync(const Model::RetryCreateUserPasswordRequest& request, const RetryCreateUserPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RetryCreateUserPasswordOutcomeCallable retryCreateUserPasswordCallable(const Model::RetryCreateUserPasswordRequest& request) const; - RetryExecutionPlanOutcome retryExecutionPlan(const Model::RetryExecutionPlanRequest &request)const; - void retryExecutionPlanAsync(const Model::RetryExecutionPlanRequest& request, const RetryExecutionPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RetryExecutionPlanOutcomeCallable retryExecutionPlanCallable(const Model::RetryExecutionPlanRequest& request) const; - RetryExecutionPlanInstanceOutcome retryExecutionPlanInstance(const Model::RetryExecutionPlanInstanceRequest &request)const; - void retryExecutionPlanInstanceAsync(const Model::RetryExecutionPlanInstanceRequest& request, const RetryExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RetryExecutionPlanInstanceOutcomeCallable retryExecutionPlanInstanceCallable(const Model::RetryExecutionPlanInstanceRequest& request) const; - RetrySyncUserAccountOutcome retrySyncUserAccount(const Model::RetrySyncUserAccountRequest &request)const; - void retrySyncUserAccountAsync(const Model::RetrySyncUserAccountRequest& request, const RetrySyncUserAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RetrySyncUserAccountOutcomeCallable retrySyncUserAccountCallable(const Model::RetrySyncUserAccountRequest& request) const; + RetryOperationOutcome retryOperation(const Model::RetryOperationRequest &request)const; + void retryOperationAsync(const Model::RetryOperationRequest& request, const RetryOperationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RetryOperationOutcomeCallable retryOperationCallable(const Model::RetryOperationRequest& request) const; RunClusterServiceActionOutcome runClusterServiceAction(const Model::RunClusterServiceActionRequest &request)const; void runClusterServiceActionAsync(const Model::RunClusterServiceActionRequest& request, const RunClusterServiceActionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RunClusterServiceActionOutcomeCallable runClusterServiceActionCallable(const Model::RunClusterServiceActionRequest& request) const; - RunETLJobOutcome runETLJob(const Model::RunETLJobRequest &request)const; - void runETLJobAsync(const Model::RunETLJobRequest& request, const RunETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunETLJobOutcomeCallable runETLJobCallable(const Model::RunETLJobRequest& 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; - RunNoteParagraphsOutcome runNoteParagraphs(const Model::RunNoteParagraphsRequest &request)const; - void runNoteParagraphsAsync(const Model::RunNoteParagraphsRequest& request, const RunNoteParagraphsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunNoteParagraphsOutcomeCallable runNoteParagraphsCallable(const Model::RunNoteParagraphsRequest& request) const; - RunOpsCommandOutcome runOpsCommand(const Model::RunOpsCommandRequest &request)const; - void runOpsCommandAsync(const Model::RunOpsCommandRequest& request, const RunOpsCommandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunOpsCommandOutcomeCallable runOpsCommandCallable(const Model::RunOpsCommandRequest& request) const; - RunParagraphOutcome runParagraph(const Model::RunParagraphRequest &request)const; - void runParagraphAsync(const Model::RunParagraphRequest& request, const RunParagraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - RunParagraphOutcomeCallable runParagraphCallable(const Model::RunParagraphRequest& request) const; - SaveBatchUserAccountInfoOutcome saveBatchUserAccountInfo(const Model::SaveBatchUserAccountInfoRequest &request)const; - void saveBatchUserAccountInfoAsync(const Model::SaveBatchUserAccountInfoRequest& request, const SaveBatchUserAccountInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SaveBatchUserAccountInfoOutcomeCallable saveBatchUserAccountInfoCallable(const Model::SaveBatchUserAccountInfoRequest& request) const; - SaveParagraphOutcome saveParagraph(const Model::SaveParagraphRequest &request)const; - void saveParagraphAsync(const Model::SaveParagraphRequest& request, const SaveParagraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SaveParagraphOutcomeCallable saveParagraphCallable(const Model::SaveParagraphRequest& request) const; - SaveUserAccountInfoOutcome saveUserAccountInfo(const Model::SaveUserAccountInfoRequest &request)const; - void saveUserAccountInfoAsync(const Model::SaveUserAccountInfoRequest& request, const SaveUserAccountInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SaveUserAccountInfoOutcomeCallable saveUserAccountInfoCallable(const Model::SaveUserAccountInfoRequest& request) const; + RunScalingActionV2Outcome runScalingActionV2(const Model::RunScalingActionV2Request &request)const; + void runScalingActionV2Async(const Model::RunScalingActionV2Request& request, const RunScalingActionV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RunScalingActionV2OutcomeCallable runScalingActionV2Callable(const Model::RunScalingActionV2Request& request) const; SearchLogOutcome searchLog(const Model::SearchLogRequest &request)const; void searchLogAsync(const Model::SearchLogRequest& request, const SearchLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SearchLogOutcomeCallable searchLogCallable(const Model::SearchLogRequest& request) const; StartFlowOutcome startFlow(const Model::StartFlowRequest &request)const; void startFlowAsync(const Model::StartFlowRequest& request, const StartFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; StartFlowOutcomeCallable startFlowCallable(const Model::StartFlowRequest& request) const; - StartKafkaBrokerDiskBalancerOutcome startKafkaBrokerDiskBalancer(const Model::StartKafkaBrokerDiskBalancerRequest &request)const; - void startKafkaBrokerDiskBalancerAsync(const Model::StartKafkaBrokerDiskBalancerRequest& request, const StartKafkaBrokerDiskBalancerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StartKafkaBrokerDiskBalancerOutcomeCallable startKafkaBrokerDiskBalancerCallable(const Model::StartKafkaBrokerDiskBalancerRequest& request) const; - StartKafkaPreferredReplicaElectionOutcome startKafkaPreferredReplicaElection(const Model::StartKafkaPreferredReplicaElectionRequest &request)const; - void startKafkaPreferredReplicaElectionAsync(const Model::StartKafkaPreferredReplicaElectionRequest& request, const StartKafkaPreferredReplicaElectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StartKafkaPreferredReplicaElectionOutcomeCallable startKafkaPreferredReplicaElectionCallable(const Model::StartKafkaPreferredReplicaElectionRequest& request) const; - StopParagraphOutcome stopParagraph(const Model::StopParagraphRequest &request)const; - void stopParagraphAsync(const Model::StopParagraphRequest& request, const StopParagraphAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StopParagraphOutcomeCallable stopParagraphCallable(const Model::StopParagraphRequest& request) const; SubmitFlowOutcome submitFlow(const Model::SubmitFlowRequest &request)const; void submitFlowAsync(const Model::SubmitFlowRequest& request, const SubmitFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitFlowOutcomeCallable submitFlowCallable(const Model::SubmitFlowRequest& request) const; SubmitFlowJobOutcome submitFlowJob(const Model::SubmitFlowJobRequest &request)const; void submitFlowJobAsync(const Model::SubmitFlowJobRequest& request, const SubmitFlowJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitFlowJobOutcomeCallable submitFlowJobCallable(const Model::SubmitFlowJobRequest& request) const; - SuspendExecutionPlanInstanceOutcome suspendExecutionPlanInstance(const Model::SuspendExecutionPlanInstanceRequest &request)const; - void suspendExecutionPlanInstanceAsync(const Model::SuspendExecutionPlanInstanceRequest& request, const SuspendExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SuspendExecutionPlanInstanceOutcomeCallable suspendExecutionPlanInstanceCallable(const Model::SuspendExecutionPlanInstanceRequest& request) const; SuspendExecutionPlanSchedulerOutcome suspendExecutionPlanScheduler(const Model::SuspendExecutionPlanSchedulerRequest &request)const; void suspendExecutionPlanSchedulerAsync(const Model::SuspendExecutionPlanSchedulerRequest& request, const SuspendExecutionPlanSchedulerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SuspendExecutionPlanSchedulerOutcomeCallable suspendExecutionPlanSchedulerCallable(const Model::SuspendExecutionPlanSchedulerRequest& request) const; SuspendFlowOutcome suspendFlow(const Model::SuspendFlowRequest &request)const; void suspendFlowAsync(const Model::SuspendFlowRequest& request, const SuspendFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SuspendFlowOutcomeCallable suspendFlowCallable(const Model::SuspendFlowRequest& request) const; - SyncDataSourceSchemaDatabaseOutcome syncDataSourceSchemaDatabase(const Model::SyncDataSourceSchemaDatabaseRequest &request)const; - void syncDataSourceSchemaDatabaseAsync(const Model::SyncDataSourceSchemaDatabaseRequest& request, const SyncDataSourceSchemaDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SyncDataSourceSchemaDatabaseOutcomeCallable syncDataSourceSchemaDatabaseCallable(const Model::SyncDataSourceSchemaDatabaseRequest& request) const; - SyncDataSourceSchemaTableOutcome syncDataSourceSchemaTable(const Model::SyncDataSourceSchemaTableRequest &request)const; - void syncDataSourceSchemaTableAsync(const Model::SyncDataSourceSchemaTableRequest& request, const SyncDataSourceSchemaTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SyncDataSourceSchemaTableOutcomeCallable syncDataSourceSchemaTableCallable(const Model::SyncDataSourceSchemaTableRequest& request) const; TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; 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; - TerminateClusterOperationOutcome terminateClusterOperation(const Model::TerminateClusterOperationRequest &request)const; - void terminateClusterOperationAsync(const Model::TerminateClusterOperationRequest& request, const TerminateClusterOperationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - TerminateClusterOperationOutcomeCallable terminateClusterOperationCallable(const Model::TerminateClusterOperationRequest& 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; - UpdateETLJobOutcome updateETLJob(const Model::UpdateETLJobRequest &request)const; - void updateETLJobAsync(const Model::UpdateETLJobRequest& request, const UpdateETLJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateETLJobOutcomeCallable updateETLJobCallable(const Model::UpdateETLJobRequest& request) const; - UpdateETLJobStageOutcome updateETLJobStage(const Model::UpdateETLJobStageRequest &request)const; - void updateETLJobStageAsync(const Model::UpdateETLJobStageRequest& request, const UpdateETLJobStageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateETLJobStageOutcomeCallable updateETLJobStageCallable(const Model::UpdateETLJobStageRequest& request) const; - UpdateKafkaReassignParamOutcome updateKafkaReassignParam(const Model::UpdateKafkaReassignParamRequest &request)const; - void updateKafkaReassignParamAsync(const Model::UpdateKafkaReassignParamRequest& request, const UpdateKafkaReassignParamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateKafkaReassignParamOutcomeCallable updateKafkaReassignParamCallable(const Model::UpdateKafkaReassignParamRequest& request) const; - UpdateNavNodeOutcome updateNavNode(const Model::UpdateNavNodeRequest &request)const; - void updateNavNodeAsync(const Model::UpdateNavNodeRequest& request, const UpdateNavNodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateNavNodeOutcomeCallable updateNavNodeCallable(const Model::UpdateNavNodeRequest& request) const; - UpdateProjectSettingOutcome updateProjectSetting(const Model::UpdateProjectSettingRequest &request)const; - void updateProjectSettingAsync(const Model::UpdateProjectSettingRequest& request, const UpdateProjectSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateProjectSettingOutcomeCallable updateProjectSettingCallable(const Model::UpdateProjectSettingRequest& request) const; + UpdateLibraryInstallTaskStatusOutcome updateLibraryInstallTaskStatus(const Model::UpdateLibraryInstallTaskStatusRequest &request)const; + void updateLibraryInstallTaskStatusAsync(const Model::UpdateLibraryInstallTaskStatusRequest& request, const UpdateLibraryInstallTaskStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLibraryInstallTaskStatusOutcomeCallable updateLibraryInstallTaskStatusCallable(const Model::UpdateLibraryInstallTaskStatusRequest& request) const; UpdateTagOutcome updateTag(const Model::UpdateTagRequest &request)const; void updateTagAsync(const Model::UpdateTagRequest& request, const UpdateTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateTagOutcomeCallable updateTagCallable(const Model::UpdateTagRequest& request) const; UpdateUserOutcome updateUser(const Model::UpdateUserRequest &request)const; void updateUserAsync(const Model::UpdateUserRequest& request, const UpdateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateUserOutcomeCallable updateUserCallable(const Model::UpdateUserRequest& request) const; - UpdateUserGroupOutcome updateUserGroup(const Model::UpdateUserGroupRequest &request)const; - void updateUserGroupAsync(const Model::UpdateUserGroupRequest& request, const UpdateUserGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateUserGroupOutcomeCallable updateUserGroupCallable(const Model::UpdateUserGroupRequest& request) const; - UpdateUserStatusOutcome updateUserStatus(const Model::UpdateUserStatusRequest &request)const; - void updateUserStatusAsync(const Model::UpdateUserStatusRequest& request, const UpdateUserStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateUserStatusOutcomeCallable updateUserStatusCallable(const Model::UpdateUserStatusRequest& request) const; - UpdateWorkspaceRepoSettingOutcome updateWorkspaceRepoSetting(const Model::UpdateWorkspaceRepoSettingRequest &request)const; - void updateWorkspaceRepoSettingAsync(const Model::UpdateWorkspaceRepoSettingRequest& request, const UpdateWorkspaceRepoSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateWorkspaceRepoSettingOutcomeCallable updateWorkspaceRepoSettingCallable(const Model::UpdateWorkspaceRepoSettingRequest& request) const; - UpdateWorkspaceResourceSettingOutcome updateWorkspaceResourceSetting(const Model::UpdateWorkspaceResourceSettingRequest &request)const; - void updateWorkspaceResourceSettingAsync(const Model::UpdateWorkspaceResourceSettingRequest& request, const UpdateWorkspaceResourceSettingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateWorkspaceResourceSettingOutcomeCallable updateWorkspaceResourceSettingCallable(const Model::UpdateWorkspaceResourceSettingRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/emr/include/alibabacloud/emr/model/AddHpHostRequest.h b/emr/include/alibabacloud/emr/model/AddHpHostRequest.h deleted file mode 100644 index 156be0377..000000000 --- a/emr/include/alibabacloud/emr/model/AddHpHostRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_ADDHPHOSTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDHPHOSTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AddHpHostRequest : public RpcServiceRequest - { - struct HpHost - { - int cpuCore; - int memSize; - std::string rackInfo; - std::string role; - std::string serialNumber; - std::string hostType; - std::string securityGroupId; - RepeatList hpHostDisk; - std::string vswitchId; - std::string externalKey; - std::string hostName; - std::string vpcId; - std::string innerIp; - std::string externalIp; - }; - - public: - AddHpHostRequest(); - ~AddHpHostRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getHpHost()const; - void setHpHost(const std::vector& hpHost); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHpBizId()const; - void setHpBizId(const std::string& hpBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::vector hpHost_; - std::string regionId_; - std::string hpBizId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ADDHPHOSTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddHpHostResult.h b/emr/include/alibabacloud/emr/model/AddHpHostResult.h deleted file mode 100644 index 7f11dad58..000000000 --- a/emr/include/alibabacloud/emr/model/AddHpHostResult.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_ADDHPHOSTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDHPHOSTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AddHpHostResult : public ServiceResult - { - public: - - - AddHpHostResult(); - explicit AddHpHostResult(const std::string &payload); - ~AddHpHostResult(); - std::string getBizId()const; - - protected: - void parse(const std::string &payload); - private: - std::string bizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ADDHPHOSTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddResourceToUsersResult.h b/emr/include/alibabacloud/emr/model/AddResourceToUsersResult.h deleted file mode 100644 index 6cdb1fc97..000000000 --- a/emr/include/alibabacloud/emr/model/AddResourceToUsersResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AddResourceToUsersResult : public ServiceResult - { - public: - - - AddResourceToUsersResult(); - explicit AddResourceToUsersResult(const std::string &payload); - ~AddResourceToUsersResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h b/emr/include/alibabacloud/emr/model/AddScalingConfigItemV2Request.h similarity index 57% rename from emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h rename to emr/include/alibabacloud/emr/model/AddScalingConfigItemV2Request.h index 2bb80ea36..6a3d4a576 100644 --- a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupRequest.h +++ b/emr/include/alibabacloud/emr/model/AddScalingConfigItemV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2REQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT AddScalingConfigItemV2Request : public RpcServiceRequest { public: - CreateClusterHostGroupRequest(); - ~CreateClusterHostGroupRequest(); + AddScalingConfigItemV2Request(); + ~AddScalingConfigItemV2Request(); + std::string getConfigItemType()const; + void setConfigItemType(const std::string& configItemType); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getComment()const; - void setComment(const std::string& comment); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getHostGroupName()const; - void setHostGroupName(const std::string& hostGroupName); - std::string getHostGroupType()const; - void setHostGroupType(const std::string& hostGroupType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getConfigItemInformation()const; + void setConfigItemInformation(const std::string& configItemInformation); private: + std::string configItemType_; long resourceOwnerId_; - std::string regionId_; - std::string comment_; - std::string clusterId_; - std::string hostGroupName_; - std::string hostGroupType_; std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string configItemInformation_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateVerificationCodeResult.h b/emr/include/alibabacloud/emr/model/AddScalingConfigItemV2Result.h similarity index 68% rename from emr/include/alibabacloud/emr/model/CreateVerificationCodeResult.h rename to emr/include/alibabacloud/emr/model/AddScalingConfigItemV2Result.h index a17d186c9..40925d61d 100644 --- a/emr/include/alibabacloud/emr/model/CreateVerificationCodeResult.h +++ b/emr/include/alibabacloud/emr/model/AddScalingConfigItemV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2RESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateVerificationCodeResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT AddScalingConfigItemV2Result : public ServiceResult { public: - CreateVerificationCodeResult(); - explicit CreateVerificationCodeResult(const std::string &payload); - ~CreateVerificationCodeResult(); - long getStatus()const; + AddScalingConfigItemV2Result(); + explicit AddScalingConfigItemV2Result(const std::string &payload); + ~AddScalingConfigItemV2Result(); + std::string getData()const; protected: void parse(const std::string &payload); private: - long status_; + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddUserResourceRoleRequest.h b/emr/include/alibabacloud/emr/model/AddUserResourceRoleRequest.h deleted file mode 100644 index 3813cd1c8..000000000 --- a/emr/include/alibabacloud/emr/model/AddUserResourceRoleRequest.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_ADDUSERRESOURCEROLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AddUserResourceRoleRequest : public RpcServiceRequest - { - - public: - AddUserResourceRoleRequest(); - ~AddUserResourceRoleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - long getRoleId()const; - void setRoleId(long roleId); - 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 getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - - private: - long resourceOwnerId_; - std::string resourceId_; - long roleId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddUserResourceRoleResult.h b/emr/include/alibabacloud/emr/model/AddUserResourceRoleResult.h deleted file mode 100644 index 08df2351c..000000000 --- a/emr/include/alibabacloud/emr/model/AddUserResourceRoleResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AddUserResourceRoleResult : public ServiceResult - { - public: - - - AddUserResourceRoleResult(); - explicit AddUserResourceRoleResult(const std::string &payload); - ~AddUserResourceRoleResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AttachClusterForNoteRequest.h b/emr/include/alibabacloud/emr/model/AttachClusterForNoteRequest.h deleted file mode 100644 index 88fea0c66..000000000 --- a/emr/include/alibabacloud/emr/model/AttachClusterForNoteRequest.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_ATTACHCLUSTERFORNOTEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AttachClusterForNoteRequest : public RpcServiceRequest - { - - public: - AttachClusterForNoteRequest(); - ~AttachClusterForNoteRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AttachClusterForNoteResult.h b/emr/include/alibabacloud/emr/model/AttachClusterForNoteResult.h deleted file mode 100644 index 7542ec570..000000000 --- a/emr/include/alibabacloud/emr/model/AttachClusterForNoteResult.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_ATTACHCLUSTERFORNOTERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AttachClusterForNoteResult : public ServiceResult - { - public: - - - AttachClusterForNoteResult(); - explicit AttachClusterForNoteResult(const std::string &payload); - ~AttachClusterForNoteResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AttachPubIpRequest.h b/emr/include/alibabacloud/emr/model/AttachPubIpRequest.h deleted file mode 100644 index 5a5be52bc..000000000 --- a/emr/include/alibabacloud/emr/model/AttachPubIpRequest.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_ATTACHPUBIPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AttachPubIpRequest : public RpcServiceRequest - { - - public: - AttachPubIpRequest(); - ~AttachPubIpRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getInstanceIds()const; - void setInstanceIds(const std::vector& instanceIds); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::vector instanceIds_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AttachPubIpResult.h b/emr/include/alibabacloud/emr/model/AttachPubIpResult.h deleted file mode 100644 index f01674106..000000000 --- a/emr/include/alibabacloud/emr/model/AttachPubIpResult.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_ATTACHPUBIPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT AttachPubIpResult : public ServiceResult - { - public: - - - AttachPubIpResult(); - explicit AttachPubIpResult(const std::string &payload); - ~AttachPubIpResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CancelETLJobReleaseRequest.h b/emr/include/alibabacloud/emr/model/CancelETLJobReleaseRequest.h deleted file mode 100644 index c79d10c58..000000000 --- a/emr/include/alibabacloud/emr/model/CancelETLJobReleaseRequest.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_CANCELETLJOBRELEASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CancelETLJobReleaseRequest : public RpcServiceRequest - { - - public: - CancelETLJobReleaseRequest(); - ~CancelETLJobReleaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getReleaseId()const; - void setReleaseId(const std::string& releaseId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string etlJobId_; - std::string releaseId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CancelETLJobReleaseResult.h b/emr/include/alibabacloud/emr/model/CancelETLJobReleaseResult.h deleted file mode 100644 index 2bdb5a28d..000000000 --- a/emr/include/alibabacloud/emr/model/CancelETLJobReleaseResult.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_CANCELETLJOBRELEASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CancelETLJobReleaseResult : public ServiceResult - { - public: - - - CancelETLJobReleaseResult(); - explicit CancelETLJobReleaseResult(const std::string &payload); - ~CancelETLJobReleaseResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CheckDataSourceRequest.h b/emr/include/alibabacloud/emr/model/CheckDataSourceRequest.h deleted file mode 100644 index b6187781e..000000000 --- a/emr/include/alibabacloud/emr/model/CheckDataSourceRequest.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_CHECKDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CheckDataSourceRequest : public RpcServiceRequest - { - - public: - CheckDataSourceRequest(); - ~CheckDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getConf()const; - void setConf(const std::string& conf); - std::string getId()const; - void setId(const std::string& id); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string conf_; - std::string id_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CheckDataSourceResult.h b/emr/include/alibabacloud/emr/model/CheckDataSourceResult.h deleted file mode 100644 index 93e06719a..000000000 --- a/emr/include/alibabacloud/emr/model/CheckDataSourceResult.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_CHECKDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CheckDataSourceResult : public ServiceResult - { - public: - - - CheckDataSourceResult(); - explicit CheckDataSourceResult(const std::string &payload); - ~CheckDataSourceResult(); - std::string getCommandId()const; - - protected: - void parse(const std::string &payload); - private: - std::string commandId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CloneDataSourceRequest.h b/emr/include/alibabacloud/emr/model/CloneDataSourceRequest.h deleted file mode 100644 index a62e98e7a..000000000 --- a/emr/include/alibabacloud/emr/model/CloneDataSourceRequest.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_CLONEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CloneDataSourceRequest : public RpcServiceRequest - { - - public: - CloneDataSourceRequest(); - ~CloneDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CloneDataSourceResult.h b/emr/include/alibabacloud/emr/model/CloneDataSourceResult.h deleted file mode 100644 index f75453889..000000000 --- a/emr/include/alibabacloud/emr/model/CloneDataSourceResult.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_CLONEDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CloneDataSourceResult : public ServiceResult - { - public: - - - CloneDataSourceResult(); - explicit CloneDataSourceResult(const std::string &payload); - ~CloneDataSourceResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CloneETLJobResult.h b/emr/include/alibabacloud/emr/model/CloneETLJobResult.h deleted file mode 100644 index ad8a1ae9b..000000000 --- a/emr/include/alibabacloud/emr/model/CloneETLJobResult.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_CLONEETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CLONEETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CloneETLJobResult : public ServiceResult - { - public: - - - CloneETLJobResult(); - explicit CloneETLJobResult(const std::string &payload); - ~CloneETLJobResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CLONEETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CommonApiWhiteListResult.h b/emr/include/alibabacloud/emr/model/CommonApiWhiteListResult.h deleted file mode 100644 index 3c7bc9dd8..000000000 --- a/emr/include/alibabacloud/emr/model/CommonApiWhiteListResult.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_COMMONAPIWHITELISTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CommonApiWhiteListResult : public ServiceResult - { - public: - - - CommonApiWhiteListResult(); - explicit CommonApiWhiteListResult(const std::string &payload); - ~CommonApiWhiteListResult(); - std::string getWhiteList()const; - - protected: - void parse(const std::string &payload); - private: - std::string whiteList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ContextQueryLogRequest.h b/emr/include/alibabacloud/emr/model/ContextQueryLogRequest.h deleted file mode 100644 index 1b494b60f..000000000 --- a/emr/include/alibabacloud/emr/model/ContextQueryLogRequest.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_CONTEXTQUERYLOGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ContextQueryLogRequest : public RpcServiceRequest - { - - public: - ContextQueryLogRequest(); - ~ContextQueryLogRequest(); - - std::string getPackId()const; - void setPackId(const std::string& packId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getTotalOffset()const; - void setTotalOffset(int totalOffset); - int getSize()const; - void setSize(int size); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getPackMeta()const; - void setPackMeta(const std::string& packMeta); - int getFrom()const; - void setFrom(int from); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getTo()const; - void setTo(int to); - bool getReverse()const; - void setReverse(bool reverse); - std::string getLogStore()const; - void setLogStore(const std::string& logStore); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string packId_; - long resourceOwnerId_; - int totalOffset_; - int size_; - std::string regionId_; - std::string packMeta_; - int from_; - std::string clusterId_; - int to_; - bool reverse_; - std::string logStore_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ContextQueryLogResult.h b/emr/include/alibabacloud/emr/model/ContextQueryLogResult.h deleted file mode 100644 index 4ba6eacf2..000000000 --- a/emr/include/alibabacloud/emr/model/ContextQueryLogResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ContextQueryLogResult : public ServiceResult - { - public: - struct Item - { - std::string content; - int index; - }; - - - ContextQueryLogResult(); - explicit ContextQueryLogResult(const std::string &payload); - ~ContextQueryLogResult(); - std::string getTime()const; - std::vector getLogs()const; - std::string getPackMeta()const; - std::string getPackId()const; - - protected: - void parse(const std::string &payload); - private: - std::string time_; - std::vector logs_; - std::string packMeta_; - std::string packId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateAlertContactRequest.h b/emr/include/alibabacloud/emr/model/CreateAlertContactRequest.h deleted file mode 100644 index 6afa18914..000000000 --- a/emr/include/alibabacloud/emr/model/CreateAlertContactRequest.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_CREATEALERTCONTACTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateAlertContactRequest : public RpcServiceRequest - { - - public: - CreateAlertContactRequest(); - ~CreateAlertContactRequest(); - - std::string getEmailVerificationCode()const; - void setEmailVerificationCode(const std::string& emailVerificationCode); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getPhoneNumberVerificationCode()const; - void setPhoneNumberVerificationCode(const std::string& phoneNumberVerificationCode); - std::string getName()const; - void setName(const std::string& name); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - std::string getEmail()const; - void setEmail(const std::string& email); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string emailVerificationCode_; - long resourceOwnerId_; - std::string regionId_; - std::string phoneNumberVerificationCode_; - std::string name_; - std::string phoneNumber_; - std::string email_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupRequest.h b/emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupRequest.h deleted file mode 100644 index 66e7a7b7e..000000000 --- a/emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupRequest.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_CREATEALERTDINGDINGGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateAlertDingDingGroupRequest : public RpcServiceRequest - { - - public: - CreateAlertDingDingGroupRequest(); - ~CreateAlertDingDingGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWebHookUrl()const; - void setWebHookUrl(const std::string& webHookUrl); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string description_; - std::string accessKeyId_; - std::string webHookUrl_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupResult.h b/emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupResult.h deleted file mode 100644 index 3a4703203..000000000 --- a/emr/include/alibabacloud/emr/model/CreateAlertDingDingGroupResult.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_CREATEALERTDINGDINGGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateAlertDingDingGroupResult : public ServiceResult - { - public: - - - CreateAlertDingDingGroupResult(); - explicit CreateAlertDingDingGroupResult(const std::string &payload); - ~CreateAlertDingDingGroupResult(); - long getId()const; - - protected: - void parse(const std::string &payload); - private: - long id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBackupRuleRequest.h b/emr/include/alibabacloud/emr/model/CreateBackupRuleRequest.h deleted file mode 100644 index ea594f5bd..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBackupRuleRequest.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_CREATEBACKUPRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBackupRuleRequest : public RpcServiceRequest - { - - public: - CreateBackupRuleRequest(); - ~CreateBackupRuleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getBackupMethodType()const; - void setBackupMethodType(const std::string& backupMethodType); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getBackupPlanId()const; - void setBackupPlanId(const std::string& backupPlanId); - std::string getMetadataType()const; - void setMetadataType(const std::string& metadataType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - - private: - long resourceOwnerId_; - std::string backupMethodType_; - std::string description_; - std::string backupPlanId_; - std::string metadataType_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBatchUsersRequest.h b/emr/include/alibabacloud/emr/model/CreateBatchUsersRequest.h deleted file mode 100644 index fe78286f9..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBatchUsersRequest.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBatchUsersRequest : public RpcServiceRequest - { - struct UserBaseParamList - { - std::string aliyunUserId; - std::string userName; - std::string userType; - std::string isSuperAdmin; - }; - - public: - CreateBatchUsersRequest(); - ~CreateBatchUsersRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getUserBaseParamList()const; - void setUserBaseParamList(const std::vector& userBaseParamList); - std::vector getRoleId()const; - void setRoleId(const std::vector& roleId); - std::vector getGroupId()const; - void setGroupId(const std::vector& groupId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::vector userBaseParamList_; - std::vector roleId_; - std::vector groupId_; - std::string description_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBatchUsersResult.h b/emr/include/alibabacloud/emr/model/CreateBatchUsersResult.h deleted file mode 100644 index ce96c3d03..000000000 --- a/emr/include/alibabacloud/emr/model/CreateBatchUsersResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateBatchUsersResult : public ServiceResult - { - public: - - - CreateBatchUsersResult(); - explicit CreateBatchUsersResult(const std::string &payload); - ~CreateBatchUsersResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h similarity index 63% rename from emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerRequest.h rename to emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h index 9bc475b96..e849c53ec 100644 --- a/emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_ #include #include @@ -28,39 +28,43 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT StartKafkaBrokerDiskBalancerRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionRequest : public RpcServiceRequest { + public: + struct BootstrapAction + { + std::string path; + std::string executionTarget; + std::string executionMoment; + std::string arg; + std::string name; + std::string executionFailStrategy; + }; public: - StartKafkaBrokerDiskBalancerRequest(); - ~StartKafkaBrokerDiskBalancerRequest(); + CreateClusterBootstrapActionRequest(); + ~CreateClusterBootstrapActionRequest(); - long getThrottle()const; - void setThrottle(long throttle); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getBrokerId()const; - void setBrokerId(int brokerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getBalanceThreshold()const; - void setBalanceThreshold(const std::string& balanceThreshold); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::vector getBootstrapAction()const; + void setBootstrapAction(const std::vector& bootstrapAction); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); private: - long throttle_; - long resourceOwnerId_; - int brokerId_; - std::string regionId_; - std::string clusterId_; - std::string balanceThreshold_; - std::string accessKeyId_; + long resourceOwnerId_; + std::string clusterId_; + std::string accessKeyId_; + std::vector bootstrapAction_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoResult.h b/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoResult.h rename to emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h index 33819ba53..19357d323 100644 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoResult.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterBootstrapActionResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFORESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanBasicInfoResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionResult : public ServiceResult { public: - ModifyExecutionPlanBasicInfoResult(); - explicit ModifyExecutionPlanBasicInfoResult(const std::string &payload); - ~ModifyExecutionPlanBasicInfoResult(); + CreateClusterBootstrapActionResult(); + explicit CreateClusterBootstrapActionResult(const std::string &payload); + ~CreateClusterBootstrapActionResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h b/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h deleted file mode 100644 index 36e4f2158..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterHostGroupResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupResult : public ServiceResult - { - public: - - - CreateClusterHostGroupResult(); - explicit CreateClusterHostGroupResult(const std::string &payload); - ~CreateClusterHostGroupResult(); - std::string getHostGroupId()const; - std::string getClusterId()const; - - protected: - void parse(const std::string &payload); - private: - std::string hostGroupId_; - std::string clusterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterScriptRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterScriptRequest.h deleted file mode 100644 index d162cee1d..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterScriptRequest.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_CREATECLUSTERSCRIPTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterScriptRequest : public RpcServiceRequest - { - - public: - CreateClusterScriptRequest(); - ~CreateClusterScriptRequest(); - - std::string getArgs()const; - void setArgs(const std::string& args); - std::string getPath()const; - void setPath(const std::string& path); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getNodeIdList()const; - void setNodeIdList(const std::string& nodeIdList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string args_; - std::string path_; - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string clusterId_; - std::string nodeIdList_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterScriptResult.h b/emr/include/alibabacloud/emr/model/CreateClusterScriptResult.h deleted file mode 100644 index 296880007..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterScriptResult.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_CREATECLUSTERSCRIPTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterScriptResult : public ServiceResult - { - public: - - - CreateClusterScriptResult(); - explicit CreateClusterScriptResult(const std::string &payload); - ~CreateClusterScriptResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTRESULT_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 7da78d733..42b07b4c6 100644 --- a/emr/include/alibabacloud/emr/model/CreateClusterTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterTemplateRequest.h @@ -34,8 +34,16 @@ namespace AlibabaCloud struct BootstrapAction { std::string path; + std::string executionTarget; + std::string executionMoment; std::string arg; std::string name; + std::string executionFailStrategy; + }; + struct Tag + { + std::string value; + std::string key; }; struct HostGroup { @@ -90,12 +98,16 @@ namespace AlibabaCloud void setSecurityGroupName(const std::string& securityGroupName); std::string getMachineType()const; void setMachineType(const std::string& machineType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::vector getBootstrapAction()const; void setBootstrapAction(const std::vector& bootstrapAction); std::string getMetaStoreConf()const; void setMetaStoreConf(const std::string& metaStoreConf); std::string getEmrVer()const; void setEmrVer(const std::string& emrVer); + std::vector getTag()const; + void setTag(const std::vector& tag); bool getIsOpenPublicIp()const; void setIsOpenPublicIp(bool isOpenPublicIp); int getPeriod()const; @@ -155,9 +167,11 @@ namespace AlibabaCloud std::string metaStoreType_; std::string securityGroupName_; std::string machineType_; + std::string resourceGroupId_; std::vector bootstrapAction_; std::string metaStoreConf_; std::string emrVer_; + std::vector tag_; bool isOpenPublicIp_; int period_; std::string instanceGeneration_; diff --git a/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h b/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h index 406414f01..4bce0c042 100644 --- a/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterV2Request.h @@ -40,8 +40,11 @@ namespace AlibabaCloud struct BootstrapAction { std::string path; + std::string executionTarget; + std::string executionMoment; std::string arg; std::string name; + std::string executionFailStrategy; }; struct Tag { @@ -54,6 +57,12 @@ namespace AlibabaCloud std::string userId; std::string userName; }; + struct PromotionInfo + { + std::string promotionOptionCode; + std::string productCode; + std::string promotionOptionNo; + }; struct HostGroup { int period; @@ -114,6 +123,8 @@ namespace AlibabaCloud void setSecurityGroupName(const std::string& securityGroupName); std::string getMachineType()const; void setMachineType(const std::string& machineType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::vector getHostComponentInfo()const; void setHostComponentInfo(const std::vector& hostComponentInfo); std::string getClickHouseConf()const; @@ -138,6 +149,8 @@ namespace AlibabaCloud void setVSwitchId(const std::string& vSwitchId); std::string getClusterType()const; void setClusterType(const std::string& clusterType); + std::string getExtraAttributes()const; + void setExtraAttributes(const std::string& extraAttributes); bool getAutoRenew()const; void setAutoRenew(bool autoRenew); std::vector getOptionSoftWareList()const; @@ -176,6 +189,8 @@ namespace AlibabaCloud void setRelatedClusterId(const std::string& relatedClusterId); std::string getVpcId()const; void setVpcId(const std::string& vpcId); + std::vector getPromotionInfo()const; + void setPromotionInfo(const std::vector& promotionInfo); std::vector getHostGroup()const; void setHostGroup(const std::vector& hostGroup); std::string getChargeType()const; @@ -198,6 +213,7 @@ namespace AlibabaCloud std::string metaStoreType_; std::string securityGroupName_; std::string machineType_; + std::string resourceGroupId_; std::vector hostComponentInfo_; std::string clickHouseConf_; std::vector bootstrapAction_; @@ -210,6 +226,7 @@ namespace AlibabaCloud std::string instanceGeneration_; std::string vSwitchId_; std::string clusterType_; + std::string extraAttributes_; bool autoRenew_; std::vector optionSoftWareList_; std::string netType_; @@ -229,6 +246,7 @@ namespace AlibabaCloud std::string whiteListType_; std::string relatedClusterId_; std::string vpcId_; + std::vector promotionInfo_; std::vector hostGroup_; std::string chargeType_; std::vector serviceInfo_; diff --git a/emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolRequest.h deleted file mode 100644 index 06f428462..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolRequest.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATECLUSTERWITHHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterWithHostPoolRequest : public RpcServiceRequest - { - struct HostInfo - { - std::string hpHostBizId; - std::string hostName; - std::string role; - long groupId; - std::string privateIp; - RepeatList serviceComponentInfo; - std::string hostGroupName; - }; - struct HostGroup - { - std::string groupType; - long groupId; - std::string groupName; - }; - struct ServiceInfo - { - std::string serviceEcmVersion; - std::string serviceVersion; - std::string serviceName; - }; - struct Config - { - std::string configKey; - std::string fileName; - std::string configValue; - std::string serviceName; - }; - - public: - CreateClusterWithHostPoolRequest(); - ~CreateClusterWithHostPoolRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterName()const; - void setClusterName(const std::string& clusterName); - bool getEasEnable()const; - void setEasEnable(bool easEnable); - std::vector getHostInfo()const; - void setHostInfo(const std::vector& hostInfo); - std::string getRelatedClusterId()const; - void setRelatedClusterId(const std::string& relatedClusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getClusterType()const; - void setClusterType(const std::string& clusterType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getHostGroup()const; - void setHostGroup(const std::vector& hostGroup); - std::string getStackName()const; - void setStackName(const std::string& stackName); - std::string getStackVersion()const; - void setStackVersion(const std::string& stackVersion); - std::vector getServiceInfo()const; - void setServiceInfo(const std::vector& serviceInfo); - std::vector getConfig()const; - void setConfig(const std::vector& config); - - private: - long resourceOwnerId_; - std::string clusterName_; - bool easEnable_; - std::vector hostInfo_; - std::string relatedClusterId_; - std::string accessKeyId_; - std::string clusterType_; - std::string regionId_; - std::vector hostGroup_; - std::string stackName_; - std::string stackVersion_; - std::vector serviceInfo_; - std::vector config_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolResult.h b/emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolResult.h deleted file mode 100644 index b29eb059e..000000000 --- a/emr/include/alibabacloud/emr/model/CreateClusterWithHostPoolResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateClusterWithHostPoolResult : public ServiceResult - { - public: - - - CreateClusterWithHostPoolResult(); - explicit CreateClusterWithHostPoolResult(const std::string &payload); - ~CreateClusterWithHostPoolResult(); - std::string getWorkFlowInstanceId()const; - std::string getClusterId()const; - std::string getOperationId()const; - - protected: - void parse(const std::string &payload); - private: - std::string workFlowInstanceId_; - std::string clusterId_; - std::string operationId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h b/emr/include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h index 4c6a85590..12384ed66 100644 --- a/emr/include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateClusterWithTemplateRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setClusterName(const std::string& clusterName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getTemplateBizId()const; void setTemplateBizId(const std::string& templateBizId); @@ -51,6 +53,7 @@ namespace AlibabaCloud std::string uniqueTag_; std::string clusterName_; std::string accessKeyId_; + std::string resourceGroupId_; std::string templateBizId_; }; diff --git a/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h b/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h index 19a52e595..4b7da410e 100644 --- a/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateDataSourceRequest.h @@ -47,6 +47,8 @@ namespace AlibabaCloud void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -61,6 +63,7 @@ namespace AlibabaCloud std::string conf_; std::string clusterId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string name_; std::string sourceType_; diff --git a/emr/include/alibabacloud/emr/model/CreateETLJobRequest.h b/emr/include/alibabacloud/emr/model/CreateETLJobRequest.h deleted file mode 100644 index 857600039..000000000 --- a/emr/include/alibabacloud/emr/model/CreateETLJobRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateETLJobRequest : public RpcServiceRequest - { - - public: - CreateETLJobRequest(); - ~CreateETLJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNavParentId()const; - void setNavParentId(const std::string& navParentId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getType()const; - void setType(const std::string& type); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string navParentId_; - std::string name_; - std::string description_; - std::string clusterId_; - std::string type_; - std::string projectId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateETLJobResult.h b/emr/include/alibabacloud/emr/model/CreateETLJobResult.h deleted file mode 100644 index 17a29d1b6..000000000 --- a/emr/include/alibabacloud/emr/model/CreateETLJobResult.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_CREATEETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateETLJobResult : public ServiceResult - { - public: - - - CreateETLJobResult(); - explicit CreateETLJobResult(const std::string &payload); - ~CreateETLJobResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h index 3489e3e8d..c97bf47f0 100644 --- a/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateExecutionPlanRequest.h @@ -34,8 +34,11 @@ namespace AlibabaCloud struct BootstrapAction { std::string path; + std::string executionTarget; + std::string executionMoment; std::string arg; std::string name; + std::string executionFailStrategy; }; struct EcsOrder { diff --git a/emr/include/alibabacloud/emr/model/CreateFlowForWebRequest.h b/emr/include/alibabacloud/emr/model/CreateFlowForWebRequest.h index 86cdf215f..4f40d5544 100644 --- a/emr/include/alibabacloud/emr/model/CreateFlowForWebRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateFlowForWebRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setDescription(const std::string& description); std::string getAlertUserGroupBizId()const; void setAlertUserGroupBizId(const std::string& alertUserGroupBizId); + std::string getLifecycle()const; + void setLifecycle(const std::string& lifecycle); std::string getHostName()const; void setHostName(const std::string& hostName); std::string getRegionId()const; @@ -55,6 +57,8 @@ namespace AlibabaCloud void setProjectId(const std::string& projectId); std::string getParentFlowList()const; void setParentFlowList(const std::string& parentFlowList); + std::string getLogArchiveLocation()const; + void setLogArchiveLocation(const std::string& logArchiveLocation); std::string getAlertDingDingGroupBizId()const; void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId); long getStartSchedule()const; @@ -65,6 +69,8 @@ namespace AlibabaCloud void setGraph(const std::string& graph); std::string getName()const; void setName(const std::string& name); + std::string get_Namespace()const; + void set_Namespace(const std::string& _namespace); std::string getParentCategory()const; void setParentCategory(const std::string& parentCategory); @@ -72,6 +78,7 @@ namespace AlibabaCloud std::string cronExpr_; std::string description_; std::string alertUserGroupBizId_; + std::string lifecycle_; std::string hostName_; std::string regionId_; bool createCluster_; @@ -79,11 +86,13 @@ namespace AlibabaCloud std::string alertConf_; std::string projectId_; std::string parentFlowList_; + std::string logArchiveLocation_; std::string alertDingDingGroupBizId_; long startSchedule_; std::string clusterId_; std::string graph_; std::string name_; + std::string _namespace_; std::string parentCategory_; }; diff --git a/emr/include/alibabacloud/emr/model/CreateFlowJobRequest.h b/emr/include/alibabacloud/emr/model/CreateFlowJobRequest.h index 413ed078d..ac8c81bad 100644 --- a/emr/include/alibabacloud/emr/model/CreateFlowJobRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateFlowJobRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud CreateFlowJobRequest(); ~CreateFlowJobRequest(); + std::string getRetryPolicy()const; + void setRetryPolicy(const std::string& retryPolicy); std::string getRunConf()const; void setRunConf(const std::string& runConf); std::string getDescription()const; @@ -85,6 +87,7 @@ namespace AlibabaCloud void setParentCategory(const std::string& parentCategory); private: + std::string retryPolicy_; std::string runConf_; std::string description_; std::string type_; diff --git a/emr/include/alibabacloud/emr/model/CreateFlowProjectRequest.h b/emr/include/alibabacloud/emr/model/CreateFlowProjectRequest.h index 706122278..e9deb34a5 100644 --- a/emr/include/alibabacloud/emr/model/CreateFlowProjectRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateFlowProjectRequest.h @@ -37,6 +37,10 @@ namespace AlibabaCloud std::string getDescription()const; void setDescription(const std::string& description); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -44,6 +48,8 @@ namespace AlibabaCloud private: std::string description_; + std::string productType_; + std::string resourceGroupId_; std::string regionId_; std::string name_; diff --git a/emr/include/alibabacloud/emr/model/CreateFlowRequest.h b/emr/include/alibabacloud/emr/model/CreateFlowRequest.h index 96fd2416d..e402e3e3f 100644 --- a/emr/include/alibabacloud/emr/model/CreateFlowRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateFlowRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setDescription(const std::string& description); std::string getAlertUserGroupBizId()const; void setAlertUserGroupBizId(const std::string& alertUserGroupBizId); + std::string getLifecycle()const; + void setLifecycle(const std::string& lifecycle); std::string getHostName()const; void setHostName(const std::string& hostName); std::string getRegionId()const; @@ -55,6 +57,8 @@ namespace AlibabaCloud void setProjectId(const std::string& projectId); std::string getParentFlowList()const; void setParentFlowList(const std::string& parentFlowList); + std::string getLogArchiveLocation()const; + void setLogArchiveLocation(const std::string& logArchiveLocation); std::string getAlertDingDingGroupBizId()const; void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId); long getStartSchedule()const; @@ -65,6 +69,8 @@ namespace AlibabaCloud void setApplication(const std::string& application); std::string getName()const; void setName(const std::string& name); + std::string get_Namespace()const; + void set_Namespace(const std::string& _namespace); std::string getParentCategory()const; void setParentCategory(const std::string& parentCategory); @@ -72,6 +78,7 @@ namespace AlibabaCloud std::string cronExpr_; std::string description_; std::string alertUserGroupBizId_; + std::string lifecycle_; std::string hostName_; std::string regionId_; bool createCluster_; @@ -79,11 +86,13 @@ namespace AlibabaCloud std::string alertConf_; std::string projectId_; std::string parentFlowList_; + std::string logArchiveLocation_; std::string alertDingDingGroupBizId_; long startSchedule_; std::string clusterId_; std::string application_; std::string name_; + std::string _namespace_; std::string parentCategory_; }; diff --git a/emr/include/alibabacloud/emr/model/CreateHostPoolRequest.h b/emr/include/alibabacloud/emr/model/CreateHostPoolRequest.h deleted file mode 100644 index da93c8045..000000000 --- a/emr/include/alibabacloud/emr/model/CreateHostPoolRequest.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateHostPoolRequest : public RpcServiceRequest - { - struct KubeClusterInfo - { - std::string externalKey; - std::string internalConfig; - std::string publicConfig; - std::string sshConfig; - }; - - public: - CreateHostPoolRequest(); - ~CreateHostPoolRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::vector getKubeClusterInfo()const; - void setKubeClusterInfo(const std::vector& kubeClusterInfo); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string description_; - std::vector kubeClusterInfo_; - std::string type_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateHostPoolResult.h b/emr/include/alibabacloud/emr/model/CreateHostPoolResult.h deleted file mode 100644 index 1540535ce..000000000 --- a/emr/include/alibabacloud/emr/model/CreateHostPoolResult.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_CREATEHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateHostPoolResult : public ServiceResult - { - public: - - - CreateHostPoolResult(); - explicit CreateHostPoolResult(const std::string &payload); - ~CreateHostPoolResult(); - std::string getBizId()const; - - protected: - void parse(const std::string &payload); - private: - std::string bizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateJobRequest.h b/emr/include/alibabacloud/emr/model/CreateJobRequest.h index 42bec84df..b43e9afb2 100644 --- a/emr/include/alibabacloud/emr/model/CreateJobRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateJobRequest.h @@ -47,6 +47,8 @@ namespace AlibabaCloud void setRunParameter(const std::string& runParameter); int getRetryInterval()const; void setRetryInterval(int retryInterval); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -61,6 +63,7 @@ namespace AlibabaCloud std::string failAct_; std::string runParameter_; int retryInterval_; + std::string resourceGroupId_; std::string regionId_; std::string name_; int maxRetry_; diff --git a/emr/include/alibabacloud/emr/model/CreateNavNodeRequest.h b/emr/include/alibabacloud/emr/model/CreateLibraryRequest.h similarity index 60% rename from emr/include/alibabacloud/emr/model/CreateNavNodeRequest.h rename to emr/include/alibabacloud/emr/model/CreateLibraryRequest.h index 457a2764c..2c392a730 100644 --- a/emr/include/alibabacloud/emr/model/CreateNavNodeRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateLibraryRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_ #include #include @@ -28,45 +28,48 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateNavNodeRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT CreateLibraryRequest : public RpcServiceRequest { public: - CreateNavNodeRequest(); - ~CreateNavNodeRequest(); + CreateLibraryRequest(); + ~CreateLibraryRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); + std::string getLibraryVersion()const; + void setLibraryVersion(const std::string& libraryVersion); std::string getType()const; void setType(const std::string& type); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getCategoryType()const; - void setCategoryType(const std::string& categoryType); - std::string getObjectId()const; - void setObjectId(const std::string& objectId); - std::string getParentId()const; - void setParentId(const std::string& parentId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getScope()const; + void setScope(const std::string& scope); + std::string getName()const; + void setName(const std::string& name); + std::string getSourceType()const; + void setSourceType(const std::string& sourceType); + std::string getProperties()const; + void setProperties(const std::string& properties); + std::string getSourceLocation()const; + void setSourceLocation(const std::string& sourceLocation); private: long resourceOwnerId_; - std::string regionId_; - std::string name_; + std::string libraryVersion_; std::string type_; - std::string projectId_; - std::string categoryType_; - std::string objectId_; - std::string parentId_; std::string accessKeyId_; + std::string regionId_; + std::string scope_; + std::string name_; + std::string sourceType_; + std::string properties_; + std::string sourceLocation_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListNavSubTreeResult.h b/emr/include/alibabacloud/emr/model/CreateLibraryResult.h similarity index 73% rename from emr/include/alibabacloud/emr/model/ListNavSubTreeResult.h rename to emr/include/alibabacloud/emr/model/CreateLibraryResult.h index 5bf22748d..ed9928a20 100644 --- a/emr/include/alibabacloud/emr/model/ListNavSubTreeResult.h +++ b/emr/include/alibabacloud/emr/model/CreateLibraryResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListNavSubTreeResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT CreateLibraryResult : public ServiceResult { public: - ListNavSubTreeResult(); - explicit ListNavSubTreeResult(const std::string &payload); - ~ListNavSubTreeResult(); + CreateLibraryResult(); + explicit CreateLibraryResult(const std::string &payload); + ~CreateLibraryResult(); std::string getData()const; protected: @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h b/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h index b2bcce635..53d850444 100644 --- a/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateMetaTablePreviewTaskRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getPassword()const; void setPassword(const std::string& password); std::string getRegionId()const; @@ -56,6 +58,7 @@ namespace AlibabaCloud long resourceOwnerId_; std::string clusterId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string password_; std::string regionId_; std::string tableId_; diff --git a/emr/include/alibabacloud/emr/model/CreateNavNodeResult.h b/emr/include/alibabacloud/emr/model/CreateNavNodeResult.h deleted file mode 100644 index f6fe1e327..000000000 --- a/emr/include/alibabacloud/emr/model/CreateNavNodeResult.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_CREATENAVNODERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATENAVNODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateNavNodeResult : public ServiceResult - { - public: - - - CreateNavNodeResult(); - explicit CreateNavNodeResult(const std::string &payload); - ~CreateNavNodeResult(); - std::string getId()const; - - protected: - void parse(const std::string &payload); - private: - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATENAVNODERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateNoteRequest.h b/emr/include/alibabacloud/emr/model/CreateNoteRequest.h index a08b7be64..c4bf0f43a 100644 --- a/emr/include/alibabacloud/emr/model/CreateNoteRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateNoteRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud 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 getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -53,6 +55,7 @@ namespace AlibabaCloud std::string clusterId_; std::string type_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string name_; diff --git a/emr/include/alibabacloud/emr/model/ModifyAlertUserGroupRequest.h b/emr/include/alibabacloud/emr/model/CreateScalingGroupV2Request.h similarity index 70% rename from emr/include/alibabacloud/emr/model/ModifyAlertUserGroupRequest.h rename to emr/include/alibabacloud/emr/model/CreateScalingGroupV2Request.h index d096e0ce3..96dfa8a51 100644 --- a/emr/include/alibabacloud/emr/model/ModifyAlertUserGroupRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateScalingGroupV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2REQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyAlertUserGroupRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT CreateScalingGroupV2Request : public RpcServiceRequest { public: - ModifyAlertUserGroupRequest(); - ~ModifyAlertUserGroupRequest(); + CreateScalingGroupV2Request(); + ~CreateScalingGroupV2Request(); - std::string getUserList()const; - void setUserList(const std::string& userList); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getDescription()const; void setDescription(const std::string& description); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::string getBizId()const; - void setBizId(const std::string& bizId); + std::string getHostGroupId()const; + void setHostGroupId(const std::string& hostGroupId); std::string getName()const; void setName(const std::string& name); private: - std::string userList_; long resourceOwnerId_; std::string description_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; - std::string bizId_; + std::string hostGroupId_; std::string name_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateAlertUserGroupResult.h b/emr/include/alibabacloud/emr/model/CreateScalingGroupV2Result.h similarity index 68% rename from emr/include/alibabacloud/emr/model/CreateAlertUserGroupResult.h rename to emr/include/alibabacloud/emr/model/CreateScalingGroupV2Result.h index 4a47c3fec..0e701a42b 100644 --- a/emr/include/alibabacloud/emr/model/CreateAlertUserGroupResult.h +++ b/emr/include/alibabacloud/emr/model/CreateScalingGroupV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2RESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateAlertUserGroupResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT CreateScalingGroupV2Result : public ServiceResult { public: - CreateAlertUserGroupResult(); - explicit CreateAlertUserGroupResult(const std::string &payload); - ~CreateAlertUserGroupResult(); - long getId()const; + CreateScalingGroupV2Result(); + explicit CreateScalingGroupV2Result(const std::string &payload); + ~CreateScalingGroupV2Result(); + std::string getData()const; protected: void parse(const std::string &payload); private: - long id_; + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h index 0803aa61b..a6bdf1656 100644 --- a/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h +++ b/emr/include/alibabacloud/emr/model/CreateScalingRuleRequest.h @@ -63,12 +63,16 @@ namespace AlibabaCloud void setCloudWatchTrigger(const std::vector& cloudWatchTrigger); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + long getTimeoutWithGrace()const; + void setTimeoutWithGrace(long timeoutWithGrace); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getCooldown()const; void setCooldown(int cooldown); std::string getLaunchTime()const; void setLaunchTime(const std::string& launchTime); + bool getWithGrace()const; + void setWithGrace(bool withGrace); std::string getRuleCategory()const; void setRuleCategory(const std::string& ruleCategory); int getAdjustmentValue()const; @@ -94,9 +98,11 @@ namespace AlibabaCloud std::string recurrenceEndTime_; std::vector cloudWatchTrigger_; std::string accessKeyId_; + long timeoutWithGrace_; std::string regionId_; int cooldown_; std::string launchTime_; + bool withGrace_; std::string ruleCategory_; int adjustmentValue_; std::string adjustmentType_; diff --git a/emr/include/alibabacloud/emr/model/CreateScalingTaskGroupRequest.h b/emr/include/alibabacloud/emr/model/CreateScalingTaskGroupRequest.h deleted file mode 100644 index 782004300..000000000 --- a/emr/include/alibabacloud/emr/model/CreateScalingTaskGroupRequest.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATESCALINGTASKGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateScalingTaskGroupRequest : public RpcServiceRequest - { - struct SpotPriceLimits - { - std::string instanceType; - float priceLimit; - }; - struct ScalingRule - { - std::string launchTime; - std::string ruleCategory; - int adjustmentValue; - RepeatList schedulerTrigger; - std::string adjustmentType; - int cooldown; - std::string ruleName; - int launchExpirationTime; - std::string recurrenceValue; - std::string recurrenceEndTime; - RepeatList cloudWatchTrigger; - std::string recurrenceType; - }; - - public: - CreateScalingTaskGroupRequest(); - ~CreateScalingTaskGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDataDiskCategory()const; - void setDataDiskCategory(const std::string& dataDiskCategory); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getMinSize()const; - void setMinSize(int minSize); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSpotStrategy()const; - void setSpotStrategy(const std::string& spotStrategy); - int getDataDiskSize()const; - void setDataDiskSize(int dataDiskSize); - std::vector getSpotPriceLimits()const; - void setSpotPriceLimits(const std::vector& spotPriceLimits); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getScalingRule()const; - void setScalingRule(const std::vector& scalingRule); - std::string getActiveRuleCategory()const; - void setActiveRuleCategory(const std::string& activeRuleCategory); - int getMaxSize()const; - void setMaxSize(int maxSize); - int getDataDiskCount()const; - void setDataDiskCount(int dataDiskCount); - int getDefaultCooldown()const; - void setDefaultCooldown(int defaultCooldown); - std::string getPayType()const; - void setPayType(const std::string& payType); - std::vector getInstanceTypeList()const; - void setInstanceTypeList(const std::vector& instanceTypeList); - - private: - long resourceOwnerId_; - std::string dataDiskCategory_; - std::string clusterId_; - int minSize_; - std::string accessKeyId_; - std::string spotStrategy_; - int dataDiskSize_; - std::vector spotPriceLimits_; - std::string regionId_; - std::vector scalingRule_; - std::string activeRuleCategory_; - int maxSize_; - int dataDiskCount_; - int defaultCooldown_; - std::string payType_; - std::vector instanceTypeList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateScalingTaskGroupResult.h b/emr/include/alibabacloud/emr/model/CreateScalingTaskGroupResult.h deleted file mode 100644 index d4f52bcd2..000000000 --- a/emr/include/alibabacloud/emr/model/CreateScalingTaskGroupResult.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_CREATESCALINGTASKGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateScalingTaskGroupResult : public ServiceResult - { - public: - - - CreateScalingTaskGroupResult(); - explicit CreateScalingTaskGroupResult(const std::string &payload); - ~CreateScalingTaskGroupResult(); - std::string getHostGroupId()const; - - protected: - void parse(const std::string &payload); - private: - std::string hostGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserGroupRequest.h b/emr/include/alibabacloud/emr/model/CreateUserGroupRequest.h deleted file mode 100644 index a5f7b36e8..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserGroupRequest.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_CREATEUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserGroupRequest : public RpcServiceRequest - { - - public: - CreateUserGroupRequest(); - ~CreateUserGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::vector getRoleIdList()const; - void setRoleIdList(const std::vector& roleIdList); - - private: - long resourceOwnerId_; - std::string description_; - std::string type_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - std::vector roleIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserGroupResult.h b/emr/include/alibabacloud/emr/model/CreateUserGroupResult.h deleted file mode 100644 index 2510ad352..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserGroupResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserGroupResult : public ServiceResult - { - public: - - - CreateUserGroupResult(); - explicit CreateUserGroupResult(const std::string &payload); - ~CreateUserGroupResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserPasswordRequest.h b/emr/include/alibabacloud/emr/model/CreateUserPasswordRequest.h deleted file mode 100644 index b504c011e..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserPasswordRequest.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserPasswordRequest : public RpcServiceRequest - { - struct UserInfo - { - std::string type; - std::string groupName; - std::string userId; - std::string userName; - }; - - public: - CreateUserPasswordRequest(); - ~CreateUserPasswordRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::vector getUserInfo()const; - void setUserInfo(const std::vector& userInfo); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string password_; - std::string regionId_; - std::string clusterId_; - std::vector userInfo_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserStatisticsRequest.h b/emr/include/alibabacloud/emr/model/CreateUserStatisticsRequest.h deleted file mode 100644 index fb498892f..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserStatisticsRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEUSERSTATISTICSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserStatisticsRequest : public RpcServiceRequest - { - - public: - CreateUserStatisticsRequest(); - ~CreateUserStatisticsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserStatisticsResult.h b/emr/include/alibabacloud/emr/model/CreateUserStatisticsResult.h deleted file mode 100644 index 145687ccd..000000000 --- a/emr/include/alibabacloud/emr/model/CreateUserStatisticsResult.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_CREATEUSERSTATISTICSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT CreateUserStatisticsResult : public ServiceResult - { - public: - - - CreateUserStatisticsResult(); - explicit CreateUserStatisticsResult(const std::string &payload); - ~CreateUserStatisticsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoRequest.h b/emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoRequest.h rename to emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h index fa6e7142c..b3167ab48 100644 --- a/emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoRequest.h +++ b/emr/include/alibabacloud/emr/model/DecommissionHostComponentRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFOREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_ #include #include @@ -28,36 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListSlsLogstoreInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentRequest : public RpcServiceRequest { public: - ListSlsLogstoreInfoRequest(); - ~ListSlsLogstoreInfoRequest(); + DecommissionHostComponentRequest(); + ~DecommissionHostComponentRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); + std::string getHostInstanceId()const; + void setHostInstanceId(const std::string& hostInstanceId); std::string getComponentName()const; void setComponentName(const std::string& componentName); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); std::string getClusterId()const; void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + long getTimeoutSeconds()const; + void setTimeoutSeconds(long timeoutSeconds); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getServiceName()const; + void setServiceName(const std::string& serviceName); private: long resourceOwnerId_; - std::string regionId_; + std::string hostInstanceId_; std::string componentName_; - std::string serviceName_; std::string clusterId_; std::string accessKeyId_; + long timeoutSeconds_; + std::string regionId_; + std::string serviceName_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddClusterServiceForAdminResult.h b/emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/AddClusterServiceForAdminResult.h rename to emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h index b2b9a2559..2adf6e284 100644 --- a/emr/include/alibabacloud/emr/model/AddClusterServiceForAdminResult.h +++ b/emr/include/alibabacloud/emr/model/DecommissionHostComponentResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT AddClusterServiceForAdminResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentResult : public ServiceResult { public: - AddClusterServiceForAdminResult(); - explicit AddClusterServiceForAdminResult(const std::string &payload); - ~AddClusterServiceForAdminResult(); + DecommissionHostComponentResult(); + explicit DecommissionHostComponentResult(const std::string &payload); + ~DecommissionHostComponentResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteAlertContactsRequest.h b/emr/include/alibabacloud/emr/model/DeleteAlertContactsRequest.h deleted file mode 100644 index 95ea2f1f8..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteAlertContactsRequest.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_DELETEALERTCONTACTSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteAlertContactsRequest : public RpcServiceRequest - { - - public: - DeleteAlertContactsRequest(); - ~DeleteAlertContactsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getIds()const; - void setIds(const std::string& ids); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string ids_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteAlertContactsResult.h b/emr/include/alibabacloud/emr/model/DeleteAlertContactsResult.h deleted file mode 100644 index 9ba37ce6a..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteAlertContactsResult.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_DELETEALERTCONTACTSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteAlertContactsResult : public ServiceResult - { - public: - - - DeleteAlertContactsResult(); - explicit DeleteAlertContactsResult(const std::string &payload); - ~DeleteAlertContactsResult(); - bool getDone()const; - - protected: - void parse(const std::string &payload); - private: - bool done_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersResult.h b/emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersResult.h deleted file mode 100644 index 886603ba4..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteBatchResourceUsersResult : public ServiceResult - { - public: - - - DeleteBatchResourceUsersResult(); - explicit DeleteBatchResourceUsersResult(const std::string &payload); - ~DeleteBatchResourceUsersResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteClusterScriptRequest.h b/emr/include/alibabacloud/emr/model/DeleteClusterScriptRequest.h deleted file mode 100644 index 37a03d335..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteClusterScriptRequest.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_DELETECLUSTERSCRIPTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERSCRIPTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteClusterScriptRequest : public RpcServiceRequest - { - - public: - DeleteClusterScriptRequest(); - ~DeleteClusterScriptRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETECLUSTERSCRIPTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteClusterScriptResult.h b/emr/include/alibabacloud/emr/model/DeleteClusterScriptResult.h deleted file mode 100644 index 016c726b1..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteClusterScriptResult.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_DELETECLUSTERSCRIPTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERSCRIPTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteClusterScriptResult : public ServiceResult - { - public: - - - DeleteClusterScriptResult(); - explicit DeleteClusterScriptResult(const std::string &payload); - ~DeleteClusterScriptResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETECLUSTERSCRIPTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h b/emr/include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h index 9e376afcd..6c7dbdb78 100644 --- a/emr/include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/DeleteClusterTemplateRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getBizId()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string bizId_; diff --git a/emr/include/alibabacloud/emr/model/DeleteETLJobRequest.h b/emr/include/alibabacloud/emr/model/DeleteETLJobRequest.h deleted file mode 100644 index c95b5d891..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteETLJobRequest.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_DELETEETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEETLJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteETLJobRequest : public RpcServiceRequest - { - - public: - DeleteETLJobRequest(); - ~DeleteETLJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEETLJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteETLJobResult.h b/emr/include/alibabacloud/emr/model/DeleteETLJobResult.h deleted file mode 100644 index c20b095da..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteETLJobResult.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_DELETEETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteETLJobResult : public ServiceResult - { - public: - - - DeleteETLJobResult(); - explicit DeleteETLJobResult(const std::string &payload); - ~DeleteETLJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdRequest.h b/emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdRequest.h deleted file mode 100644 index da76ec456..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdRequest.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_DELETEFLOWPROJECTBYIDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEFLOWPROJECTBYIDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteFlowProjectByIdRequest : public RpcServiceRequest - { - - public: - DeleteFlowProjectByIdRequest(); - ~DeleteFlowProjectByIdRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - - private: - std::string regionId_; - std::string projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEFLOWPROJECTBYIDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdResult.h b/emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdResult.h deleted file mode 100644 index 41f4c11e6..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteFlowProjectByIdResult.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_DELETEFLOWPROJECTBYIDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEFLOWPROJECTBYIDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteFlowProjectByIdResult : public ServiceResult - { - public: - - - DeleteFlowProjectByIdResult(); - explicit DeleteFlowProjectByIdResult(const std::string &payload); - ~DeleteFlowProjectByIdResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEFLOWPROJECTBYIDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteHostPoolResult.h b/emr/include/alibabacloud/emr/model/DeleteHostPoolResult.h deleted file mode 100644 index 925be47b6..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteHostPoolResult.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_DELETEHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteHostPoolResult : public ServiceResult - { - public: - - - DeleteHostPoolResult(); - explicit DeleteHostPoolResult(const std::string &payload); - ~DeleteHostPoolResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteJobRequest.h b/emr/include/alibabacloud/emr/model/DeleteJobRequest.h index c91bc78a3..9a06293df 100644 --- a/emr/include/alibabacloud/emr/model/DeleteJobRequest.h +++ b/emr/include/alibabacloud/emr/model/DeleteJobRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getId()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string id_; diff --git a/emr/include/alibabacloud/emr/model/QueryAlarmRulesRequest.h b/emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h similarity index 71% rename from emr/include/alibabacloud/emr/model/QueryAlarmRulesRequest.h rename to emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h index 382db3bd2..ba0d19063 100644 --- a/emr/include/alibabacloud/emr/model/QueryAlarmRulesRequest.h +++ b/emr/include/alibabacloud/emr/model/DeleteLibrariesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_ #include #include @@ -28,30 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT QueryAlarmRulesRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesRequest : public RpcServiceRequest { public: - QueryAlarmRulesRequest(); - ~QueryAlarmRulesRequest(); + DeleteLibrariesRequest(); + ~DeleteLibrariesRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::vector getLibraryBizIdList()const; + void setLibraryBizIdList(const std::vector& libraryBizIdList); private: long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; std::string accessKeyId_; + std::string regionId_; + std::vector libraryBizIdList_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillFlowResult.h b/emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h similarity index 72% rename from emr/include/alibabacloud/emr/model/KillFlowResult.h rename to emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h index 579a17ef0..3abbe804e 100644 --- a/emr/include/alibabacloud/emr/model/KillFlowResult.h +++ b/emr/include/alibabacloud/emr/model/DeleteLibrariesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_KILLFLOWRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLFLOWRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT KillFlowResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesResult : public ServiceResult { public: - KillFlowResult(); - explicit KillFlowResult(const std::string &payload); - ~KillFlowResult(); + DeleteLibrariesResult(); + explicit DeleteLibrariesResult(const std::string &payload); + ~DeleteLibrariesResult(); bool getData()const; protected: @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_KILLFLOWRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteNavNodeRequest.h b/emr/include/alibabacloud/emr/model/DeleteNavNodeRequest.h deleted file mode 100644 index ca82d5e22..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteNavNodeRequest.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_DELETENAVNODEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETENAVNODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteNavNodeRequest : public RpcServiceRequest - { - - public: - DeleteNavNodeRequest(); - ~DeleteNavNodeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string projectId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETENAVNODEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteNavNodeResult.h b/emr/include/alibabacloud/emr/model/DeleteNavNodeResult.h deleted file mode 100644 index be24caaf3..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteNavNodeResult.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_DELETENAVNODERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETENAVNODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteNavNodeResult : public ServiceResult - { - public: - - - DeleteNavNodeResult(); - explicit DeleteNavNodeResult(const std::string &payload); - ~DeleteNavNodeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETENAVNODERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteNoteRequest.h b/emr/include/alibabacloud/emr/model/DeleteNoteRequest.h index 83acc652f..3c99cb3de 100644 --- a/emr/include/alibabacloud/emr/model/DeleteNoteRequest.h +++ b/emr/include/alibabacloud/emr/model/DeleteNoteRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getId()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string id_; diff --git a/emr/include/alibabacloud/emr/model/DeleteParagraphRequest.h b/emr/include/alibabacloud/emr/model/DeleteParagraphRequest.h deleted file mode 100644 index 834b6fbd0..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteParagraphRequest.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_DELETEPARAGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteParagraphRequest : public RpcServiceRequest - { - - public: - DeleteParagraphRequest(); - ~DeleteParagraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string noteId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteParagraphResult.h b/emr/include/alibabacloud/emr/model/DeleteParagraphResult.h deleted file mode 100644 index 6439257c9..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteParagraphResult.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_DELETEPARAGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteParagraphResult : public ServiceResult - { - public: - - - DeleteParagraphResult(); - explicit DeleteParagraphResult(const std::string &payload); - ~DeleteParagraphResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteResourceUserRequest.h b/emr/include/alibabacloud/emr/model/DeleteResourceUserRequest.h deleted file mode 100644 index 850ab4340..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteResourceUserRequest.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_DELETERESOURCEUSERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteResourceUserRequest : public RpcServiceRequest - { - - public: - DeleteResourceUserRequest(); - ~DeleteResourceUserRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - 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 getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteResourceUserResult.h b/emr/include/alibabacloud/emr/model/DeleteResourceUserResult.h deleted file mode 100644 index 9384a6670..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteResourceUserResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteResourceUserResult : public ServiceResult - { - public: - - - DeleteResourceUserResult(); - explicit DeleteResourceUserResult(const std::string &payload); - ~DeleteResourceUserResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupRequest.h b/emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupRequest.h deleted file mode 100644 index ca3da883d..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupRequest.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_DELETESCALINGTASKGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteScalingTaskGroupRequest : public RpcServiceRequest - { - - public: - DeleteScalingTaskGroupRequest(); - ~DeleteScalingTaskGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string hostGroupId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupResult.h b/emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupResult.h deleted file mode 100644 index 3617bd0f0..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteScalingTaskGroupResult.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_DELETESCALINGTASKGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteScalingTaskGroupResult : public ServiceResult - { - public: - - - DeleteScalingTaskGroupResult(); - explicit DeleteScalingTaskGroupResult(const std::string &payload); - ~DeleteScalingTaskGroupResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteUserGroupRequest.h b/emr/include/alibabacloud/emr/model/DeleteUserGroupRequest.h deleted file mode 100644 index f3a3c8575..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteUserGroupRequest.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_DELETEUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteUserGroupRequest : public RpcServiceRequest - { - - public: - DeleteUserGroupRequest(); - ~DeleteUserGroupRequest(); - - 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); - long getGroupId()const; - void setGroupId(long groupId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - long groupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteUserGroupResult.h b/emr/include/alibabacloud/emr/model/DeleteUserGroupResult.h deleted file mode 100644 index c4bf42a1e..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteUserGroupResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteUserGroupResult : public ServiceResult - { - public: - - - DeleteUserGroupResult(); - explicit DeleteUserGroupResult(const std::string &payload); - ~DeleteUserGroupResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteUserResourceRoleRequest.h b/emr/include/alibabacloud/emr/model/DeleteUserResourceRoleRequest.h deleted file mode 100644 index 314d055a1..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteUserResourceRoleRequest.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_DELETEUSERRESOURCEROLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEUSERRESOURCEROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteUserResourceRoleRequest : public RpcServiceRequest - { - - public: - DeleteUserResourceRoleRequest(); - ~DeleteUserResourceRoleRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - long getRoleId()const; - void setRoleId(long roleId); - 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 getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - - private: - long resourceOwnerId_; - std::string resourceId_; - long roleId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERRESOURCEROLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteUserResourceRoleResult.h b/emr/include/alibabacloud/emr/model/DeleteUserResourceRoleResult.h deleted file mode 100644 index b9ff728e0..000000000 --- a/emr/include/alibabacloud/emr/model/DeleteUserResourceRoleResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEUSERRESOURCEROLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEUSERRESOURCEROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DeleteUserResourceRoleResult : public ServiceResult - { - public: - - - DeleteUserResourceRoleResult(); - explicit DeleteUserResourceRoleResult(const std::string &payload); - ~DeleteUserResourceRoleResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERRESOURCEROLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeRequest.h b/emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeRequest.h deleted file mode 100644 index 2ccd9e8f2..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeRequest.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_DESCRIBEAVAILABLEINSTANCETYPEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEAVAILABLEINSTANCETYPEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeAvailableInstanceTypeRequest : public RpcServiceRequest - { - - public: - DescribeAvailableInstanceTypeRequest(); - ~DescribeAvailableInstanceTypeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEAVAILABLEINSTANCETYPEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeResult.h b/emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeResult.h deleted file mode 100644 index 2659d5cfe..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeAvailableInstanceTypeResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEAVAILABLEINSTANCETYPERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEAVAILABLEINSTANCETYPERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeAvailableInstanceTypeResult : public ServiceResult - { - public: - struct EmrSupportInstanceType - { - struct ClusterNodeTypeSupportInfo - { - std::vector supportInstanceTypeList; - std::string clusterNodeType; - }; - std::vector nodeTypeSupportInfoList; - std::string clusterType; - }; - - - DescribeAvailableInstanceTypeResult(); - explicit DescribeAvailableInstanceTypeResult(const std::string &payload); - ~DescribeAvailableInstanceTypeResult(); - std::vector getEmrSupportedInstanceTypeList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector emrSupportedInstanceTypeList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEAVAILABLEINSTANCETYPERESULT_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 baef167cf..a8b356f9c 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterBasicInfoResult.h @@ -93,8 +93,10 @@ namespace AlibabaCloud std::vector bootstrapActionList; bool resizeDiskEnable; FailReason failReason; + std::string k8sClusterId; std::string name; bool highAvailabilityEnable; + std::string autoScalingVersion; long expiredTime; std::string createType; std::string imageId; @@ -120,6 +122,7 @@ namespace AlibabaCloud RelateClusterInfo relateClusterInfo; std::string relateClusterId; bool autoScalingByLoadAllowed; + bool autoScalingWithGraceAllowed; int coreNodeTotal; std::string configurations; std::string netType; @@ -128,10 +131,12 @@ namespace AlibabaCloud bool ioOptimized; std::string zoneId; std::string clusterId; + std::string operationId; std::string securityGroupId; std::string machineType; int taskNodeTotal; AccessInfo accessInfo; + std::string extraInfo; int masterNodeTotal; std::string userId; std::string chargeType; diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterOpLogRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterOpLogRequest.h deleted file mode 100644 index 2cd787acd..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterOpLogRequest.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_DESCRIBECLUSTEROPLOGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTEROPLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterOpLogRequest : public RpcServiceRequest - { - - public: - DescribeClusterOpLogRequest(); - ~DescribeClusterOpLogRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - long getEndTime()const; - void setEndTime(long endTime); - std::string getId()const; - void setId(const std::string& id); - long getStartTime()const; - void setStartTime(long startTime); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - long endTime_; - std::string id_; - long startTime_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTEROPLOGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterOpLogResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterOpLogResult.h deleted file mode 100644 index eb98063a6..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterOpLogResult.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_DESCRIBECLUSTEROPLOGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTEROPLOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterOpLogResult : public ServiceResult - { - public: - struct ChangeLog - { - std::string status; - std::string gmtCreate; - std::string message; - std::string changeType; - std::string gmtModified; - std::string targetType; - long id; - std::string targetKey; - }; - - - DescribeClusterOpLogResult(); - explicit DescribeClusterOpLogResult(const std::string &payload); - ~DescribeClusterOpLogResult(); - std::string getPageSize()const; - std::string getPageNumber()const; - std::string getTotal()const; - std::vector getChangeLogList()const; - - protected: - void parse(const std::string &payload); - private: - std::string pageSize_; - std::string pageNumber_; - std::string total_; - std::vector changeLogList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTEROPLOGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.h deleted file mode 100644 index f6e4abb90..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.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_DESCRIBECLUSTERRESOURCEPOOLSCHEDULERTYPEFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERRESOURCEPOOLSCHEDULERTYPEFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterResourcePoolSchedulerTypeForAdminRequest : public RpcServiceRequest - { - - public: - DescribeClusterResourcePoolSchedulerTypeForAdminRequest(); - ~DescribeClusterResourcePoolSchedulerTypeForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERRESOURCEPOOLSCHEDULERTYPEFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.h deleted file mode 100644 index 92da919c9..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERRESOURCEPOOLSCHEDULERTYPEFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERRESOURCEPOOLSCHEDULERTYPEFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterResourcePoolSchedulerTypeForAdminResult : public ServiceResult - { - public: - - - DescribeClusterResourcePoolSchedulerTypeForAdminResult(); - explicit DescribeClusterResourcePoolSchedulerTypeForAdminResult(const std::string &payload); - ~DescribeClusterResourcePoolSchedulerTypeForAdminResult(); - std::string getCurrentSchedulerType()const; - std::string getSupportSchedulerType()const; - std::string getDefaultSchedulerType()const; - - protected: - void parse(const std::string &payload); - private: - std::string currentSchedulerType_; - std::string supportSchedulerType_; - std::string defaultSchedulerType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERRESOURCEPOOLSCHEDULERTYPEFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterScriptRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterScriptRequest.h deleted file mode 100644 index 19f383657..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterScriptRequest.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_DESCRIBECLUSTERSCRIPTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSCRIPTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterScriptRequest : public RpcServiceRequest - { - - public: - DescribeClusterScriptRequest(); - ~DescribeClusterScriptRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSCRIPTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminRequest.h deleted file mode 100644 index 1bf2ab82e..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminRequest.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_DESCRIBECLUSTERSERVICECONFIGFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigForAdminRequest : public RpcServiceRequest - { - - public: - DescribeClusterServiceConfigForAdminRequest(); - ~DescribeClusterServiceConfigForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostInstanceId()const; - void setHostInstanceId(const std::string& hostInstanceId); - std::string getTagValue()const; - void setTagValue(const std::string& tagValue); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getConfigVersion()const; - void setConfigVersion(const std::string& configVersion); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - long resourceOwnerId_; - std::string hostInstanceId_; - std::string tagValue_; - std::string groupId_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string configVersion_; - std::string regionId_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminResult.h deleted file mode 100644 index c2d4c71cf..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigForAdminResult.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESCRIBECLUSTERSERVICECONFIGFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigForAdminResult : public ServiceResult - { - public: - struct Config - { - struct ConfigValue - { - struct ConfigItemValue - { - std::string description; - bool isCustom; - std::string value; - std::string itemName; - }; - std::string configName; - bool allowCustom; - std::vector configItemValueList; - }; - struct PropertyInfo - { - struct PropertyValueAttributes - { - struct ValueEntryInfo - { - std::string description; - std::string value; - std::string label; - }; - bool readOnly; - std::string type; - std::string maximum; - std::string mimimum; - bool hidden; - std::vector entries; - std::string incrememtStep; - std::string unit; - }; - struct EffectWay - { - std::string invokeServiceName; - std::string effectType; - }; - std::vector propertyTypes; - std::string description; - PropertyValueAttributes propertyValueAttributes; - std::string serviceName; - EffectWay effectWay; - std::string fileName; - std::string value; - std::string displayName; - std::string component; - std::string name; - }; - std::string comment; - std::string serviceName; - std::vector propertyInfoList; - std::string configVersion; - std::string createTime; - std::string author; - std::vector configValueList; - std::string applied; - }; - - - DescribeClusterServiceConfigForAdminResult(); - explicit DescribeClusterServiceConfigForAdminResult(const std::string &payload); - ~DescribeClusterServiceConfigForAdminResult(); - Config getConfig()const; - - protected: - void parse(const std::string &payload); - private: - Config config_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h index 52ff63124..179854863 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigResult.h @@ -44,7 +44,9 @@ namespace AlibabaCloud std::string itemName; }; std::string configName; + std::string scope; bool allowCustom; + long scopeId; std::vector configItemValueList; }; struct PropertyInfo diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminRequest.h deleted file mode 100644 index 86a900bf6..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminRequest.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_DESCRIBECLUSTERSERVICECONFIGTAGFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGTAGFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigTagForAdminRequest : public RpcServiceRequest - { - - public: - DescribeClusterServiceConfigTagForAdminRequest(); - ~DescribeClusterServiceConfigTagForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - 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); - std::string getConfigTag()const; - void setConfigTag(const std::string& configTag); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - std::string configTag_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGTAGFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminResult.h deleted file mode 100644 index 3363fc85c..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterServiceConfigTagForAdminResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGTAGFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGTAGFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterServiceConfigTagForAdminResult : public ServiceResult - { - public: - struct ConfigTag - { - struct Value - { - std::string valueDesc; - std::string value; - }; - std::vector valueList; - std::string tagDesc; - std::string tag; - }; - - - DescribeClusterServiceConfigTagForAdminResult(); - explicit DescribeClusterServiceConfigTagForAdminResult(const std::string &payload); - ~DescribeClusterServiceConfigTagForAdminResult(); - std::vector getConfigTagList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector configTagList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSERVICECONFIGTAGFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterStatisticsRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterStatisticsRequest.h deleted file mode 100644 index b5e182c40..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterStatisticsRequest.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_DESCRIBECLUSTERSTATISTICSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSTATISTICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterStatisticsRequest : public RpcServiceRequest - { - - public: - DescribeClusterStatisticsRequest(); - ~DescribeClusterStatisticsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getStrategy()const; - void setStrategy(const std::string& strategy); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string strategy_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterStatisticsResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterStatisticsResult.h deleted file mode 100644 index 513f51cfd..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeClusterStatisticsResult.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_DESCRIBECLUSTERSTATISTICSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterStatisticsResult : public ServiceResult - { - public: - struct ClusterStatistics - { - std::string clusterType; - int count; - std::string clusterStatus; - }; - - - DescribeClusterStatisticsResult(); - explicit DescribeClusterStatisticsResult(const std::string &payload); - ~DescribeClusterStatisticsResult(); - int getTotalCount()const; - std::vector getClusterStatisticsList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - std::vector clusterStatisticsList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h b/emr/include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h index 87e71f35a..f0327ae39 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterTemplateRequest.h @@ -39,12 +39,15 @@ namespace AlibabaCloud 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 getBizId()const; void setBizId(const std::string& bizId); private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string bizId_; }; diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterTemplateResult.h b/emr/include/alibabacloud/emr/model/DescribeClusterTemplateResult.h index 9610c4f8e..4f751e4cd 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterTemplateResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterTemplateResult.h @@ -65,6 +65,11 @@ namespace AlibabaCloud std::string fileName; std::string encrypt; }; + struct Tag + { + std::string tagKey; + std::string tagValue; + }; std::string securityGroupName; std::vector bootstrapActionList; std::string createSource; @@ -79,6 +84,7 @@ namespace AlibabaCloud bool allowNotebook; std::string userDefinedEmrEcsRole; std::string netType; + std::vector tags; bool initCustomHiveMetaDb; std::vector softwareInfoList; bool useLocalMetaDb; diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h b/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h index c1908e673..964473653 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h +++ b/emr/include/alibabacloud/emr/model/DescribeClusterV2Result.h @@ -141,8 +141,10 @@ namespace AlibabaCloud std::vector bootstrapActionList; bool resizeDiskEnable; FailReason failReason; + std::string k8sClusterId; std::string name; bool highAvailabilityEnable; + std::string autoScalingVersion; long expiredTime; std::string createType; std::string imageId; @@ -170,6 +172,7 @@ namespace AlibabaCloud RelateClusterInfo relateClusterInfo; std::string relateClusterId; bool autoScalingByLoadAllowed; + bool autoScalingWithGraceAllowed; int coreNodeTotal; std::string configurations; std::string netType; @@ -181,6 +184,7 @@ namespace AlibabaCloud std::string machineType; int taskNodeTotal; AccessInfo accessInfo; + std::string extraInfo; int masterNodeTotal; std::string userId; std::string chargeType; diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceCommandRequest.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceCommandRequest.h deleted file mode 100644 index b8912ee2c..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceCommandRequest.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_DESCRIBEDATASOURCECOMMANDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCECOMMANDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceCommandRequest : public RpcServiceRequest - { - - public: - DescribeDataSourceCommandRequest(); - ~DescribeDataSourceCommandRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCECOMMANDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceCommandResult.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceCommandResult.h deleted file mode 100644 index ea0c14791..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceCommandResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCECOMMANDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCECOMMANDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceCommandResult : public ServiceResult - { - public: - struct Host - { - long endTime; - std::string message; - std::string state; - long startTime; - std::string data; - std::string hostName; - }; - - - DescribeDataSourceCommandResult(); - explicit DescribeDataSourceCommandResult(const std::string &payload); - ~DescribeDataSourceCommandResult(); - long getEndTime()const; - std::string getMessage()const; - std::string getState()const; - long getStartTime()const; - std::vector getHostList()const; - std::string getData()const; - std::string getCommandId()const; - std::string getHostName()const; - - protected: - void parse(const std::string &payload); - private: - long endTime_; - std::string message_; - std::string state_; - long startTime_; - std::vector hostList_; - std::string data_; - std::string commandId_; - std::string hostName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCECOMMANDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h index de7ac3086..505dfe18d 100644 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeDataSourceRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getId()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string id_; diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseRequest.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseRequest.h deleted file mode 100644 index 01d25e47f..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseRequest.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_DESCRIBEDATASOURCESCHEMADATABASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMADATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceSchemaDatabaseRequest : public RpcServiceRequest - { - - public: - DescribeDataSourceSchemaDatabaseRequest(); - ~DescribeDataSourceSchemaDatabaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string dataSourceId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMADATABASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseResult.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseResult.h deleted file mode 100644 index ae9303f6b..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaDatabaseResult.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_DESCRIBEDATASOURCESCHEMADATABASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMADATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceSchemaDatabaseResult : public ServiceResult - { - public: - struct Schema - { - std::string dbVersion; - std::string dbName; - std::string dbType; - }; - - - DescribeDataSourceSchemaDatabaseResult(); - explicit DescribeDataSourceSchemaDatabaseResult(const std::string &payload); - ~DescribeDataSourceSchemaDatabaseResult(); - Schema getSchema()const; - std::string getDataSourceId()const; - - protected: - void parse(const std::string &payload); - private: - Schema schema_; - std::string dataSourceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMADATABASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableRequest.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableRequest.h deleted file mode 100644 index 654c0fef1..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableRequest.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_DESCRIBEDATASOURCESCHEMATABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMATABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceSchemaTableRequest : public RpcServiceRequest - { - - public: - DescribeDataSourceSchemaTableRequest(); - ~DescribeDataSourceSchemaTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string dataSourceId_; - std::string tableName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMATABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableResult.h b/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableResult.h deleted file mode 100644 index ab3c3db4d..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeDataSourceSchemaTableResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMATABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMATABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeDataSourceSchemaTableResult : public ServiceResult - { - public: - struct Schema - { - struct Field - { - std::string type; - std::string length; - bool partitionKey; - int index; - std::string rawType; - std::string assignType; - std::string assignValue; - std::string name; - }; - std::string tableName; - std::vector fields; - std::string dbVersion; - std::string dbName; - std::string dbType; - }; - - - DescribeDataSourceSchemaTableResult(); - explicit DescribeDataSourceSchemaTableResult(const std::string &payload); - ~DescribeDataSourceSchemaTableResult(); - Schema getSchema()const; - std::string getDataSourceId()const; - - protected: - void parse(const std::string &payload); - private: - Schema schema_; - std::string dataSourceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEDATASOURCESCHEMATABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobInstanceRequest.h b/emr/include/alibabacloud/emr/model/DescribeETLJobInstanceRequest.h deleted file mode 100644 index ca19adbd7..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobInstanceRequest.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_DESCRIBEETLJOBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobInstanceRequest : public RpcServiceRequest - { - - public: - DescribeETLJobInstanceRequest(); - ~DescribeETLJobInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobInstanceResult.h b/emr/include/alibabacloud/emr/model/DescribeETLJobInstanceResult.h deleted file mode 100644 index af0ed293f..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobInstanceResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobInstanceResult : public ServiceResult - { - public: - struct TriggerHistory - { - std::string triggerType; - std::string fireState; - long fireTime; - std::string historyId; - std::string triggerId; - }; - struct Arguments - { - std::string value; - std::string key; - }; - struct Metrics - { - long recordsOut; - long vcores; - long memSize; - long totalTime; - std::string recordsRate; - long recordsIn; - long recordsError; - }; - struct FlowRelation - { - std::string flowJobId; - std::string flowJobInstanceId; - }; - struct StageInstance - { - long stageEndTime; - std::string id; - long stageStartTime; - std::string name; - }; - - - DescribeETLJobInstanceResult(); - explicit DescribeETLJobInstanceResult(const std::string &payload); - ~DescribeETLJobInstanceResult(); - std::string getTriggerUser()const; - Metrics getMetrics()const; - long getEndTime()const; - TriggerHistory getTriggerHistory()const; - std::string getInstanceStatus()const; - Arguments getArguments()const; - long getStartTime()const; - std::string getId()const; - std::vector getFlowRelationList()const; - std::vector getStageInstanceList()const; - std::string getEtlJobId()const; - - protected: - void parse(const std::string &payload); - private: - std::string triggerUser_; - Metrics metrics_; - long endTime_; - TriggerHistory triggerHistory_; - std::string instanceStatus_; - Arguments arguments_; - long startTime_; - std::string id_; - std::vector flowRelationList_; - std::vector stageInstanceList_; - std::string etlJobId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobRequest.h b/emr/include/alibabacloud/emr/model/DescribeETLJobRequest.h deleted file mode 100644 index a77e84f23..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobRequest.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_DESCRIBEETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobRequest : public RpcServiceRequest - { - - public: - DescribeETLJobRequest(); - ~DescribeETLJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobResult.h b/emr/include/alibabacloud/emr/model/DescribeETLJobResult.h deleted file mode 100644 index e5b010558..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobResult : public ServiceResult - { - public: - struct ClusterConfig - { - struct DriverResource - { - int vcores; - int memSize; - }; - struct ExecutorResource - { - int vcores; - int memSize; - }; - bool isOnDemand; - std::string userName; - DriverResource driverResource; - long sizeRate; - std::string clusterId; - std::string queue; - ExecutorResource executorResource; - long recordRate; - }; - struct AlertConfig - { - struct Item - { - std::vector alertUserGroupIdList; - bool enable; - std::string eventId; - std::vector alertDingDingGroupList; - }; - std::vector items; - }; - struct TriggerRule - { - long endTime; - long startTime; - bool enabled; - std::string cronExpr; - }; - struct Stage - { - std::string stageName; - std::string stageConf; - std::string stageType; - std::string stagePlugin; - }; - struct StageConnection - { - std::string port; - std::string from; - std::string to; - }; - - - DescribeETLJobResult(); - explicit DescribeETLJobResult(const std::string &payload); - ~DescribeETLJobResult(); - std::string getCategoryId()const; - std::string getDescription()const; - std::string getGraph()const; - AlertConfig getAlertConfig()const; - std::vector getStageConnectionList()const; - std::vector getStageList()const; - std::vector getTriggerRuleList()const; - std::string getId()const; - ClusterConfig getClusterConfig()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string categoryId_; - std::string description_; - std::string graph_; - AlertConfig alertConfig_; - std::vector stageConnectionList_; - std::vector stageList_; - std::vector triggerRuleList_; - std::string id_; - ClusterConfig clusterConfig_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaRequest.h b/emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaRequest.h deleted file mode 100644 index f0741f8fb..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaRequest.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_DESCRIBEETLJOBSQLSCHEMAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSQLSCHEMAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobSqlSchemaRequest : public RpcServiceRequest - { - - public: - DescribeETLJobSqlSchemaRequest(); - ~DescribeETLJobSqlSchemaRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getResolveId()const; - void setResolveId(const std::string& resolveId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string resolveId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSQLSCHEMAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaResult.h b/emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaResult.h deleted file mode 100644 index d3c930fac..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobSqlSchemaResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSQLSCHEMARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSQLSCHEMARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobSqlSchemaResult : public ServiceResult - { - public: - struct Schema - { - struct Field - { - std::string type; - std::string length; - bool partitionKey; - int index; - std::string rawType; - std::string assignType; - std::string assignValue; - std::string name; - }; - std::vector fields; - std::string name; - }; - - - DescribeETLJobSqlSchemaResult(); - explicit DescribeETLJobSqlSchemaResult(const std::string &payload); - ~DescribeETLJobSqlSchemaResult(); - Schema getSchema()const; - - protected: - void parse(const std::string &payload); - private: - Schema schema_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSQLSCHEMARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaRequest.h b/emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaRequest.h deleted file mode 100644 index fb16caab8..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaRequest.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_DESCRIBEETLJOBSTAGEOUTPUTSCHEMAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSTAGEOUTPUTSCHEMAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobStageOutputSchemaRequest : public RpcServiceRequest - { - - public: - DescribeETLJobStageOutputSchemaRequest(); - ~DescribeETLJobStageOutputSchemaRequest(); - - std::string getStageName()const; - void setStageName(const std::string& stageName); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string stageName_; - long resourceOwnerId_; - std::string regionId_; - std::string etlJobId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSTAGEOUTPUTSCHEMAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaResult.h b/emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaResult.h deleted file mode 100644 index e6f779ecf..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeETLJobStageOutputSchemaResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSTAGEOUTPUTSCHEMARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSTAGEOUTPUTSCHEMARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeETLJobStageOutputSchemaResult : public ServiceResult - { - public: - struct Schema - { - struct Field - { - std::string type; - std::string length; - bool partitionKey; - int index; - std::string rawType; - std::string assignType; - std::string assignValue; - std::string name; - }; - std::vector fields; - std::string name; - }; - - - DescribeETLJobStageOutputSchemaResult(); - explicit DescribeETLJobStageOutputSchemaResult(const std::string &payload); - ~DescribeETLJobStageOutputSchemaResult(); - Schema getSchema()const; - - protected: - void parse(const std::string &payload); - private: - Schema schema_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEETLJOBSTAGEOUTPUTSCHEMARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h deleted file mode 100644 index 0d3999693..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionRequest.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeEmrMainVersionRequest : public RpcServiceRequest - { - - public: - DescribeEmrMainVersionRequest(); - ~DescribeEmrMainVersionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEmrVersion()const; - void setEmrVersion(const std::string& emrVersion); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string emrVersion_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEEMRMAINVERSIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h b/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h deleted file mode 100644 index 966978a63..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeEmrMainVersionResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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; - }; - std::vector clusterTypeInfoList; - std::string imageId; - bool ecmVersion; - std::vector whiteUserList; - std::string regionId; - std::string emrVersion; - std::string stackName; - 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/CreateVerificationCodeRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h similarity index 68% rename from emr/include/alibabacloud/emr/model/CreateVerificationCodeRequest.h rename to emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h index 0cda57b26..23e5bdfe4 100644 --- a/emr/include/alibabacloud/emr/model/CreateVerificationCodeRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_ #include #include @@ -28,33 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateVerificationCodeRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentTokenRequest : public RpcServiceRequest { public: - CreateVerificationCodeRequest(); - ~CreateVerificationCodeRequest(); + DescribeFlowAgentTokenRequest(); + ~DescribeFlowAgentTokenRequest(); - std::string getMode()const; - void setMode(const std::string& mode); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); + std::string getClusterBizId()const; + void setClusterBizId(const std::string& clusterBizId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - std::string getTarget()const; - void setTarget(const std::string& target); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getInnerIP()const; + void setInnerIP(const std::string& innerIP); private: - std::string mode_; long resourceOwnerId_; - std::string regionId_; + std::string clusterBizId_; std::string accessKeyId_; - std::string target_; + std::string regionId_; + std::string innerIP_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteClusterHostGroupResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h similarity index 68% rename from emr/include/alibabacloud/emr/model/DeleteClusterHostGroupResult.h rename to emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h index 6e6d91567..a218e9bbf 100644 --- a/emr/include/alibabacloud/emr/model/DeleteClusterHostGroupResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowAgentTokenResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteClusterHostGroupResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentTokenResult : public ServiceResult { public: - DeleteClusterHostGroupResult(); - explicit DeleteClusterHostGroupResult(const std::string &payload); - ~DeleteClusterHostGroupResult(); + DescribeFlowAgentTokenResult(); + explicit DescribeFlowAgentTokenResult(const std::string &payload); + ~DescribeFlowAgentTokenResult(); + std::string getData()const; protected: void parse(const std::string &payload); private: + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTTOKENRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminRequest.h rename to emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h index 9b11c0d9d..6f615bee3 100644 --- a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEFORADMINREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERREQUEST_H_ #include #include @@ -28,30 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListSupportedServiceNameForAdminRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentUserRequest : public RpcServiceRequest { public: - ListSupportedServiceNameForAdminRequest(); - ~ListSupportedServiceNameForAdminRequest(); + DescribeFlowAgentUserRequest(); + ~DescribeFlowAgentUserRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - 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); + 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 userId_; - std::string accessKeyId_; - std::string regionId_; + long resourceOwnerId_; + std::string clusterBizId_; + std::string userId_; + std::string accessKeyId_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEFORADMINREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteAlertUserGroupsResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h similarity index 68% rename from emr/include/alibabacloud/emr/model/DeleteAlertUserGroupsResult.h rename to emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h index 91d67f8dc..2776e0108 100644 --- a/emr/include/alibabacloud/emr/model/DeleteAlertUserGroupsResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowAgentUserResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERRESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteAlertUserGroupsResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeFlowAgentUserResult : public ServiceResult { public: - DeleteAlertUserGroupsResult(); - explicit DeleteAlertUserGroupsResult(const std::string &payload); - ~DeleteAlertUserGroupsResult(); - bool getDone()const; + DescribeFlowAgentUserResult(); + explicit DescribeFlowAgentUserResult(const std::string &payload); + ~DescribeFlowAgentUserResult(); + std::string getData()const; protected: void parse(const std::string &payload); private: - bool done_; + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWAGENTUSERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowInstanceResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowInstanceResult.h index 29ba46de5..33316dc90 100644 --- a/emr/include/alibabacloud/emr/model/DescribeFlowInstanceResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowInstanceResult.h @@ -78,9 +78,11 @@ namespace AlibabaCloud bool getHasNodeFailed()const; long getEndTime()const; std::string getClusterId()const; + std::string getLifecycle()const; long getGmtModified()const; std::string getProjectId()const; long getStartTime()const; + std::string get_Namespace()const; long getDuration()const; std::string getFlowId()const; long getGmtCreate()const; @@ -88,6 +90,7 @@ namespace AlibabaCloud long getScheduleTime()const; std::string getFlowName()const; std::string getId()const; + std::string getLogArchiveLocation()const; std::string getCronExpression()const; std::vector getDependencyFlowList()const; std::vector getNodeInstance()const; @@ -99,9 +102,11 @@ namespace AlibabaCloud bool hasNodeFailed_; long endTime_; std::string clusterId_; + std::string lifecycle_; long gmtModified_; std::string projectId_; long startTime_; + std::string _namespace_; long duration_; std::string flowId_; long gmtCreate_; @@ -109,6 +114,7 @@ namespace AlibabaCloud long scheduleTime_; std::string flowName_; std::string id_; + std::string logArchiveLocation_; std::string cronExpression_; std::vector dependencyFlowList_; std::vector nodeInstance_; diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowJobResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowJobResult.h index 2fbe9b8f2..0f747c9cc 100644 --- a/emr/include/alibabacloud/emr/model/DescribeFlowJobResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowJobResult.h @@ -63,6 +63,7 @@ namespace AlibabaCloud std::string getId()const; long getRetryInterval()const; std::string getRunConf()const; + std::string getRetryPolicy()const; std::string getCustomVariables()const; std::string getAlertConf()const; @@ -90,6 +91,7 @@ namespace AlibabaCloud std::string id_; long retryInterval_; std::string runConf_; + std::string retryPolicy_; std::string customVariables_; std::string alertConf_; diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticRequest.h deleted file mode 100644 index a565c57f2..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESCRIBEFLOWJOBSTATISTICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWJOBSTATISTICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowJobStatisticRequest : public RpcServiceRequest - { - - public: - DescribeFlowJobStatisticRequest(); - ~DescribeFlowJobStatisticRequest(); - - std::string getFromApp()const; - void setFromApp(const std::string& fromApp); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - - private: - std::string fromApp_; - std::string regionId_; - std::string projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWJOBSTATISTICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticResult.h deleted file mode 100644 index de97e5db4..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowJobStatisticResult.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_DESCRIBEFLOWJOBSTATISTICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWJOBSTATISTICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowJobStatisticResult : public ServiceResult - { - public: - - - DescribeFlowJobStatisticResult(); - explicit DescribeFlowJobStatisticResult(const std::string &payload); - ~DescribeFlowJobStatisticResult(); - std::string getStatisticInfo()const; - - protected: - void parse(const std::string &payload); - private: - std::string statisticInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWJOBSTATISTICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowNodeInstanceResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowNodeInstanceResult.h index 03d697ebb..d7c8375be 100644 --- a/emr/include/alibabacloud/emr/model/DescribeFlowNodeInstanceResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowNodeInstanceResult.h @@ -71,6 +71,7 @@ namespace AlibabaCloud std::string getId()const; std::string getRetryInterval()const; std::string getRunConf()const; + std::string getRetryPolicy()const; bool getPending()const; protected: @@ -110,6 +111,7 @@ namespace AlibabaCloud std::string id_; std::string retryInterval_; std::string runConf_; + std::string retryPolicy_; bool pending_; }; diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h index adf0d0b06..ec8f98a31 100644 --- a/emr/include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowProjectClusterSettingResult.h @@ -45,6 +45,7 @@ namespace AlibabaCloud std::string getProjectId()const; std::vector getHostList()const; std::vector getUserList()const; + std::string getK8sClusterId()const; std::vector getQueueList()const; protected: @@ -58,6 +59,7 @@ namespace AlibabaCloud std::string projectId_; std::vector hostList_; std::vector userList_; + std::string k8sClusterId_; std::vector queueList_; }; diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowResult.h index c67c60ced..5daced335 100644 --- a/emr/include/alibabacloud/emr/model/DescribeFlowResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeFlowResult.h @@ -44,25 +44,28 @@ namespace AlibabaCloud DescribeFlowResult(); explicit DescribeFlowResult(const std::string &payload); ~DescribeFlowResult(); - std::string getStatus()const; - long getStartSchedule()const; std::string getCategoryId()const; std::string getDescription()const; - std::string getClusterId()const; long getGmtModified()const; bool getPeriodic()const; std::string getCronExpr()const; - std::string getEditLockDetail()const; std::string getName()const; std::string getAlertDingDingGroupBizId()const; std::string getAlertUserGroupBizId()const; + std::string getLogArchiveLocation()const; + long getEndSchedule()const; + std::string getHostName()const; + std::string getStatus()const; + long getStartSchedule()const; + std::string getClusterId()const; + std::string getLifecycle()const; + std::string get_Namespace()const; + std::string getEditLockDetail()const; long getGmtCreate()const; std::string getType()const; std::string getGraph()const; std::string getId()const; - long getEndSchedule()const; std::string getApplication()const; - std::string getHostName()const; std::vector getParentFlowList()const; bool getCreateCluster()const; std::string getAlertConf()const; @@ -70,25 +73,28 @@ namespace AlibabaCloud protected: void parse(const std::string &payload); private: - std::string status_; - long startSchedule_; std::string categoryId_; std::string description_; - std::string clusterId_; long gmtModified_; bool periodic_; std::string cronExpr_; - std::string editLockDetail_; std::string name_; std::string alertDingDingGroupBizId_; std::string alertUserGroupBizId_; + std::string logArchiveLocation_; + long endSchedule_; + std::string hostName_; + std::string status_; + long startSchedule_; + std::string clusterId_; + std::string lifecycle_; + std::string _namespace_; + std::string editLockDetail_; long gmtCreate_; std::string type_; std::string graph_; std::string id_; - long endSchedule_; std::string application_; - std::string hostName_; std::vector parentFlowList_; bool createCluster_; std::string alertConf_; diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionRequest.h b/emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionRequest.h deleted file mode 100644 index e43ce4931..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionRequest.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_DESCRIBEFLOWVARIABLECOLLECTIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWVARIABLECOLLECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowVariableCollectionRequest : public RpcServiceRequest - { - - public: - DescribeFlowVariableCollectionRequest(); - ~DescribeFlowVariableCollectionRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEntityId()const; - void setEntityId(const std::string& entityId); - - private: - std::string regionId_; - std::string entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWVARIABLECOLLECTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionResult.h b/emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionResult.h deleted file mode 100644 index d64e531bf..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeFlowVariableCollectionResult.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_DESCRIBEFLOWVARIABLECOLLECTIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWVARIABLECOLLECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeFlowVariableCollectionResult : public ServiceResult - { - public: - - - DescribeFlowVariableCollectionResult(); - explicit DescribeFlowVariableCollectionResult(const std::string &payload); - ~DescribeFlowVariableCollectionResult(); - std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEFLOWVARIABLECOLLECTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeHostPoolRequest.h b/emr/include/alibabacloud/emr/model/DescribeHostPoolRequest.h deleted file mode 100644 index 4957a09af..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeHostPoolRequest.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_DESCRIBEHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEHOSTPOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeHostPoolRequest : public RpcServiceRequest - { - - public: - DescribeHostPoolRequest(); - ~DescribeHostPoolRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string bizId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEHOSTPOOLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeHpHostRequest.h b/emr/include/alibabacloud/emr/model/DescribeHpHostRequest.h deleted file mode 100644 index 081bdac5d..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeHpHostRequest.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_DESCRIBEHPHOSTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEHPHOSTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeHpHostRequest : public RpcServiceRequest - { - - public: - DescribeHpHostRequest(); - ~DescribeHpHostRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getHpHostBizId()const; - void setHpHostBizId(const std::string& hpHostBizId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string hpHostBizId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEHPHOSTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeHpHostResult.h b/emr/include/alibabacloud/emr/model/DescribeHpHostResult.h deleted file mode 100644 index 3d9616ebe..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeHpHostResult.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESCRIBEHPHOSTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEHPHOSTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeHpHostResult : public ServiceResult - { - public: - struct Disk - { - std::string mountPath; - std::string diskDevice; - int diskSize; - }; - - - DescribeHpHostResult(); - explicit DescribeHpHostResult(const std::string &payload); - ~DescribeHpHostResult(); - std::string getStatus()const; - std::string getInnerIp()const; - std::string getSecurityGroupId()const; - std::vector getInstalledComponents()const; - std::string getVswitchId()const; - std::string getRole()const; - std::string getExternalIp()const; - std::string getVpcId()const; - int getCpuCore()const; - int getMemSize()const; - std::vector getDiskList()const; - std::string getExternalKey()const; - std::string getBizId()const; - std::string getHostName()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string innerIp_; - std::string securityGroupId_; - std::vector installedComponents_; - std::string vswitchId_; - std::string role_; - std::string externalIp_; - std::string vpcId_; - int cpuCore_; - int memSize_; - std::vector diskList_; - std::string externalKey_; - std::string bizId_; - std::string hostName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEHPHOSTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeJobRequest.h b/emr/include/alibabacloud/emr/model/DescribeJobRequest.h index 3f5dac772..853b46632 100644 --- a/emr/include/alibabacloud/emr/model/DescribeJobRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeJobRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getId()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string id_; diff --git a/emr/include/alibabacloud/emr/model/DescribeKafkaBrokerRequest.h b/emr/include/alibabacloud/emr/model/DescribeKafkaBrokerRequest.h deleted file mode 100644 index 119f412d5..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeKafkaBrokerRequest.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_DESCRIBEKAFKABROKERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKABROKERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeKafkaBrokerRequest : public RpcServiceRequest - { - - public: - DescribeKafkaBrokerRequest(); - ~DescribeKafkaBrokerRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostId()const; - void setHostId(const std::string& hostId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string hostId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKABROKERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeKafkaBrokerResult.h b/emr/include/alibabacloud/emr/model/DescribeKafkaBrokerResult.h deleted file mode 100644 index 24a793da1..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeKafkaBrokerResult.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESCRIBEKAFKABROKERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKABROKERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeKafkaBrokerResult : public ServiceResult - { - public: - struct Topic - { - int leaderCount; - int replicationFactor; - int numPartitions; - int brokerNumPartitions; - std::string topicId; - std::vector partitionList; - std::string topicName; - }; - - - DescribeKafkaBrokerResult(); - explicit DescribeKafkaBrokerResult(const std::string &payload); - ~DescribeKafkaBrokerResult(); - std::string getHostIp()const; - std::string getStatus()const; - int getLeaderCount()const; - int getBrokerId()const; - std::string getDiskUsageMean()const; - std::string getDiskUsageMax()const; - std::string getTraffic()const; - int getTopicCount()const; - std::string getHostId()const; - int getDiskCapacity()const; - std::string getDiskUnbalanceRate()const; - std::vector getTopicList()const; - std::string getHostName()const; - int getPartitionCount()const; - - protected: - void parse(const std::string &payload); - private: - std::string hostIp_; - std::string status_; - int leaderCount_; - int brokerId_; - std::string diskUsageMean_; - std::string diskUsageMax_; - std::string traffic_; - int topicCount_; - std::string hostId_; - int diskCapacity_; - std::string diskUnbalanceRate_; - std::vector topicList_; - std::string hostName_; - int partitionCount_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKABROKERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeKafkaReassignRequest.h b/emr/include/alibabacloud/emr/model/DescribeKafkaReassignRequest.h deleted file mode 100644 index 14669394c..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeKafkaReassignRequest.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_DESCRIBEKAFKAREASSIGNREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKAREASSIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeKafkaReassignRequest : public RpcServiceRequest - { - - public: - DescribeKafkaReassignRequest(); - ~DescribeKafkaReassignRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getReassignId()const; - void setReassignId(const std::string& reassignId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string reassignId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKAREASSIGNREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeKafkaReassignResult.h b/emr/include/alibabacloud/emr/model/DescribeKafkaReassignResult.h deleted file mode 100644 index ccfa83122..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeKafkaReassignResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKAREASSIGNRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKAREASSIGNRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeKafkaReassignResult : public ServiceResult - { - public: - - - DescribeKafkaReassignResult(); - explicit DescribeKafkaReassignResult(const std::string &payload); - ~DescribeKafkaReassignResult(); - std::string getStatus()const; - long getEndTime()const; - long getStartTime()const; - std::string getId()const; - int getTopicCount()const; - int getAssignProcess()const; - int getPartitionCount()const; - long getThrottle()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - long endTime_; - long startTime_; - std::string id_; - int topicCount_; - int assignProcess_; - int partitionCount_; - long throttle_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEKAFKAREASSIGNRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteAlertUserGroupsRequest.h b/emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/DeleteAlertUserGroupsRequest.h rename to emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h index ae20034c9..ce588f799 100644 --- a/emr/include/alibabacloud/emr/model/DeleteAlertUserGroupsRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeLibraryDetailRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_ #include #include @@ -28,30 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteAlertUserGroupsRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeLibraryDetailRequest : public RpcServiceRequest { public: - DeleteAlertUserGroupsRequest(); - ~DeleteAlertUserGroupsRequest(); + DescribeLibraryDetailRequest(); + ~DescribeLibraryDetailRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getIds()const; - void setIds(const std::string& ids); + std::string getLibraryBizId()const; + void setLibraryBizId(const std::string& libraryBizId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); private: long resourceOwnerId_; - std::string regionId_; - std::string ids_; + std::string libraryBizId_; std::string accessKeyId_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeHostPoolResult.h b/emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h similarity index 56% rename from emr/include/alibabacloud/emr/model/DescribeHostPoolResult.h rename to emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h index 5288a7544..22d3bf533 100644 --- a/emr/include/alibabacloud/emr/model/DescribeHostPoolResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeLibraryDetailResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEHOSTPOOLRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_ #include #include @@ -29,30 +29,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DescribeHostPoolResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeLibraryDetailResult : public ServiceResult { public: - DescribeHostPoolResult(); - explicit DescribeHostPoolResult(const std::string &payload); - ~DescribeHostPoolResult(); - std::string getStatus()const; + DescribeLibraryDetailResult(); + explicit DescribeLibraryDetailResult(const std::string &payload); + ~DescribeLibraryDetailResult(); + std::string getSourceLocation()const; std::string getType()const; - long getGmtCreate()const; - std::string getDescription()const; - int getHostCount()const; + std::string getScope()const; + std::string getUserId()const; + long getCreateTime()const; + std::string getSourceType()const; + std::string getLibraryVersion()const; + std::string getProperties()const; std::string getBizId()const; std::string getName()const; protected: void parse(const std::string &payload); private: - std::string status_; + std::string sourceLocation_; std::string type_; - long gmtCreate_; - std::string description_; - int hostCount_; + std::string scope_; + std::string userId_; + long createTime_; + std::string sourceType_; + std::string libraryVersion_; + std::string properties_; std::string bizId_; std::string name_; @@ -60,4 +66,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEHOSTPOOLRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYDETAILRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingRequest.h b/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h similarity index 70% rename from emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingRequest.h rename to emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h index ee32dd6d6..9e31af737 100644 --- a/emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACERESOURCESETTINGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACERESOURCESETTINGREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_ #include #include @@ -28,30 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DescribeWorkspaceResourceSettingRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeLibraryInstallTaskDetailRequest : public RpcServiceRequest { public: - DescribeWorkspaceResourceSettingRequest(); - ~DescribeWorkspaceResourceSettingRequest(); + DescribeLibraryInstallTaskDetailRequest(); + ~DescribeLibraryInstallTaskDetailRequest(); - 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 getWorkspaceId()const; - void setWorkspaceId(const std::string& workspaceId); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getTaskBizId()const; + void setTaskBizId(const std::string& taskBizId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string workspaceId_; + long resourceOwnerId_; + std::string taskBizId_; + std::string accessKeyId_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACERESOURCESETTINGREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveBackupResult.h b/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h similarity index 57% rename from emr/include/alibabacloud/emr/model/RemoveBackupResult.h rename to emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h index caf9fd29a..efcf47517 100644 --- a/emr/include/alibabacloud/emr/model/RemoveBackupResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeLibraryInstallTaskDetailResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_ #include #include @@ -29,53 +29,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT RemoveBackupResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeLibraryInstallTaskDetailResult : public ServiceResult { public: - RemoveBackupResult(); - explicit RemoveBackupResult(const std::string &payload); - ~RemoveBackupResult(); - std::string getTriggerType()const; + DescribeLibraryInstallTaskDetailResult(); + explicit DescribeLibraryInstallTaskDetailResult(const std::string &payload); + ~DescribeLibraryInstallTaskDetailResult(); + std::string getTaskId()const; + std::string getLibraryBizId()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; + std::string getTaskGroupId()const; + long getExecuteTime()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; + long getStartTime()const; + std::string getHostname()const; + std::string getTaskStatus()const; + std::string getDetail()const; protected: void parse(const std::string &payload); private: - std::string triggerType_; + std::string taskId_; + std::string libraryBizId_; long endTime_; - long startTime_; - long gmtModified_; - std::string taskStatus_; - std::string taskDetail_; - std::string triggerUser_; - long gmtCreate_; + std::string taskGroupId_; + long executeTime_; int taskProcess_; std::string clusterBizId_; std::string taskType_; - std::string bizId_; - long dataSourceId_; - std::string hostName_; - long ecmTaskId_; - std::string taskResultDetail_; + long startTime_; + std::string hostname_; + std::string taskStatus_; + std::string detail_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBELIBRARYINSTALLTASKDETAILRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h b/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h index 2d3403d13..41c4b2296 100644 --- a/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeMetaTablePreviewTaskRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getTaskId()const; @@ -47,6 +49,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string taskId_; diff --git a/emr/include/alibabacloud/emr/model/DescribeNoteRequest.h b/emr/include/alibabacloud/emr/model/DescribeNoteRequest.h deleted file mode 100644 index 829e181cc..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeNoteRequest.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_DESCRIBENOTEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBENOTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeNoteRequest : public RpcServiceRequest - { - - public: - DescribeNoteRequest(); - ~DescribeNoteRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBENOTEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeNoteResult.h b/emr/include/alibabacloud/emr/model/DescribeNoteResult.h deleted file mode 100644 index 274a9a4d6..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeNoteResult.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_DESCRIBENOTERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBENOTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeNoteResult : public ServiceResult - { - public: - - - DescribeNoteResult(); - explicit DescribeNoteResult(const std::string &payload); - ~DescribeNoteResult(); - std::string getType()const; - std::string getClusterId()const; - std::string getId()const; - std::string getParagraphs()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string type_; - std::string clusterId_; - std::string id_; - std::string paragraphs_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBENOTERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeParagraphRequest.h b/emr/include/alibabacloud/emr/model/DescribeParagraphRequest.h deleted file mode 100644 index cfb2d21d1..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeParagraphRequest.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_DESCRIBEPARAGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEPARAGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeParagraphRequest : public RpcServiceRequest - { - - public: - DescribeParagraphRequest(); - ~DescribeParagraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string noteId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEPARAGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeParagraphResult.h b/emr/include/alibabacloud/emr/model/DescribeParagraphResult.h deleted file mode 100644 index 674425a3c..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeParagraphResult.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_DESCRIBEPARAGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEPARAGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeParagraphResult : public ServiceResult - { - public: - - - DescribeParagraphResult(); - explicit DescribeParagraphResult(const std::string &payload); - ~DescribeParagraphResult(); - std::string getParagraph()const; - - protected: - void parse(const std::string &payload); - private: - std::string paragraph_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEPARAGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h index 7e4500dc7..732ee3ea3 100644 --- a/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigRequest.h @@ -39,12 +39,15 @@ namespace AlibabaCloud 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_; }; diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h index 6a41dd4f5..78b303e54 100644 --- a/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingCommonConfigResult.h @@ -37,12 +37,30 @@ namespace AlibabaCloud DescribeScalingCommonConfigResult(); explicit DescribeScalingCommonConfigResult(const std::string &payload); ~DescribeScalingCommonConfigResult(); + int getAutoScalingHookHeartbeatDefaultTime()const; + int getAutoScalingRuleAlarmDelayLimit()const; + int getAutoScalingGroupMaxSizeLimit()const; + long getAutoScalingMNSScalingThreadSleepTime()const; + int getAutoScalingCoolDownTime()const; int getAutoScalingRuleMinDelayLimit()const; + long getAutoScalingConfigDecommissionQueryInterval()const; + int getAutoScalingRuleAlarmSilentTime()const; + int getAutoScalingGroupMinSizeLimit()const; + int getAutoScalingConfigSystemDiskSize()const; protected: void parse(const std::string &payload); private: + int autoScalingHookHeartbeatDefaultTime_; + int autoScalingRuleAlarmDelayLimit_; + int autoScalingGroupMaxSizeLimit_; + long autoScalingMNSScalingThreadSleepTime_; + int autoScalingCoolDownTime_; int autoScalingRuleMinDelayLimit_; + long autoScalingConfigDecommissionQueryInterval_; + int autoScalingRuleAlarmSilentTime_; + int autoScalingGroupMinSizeLimit_; + int autoScalingConfigSystemDiskSize_; }; } diff --git a/emr/include/alibabacloud/emr/model/MetastoreListTablePartitionRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingConfigItemV2Request.h similarity index 57% rename from emr/include/alibabacloud/emr/model/MetastoreListTablePartitionRequest.h rename to emr/include/alibabacloud/emr/model/DescribeScalingConfigItemV2Request.h index 6ec1d66eb..3e14f852a 100644 --- a/emr/include/alibabacloud/emr/model/MetastoreListTablePartitionRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingConfigItemV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLEPARTITIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLEPARTITIONREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGCONFIGITEMV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGCONFIGITEMV2REQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT MetastoreListTablePartitionRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeScalingConfigItemV2Request : public RpcServiceRequest { public: - MetastoreListTablePartitionRequest(); - ~MetastoreListTablePartitionRequest(); + DescribeScalingConfigItemV2Request(); + ~DescribeScalingConfigItemV2Request(); + std::string getConfigItemType()const; + void setConfigItemType(const std::string& configItemType); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableId()const; - void setTableId(const std::string& tableId); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - int getPageNumber()const; - void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getScalingConfigItemId()const; + void setScalingConfigItemId(const std::string& scalingConfigItemId); private: + std::string configItemType_; long resourceOwnerId_; - std::string regionId_; - int pageSize_; - std::string tableId_; - std::string databaseId_; - int pageNumber_; std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string scalingConfigItemId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLEPARTITIONREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGCONFIGITEMV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingConfigItemV2Result.h similarity index 57% rename from emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceResult.h rename to emr/include/alibabacloud/emr/model/DescribeScalingConfigItemV2Result.h index 7c54ef159..55554ce5c 100644 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingConfigItemV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATARESOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATARESOURCERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGCONFIGITEMV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGCONFIGITEMV2RESULT_H_ #include #include @@ -29,23 +29,29 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateDataResourceResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeScalingConfigItemV2Result : public ServiceResult { public: - MetastoreCreateDataResourceResult(); - explicit MetastoreCreateDataResourceResult(const std::string &payload); - ~MetastoreCreateDataResourceResult(); - std::string getId()const; + DescribeScalingConfigItemV2Result(); + explicit DescribeScalingConfigItemV2Result(const std::string &payload); + ~DescribeScalingConfigItemV2Result(); + std::string getScalingConfigItemBizId()const; + std::string getScalingGroupBizId()const; + std::string getConfigItemInformation()const; + std::string getConfigItemType()const; protected: void parse(const std::string &payload); private: - std::string id_; + std::string scalingConfigItemBizId_; + std::string scalingGroupBizId_; + std::string configItemInformation_; + std::string configItemType_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATARESOURCERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGCONFIGITEMV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Request.h similarity index 61% rename from emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchRequest.h rename to emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Request.h index 66d524f33..047a3c687 100644 --- a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICBATCHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICBATCHREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPINSTANCEV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPINSTANCEV2REQUEST_H_ #include #include @@ -28,35 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT MetastoreUpdateKafkaTopicBatchRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeScalingGroupInstanceV2Request : public RpcServiceRequest { - struct TopicParam - { - std::string topicId; - int numPartitions; - }; public: - MetastoreUpdateKafkaTopicBatchRequest(); - ~MetastoreUpdateKafkaTopicBatchRequest(); + DescribeScalingGroupInstanceV2Request(); + ~DescribeScalingGroupInstanceV2Request(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::vector getTopicParam()const; - void setTopicParam(const std::vector& topicParam); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getHostGroupBizId()const; + void setHostGroupBizId(const std::string& hostGroupBizId); private: long resourceOwnerId_; - std::vector topicParam_; - std::string regionId_; std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string hostGroupBizId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICBATCHREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPINSTANCEV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h b/emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h new file mode 100644 index 000000000..dac6737f2 --- /dev/null +++ b/emr/include/alibabacloud/emr/model/DescribeScalingGroupInstanceV2Result.h @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_DESCRIBESCALINGGROUPINSTANCEV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPINSTANCEV2RESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Emr + { + namespace Model + { + class ALIBABACLOUD_EMR_EXPORT DescribeScalingGroupInstanceV2Result : public ServiceResult + { + public: + struct ScalingConfig + { + struct SpotPriceLimit + { + float priceLimit; + std::string instanceType; + }; + std::vector spotPriceLimits; + int dataDiskCount; + std::string payType; + int dataDiskSize; + int sysDiskSize; + std::string dataDiskCategory; + std::string spotStrategy; + std::string sysDiskCategory; + std::vector instanceTypeList; + }; + struct ScalingRule + { + struct SchedulerTrigger + { + long launchTime; + std::string recurrenceType; + std::string recurrenceValue; + long recurrenceEndTime; + int launchExpirationTime; + }; + struct CloudWatchTrigger + { + std::string metricName; + std::string comparisonOperator; + std::string metricDisplayName; + int period; + std::string evaluationCount; + std::string unit; + std::string statistics; + std::string threshold; + }; + std::string status; + std::string essScalingRuleId; + std::string launchTime; + long timeoutWithGrace; + CloudWatchTrigger cloudWatchTrigger; + long scalingGroupId; + int cooldown; + std::string recurrenceType; + int launchExpirationTime; + std::string adjustmentType; + int adjustmentValue; + SchedulerTrigger schedulerTrigger; + bool withGrace; + std::string recurrenceValue; + std::string recurrenceEndTime; + std::string ruleName; + std::string ruleCategory; + }; + + + DescribeScalingGroupInstanceV2Result(); + explicit DescribeScalingGroupInstanceV2Result(const std::string &payload); + ~DescribeScalingGroupInstanceV2Result(); + int getMinSize()const; + int getDefaultCooldown()const; + ScalingConfig getScalingConfig()const; + std::string getHostGroupId()const; + std::string getActiveRuleCategory()const; + long getTimeoutWithGrace()const; + std::string getScalingGroupId()const; + bool getWithGrace()const; + std::vector getScalingRuleList()const; + int getMaxSize()const; + std::string getMultiAvailablePolicy()const; + std::string getMultiAvailablePolicyParam()const; + + protected: + void parse(const std::string &payload); + private: + int minSize_; + int defaultCooldown_; + ScalingConfig scalingConfig_; + std::string hostGroupId_; + std::string activeRuleCategory_; + long timeoutWithGrace_; + std::string scalingGroupId_; + bool withGrace_; + std::vector scalingRuleList_; + int maxSize_; + std::string multiAvailablePolicy_; + std::string multiAvailablePolicyParam_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPINSTANCEV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteClusterHostGroupRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingGroupV2Request.h similarity index 61% rename from emr/include/alibabacloud/emr/model/DeleteClusterHostGroupRequest.h rename to emr/include/alibabacloud/emr/model/DescribeScalingGroupV2Request.h index cba92b702..57057d749 100644 --- a/emr/include/alibabacloud/emr/model/DeleteClusterHostGroupRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingGroupV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPV2REQUEST_H_ #include #include @@ -28,33 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteClusterHostGroupRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DescribeScalingGroupV2Request : public RpcServiceRequest { public: - DeleteClusterHostGroupRequest(); - ~DeleteClusterHostGroupRequest(); + DescribeScalingGroupV2Request(); + ~DescribeScalingGroupV2Request(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getHostGroupBizId()const; + void setHostGroupBizId(const std::string& hostGroupBizId); private: long resourceOwnerId_; - std::string regionId_; - std::string hostGroupId_; - std::string clusterId_; std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string hostGroupBizId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateBackupRuleResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingGroupV2Result.h similarity index 54% rename from emr/include/alibabacloud/emr/model/CreateBackupRuleResult.h rename to emr/include/alibabacloud/emr/model/DescribeScalingGroupV2Result.h index bdce0503c..aa2b16cc9 100644 --- a/emr/include/alibabacloud/emr/model/CreateBackupRuleResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingGroupV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPV2RESULT_H_ #include #include @@ -29,33 +29,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateBackupRuleResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DescribeScalingGroupV2Result : public ServiceResult { public: - CreateBackupRuleResult(); - explicit CreateBackupRuleResult(const std::string &payload); - ~CreateBackupRuleResult(); + DescribeScalingGroupV2Result(); + explicit DescribeScalingGroupV2Result(const std::string &payload); + ~DescribeScalingGroupV2Result(); std::string getDescription()const; - std::string getMetadataType()const; - std::string getBackupPlanId()const; - std::string getId()const; - std::string getBackupMethodType()const; + std::string getHostGroupBizId()const; + std::string getConfigState()const; + std::string getScalingInMode()const; + std::string getScalingGroupId()const; + int getScalingMaxSize()const; + int getScalingMinSize()const; std::string getName()const; + std::string getActiveStatus()const; protected: void parse(const std::string &payload); private: std::string description_; - std::string metadataType_; - std::string backupPlanId_; - std::string id_; - std::string backupMethodType_; + std::string hostGroupBizId_; + std::string configState_; + std::string scalingInMode_; + std::string scalingGroupId_; + int scalingMaxSize_; + int scalingMinSize_; std::string name_; + std::string activeStatus_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGGROUPV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h index 209619e28..64d6a660d 100644 --- a/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h +++ b/emr/include/alibabacloud/emr/model/DescribeScalingRuleResult.h @@ -57,31 +57,35 @@ namespace AlibabaCloud explicit DescribeScalingRuleResult(const std::string &payload); ~DescribeScalingRuleResult(); std::string getStatus()const; - std::string getGmtCreate()const; - int getAdjustmentValue()const; - SchedulerTrigger getSchedulerTrigger()const; + long getTimeoutWithGrace()const; CloudWatchTrigger getCloudWatchTrigger()const; int getCooldown()const; std::string getGmtModified()const; + std::string getAdjustmentType()const; + std::string getGmtCreate()const; + int getAdjustmentValue()const; + SchedulerTrigger getSchedulerTrigger()const; + bool getWithGrace()const; std::string getId()const; std::string getRuleName()const; std::string getRuleCategory()const; - std::string getAdjustmentType()const; protected: void parse(const std::string &payload); private: std::string status_; - std::string gmtCreate_; - int adjustmentValue_; - SchedulerTrigger schedulerTrigger_; + long timeoutWithGrace_; CloudWatchTrigger cloudWatchTrigger_; int cooldown_; std::string gmtModified_; + std::string adjustmentType_; + std::string gmtCreate_; + int adjustmentValue_; + SchedulerTrigger schedulerTrigger_; + bool withGrace_; std::string id_; std::string ruleName_; std::string ruleCategory_; - std::string adjustmentType_; }; } diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupRequest.h b/emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupRequest.h deleted file mode 100644 index 60cfc89a4..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupRequest.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_DESCRIBESCALINGTASKGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGTASKGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeScalingTaskGroupRequest : public RpcServiceRequest - { - - public: - DescribeScalingTaskGroupRequest(); - ~DescribeScalingTaskGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string hostGroupId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGTASKGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupResult.h b/emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupResult.h deleted file mode 100644 index 82e861f5a..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeScalingTaskGroupResult.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGTASKGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGTASKGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeScalingTaskGroupResult : public ServiceResult - { - public: - struct ScalingConfig - { - struct SpotPriceLimit - { - float priceLimit; - std::string instanceType; - }; - std::vector spotPriceLimits; - int cpuCount; - int memSize; - int dataDiskCount; - std::string payType; - int dataDiskSize; - int sysDiskSize; - std::string dataDiskCategory; - std::string sysDiskCategory; - std::string spotStrategy; - std::vector instanceTypeList; - }; - - - DescribeScalingTaskGroupResult(); - explicit DescribeScalingTaskGroupResult(const std::string &payload); - ~DescribeScalingTaskGroupResult(); - std::string getStatus()const; - int getMinSize()const; - int getDefaultCooldown()const; - ScalingConfig getScalingConfig()const; - std::string getHostGroupId()const; - std::string getActiveRuleCategory()const; - std::string getScalingGroupId()const; - int getMaxSize()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - int minSize_; - int defaultCooldown_; - ScalingConfig scalingConfig_; - std::string hostGroupId_; - std::string activeRuleCategory_; - std::string scalingGroupId_; - int maxSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBESCALINGTASKGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h b/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h index 5ee929e06..5ebb96ea5 100644 --- a/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h +++ b/emr/include/alibabacloud/emr/model/DescribeSecurityGroupAttributeRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); @@ -48,6 +50,7 @@ namespace AlibabaCloud long resourceOwnerId_; std::string clusterId_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; }; diff --git a/emr/include/alibabacloud/emr/model/DescribeUserGroupRequest.h b/emr/include/alibabacloud/emr/model/DescribeUserGroupRequest.h deleted file mode 100644 index 0d6f8c23e..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeUserGroupRequest.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_DESCRIBEUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeUserGroupRequest : public RpcServiceRequest - { - - public: - DescribeUserGroupRequest(); - ~DescribeUserGroupRequest(); - - 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); - long getGroupId()const; - void setGroupId(long groupId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - long groupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeUserGroupResult.h b/emr/include/alibabacloud/emr/model/DescribeUserGroupResult.h deleted file mode 100644 index bd9a6660b..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeUserGroupResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeUserGroupResult : public ServiceResult - { - public: - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - - - DescribeUserGroupResult(); - explicit DescribeUserGroupResult(const std::string &payload); - ~DescribeUserGroupResult(); - std::string getType()const; - std::string getGmtCreate()const; - bool getPaging()const; - long getId()const; - std::vector getRoleDTOList()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string type_; - std::string gmtCreate_; - bool paging_; - long id_; - std::vector roleDTOList_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeUserRequest.h b/emr/include/alibabacloud/emr/model/DescribeUserRequest.h deleted file mode 100644 index 431c233c3..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeUserRequest.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_DESCRIBEUSERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeUserRequest : public RpcServiceRequest - { - - public: - DescribeUserRequest(); - ~DescribeUserRequest(); - - 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 getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeUserResult.h b/emr/include/alibabacloud/emr/model/DescribeUserResult.h deleted file mode 100644 index f2c9524cc..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeUserResult.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeUserResult : public ServiceResult - { - public: - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - struct GroupDTO - { - struct RoleDTO2 - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - std::string type; - std::string gmtCreate; - long id; - std::vector roleDTOList1; - std::string name; - }; - struct AccountDTO - { - std::string authType; - std::string accountType; - std::string aliyunUserId; - }; - - - DescribeUserResult(); - explicit DescribeUserResult(const std::string &payload); - ~DescribeUserResult(); - std::string getStatus()const; - std::string getIsSuperAdmin()const; - std::string getGmtCreate()const; - std::string getUserName()const; - std::string getDescription()const; - std::vector getGroupDTOList()const; - std::vector getAccountDTOList()const; - bool getPaging()const; - std::string getGmtModified()const; - std::vector getRoleDTOList()const; - std::string getUserType()const; - std::string getAliyunUserId()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string isSuperAdmin_; - std::string gmtCreate_; - std::string userName_; - std::string description_; - std::vector groupDTOList_; - std::vector accountDTOList_; - bool paging_; - std::string gmtModified_; - std::vector roleDTOList_; - std::string userType_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeUserStatisticsRequest.h b/emr/include/alibabacloud/emr/model/DescribeUserStatisticsRequest.h deleted file mode 100644 index 7babc4076..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeUserStatisticsRequest.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_DESCRIBEUSERSTATISTICSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERSTATISTICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeUserStatisticsRequest : public RpcServiceRequest - { - - public: - DescribeUserStatisticsRequest(); - ~DescribeUserStatisticsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string userId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeUserStatisticsResult.h b/emr/include/alibabacloud/emr/model/DescribeUserStatisticsResult.h deleted file mode 100644 index 820e856d3..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeUserStatisticsResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERSTATISTICSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeUserStatisticsResult : public ServiceResult - { - public: - - - DescribeUserStatisticsResult(); - explicit DescribeUserStatisticsResult(const std::string &payload); - ~DescribeUserStatisticsResult(); - int getJobMigratedNum()const; - int getExecutePlanMigratedNum()const; - int getExecutePlanNum()const; - std::string getUserId()const; - int getInteractionJobNum()const; - int getJobNum()const; - long getId()const; - int getInteractionJobMigratedNum()const; - - protected: - void parse(const std::string &payload); - private: - int jobMigratedNum_; - int executePlanMigratedNum_; - int executePlanNum_; - std::string userId_; - int interactionJobNum_; - int jobNum_; - long id_; - int interactionJobMigratedNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEUSERSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingRequest.h b/emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingRequest.h deleted file mode 100644 index 36792785f..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingRequest.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_DESCRIBEWORKSPACEREPOSETTINGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACEREPOSETTINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeWorkspaceRepoSettingRequest : public RpcServiceRequest - { - - public: - DescribeWorkspaceRepoSettingRequest(); - ~DescribeWorkspaceRepoSettingRequest(); - - 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 getWorkspaceId()const; - void setWorkspaceId(const std::string& workspaceId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string workspaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACEREPOSETTINGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingResult.h b/emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingResult.h deleted file mode 100644 index c2df9b009..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeWorkspaceRepoSettingResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_DESCRIBEWORKSPACEREPOSETTINGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACEREPOSETTINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeWorkspaceRepoSettingResult : public ServiceResult - { - public: - struct RepoMaven - { - std::string artifactId; - std::string version; - std::string groupId; - }; - struct RepoPip - { - std::string packageName; - std::string version; - }; - - - DescribeWorkspaceRepoSettingResult(); - explicit DescribeWorkspaceRepoSettingResult(const std::string &payload); - ~DescribeWorkspaceRepoSettingResult(); - RepoPip getRepoPip()const; - RepoMaven getRepoMaven()const; - - protected: - void parse(const std::string &payload); - private: - RepoPip repoPip_; - RepoMaven repoMaven_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACEREPOSETTINGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingResult.h b/emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingResult.h deleted file mode 100644 index bda77d00d..000000000 --- a/emr/include/alibabacloud/emr/model/DescribeWorkspaceResourceSettingResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACERESOURCESETTINGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACERESOURCESETTINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DescribeWorkspaceResourceSettingResult : public ServiceResult - { - public: - struct Oss - { - std::string defaultOssPath; - }; - - - DescribeWorkspaceResourceSettingResult(); - explicit DescribeWorkspaceResourceSettingResult(const std::string &payload); - ~DescribeWorkspaceResourceSettingResult(); - Oss getOss()const; - - protected: - void parse(const std::string &payload); - private: - Oss oss_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBEWORKSPACERESOURCESETTINGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListDataResourcesRequest.h b/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h similarity index 67% rename from emr/include/alibabacloud/emr/model/MetastoreListDataResourcesRequest.h rename to emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h index bf1f189e2..e33a535eb 100644 --- a/emr/include/alibabacloud/emr/model/MetastoreListDataResourcesRequest.h +++ b/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTDATARESOURCESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTDATARESOURCESREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIREQUEST_H_ #include #include @@ -28,27 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT MetastoreListDataResourcesRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT DetachAndReleaseClusterEniRequest : public RpcServiceRequest { public: - MetastoreListDataResourcesRequest(); - ~MetastoreListDataResourcesRequest(); + DetachAndReleaseClusterEniRequest(); + ~DetachAndReleaseClusterEniRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); + std::string getTargetClusterId()const; + void setTargetClusterId(const std::string& targetClusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getVswitchId()const; + void setVswitchId(const std::string& vswitchId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); private: long resourceOwnerId_; - std::string regionId_; + std::string targetClusterId_; std::string accessKeyId_; + std::string vswitchId_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTDATARESOURCESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoResult.h b/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoResult.h rename to emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h index f5a9a4e39..eb5a8150b 100644 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoResult.h +++ b/emr/include/alibabacloud/emr/model/DetachAndReleaseClusterEniResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANJOBINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANJOBINFORESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanJobInfoResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT DetachAndReleaseClusterEniResult : public ServiceResult { public: - ModifyExecutionPlanJobInfoResult(); - explicit ModifyExecutionPlanJobInfoResult(const std::string &payload); - ~ModifyExecutionPlanJobInfoResult(); + DetachAndReleaseClusterEniResult(); + explicit DetachAndReleaseClusterEniResult(const std::string &payload); + ~DetachAndReleaseClusterEniResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANJOBINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_DETACHANDRELEASECLUSTERENIRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DetachClusterForNoteRequest.h b/emr/include/alibabacloud/emr/model/DetachClusterForNoteRequest.h deleted file mode 100644 index 768158e88..000000000 --- a/emr/include/alibabacloud/emr/model/DetachClusterForNoteRequest.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_DETACHCLUSTERFORNOTEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DETACHCLUSTERFORNOTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DetachClusterForNoteRequest : public RpcServiceRequest - { - - public: - DetachClusterForNoteRequest(); - ~DetachClusterForNoteRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DETACHCLUSTERFORNOTEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DetachClusterForNoteResult.h b/emr/include/alibabacloud/emr/model/DetachClusterForNoteResult.h deleted file mode 100644 index e48dfd117..000000000 --- a/emr/include/alibabacloud/emr/model/DetachClusterForNoteResult.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_DETACHCLUSTERFORNOTERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DETACHCLUSTERFORNOTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT DetachClusterForNoteResult : public ServiceResult - { - public: - - - DetachClusterForNoteResult(); - explicit DetachClusterForNoteResult(const std::string &payload); - ~DetachClusterForNoteResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_DETACHCLUSTERFORNOTERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackInfoRequest.h b/emr/include/alibabacloud/emr/model/GetBackInfoRequest.h deleted file mode 100644 index 5b8df0e91..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackInfoRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETBACKINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackInfoRequest : public RpcServiceRequest - { - - public: - GetBackInfoRequest(); - ~GetBackInfoRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackInfoResult.h b/emr/include/alibabacloud/emr/model/GetBackInfoResult.h deleted file mode 100644 index f6513ae25..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackInfoResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETBACKINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackInfoResult : public ServiceResult - { - public: - struct MetadataInfo - { - std::string metadataType; - std::string properties; - }; - - - GetBackInfoResult(); - explicit GetBackInfoResult(const std::string &payload); - ~GetBackInfoResult(); - std::string getStatus()const; - MetadataInfo getMetadataInfo()const; - std::string getTarFileName()const; - std::string getClusterId()const; - bool getPaging()const; - long getCreateTime()const; - std::string getBackupPlanId()const; - std::string getId()const; - std::string getMd5()const; - std::string getStorePath()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - MetadataInfo metadataInfo_; - std::string tarFileName_; - std::string clusterId_; - bool paging_; - long createTime_; - std::string backupPlanId_; - std::string id_; - std::string md5_; - std::string storePath_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackPlanInfoRequest.h b/emr/include/alibabacloud/emr/model/GetBackPlanInfoRequest.h deleted file mode 100644 index 7a2941ba9..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackPlanInfoRequest.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_GETBACKPLANINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKPLANINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackPlanInfoRequest : public RpcServiceRequest - { - - public: - GetBackPlanInfoRequest(); - ~GetBackPlanInfoRequest(); - - 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); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupPlanId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKPLANINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackPlanInfoResult.h b/emr/include/alibabacloud/emr/model/GetBackPlanInfoResult.h deleted file mode 100644 index dec7bd795..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackPlanInfoResult.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_GETBACKPLANINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKPLANINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackPlanInfoResult : public ServiceResult - { - public: - - - GetBackPlanInfoResult(); - explicit GetBackPlanInfoResult(const std::string &payload); - ~GetBackPlanInfoResult(); - std::string getRootPath()const; - std::string getDescription()const; - std::string getClusterId()const; - std::string getId()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string rootPath_; - std::string description_; - std::string clusterId_; - std::string id_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKPLANINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackupInfoRequest.h b/emr/include/alibabacloud/emr/model/GetBackupInfoRequest.h deleted file mode 100644 index 785837668..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackupInfoRequest.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_GETBACKUPINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKUPINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackupInfoRequest : public RpcServiceRequest - { - - public: - GetBackupInfoRequest(); - ~GetBackupInfoRequest(); - - 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 getBackupId()const; - void setBackupId(const std::string& backupId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKUPINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackupInfoResult.h b/emr/include/alibabacloud/emr/model/GetBackupInfoResult.h deleted file mode 100644 index b0c586395..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackupInfoResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETBACKUPINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKUPINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackupInfoResult : public ServiceResult - { - public: - struct MetadataInfo - { - std::string metadataType; - std::string properties; - }; - - - GetBackupInfoResult(); - explicit GetBackupInfoResult(const std::string &payload); - ~GetBackupInfoResult(); - std::string getStatus()const; - MetadataInfo getMetadataInfo()const; - std::string getTarFileName()const; - std::string getClusterId()const; - long getCreateTime()const; - std::string getBackupPlanId()const; - std::string getId()const; - std::string getMd5()const; - std::string getStorePath()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - MetadataInfo metadataInfo_; - std::string tarFileName_; - std::string clusterId_; - long createTime_; - std::string backupPlanId_; - std::string id_; - std::string md5_; - std::string storePath_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKUPINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackupRuleInfoRequest.h b/emr/include/alibabacloud/emr/model/GetBackupRuleInfoRequest.h deleted file mode 100644 index 195b3d55f..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackupRuleInfoRequest.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_GETBACKUPRULEINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKUPRULEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackupRuleInfoRequest : public RpcServiceRequest - { - - public: - GetBackupRuleInfoRequest(); - ~GetBackupRuleInfoRequest(); - - 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 getBackupRuleId()const; - void setBackupRuleId(const std::string& backupRuleId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupRuleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKUPRULEINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetBackupRuleInfoResult.h b/emr/include/alibabacloud/emr/model/GetBackupRuleInfoResult.h deleted file mode 100644 index 1750f5d0b..000000000 --- a/emr/include/alibabacloud/emr/model/GetBackupRuleInfoResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETBACKUPRULEINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETBACKUPRULEINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetBackupRuleInfoResult : public ServiceResult - { - public: - - - GetBackupRuleInfoResult(); - explicit GetBackupRuleInfoResult(const std::string &payload); - ~GetBackupRuleInfoResult(); - std::string getDescription()const; - std::string getMetadataType()const; - std::string getBackupPlanId()const; - std::string getId()const; - std::string getBackupMethodType()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string description_; - std::string metadataType_; - std::string backupPlanId_; - std::string id_; - std::string backupMethodType_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKUPRULEINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobMigrateResultRequest.h b/emr/include/alibabacloud/emr/model/GetJobMigrateResultRequest.h deleted file mode 100644 index c11b9e78d..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobMigrateResultRequest.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_GETJOBMIGRATERESULTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBMIGRATERESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobMigrateResultRequest : public RpcServiceRequest - { - - public: - GetJobMigrateResultRequest(); - ~GetJobMigrateResultRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBMIGRATERESULTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetJobMigrateResultResult.h b/emr/include/alibabacloud/emr/model/GetJobMigrateResultResult.h deleted file mode 100644 index b39bab185..000000000 --- a/emr/include/alibabacloud/emr/model/GetJobMigrateResultResult.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_GETJOBMIGRATERESULTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETJOBMIGRATERESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetJobMigrateResultResult : public ServiceResult - { - public: - - - GetJobMigrateResultResult(); - explicit GetJobMigrateResultResult(const std::string &payload); - ~GetJobMigrateResultResult(); - std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETJOBMIGRATERESULTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetLogDownloadUrlRequest.h b/emr/include/alibabacloud/emr/model/GetLogDownloadUrlRequest.h deleted file mode 100644 index 8df0e2172..000000000 --- a/emr/include/alibabacloud/emr/model/GetLogDownloadUrlRequest.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_GETLOGDOWNLOADURLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETLOGDOWNLOADURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetLogDownloadUrlRequest : public RpcServiceRequest - { - - public: - GetLogDownloadUrlRequest(); - ~GetLogDownloadUrlRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostName()const; - void setHostName(const std::string& hostName); - std::string getLogstoreName()const; - void setLogstoreName(const std::string& logstoreName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getLogFileName()const; - void setLogFileName(const std::string& logFileName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string hostName_; - std::string logstoreName_; - std::string regionId_; - std::string clusterId_; - std::string logFileName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETLOGDOWNLOADURLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetLogDownloadUrlResult.h b/emr/include/alibabacloud/emr/model/GetLogDownloadUrlResult.h deleted file mode 100644 index 8f02d3df2..000000000 --- a/emr/include/alibabacloud/emr/model/GetLogDownloadUrlResult.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_GETLOGDOWNLOADURLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETLOGDOWNLOADURLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetLogDownloadUrlResult : public ServiceResult - { - public: - - - GetLogDownloadUrlResult(); - explicit GetLogDownloadUrlResult(const std::string &payload); - ~GetLogDownloadUrlResult(); - std::string getDownloadUrlBase64Encoded()const; - - protected: - void parse(const std::string &payload); - private: - std::string downloadUrlBase64Encoded_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETLOGDOWNLOADURLRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetLogHistogramRequest.h b/emr/include/alibabacloud/emr/model/GetLogHistogramRequest.h deleted file mode 100644 index 6e2a20bbc..000000000 --- a/emr/include/alibabacloud/emr/model/GetLogHistogramRequest.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_GETLOGHISTOGRAMREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETLOGHISTOGRAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetLogHistogramRequest : public RpcServiceRequest - { - - public: - GetLogHistogramRequest(); - ~GetLogHistogramRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostInnerIp()const; - void setHostInnerIp(const std::string& hostInnerIp); - std::string getHostName()const; - void setHostName(const std::string& hostName); - std::string getLogstoreName()const; - void setLogstoreName(const std::string& logstoreName); - int getFromTimestamp()const; - void setFromTimestamp(int fromTimestamp); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getToTimestamp()const; - void setToTimestamp(int toTimestamp); - std::string getSlsQueryString()const; - void setSlsQueryString(const std::string& slsQueryString); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string hostInnerIp_; - std::string hostName_; - std::string logstoreName_; - int fromTimestamp_; - std::string regionId_; - int toTimestamp_; - std::string slsQueryString_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETLOGHISTOGRAMREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetLogHistogramResult.h b/emr/include/alibabacloud/emr/model/GetLogHistogramResult.h deleted file mode 100644 index ebc39ae29..000000000 --- a/emr/include/alibabacloud/emr/model/GetLogHistogramResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETLOGHISTOGRAMRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETLOGHISTOGRAMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetLogHistogramResult : public ServiceResult - { - public: - struct SlsLogHistogram - { - int toTime; - bool completed; - long count; - int fromTime; - }; - - - GetLogHistogramResult(); - explicit GetLogHistogramResult(const std::string &payload); - ~GetLogHistogramResult(); - long getTotalCount()const; - bool getCompleted()const; - std::vector getSlsLogHistogramList()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - bool completed_; - std::vector slsLogHistogramList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETLOGHISTOGRAMRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetMetadataTypeListRequest.h b/emr/include/alibabacloud/emr/model/GetMetadataTypeListRequest.h deleted file mode 100644 index 8f35ab83c..000000000 --- a/emr/include/alibabacloud/emr/model/GetMetadataTypeListRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETMETADATATYPELISTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETMETADATATYPELISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetMetadataTypeListRequest : public RpcServiceRequest - { - - public: - GetMetadataTypeListRequest(); - ~GetMetadataTypeListRequest(); - - 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: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETMETADATATYPELISTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetMetadataTypeListResult.h b/emr/include/alibabacloud/emr/model/GetMetadataTypeListResult.h deleted file mode 100644 index bdba1ef17..000000000 --- a/emr/include/alibabacloud/emr/model/GetMetadataTypeListResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETMETADATATYPELISTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETMETADATATYPELISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetMetadataTypeListResult : public ServiceResult - { - public: - struct SupportedMetadataTypeDTO - { - std::vector serviceName; - std::vector name; - }; - - - GetMetadataTypeListResult(); - explicit GetMetadataTypeListResult(const std::string &payload); - ~GetMetadataTypeListResult(); - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETMETADATATYPELISTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetOpsCommandDetailRequest.h b/emr/include/alibabacloud/emr/model/GetOpsCommandDetailRequest.h deleted file mode 100644 index 7c3a8901d..000000000 --- a/emr/include/alibabacloud/emr/model/GetOpsCommandDetailRequest.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_GETOPSCOMMANDDETAILREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetOpsCommandDetailRequest : public RpcServiceRequest - { - - public: - GetOpsCommandDetailRequest(); - ~GetOpsCommandDetailRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOpsCommandName()const; - void setOpsCommandName(const std::string& opsCommandName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string opsCommandName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDDETAILREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetOpsCommandDetailResult.h b/emr/include/alibabacloud/emr/model/GetOpsCommandDetailResult.h deleted file mode 100644 index 39394b2a6..000000000 --- a/emr/include/alibabacloud/emr/model/GetOpsCommandDetailResult.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_GETOPSCOMMANDDETAILRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDDETAILRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetOpsCommandDetailResult : public ServiceResult - { - public: - - - GetOpsCommandDetailResult(); - explicit GetOpsCommandDetailResult(const std::string &payload); - ~GetOpsCommandDetailResult(); - std::string getDescription()const; - std::string getCategory()const; - std::string getServiceName()const; - std::string getTargetType()const; - std::string getParams()const; - long getId()const; - std::string getName()const; - - protected: - void parse(const std::string &payload); - private: - std::string description_; - std::string category_; - std::string serviceName_; - std::string targetType_; - std::string params_; - long id_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDDETAILRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceRequest.h b/emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceRequest.h deleted file mode 100644 index ce3d328b4..000000000 --- a/emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceRequest.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_GETOPSCOMMANDRESULTONCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTONCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetOpsCommandResultOnceRequest : public RpcServiceRequest - { - - public: - GetOpsCommandResultOnceRequest(); - ~GetOpsCommandResultOnceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - long getTaskId()const; - void setTaskId(long taskId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - long taskId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTONCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceResult.h b/emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceResult.h deleted file mode 100644 index 1613ca6c0..000000000 --- a/emr/include/alibabacloud/emr/model/GetOpsCommandResultOnceResult.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_GETOPSCOMMANDRESULTONCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTONCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetOpsCommandResultOnceResult : public ServiceResult - { - public: - - - GetOpsCommandResultOnceResult(); - explicit GetOpsCommandResultOnceResult(const std::string &payload); - ~GetOpsCommandResultOnceResult(); - std::string getContent()const; - - protected: - void parse(const std::string &payload); - private: - std::string content_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTONCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetOpsCommandResultRequest.h b/emr/include/alibabacloud/emr/model/GetOpsCommandResultRequest.h deleted file mode 100644 index 0c61ae178..000000000 --- a/emr/include/alibabacloud/emr/model/GetOpsCommandResultRequest.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_GETOPSCOMMANDRESULTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetOpsCommandResultRequest : public RpcServiceRequest - { - - public: - GetOpsCommandResultRequest(); - ~GetOpsCommandResultRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - long getEndCursor()const; - void setEndCursor(long endCursor); - long getStartCursor()const; - void setStartCursor(long startCursor); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - long getTaskId()const; - void setTaskId(long taskId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - long endCursor_; - long startCursor_; - std::string clusterId_; - long taskId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetOpsCommandResultResult.h b/emr/include/alibabacloud/emr/model/GetOpsCommandResultResult.h deleted file mode 100644 index 3befc1f69..000000000 --- a/emr/include/alibabacloud/emr/model/GetOpsCommandResultResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetOpsCommandResultResult : public ServiceResult - { - public: - - - GetOpsCommandResultResult(); - explicit GetOpsCommandResultResult(const std::string &payload); - ~GetOpsCommandResultResult(); - bool getFinished()const; - std::string getContent()const; - long getCursor()const; - - protected: - void parse(const std::string &payload); - private: - bool finished_; - std::string content_; - long cursor_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETOPSCOMMANDRESULTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetSupportedOpsCommandRequest.h b/emr/include/alibabacloud/emr/model/GetSupportedOpsCommandRequest.h deleted file mode 100644 index bf76bd899..000000000 --- a/emr/include/alibabacloud/emr/model/GetSupportedOpsCommandRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETSUPPORTEDOPSCOMMANDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETSUPPORTEDOPSCOMMANDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetSupportedOpsCommandRequest : public RpcServiceRequest - { - - public: - GetSupportedOpsCommandRequest(); - ~GetSupportedOpsCommandRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETSUPPORTEDOPSCOMMANDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetSupportedOpsCommandResult.h b/emr/include/alibabacloud/emr/model/GetSupportedOpsCommandResult.h deleted file mode 100644 index 32fbb484d..000000000 --- a/emr/include/alibabacloud/emr/model/GetSupportedOpsCommandResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_GETSUPPORTEDOPSCOMMANDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETSUPPORTEDOPSCOMMANDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT GetSupportedOpsCommandResult : public ServiceResult - { - public: - struct OpsCommandCategory - { - struct OpsCommandInfo - { - std::string targetType; - std::string params; - std::string id; - std::string discription; - std::string name; - }; - std::string category; - std::vector commandList; - }; - - - GetSupportedOpsCommandResult(); - explicit GetSupportedOpsCommandResult(const std::string &payload); - ~GetSupportedOpsCommandResult(); - std::vector getList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector list_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_GETSUPPORTEDOPSCOMMANDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteDataSourceRequest.h b/emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h similarity index 66% rename from emr/include/alibabacloud/emr/model/DeleteDataSourceRequest.h rename to emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h index 65b502e62..85ff5d7ad 100644 --- a/emr/include/alibabacloud/emr/model/DeleteDataSourceRequest.h +++ b/emr/include/alibabacloud/emr/model/InstallLibrariesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEDATASOURCEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESREQUEST_H_ #include #include @@ -28,30 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteDataSourceRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT InstallLibrariesRequest : public RpcServiceRequest { public: - DeleteDataSourceRequest(); - ~DeleteDataSourceRequest(); + InstallLibrariesRequest(); + ~InstallLibrariesRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); + std::string getLibraryBizId()const; + void setLibraryBizId(const std::string& libraryBizId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::vector getClusterBizIdList()const; + void setClusterBizIdList(const std::vector& clusterBizIdList); private: long resourceOwnerId_; - std::string regionId_; - std::string id_; + std::string libraryBizId_; std::string accessKeyId_; + std::string regionId_; + std::vector clusterBizIdList_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEDATASOURCEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteDataSourceResult.h b/emr/include/alibabacloud/emr/model/InstallLibrariesResult.h similarity index 69% rename from emr/include/alibabacloud/emr/model/DeleteDataSourceResult.h rename to emr/include/alibabacloud/emr/model/InstallLibrariesResult.h index 6ffb1db12..797a4d341 100644 --- a/emr/include/alibabacloud/emr/model/DeleteDataSourceResult.h +++ b/emr/include/alibabacloud/emr/model/InstallLibrariesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEDATASOURCERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteDataSourceResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT InstallLibrariesResult : public ServiceResult { public: - DeleteDataSourceResult(); - explicit DeleteDataSourceResult(const std::string &payload); - ~DeleteDataSourceResult(); + InstallLibrariesResult(); + explicit InstallLibrariesResult(const std::string &payload); + ~InstallLibrariesResult(); + std::string getData()const; protected: void parse(const std::string &payload); private: + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEDATASOURCERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_INSTALLLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryUserPoliciesRequest.h b/emr/include/alibabacloud/emr/model/JoinResourceGroupRequest.h similarity index 76% rename from emr/include/alibabacloud/emr/model/QueryUserPoliciesRequest.h rename to emr/include/alibabacloud/emr/model/JoinResourceGroupRequest.h index 3929decc3..7a364b2b5 100644 --- a/emr/include/alibabacloud/emr/model/QueryUserPoliciesRequest.h +++ b/emr/include/alibabacloud/emr/model/JoinResourceGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_JOINRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_JOINRESOURCEGROUPREQUEST_H_ #include #include @@ -28,33 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT QueryUserPoliciesRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT JoinResourceGroupRequest : public RpcServiceRequest { public: - QueryUserPoliciesRequest(); - ~QueryUserPoliciesRequest(); + JoinResourceGroupRequest(); + ~JoinResourceGroupRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - 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); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getResourceId()const; + void setResourceId(const std::string& resourceId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + 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 resourceId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; + long resourceOwnerId_; + std::string resourceId_; + std::string resourceType_; + std::string accessKeyId_; + std::string resourceGroupId_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_JOINRESOURCEGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunNoteParagraphsResult.h b/emr/include/alibabacloud/emr/model/JoinResourceGroupResult.h similarity index 72% rename from emr/include/alibabacloud/emr/model/RunNoteParagraphsResult.h rename to emr/include/alibabacloud/emr/model/JoinResourceGroupResult.h index 6044ead96..2bb56166c 100644 --- a/emr/include/alibabacloud/emr/model/RunNoteParagraphsResult.h +++ b/emr/include/alibabacloud/emr/model/JoinResourceGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_RUNNOTEPARAGRAPHSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNNOTEPARAGRAPHSRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_JOINRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_JOINRESOURCEGROUPRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT RunNoteParagraphsResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT JoinResourceGroupResult : public ServiceResult { public: - RunNoteParagraphsResult(); - explicit RunNoteParagraphsResult(const std::string &payload); - ~RunNoteParagraphsResult(); + JoinResourceGroupResult(); + explicit JoinResourceGroupResult(const std::string &payload); + ~JoinResourceGroupResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_RUNNOTEPARAGRAPHSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_JOINRESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillETLJobInstanceRequest.h b/emr/include/alibabacloud/emr/model/KillETLJobInstanceRequest.h deleted file mode 100644 index 355024e1d..000000000 --- a/emr/include/alibabacloud/emr/model/KillETLJobInstanceRequest.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_KILLETLJOBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLETLJOBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT KillETLJobInstanceRequest : public RpcServiceRequest - { - - public: - KillETLJobInstanceRequest(); - ~KillETLJobInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string instanceId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_KILLETLJOBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillETLJobInstanceResult.h b/emr/include/alibabacloud/emr/model/KillETLJobInstanceResult.h deleted file mode 100644 index e97c8a813..000000000 --- a/emr/include/alibabacloud/emr/model/KillETLJobInstanceResult.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_KILLETLJOBINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLETLJOBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT KillETLJobInstanceResult : public ServiceResult - { - public: - - - KillETLJobInstanceResult(); - explicit KillETLJobInstanceResult(const std::string &payload); - ~KillETLJobInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_KILLETLJOBINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceRequest.h b/emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceRequest.h deleted file mode 100644 index e0731f3a2..000000000 --- a/emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceRequest.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_KILLEXECUTIONPLANINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONPLANINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT KillExecutionPlanInstanceRequest : public RpcServiceRequest - { - - public: - KillExecutionPlanInstanceRequest(); - ~KillExecutionPlanInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONPLANINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillFlowRequest.h b/emr/include/alibabacloud/emr/model/KillFlowRequest.h deleted file mode 100644 index 6be5d5246..000000000 --- a/emr/include/alibabacloud/emr/model/KillFlowRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_KILLFLOWREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLFLOWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT KillFlowRequest : public RpcServiceRequest - { - - public: - KillFlowRequest(); - ~KillFlowRequest(); - - std::string getFlowInstanceId()const; - void setFlowInstanceId(const std::string& flowInstanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - - private: - std::string flowInstanceId_; - std::string regionId_; - std::string projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_KILLFLOWREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListResourceQueueRequest.h b/emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/ListResourceQueueRequest.h rename to emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h index 7f865436b..f5a21f931 100644 --- a/emr/include/alibabacloud/emr/model/ListResourceQueueRequest.h +++ b/emr/include/alibabacloud/emr/model/ListAdviceActionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTRESOURCEQUEUEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTRESOURCEQUEUEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONREQUEST_H_ #include #include @@ -28,42 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListResourceQueueRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListAdviceActionRequest : public RpcServiceRequest { public: - ListResourceQueueRequest(); - ~ListResourceQueueRequest(); + ListAdviceActionRequest(); + ~ListAdviceActionRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - long getPoolId()const; - void setPoolId(long poolId); - int getPageSize()const; - void setPageSize(int pageSize); std::string getClusterId()const; void setClusterId(const std::string& clusterId); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - std::string getPoolType()const; - void setPoolType(const std::string& poolType); + std::string getComponent()const; + void setComponent(const std::string& component); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getServiceName()const; + void setServiceName(const std::string& serviceName); private: long resourceOwnerId_; - std::string regionId_; - long poolId_; - int pageSize_; std::string clusterId_; int pageNumber_; std::string accessKeyId_; - std::string poolType_; + std::string component_; + std::string regionId_; + int pageSize_; + std::string serviceName_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTRESOURCEQUEUEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListStreamingSqlQueryResult.h b/emr/include/alibabacloud/emr/model/ListAdviceActionResult.h similarity index 66% rename from emr/include/alibabacloud/emr/model/ListStreamingSqlQueryResult.h rename to emr/include/alibabacloud/emr/model/ListAdviceActionResult.h index 71608ca6b..b00e1bcf5 100644 --- a/emr/include/alibabacloud/emr/model/ListStreamingSqlQueryResult.h +++ b/emr/include/alibabacloud/emr/model/ListAdviceActionResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSTREAMINGSQLQUERYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSTREAMINGSQLQUERYRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONRESULT_H_ #include #include @@ -29,25 +29,27 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListStreamingSqlQueryResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListAdviceActionResult : public ServiceResult { public: struct Item { - std::string status; long gmtCreate; - std::string instanceId; - std::string queryId; + std::string configName; + std::string actionType; + std::string configItemKey; + std::string command; + std::string clusterId; + std::string serviceName; long gmtModified; - std::string error; - std::string runId; - std::string queryName; + std::string component; + std::string hostgroupName; }; - ListStreamingSqlQueryResult(); - explicit ListStreamingSqlQueryResult(const std::string &payload); - ~ListStreamingSqlQueryResult(); + ListAdviceActionResult(); + explicit ListAdviceActionResult(const std::string &payload); + ~ListAdviceActionResult(); int getTotalCount()const; int getPageSize()const; int getPageNumber()const; @@ -65,4 +67,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSTREAMINGSQLQUERYRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTADVICEACTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAlertContactsRequest.h b/emr/include/alibabacloud/emr/model/ListAlertContactsRequest.h deleted file mode 100644 index 13c929f40..000000000 --- a/emr/include/alibabacloud/emr/model/ListAlertContactsRequest.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_LISTALERTCONTACTSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTALERTCONTACTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAlertContactsRequest : public RpcServiceRequest - { - - public: - ListAlertContactsRequest(); - ~ListAlertContactsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFromApp()const; - void setFromApp(const std::string& fromApp); - 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); - std::string getIds()const; - void setIds(const std::string& ids); - - private: - long resourceOwnerId_; - std::string fromApp_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - std::string ids_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTALERTCONTACTSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAlertContactsResult.h b/emr/include/alibabacloud/emr/model/ListAlertContactsResult.h deleted file mode 100644 index 82143b5cf..000000000 --- a/emr/include/alibabacloud/emr/model/ListAlertContactsResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTALERTCONTACTSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTALERTCONTACTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAlertContactsResult : public ServiceResult - { - public: - struct AlertContact - { - std::string gmtCreate; - std::string email; - std::string gmtModified; - std::string phoneNumber; - long id; - std::string bizId; - std::string name; - }; - - - ListAlertContactsResult(); - explicit ListAlertContactsResult(const std::string &payload); - ~ListAlertContactsResult(); - std::vector getAlertContactList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector alertContactList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTALERTCONTACTSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAlertDingDingGroupRequest.h b/emr/include/alibabacloud/emr/model/ListAlertDingDingGroupRequest.h deleted file mode 100644 index fc18c10b3..000000000 --- a/emr/include/alibabacloud/emr/model/ListAlertDingDingGroupRequest.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_LISTALERTDINGDINGGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTALERTDINGDINGGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAlertDingDingGroupRequest : public RpcServiceRequest - { - - public: - ListAlertDingDingGroupRequest(); - ~ListAlertDingDingGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFromApp()const; - void setFromApp(const std::string& fromApp); - 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); - std::string getIds()const; - void setIds(const std::string& ids); - - private: - long resourceOwnerId_; - std::string fromApp_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - std::string ids_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTALERTDINGDINGGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAlertUserGroupRequest.h b/emr/include/alibabacloud/emr/model/ListAlertUserGroupRequest.h deleted file mode 100644 index 6b2573fae..000000000 --- a/emr/include/alibabacloud/emr/model/ListAlertUserGroupRequest.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_LISTALERTUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTALERTUSERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAlertUserGroupRequest : public RpcServiceRequest - { - - public: - ListAlertUserGroupRequest(); - ~ListAlertUserGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFromApp()const; - void setFromApp(const std::string& fromApp); - 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); - std::string getIds()const; - void setIds(const std::string& ids); - - private: - long resourceOwnerId_; - std::string fromApp_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - std::string ids_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTALERTUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAlertUserGroupResult.h b/emr/include/alibabacloud/emr/model/ListAlertUserGroupResult.h deleted file mode 100644 index 3088aea6c..000000000 --- a/emr/include/alibabacloud/emr/model/ListAlertUserGroupResult.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_LISTALERTUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTALERTUSERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListAlertUserGroupResult : public ServiceResult - { - public: - struct Group - { - struct UserInfo - { - std::string userName; - bool enableEmail; - std::string userId; - bool enableSMS; - }; - std::string gmtCreate; - std::string description; - std::string gmtModified; - long id; - std::vector userList; - std::string bizId; - std::string name; - }; - - - ListAlertUserGroupResult(); - explicit ListAlertUserGroupResult(const std::string &payload); - ~ListAlertUserGroupResult(); - std::vector getAlertUserGroupList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector alertUserGroupList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTALERTUSERGROUPRESULT_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 ab56e21b6..d9bdea52f 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterHostComponentResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterHostComponentResult.h @@ -41,6 +41,7 @@ namespace AlibabaCloud int cpu; std::string hostId; std::string hostInstanceId; + std::string commissionStatus; std::string serviceDisplayName; std::string role; std::string serialNumber; diff --git a/emr/include/alibabacloud/emr/model/ListClusterHostGroupResult.h b/emr/include/alibabacloud/emr/model/ListClusterHostGroupResult.h index c94cc7a05..60b6fc0a5 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterHostGroupResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterHostGroupResult.h @@ -43,14 +43,20 @@ namespace AlibabaCloud std::string gmtModified; int cpu; int dataDiskCount; + int scalingGroupMinNode; std::string lockType; std::string systemDiskType; + std::string scalingGroupActiveStatus; + int scalingGroupMaxNode; std::string instanceType; std::string lockReason; + std::string scalingGroupConfigState; std::string status; int systemDiskCount; std::string comment; int nodeCount; + float costSavingPercent; + std::string scalingInMode; std::string securityGroupId; std::string payType; std::string hostGroupName; @@ -59,6 +65,7 @@ namespace AlibabaCloud std::string hostGroupId; std::string dataDiskType; std::string chargeType; + std::string scalingGroupBizId; int dataDiskSize; }; diff --git a/emr/include/alibabacloud/emr/model/ListClusterHostResult.h b/emr/include/alibabacloud/emr/model/ListClusterHostResult.h index 1afff43e0..674c5c207 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterHostResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterHostResult.h @@ -39,7 +39,10 @@ namespace AlibabaCloud std::string diskType; std::string type; std::string device; + std::string diskMountPoint; + std::string blockMountPoint; int diskSize; + std::string event; std::string diskId; }; std::string status; diff --git a/emr/include/alibabacloud/emr/model/ListResourcePoolForAdminRequest.h b/emr/include/alibabacloud/emr/model/ListClusterOperationTaskRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/ListResourcePoolForAdminRequest.h rename to emr/include/alibabacloud/emr/model/ListClusterOperationTaskRequest.h index 7e5590ec2..366b79249 100644 --- a/emr/include/alibabacloud/emr/model/ListResourcePoolForAdminRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClusterOperationTaskRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTRESOURCEPOOLFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTRESOURCEPOOLFORADMINREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTEROPERATIONTASKREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTEROPERATIONTASKREQUEST_H_ #include #include @@ -28,42 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListResourcePoolForAdminRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListClusterOperationTaskRequest : public RpcServiceRequest { public: - ListResourcePoolForAdminRequest(); - ~ListResourcePoolForAdminRequest(); + ListClusterOperationTaskRequest(); + ~ListClusterOperationTaskRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& 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); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getPoolType()const; - void setPoolType(const std::string& poolType); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + 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 getStatus()const; + void setStatus(const std::string& status); private: - long resourceOwnerId_; - std::string clusterId_; - std::string userId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - std::string poolType_; + long resourceOwnerId_; + std::string clusterId_; + int pageNumber_; + std::string accessKeyId_; + std::string regionId_; + int pageSize_; + std::string operationId_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTRESOURCEPOOLFORADMINREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTEROPERATIONTASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListHostPoolResult.h b/emr/include/alibabacloud/emr/model/ListClusterOperationTaskResult.h similarity index 62% rename from emr/include/alibabacloud/emr/model/ListHostPoolResult.h rename to emr/include/alibabacloud/emr/model/ListClusterOperationTaskResult.h index dbbce31fb..18748ec04 100644 --- a/emr/include/alibabacloud/emr/model/ListHostPoolResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterOperationTaskResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTHOSTPOOLRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTEROPERATIONTASKRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTEROPERATIONTASKRESULT_H_ #include #include @@ -29,39 +29,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListHostPoolResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListClusterOperationTaskResult : public ServiceResult { public: - struct HostPool + struct ClusterOperationTask { std::string status; - std::string type; - long gmtCreate; - std::string description; - int hostCount; - std::string bizId; - std::string name; + std::string taskId; + std::string taskName; + std::string percentage; }; - ListHostPoolResult(); - explicit ListHostPoolResult(const std::string &payload); - ~ListHostPoolResult(); + ListClusterOperationTaskResult(); + explicit ListClusterOperationTaskResult(const std::string &payload); + ~ListClusterOperationTaskResult(); int getTotalCount()const; - std::vector getHostPoolList()const; int getPageSize()const; + std::vector getClusterOperationTaskList()const; int getPageNumber()const; protected: void parse(const std::string &payload); private: int totalCount_; - std::vector hostPoolList_; int pageSize_; + std::vector clusterOperationTaskList_; int pageNumber_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTHOSTPOOLRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTEROPERATIONTASKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterScriptsRequest.h b/emr/include/alibabacloud/emr/model/ListClusterScriptsRequest.h deleted file mode 100644 index 0f35c13c4..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterScriptsRequest.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_LISTCLUSTERSCRIPTSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSCRIPTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterScriptsRequest : public RpcServiceRequest - { - - public: - ListClusterScriptsRequest(); - ~ListClusterScriptsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSCRIPTSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterScriptsResult.h b/emr/include/alibabacloud/emr/model/ListClusterScriptsResult.h deleted file mode 100644 index 460bd4fbb..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterScriptsResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSCRIPTSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSCRIPTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterScriptsResult : public ServiceResult - { - public: - struct ClusterScript - { - std::string path; - std::string status; - std::string args; - long endTime; - long startTime; - std::string id; - std::string name; - }; - - - ListClusterScriptsResult(); - explicit ListClusterScriptsResult(const std::string &payload); - ~ListClusterScriptsResult(); - std::vector getClusterScripts()const; - - protected: - void parse(const std::string &payload); - private: - std::vector clusterScripts_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSCRIPTSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h index c3a859ba4..016c91cb4 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentHealthInfoResult.h @@ -53,6 +53,7 @@ namespace AlibabaCloud std::vector healthDetailList; int normalNum; int totalNum; + long createdTime; std::string serviceName; int manualStoppedNum; std::string componentName; diff --git a/emr/include/alibabacloud/emr/model/ListClusterHostComponentForAdminRequest.h b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentRequest.h similarity index 68% rename from emr/include/alibabacloud/emr/model/ListClusterHostComponentForAdminRequest.h rename to emr/include/alibabacloud/emr/model/ListClusterServiceComponentRequest.h index 264df7d5b..2b523fb48 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterHostComponentForAdminRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERHOSTCOMPONENTFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERHOSTCOMPONENTFORADMINREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECOMPONENTREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECOMPONENTREQUEST_H_ #include #include @@ -28,57 +28,48 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListClusterHostComponentForAdminRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListClusterServiceComponentRequest : public RpcServiceRequest { public: - ListClusterHostComponentForAdminRequest(); - ~ListClusterHostComponentForAdminRequest(); + ListClusterServiceComponentRequest(); + ~ListClusterServiceComponentRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostInstanceId()const; - void setHostInstanceId(const std::string& hostInstanceId); - std::string getComponentName()const; - void setComponentName(const std::string& componentName); - std::string 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 getComponentStatus()const; - void setComponentStatus(const std::string& componentStatus); - std::string getHostName()const; - void setHostName(const std::string& hostName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getHostRole()const; - void setHostRole(const std::string& hostRole); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPodName()const; + void setPodName(const std::string& podName); + std::string getComponentName()const; + void setComponentName(const std::string& componentName); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getComponentStatus()const; + void setComponentStatus(const std::string& componentStatus); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getServiceName()const; + void setServiceName(const std::string& serviceName); private: - long resourceOwnerId_; - std::string hostInstanceId_; - std::string componentName_; - std::string userId_; - int pageNumber_; - std::string accessKeyId_; - std::string componentStatus_; - std::string hostName_; - std::string regionId_; - int pageSize_; - std::string serviceName_; - std::string clusterId_; - std::string hostRole_; + long resourceOwnerId_; + std::string podName_; + std::string componentName_; + std::string clusterId_; + int pageNumber_; + std::string accessKeyId_; + std::string componentStatus_; + std::string regionId_; + int pageSize_; + std::string serviceName_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERHOSTCOMPONENTFORADMINREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECOMPONENTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterHostComponentForAdminResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentResult.h similarity index 69% rename from emr/include/alibabacloud/emr/model/ListClusterHostComponentForAdminResult.h rename to emr/include/alibabacloud/emr/model/ListClusterServiceComponentResult.h index 2da9a5a4b..6a53714e4 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterHostComponentForAdminResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceComponentResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERHOSTCOMPONENTFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERHOSTCOMPONENTFORADMINRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECOMPONENTRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECOMPONENTRESULT_H_ #include #include @@ -29,7 +29,7 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListClusterHostComponentForAdminResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListClusterServiceComponentResult : public ServiceResult { public: struct Component @@ -37,26 +37,25 @@ namespace AlibabaCloud std::string status; std::string componentDisplayName; std::string publicIp; - int memory; - int cpu; - std::string hostId; - std::string hostInstanceId; + std::string workloadType; + std::string _namespace; + int desiredCount; + std::string commissionStatus; std::string serviceDisplayName; std::string role; - std::string serialNumber; + std::string podName; + std::string workloadName; std::string serviceName; std::string privateIp; std::string serverStatus; bool needRestart; std::string componentName; - std::string instanceType; - std::string hostName; }; - ListClusterHostComponentForAdminResult(); - explicit ListClusterHostComponentForAdminResult(const std::string &payload); - ~ListClusterHostComponentForAdminResult(); + ListClusterServiceComponentResult(); + explicit ListClusterServiceComponentResult(const std::string &payload); + ~ListClusterServiceComponentResult(); int getPageSize()const; int getPageNumber()const; int getTotal()const; @@ -74,4 +73,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERHOSTCOMPONENTFORADMINRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECOMPONENTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminResult.h deleted file mode 100644 index ec218dfe3..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECONFIGHISTORYFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECONFIGHISTORYFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterServiceConfigHistoryForAdminResult : public ServiceResult - { - public: - struct ConfigHistory - { - std::string configFileName; - std::string comment; - std::string serviceName; - std::string oldValue; - std::string configVersion; - long createTime; - std::string author; - std::string newValue; - bool applied; - std::string configItemName; - }; - - - ListClusterServiceConfigHistoryForAdminResult(); - explicit ListClusterServiceConfigHistoryForAdminResult(const std::string &payload); - ~ListClusterServiceConfigHistoryForAdminResult(); - std::vector getConfigHistoryList()const; - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - std::vector configHistoryList_; - int totalCount_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECONFIGHISTORYFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryResult.h index ee6a63757..054cf4fb1 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryResult.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryResult.h @@ -38,6 +38,7 @@ namespace AlibabaCloud std::string oldValue; std::string configVersion; long createTime; + std::string hostGroupName; std::string hostInstanceId; bool applied; std::string configFileName; diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.h b/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.h deleted file mode 100644 index e6aa1f26c..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.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_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterServiceCustomActionSupportConfigForAdminRequest : public RpcServiceRequest - { - - public: - ListClusterServiceCustomActionSupportConfigForAdminRequest(); - ~ListClusterServiceCustomActionSupportConfigForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getServiceCustomActionName()const; - void setServiceCustomActionName(const std::string& serviceCustomActionName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string serviceCustomActionName_; - std::string regionId_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminResult.h deleted file mode 100644 index 03bad0bb5..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigForAdminResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterServiceCustomActionSupportConfigForAdminResult : public ServiceResult - { - public: - struct SupportedConfig - { - std::string configKey; - }; - - - ListClusterServiceCustomActionSupportConfigForAdminResult(); - explicit ListClusterServiceCustomActionSupportConfigForAdminResult(const std::string &payload); - ~ListClusterServiceCustomActionSupportConfigForAdminResult(); - std::vector getSupportedConfigList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector supportedConfigList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigRequest.h b/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigRequest.h deleted file mode 100644 index deb9970cd..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigRequest.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_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterServiceCustomActionSupportConfigRequest : public RpcServiceRequest - { - - public: - ListClusterServiceCustomActionSupportConfigRequest(); - ~ListClusterServiceCustomActionSupportConfigRequest(); - - std::string getServiceCustomActionName()const; - void setServiceCustomActionName(const std::string& serviceCustomActionName); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string serviceCustomActionName_; - long resourceOwnerId_; - std::string regionId_; - std::string serviceName_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigResult.h b/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigResult.h deleted file mode 100644 index 1311aae61..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceCustomActionSupportConfigResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterServiceCustomActionSupportConfigResult : public ServiceResult - { - public: - struct SupportedConfig - { - std::string configKey; - }; - - - ListClusterServiceCustomActionSupportConfigResult(); - explicit ListClusterServiceCustomActionSupportConfigResult(const std::string &payload); - ~ListClusterServiceCustomActionSupportConfigResult(); - std::vector getSupportedConfigList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector supportedConfigList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECUSTOMACTIONSUPPORTCONFIGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceQuickLinkRequest.h b/emr/include/alibabacloud/emr/model/ListClusterServiceQuickLinkRequest.h index d1ced3fc8..d83aaafe0 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceQuickLinkRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClusterServiceQuickLinkRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + bool getDirectType()const; + void setDirectType(bool directType); std::string getClusterId()const; void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; @@ -48,6 +50,7 @@ namespace AlibabaCloud private: long resourceOwnerId_; + bool directType_; std::string clusterId_; std::string accessKeyId_; std::string regionId_; diff --git a/emr/include/alibabacloud/emr/model/ListClusterSupportServiceRequest.h b/emr/include/alibabacloud/emr/model/ListClusterSupportServiceRequest.h deleted file mode 100644 index fb4634624..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterSupportServiceRequest.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_LISTCLUSTERSUPPORTSERVICEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSUPPORTSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterSupportServiceRequest : public RpcServiceRequest - { - - public: - ListClusterSupportServiceRequest(); - ~ListClusterSupportServiceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string clusterId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSUPPORTSERVICEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterSupportServiceResult.h b/emr/include/alibabacloud/emr/model/ListClusterSupportServiceResult.h deleted file mode 100644 index 0cf75f756..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterSupportServiceResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSUPPORTSERVICERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSUPPORTSERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterSupportServiceResult : public ServiceResult - { - public: - struct SupportService - { - std::string serviceName; - std::string serviceEcmVersion; - std::string serviceVersion; - std::string serviceDisplayName; - }; - - - ListClusterSupportServiceResult(); - explicit ListClusterSupportServiceResult(const std::string &payload); - ~ListClusterSupportServiceResult(); - std::vector getSupportServiceList()const; - std::string getTotalCount()const; - std::string getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - std::vector supportServiceList_; - std::string totalCount_; - std::string pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSUPPORTSERVICERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterTagForAdminRequest.h b/emr/include/alibabacloud/emr/model/ListClusterTagForAdminRequest.h deleted file mode 100644 index 1abc26c84..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterTagForAdminRequest.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_LISTCLUSTERTAGFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterTagForAdminRequest : public RpcServiceRequest - { - - public: - ListClusterTagForAdminRequest(); - ~ListClusterTagForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getClusterIdList()const; - void setClusterIdList(const std::vector& clusterIdList); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string userId_; - std::string accessKeyId_; - std::vector clusterIdList_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterTagForAdminResult.h b/emr/include/alibabacloud/emr/model/ListClusterTagForAdminResult.h deleted file mode 100644 index 338d6e544..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterTagForAdminResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterTagForAdminResult : public ServiceResult - { - public: - struct ClusterTag - { - struct TagInfo - { - std::string tagType; - std::string tagKey; - std::string tagValue; - }; - std::string clusterId; - std::vector tagInfoList; - }; - - - ListClusterTagForAdminResult(); - explicit ListClusterTagForAdminResult(const std::string &payload); - ~ListClusterTagForAdminResult(); - std::vector getClusterTagList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector clusterTagList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterTagRequest.h b/emr/include/alibabacloud/emr/model/ListClusterTagRequest.h deleted file mode 100644 index 602b51aa7..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterTagRequest.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_LISTCLUSTERTAGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterTagRequest : public RpcServiceRequest - { - - public: - ListClusterTagRequest(); - ~ListClusterTagRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getClusterIdList()const; - void setClusterIdList(const std::vector& clusterIdList); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::vector clusterIdList_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterTagResult.h b/emr/include/alibabacloud/emr/model/ListClusterTagResult.h deleted file mode 100644 index 08ce95437..000000000 --- a/emr/include/alibabacloud/emr/model/ListClusterTagResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListClusterTagResult : public ServiceResult - { - public: - struct ClusterTag - { - struct TagInfo - { - std::string tagType; - std::string tagKey; - std::string tagValue; - }; - std::string clusterId; - std::vector tagInfoList; - }; - - - ListClusterTagResult(); - explicit ListClusterTagResult(const std::string &payload); - ~ListClusterTagResult(); - std::vector getClusterTagList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector clusterTagList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTCLUSTERTAGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterTemplatesRequest.h b/emr/include/alibabacloud/emr/model/ListClusterTemplatesRequest.h index cd5b8bc17..2263c4d43 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterTemplatesRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClusterTemplatesRequest.h @@ -41,6 +41,10 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getBizId()const; @@ -52,6 +56,8 @@ namespace AlibabaCloud long resourceOwnerId_; int pageNumber_; std::string accessKeyId_; + std::string productType_; + std::string resourceGroupId_; std::string regionId_; std::string bizId_; int pageSize_; diff --git a/emr/include/alibabacloud/emr/model/ListClustersRequest.h b/emr/include/alibabacloud/emr/model/ListClustersRequest.h index c51987be2..9c85844f3 100644 --- a/emr/include/alibabacloud/emr/model/ListClustersRequest.h +++ b/emr/include/alibabacloud/emr/model/ListClustersRequest.h @@ -55,6 +55,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getMachineType()const; void setMachineType(const std::string& machineType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getPageSize()const; @@ -63,6 +65,8 @@ namespace AlibabaCloud void setTag(const std::vector& tag); std::string getCreateType()const; void setCreateType(const std::string& createType); + std::vector getExpiredTagList()const; + void setExpiredTagList(const std::vector& expiredTagList); bool getDefaultStatus()const; void setDefaultStatus(bool defaultStatus); std::string getName()const; @@ -78,10 +82,12 @@ namespace AlibabaCloud int pageNumber_; std::string accessKeyId_; std::string machineType_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; std::vector tag_; std::string createType_; + std::vector expiredTagList_; bool defaultStatus_; std::string name_; std::vector clusterTypeList_; diff --git a/emr/include/alibabacloud/emr/model/ListClustersResult.h b/emr/include/alibabacloud/emr/model/ListClustersResult.h index 7d4f2486c..33fb3c263 100644 --- a/emr/include/alibabacloud/emr/model/ListClustersResult.h +++ b/emr/include/alibabacloud/emr/model/ListClustersResult.h @@ -46,14 +46,21 @@ namespace AlibabaCloud std::string errorMsg; std::string errorCode; }; + struct Tag + { + std::string tagKey; + std::string tagValue; + }; std::string status; std::string createResource; + long operationId; long createTime; std::string machineType; std::string depositType; int period; std::string metaStoreType; FailReason failReason; + std::string k8sClusterId; std::string name; std::string type; std::string chargeType; @@ -63,6 +70,7 @@ namespace AlibabaCloud std::string orderList; bool hasUncompletedOrder; int runningTime; + std::vector tags; }; diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h b/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h index 91371a1c2..bfacd7eda 100644 --- a/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h +++ b/emr/include/alibabacloud/emr/model/ListDataSourceRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getPageSize()const; @@ -61,6 +63,7 @@ namespace AlibabaCloud std::string createFrom_; int pageNumber_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; std::string name_; diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseRequest.h b/emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseRequest.h deleted file mode 100644 index ea9c9f3c8..000000000 --- a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseRequest.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_LISTDATASOURCESCHEMADATABASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMADATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDataSourceSchemaDatabaseRequest : public RpcServiceRequest - { - - public: - ListDataSourceSchemaDatabaseRequest(); - ~ListDataSourceSchemaDatabaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string dataSourceId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMADATABASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseResult.h b/emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseResult.h deleted file mode 100644 index 370275192..000000000 --- a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaDatabaseResult.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_LISTDATASOURCESCHEMADATABASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMADATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDataSourceSchemaDatabaseResult : public ServiceResult - { - public: - struct Schema - { - std::string dbVersion; - std::string dbName; - std::string dbType; - }; - - - ListDataSourceSchemaDatabaseResult(); - explicit ListDataSourceSchemaDatabaseResult(const std::string &payload); - ~ListDataSourceSchemaDatabaseResult(); - std::vector getSchemaList()const; - std::string getDataSourceId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector schemaList_; - std::string dataSourceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMADATABASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableRequest.h b/emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableRequest.h deleted file mode 100644 index 8d7dfde7b..000000000 --- a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableRequest.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_LISTDATASOURCESCHEMATABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMATABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDataSourceSchemaTableRequest : public RpcServiceRequest - { - - public: - ListDataSourceSchemaTableRequest(); - ~ListDataSourceSchemaTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string dataSourceId_; - std::string tableName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMATABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableResult.h b/emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableResult.h deleted file mode 100644 index 994dd6ca4..000000000 --- a/emr/include/alibabacloud/emr/model/ListDataSourceSchemaTableResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMATABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMATABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDataSourceSchemaTableResult : public ServiceResult - { - public: - struct Schema - { - struct Field - { - std::string type; - std::string length; - bool partitionKey; - int index; - std::string rawType; - std::string assignType; - std::string assignValue; - std::string name; - }; - std::string tableName; - std::vector fields; - std::string dbVersion; - std::string dbName; - std::string dbType; - }; - - - ListDataSourceSchemaTableResult(); - explicit ListDataSourceSchemaTableResult(const std::string &payload); - ~ListDataSourceSchemaTableResult(); - std::vector getSchemaList()const; - std::string getDataSourceId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector schemaList_; - std::string dataSourceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDATASOURCESCHEMATABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDependedServiceRequest.h b/emr/include/alibabacloud/emr/model/ListDependedServiceRequest.h deleted file mode 100644 index 8bff395a2..000000000 --- a/emr/include/alibabacloud/emr/model/ListDependedServiceRequest.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_LISTDEPENDEDSERVICEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDEPENDEDSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDependedServiceRequest : public RpcServiceRequest - { - - public: - ListDependedServiceRequest(); - ~ListDependedServiceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string serviceName_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDEPENDEDSERVICEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListDependedServiceResult.h b/emr/include/alibabacloud/emr/model/ListDependedServiceResult.h deleted file mode 100644 index 253256faf..000000000 --- a/emr/include/alibabacloud/emr/model/ListDependedServiceResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTDEPENDEDSERVICERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTDEPENDEDSERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListDependedServiceResult : public ServiceResult - { - public: - struct Service - { - std::string serviceName; - std::string serviceDisplayName; - }; - - - ListDependedServiceResult(); - explicit ListDependedServiceResult(const std::string &payload); - ~ListDependedServiceResult(); - std::vector getServiceList()const; - bool getExistServices()const; - - protected: - void parse(const std::string &payload); - private: - std::vector serviceList_; - bool existServices_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTDEPENDEDSERVICERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListETLJobInstanceRequest.h b/emr/include/alibabacloud/emr/model/ListETLJobInstanceRequest.h deleted file mode 100644 index 88e1390e5..000000000 --- a/emr/include/alibabacloud/emr/model/ListETLJobInstanceRequest.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_LISTETLJOBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTETLJOBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListETLJobInstanceRequest : public RpcServiceRequest - { - - public: - ListETLJobInstanceRequest(); - ~ListETLJobInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string instanceId_; - std::string regionId_; - std::string etlJobId_; - int pageSize_; - int pageNumber_; - std::string accessKeyId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTETLJOBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListETLJobInstanceResult.h b/emr/include/alibabacloud/emr/model/ListETLJobInstanceResult.h deleted file mode 100644 index f0813d25a..000000000 --- a/emr/include/alibabacloud/emr/model/ListETLJobInstanceResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTETLJOBINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTETLJOBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListETLJobInstanceResult : public ServiceResult - { - public: - struct Instance - { - struct Arguments - { - std::string value; - std::string key; - }; - struct Metrics - { - long recordsOut; - long vcores; - long memSize; - long totalTime; - std::string recordsRate; - long recordsIn; - long recordsError; - }; - struct FlowRelation - { - std::string flowJobId; - std::string flowJobInstanceId; - }; - struct StageInstance - { - long stageEndTime; - std::string id; - long stageStartTime; - std::string name; - }; - std::string triggerUser; - std::string triggerType; - Metrics metrics; - long endTime; - std::string instanceStatus; - Arguments arguments; - long startTime; - std::string id; - std::vector flowRelationList; - std::vector stageInstanceList; - std::string etlJobId; - std::string name; - }; - - - ListETLJobInstanceResult(); - explicit ListETLJobInstanceResult(const std::string &payload); - ~ListETLJobInstanceResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getInstanceList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector instanceList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTETLJOBINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListETLJobReleaseRequest.h b/emr/include/alibabacloud/emr/model/ListETLJobReleaseRequest.h deleted file mode 100644 index 7cf538c05..000000000 --- a/emr/include/alibabacloud/emr/model/ListETLJobReleaseRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTETLJOBRELEASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTETLJOBRELEASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListETLJobReleaseRequest : public RpcServiceRequest - { - - public: - ListETLJobReleaseRequest(); - ~ListETLJobReleaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getReleaseId()const; - void setReleaseId(const std::string& releaseId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getReleaseVersion()const; - void setReleaseVersion(int releaseVersion); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string etlJobId_; - std::string releaseId_; - int pageSize_; - int pageNumber_; - int releaseVersion_; - std::string accessKeyId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTETLJOBRELEASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListETLJobReleaseResult.h b/emr/include/alibabacloud/emr/model/ListETLJobReleaseResult.h deleted file mode 100644 index e0f199a79..000000000 --- a/emr/include/alibabacloud/emr/model/ListETLJobReleaseResult.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_LISTETLJOBRELEASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTETLJOBRELEASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListETLJobReleaseResult : public ServiceResult - { - public: - struct Release - { - std::string status; - long gmtCreate; - long gmtModified; - std::string id; - std::string etlJobId; - int releaseVersion; - }; - - - ListETLJobReleaseResult(); - explicit ListETLJobReleaseResult(const std::string &payload); - ~ListETLJobReleaseResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getReleaseList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector releaseList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTETLJOBRELEASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityRequest.h b/emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityRequest.h deleted file mode 100644 index e26ff5317..000000000 --- a/emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityRequest.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_LISTETLJOBTRIGGERENTITYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTETLJOBTRIGGERENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListETLJobTriggerEntityRequest : public RpcServiceRequest - { - - public: - ListETLJobTriggerEntityRequest(); - ~ListETLJobTriggerEntityRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string entityType_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTETLJOBTRIGGERENTITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityResult.h b/emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityResult.h deleted file mode 100644 index c0bfc06a2..000000000 --- a/emr/include/alibabacloud/emr/model/ListETLJobTriggerEntityResult.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_LISTETLJOBTRIGGERENTITYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTETLJOBTRIGGERENTITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListETLJobTriggerEntityResult : public ServiceResult - { - public: - struct TriggerEntity - { - std::string entityType; - std::string id; - std::string name; - }; - - - ListETLJobTriggerEntityResult(); - explicit ListETLJobTriggerEntityResult(const std::string &payload); - ~ListETLJobTriggerEntityResult(); - std::vector getTriggerEntityList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector triggerEntityList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTETLJOBTRIGGERENTITYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h b/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h index c4b9c9584..fa3b1cf80 100644 --- a/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h +++ b/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigRequest.h @@ -39,12 +39,15 @@ namespace AlibabaCloud 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_; }; diff --git a/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h b/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h index 8ddd3b695..ee254a2ea 100644 --- a/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h +++ b/emr/include/alibabacloud/emr/model/ListEmrAvailableConfigResult.h @@ -48,9 +48,12 @@ namespace AlibabaCloud }; std::vector clusterTypeInfoList; bool ecmVersion; + std::string extraInfo; std::string regionId; + bool onCloudNative; std::string mainVersionName; std::string stackName; + std::string publishType; std::string stackVersion; }; struct SecurityGroup diff --git a/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h b/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h index 32a81741e..8677ceafd 100644 --- a/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h +++ b/emr/include/alibabacloud/emr/model/ListEmrAvailableResourceRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getSystemDiskType()const; void setSystemDiskType(const std::string& systemDiskType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getInstanceType()const; @@ -69,6 +71,7 @@ namespace AlibabaCloud std::string depositType_; std::string accessKeyId_; std::string systemDiskType_; + std::string resourceGroupId_; std::string regionId_; std::string instanceType_; std::string instanceChargeType_; diff --git a/emr/include/alibabacloud/emr/model/ListEmrMainVersionResult.h b/emr/include/alibabacloud/emr/model/ListEmrMainVersionResult.h index ef5262914..9bd2ce3a3 100644 --- a/emr/include/alibabacloud/emr/model/ListEmrMainVersionResult.h +++ b/emr/include/alibabacloud/emr/model/ListEmrMainVersionResult.h @@ -48,13 +48,20 @@ namespace AlibabaCloud 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; }; diff --git a/emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoRequest.h b/emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoRequest.h deleted file mode 100644 index 96d83f869..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoRequest.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_LISTEXECUTEPLANMIGRATEINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTEPLANMIGRATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutePlanMigrateInfoRequest : public RpcServiceRequest - { - - public: - ListExecutePlanMigrateInfoRequest(); - ~ListExecutePlanMigrateInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - int pageSize_; - std::string userId_; - int currentSize_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTEPLANMIGRATEINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoResult.h b/emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoResult.h deleted file mode 100644 index fdf90d25d..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutePlanMigrateInfoResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTEXECUTEPLANMIGRATEINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTEPLANMIGRATEINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutePlanMigrateInfoResult : public ServiceResult - { - public: - struct ExecutePlanMigrateInfo - { - struct JobInfo - { - long status; - std::string description; - std::string clusterId; - std::string jobId; - long indexNO; - }; - long status; - long isCycle; - std::string buildClusterCondition; - std::string startScheduleTime; - std::string createTime; - std::vector jobList; - long id; - std::string bizId; - std::string cronExpr; - std::string name; - }; - - - ListExecutePlanMigrateInfoResult(); - explicit ListExecutePlanMigrateInfoResult(const std::string &payload); - ~ListExecutePlanMigrateInfoResult(); - std::vector getExecutePlanMigrateInfoList()const; - long getTotal()const; - - protected: - void parse(const std::string &payload); - private: - std::vector executePlanMigrateInfoList_; - long total_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTEPLANMIGRATEINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendResult.h b/emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendResult.h deleted file mode 100644 index 5aa900f86..000000000 --- a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendResult.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_LISTEXECUTIONPLANINSTANCETRENDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCETRENDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListExecutionPlanInstanceTrendResult : public ServiceResult - { - public: - struct Trend - { - std::string status; - int count; - std::string day; - }; - - - ListExecutionPlanInstanceTrendResult(); - explicit ListExecutionPlanInstanceTrendResult(const std::string &payload); - ~ListExecutionPlanInstanceTrendResult(); - std::vector getTrends()const; - - protected: - void parse(const std::string &payload); - private: - std::vector trends_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCETRENDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesRequest.h b/emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesRequest.h deleted file mode 100644 index 8f8287a0b..000000000 --- a/emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesRequest.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_LISTFAILUREJOBEXECUTIONINSTANCESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTFAILUREJOBEXECUTIONINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListFailureJobExecutionInstancesRequest : public RpcServiceRequest - { - - public: - ListFailureJobExecutionInstancesRequest(); - ~ListFailureJobExecutionInstancesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getCount()const; - void setCount(int count); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - int count_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTFAILUREJOBEXECUTIONINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesResult.h b/emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesResult.h deleted file mode 100644 index 432839f77..000000000 --- a/emr/include/alibabacloud/emr/model/ListFailureJobExecutionInstancesResult.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_LISTFAILUREJOBEXECUTIONINSTANCESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTFAILUREJOBEXECUTIONINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListFailureJobExecutionInstancesResult : public ServiceResult - { - public: - struct JobInstance - { - std::string status; - int runTime; - std::string jobType; - std::string clusterId; - std::string jobName; - long startTime; - std::string id; - std::string jobId; - std::string retryInfo; - }; - - - ListFailureJobExecutionInstancesResult(); - explicit ListFailureJobExecutionInstancesResult(const std::string &payload); - ~ListFailureJobExecutionInstancesResult(); - std::vector getJobInstances()const; - - protected: - void parse(const std::string &payload); - private: - std::vector jobInstances_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTFAILUREJOBEXECUTIONINSTANCESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListFlowClusterAllHostsRequest.h b/emr/include/alibabacloud/emr/model/ListFlowClusterAllHostsRequest.h index 1c0f80a44..f33562e5f 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowClusterAllHostsRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowClusterAllHostsRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::string getClusterId()const; void setClusterId(const std::string& clusterId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProjectId()const; @@ -44,6 +46,7 @@ namespace AlibabaCloud private: std::string clusterId_; + std::string resourceGroupId_; std::string regionId_; std::string projectId_; diff --git a/emr/include/alibabacloud/emr/model/ListFlowClusterAllRequest.h b/emr/include/alibabacloud/emr/model/ListFlowClusterAllRequest.h index fd046d1bf..54fd7fffd 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowClusterAllRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowClusterAllRequest.h @@ -35,10 +35,16 @@ namespace AlibabaCloud ListFlowClusterAllRequest(); ~ListFlowClusterAllRequest(); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); private: + std::string productType_; + std::string resourceGroupId_; std::string regionId_; }; diff --git a/emr/include/alibabacloud/emr/model/ListFlowClusterAllResult.h b/emr/include/alibabacloud/emr/model/ListFlowClusterAllResult.h index c3e5a8267..dd7ce9a58 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowClusterAllResult.h +++ b/emr/include/alibabacloud/emr/model/ListFlowClusterAllResult.h @@ -51,6 +51,7 @@ namespace AlibabaCloud long createTime; int period; FailReason failReason; + std::string k8sClusterId; std::string name; std::string type; std::string chargeType; diff --git a/emr/include/alibabacloud/emr/model/ListFlowClusterHostRequest.h b/emr/include/alibabacloud/emr/model/ListFlowClusterHostRequest.h index 5a4fe4ddc..8d8608ec0 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowClusterHostRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowClusterHostRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::string getClusterId()const; void setClusterId(const std::string& clusterId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProjectId()const; @@ -44,6 +46,7 @@ namespace AlibabaCloud private: std::string clusterId_; + std::string resourceGroupId_; std::string regionId_; std::string projectId_; diff --git a/emr/include/alibabacloud/emr/model/ListFlowClusterRequest.h b/emr/include/alibabacloud/emr/model/ListFlowClusterRequest.h index 82c7b1c0a..4a0dc1c53 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowClusterRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowClusterRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud int getPageNumber()const; void setPageNumber(int pageNumber); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getPageSize()const; @@ -46,6 +48,7 @@ namespace AlibabaCloud private: int pageNumber_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; std::string projectId_; diff --git a/emr/include/alibabacloud/emr/model/ListFlowClusterResult.h b/emr/include/alibabacloud/emr/model/ListFlowClusterResult.h index 32cad4509..661cb5616 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowClusterResult.h +++ b/emr/include/alibabacloud/emr/model/ListFlowClusterResult.h @@ -51,6 +51,7 @@ namespace AlibabaCloud long createTime; int period; FailReason failReason; + std::string k8sClusterId; std::string name; std::string type; std::string chargeType; diff --git a/emr/include/alibabacloud/emr/model/ListFlowInstanceRequest.h b/emr/include/alibabacloud/emr/model/ListFlowInstanceRequest.h index 9edf17524..87cffd384 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowInstanceRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowInstanceRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud std::vector getStatusList()const; void setStatusList(const std::vector& statusList); + std::string getNodeInstanceId()const; + void setNodeInstanceId(const std::string& nodeInstanceId); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getRegionId()const; @@ -64,6 +66,7 @@ namespace AlibabaCloud private: std::vector statusList_; + std::string nodeInstanceId_; int pageNumber_; std::string regionId_; int pageSize_; diff --git a/emr/include/alibabacloud/emr/model/ListFlowNodeInstanceRequest.h b/emr/include/alibabacloud/emr/model/ListFlowNodeInstanceRequest.h index 273ce9ac0..f032ddff6 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowNodeInstanceRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowNodeInstanceRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setStartTime(long startTime); int getPageNumber()const; void setPageNumber(int pageNumber); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getPageSize()const; @@ -57,6 +59,7 @@ namespace AlibabaCloud std::string orderBy_; long startTime_; int pageNumber_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; std::string projectId_; diff --git a/emr/include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h b/emr/include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h index 4d00db651..8fe3033c4 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h +++ b/emr/include/alibabacloud/emr/model/ListFlowProjectClusterSettingResult.h @@ -43,6 +43,7 @@ namespace AlibabaCloud std::string clusterName; std::vector hostList; std::vector userList; + std::string k8sClusterId; std::vector queueList; }; diff --git a/emr/include/alibabacloud/emr/model/ListFlowProjectRequest.h b/emr/include/alibabacloud/emr/model/ListFlowProjectRequest.h index 6dc09bf0b..8fe90532a 100644 --- a/emr/include/alibabacloud/emr/model/ListFlowProjectRequest.h +++ b/emr/include/alibabacloud/emr/model/ListFlowProjectRequest.h @@ -37,6 +37,10 @@ namespace AlibabaCloud int getPageNumber()const; void setPageNumber(int pageNumber); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -48,6 +52,8 @@ namespace AlibabaCloud private: int pageNumber_; + std::string productType_; + std::string resourceGroupId_; std::string regionId_; std::string name_; int pageSize_; diff --git a/emr/include/alibabacloud/emr/model/ListHostPoolRequest.h b/emr/include/alibabacloud/emr/model/ListHostPoolRequest.h deleted file mode 100644 index bb7290c43..000000000 --- a/emr/include/alibabacloud/emr/model/ListHostPoolRequest.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_LISTHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTHOSTPOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListHostPoolRequest : public RpcServiceRequest - { - - public: - ListHostPoolRequest(); - ~ListHostPoolRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - int pageSize_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTHOSTPOOLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListHpHostRequest.h b/emr/include/alibabacloud/emr/model/ListHpHostRequest.h deleted file mode 100644 index 599ec0e9e..000000000 --- a/emr/include/alibabacloud/emr/model/ListHpHostRequest.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_LISTHPHOSTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTHPHOSTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListHpHostRequest : public RpcServiceRequest - { - - public: - ListHpHostRequest(); - ~ListHpHostRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRole()const; - void setRole(const std::string& role); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getHpBizId()const; - void setHpBizId(const std::string& hpBizId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - long resourceOwnerId_; - std::string role_; - std::string regionId_; - int pageSize_; - std::string hpBizId_; - int pageNumber_; - std::string accessKeyId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTHPHOSTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListHpHostResult.h b/emr/include/alibabacloud/emr/model/ListHpHostResult.h deleted file mode 100644 index 5ab162d54..000000000 --- a/emr/include/alibabacloud/emr/model/ListHpHostResult.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_LISTHPHOSTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTHPHOSTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListHpHostResult : public ServiceResult - { - public: - struct HpHost - { - struct Disk - { - std::string mountPath; - std::string diskDevice; - int diskSize; - }; - std::string status; - std::string description; - std::string innerIp; - std::string securityGroupId; - std::vector installedComponents; - std::string vswitchId; - std::string role; - std::string externalIp; - std::string vpcId; - int cpuCore; - int memSize; - std::vector diskList; - std::string externalKey; - std::string bizId; - std::string hostName; - }; - - - ListHpHostResult(); - explicit ListHpHostResult(const std::string &payload); - ~ListHpHostResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getHpHostList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector hpHostList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTHPHOSTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendRequest.h b/emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendRequest.h deleted file mode 100644 index 8a7becf2e..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTJOBEXECUTIONINSTANCETRENDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCETRENDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionInstanceTrendRequest : public RpcServiceRequest - { - - public: - ListJobExecutionInstanceTrendRequest(); - ~ListJobExecutionInstanceTrendRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCETRENDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendResult.h b/emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendResult.h deleted file mode 100644 index 7d10fbc69..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionInstanceTrendResult.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_LISTJOBEXECUTIONINSTANCETRENDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCETRENDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionInstanceTrendResult : public ServiceResult - { - public: - struct Trend - { - std::string status; - int count; - std::string day; - }; - - - ListJobExecutionInstanceTrendResult(); - explicit ListJobExecutionInstanceTrendResult(const std::string &payload); - ~ListJobExecutionInstanceTrendResult(); - std::vector getTrends()const; - - protected: - void parse(const std::string &payload); - private: - std::vector trends_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONINSTANCETRENDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyRequest.h b/emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyRequest.h deleted file mode 100644 index dff8ab209..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyRequest.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_LISTJOBEXECUTIONPLANHIERARCHYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANHIERARCHYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionPlanHierarchyRequest : public RpcServiceRequest - { - - public: - ListJobExecutionPlanHierarchyRequest(); - ~ListJobExecutionPlanHierarchyRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getCurrentId()const; - void setCurrentId(long currentId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - long currentId_; - int pageSize_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANHIERARCHYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyResult.h b/emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyResult.h deleted file mode 100644 index 86e831aee..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanHierarchyResult.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANHIERARCHYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANHIERARCHYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionPlanHierarchyResult : public ServiceResult - { - public: - struct HierarchyInfo - { - struct ExecutionPlan - { - int status; - bool isCreateCluster; - std::string cronExpr; - int lastExeStatus; - bool isInterruptWhenError; - std::string name; - long utcCreateTimestamp; - std::string clusterTemplateId; - bool isCycle; - std::string version; - std::string scheduleCycle; - std::string regionId; - std::string bizId; - long utcModifiedTimestamp; - }; - struct Job - { - int jobType; - int jobFailAct; - int maxRetry; - int retryInterval; - std::string bizId; - std::string name; - std::string envParam; - }; - std::string parentId; - ExecutionPlan executionPlan; - std::string nodeBizType; - std::string nodeType; - std::string relateId; - long id; - Job job; - std::string resourceOwnerId; - int nodeStatus; - std::string name; - long utcCreateTimestamp; - long utcModifiedTimestamp; - }; - - - ListJobExecutionPlanHierarchyResult(); - explicit ListJobExecutionPlanHierarchyResult(const std::string &payload); - ~ListJobExecutionPlanHierarchyResult(); - int getTotalCount()const; - int getPageSize()const; - std::string getErrMsg()const; - int getPageNumber()const; - std::vector getHierarchyInfos()const; - std::string getSuccess()const; - std::string getErrCode()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - std::string errMsg_; - int pageNumber_; - std::vector hierarchyInfos_; - std::string success_; - std::string errCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANHIERARCHYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsRequest.h b/emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsRequest.h deleted file mode 100644 index f9e3cba81..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsRequest.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_LISTJOBEXECUTIONPLANPARAMSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANPARAMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionPlanParamsRequest : public RpcServiceRequest - { - - public: - ListJobExecutionPlanParamsRequest(); - ~ListJobExecutionPlanParamsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRelateId()const; - void setRelateId(const std::string& relateId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getParamBizType()const; - void setParamBizType(const std::string& paramBizType); - - private: - long resourceOwnerId_; - std::string relateId_; - std::string accessKeyId_; - std::string paramBizType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANPARAMSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsResult.h b/emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsResult.h deleted file mode 100644 index 23006b368..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobExecutionPlanParamsResult.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_LISTJOBEXECUTIONPLANPARAMSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANPARAMSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobExecutionPlanParamsResult : public ServiceResult - { - public: - struct ParamInfo - { - std::string paramBizType; - std::string paramValue; - std::string relateId; - std::string paramName; - long utcCreateTimestamp; - long utcModifiedTimestamp; - }; - - - ListJobExecutionPlanParamsResult(); - explicit ListJobExecutionPlanParamsResult(const std::string &payload); - ~ListJobExecutionPlanParamsResult(); - std::string getErrMsg()const; - std::vector getParamInfoList()const; - std::string getSuccess()const; - std::string getErrCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string errMsg_; - std::vector paramInfoList_; - std::string success_; - std::string errCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBEXECUTIONPLANPARAMSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobMigrateInfoRequest.h b/emr/include/alibabacloud/emr/model/ListJobMigrateInfoRequest.h deleted file mode 100644 index e1640380a..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobMigrateInfoRequest.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_LISTJOBMIGRATEINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBMIGRATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobMigrateInfoRequest : public RpcServiceRequest - { - - public: - ListJobMigrateInfoRequest(); - ~ListJobMigrateInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getUserId()const; - void setUserId(const std::string& userId); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - int pageSize_; - std::string userId_; - int currentSize_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBMIGRATEINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobMigrateInfoResult.h b/emr/include/alibabacloud/emr/model/ListJobMigrateInfoResult.h deleted file mode 100644 index 7768ec7e5..000000000 --- a/emr/include/alibabacloud/emr/model/ListJobMigrateInfoResult.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_LISTJOBMIGRATEINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTJOBMIGRATEINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListJobMigrateInfoResult : public ServiceResult - { - public: - struct JobMigrateInfo - { - std::string failedAction; - std::string newId; - std::string type; - std::string migratedDate; - std::string premigratedDate; - std::string createTime; - std::string params; - std::string id; - int maxRetry; - std::string name; - }; - - - ListJobMigrateInfoResult(); - explicit ListJobMigrateInfoResult(const std::string &payload); - ~ListJobMigrateInfoResult(); - long getTotal()const; - std::vector getJobMigrateInfoList()const; - - protected: - void parse(const std::string &payload); - private: - long total_; - std::vector jobMigrateInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTJOBMIGRATEINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListJobsRequest.h b/emr/include/alibabacloud/emr/model/ListJobsRequest.h index f78c9f792..7ff31e97e 100644 --- a/emr/include/alibabacloud/emr/model/ListJobsRequest.h +++ b/emr/include/alibabacloud/emr/model/ListJobsRequest.h @@ -45,6 +45,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getPageSize()const; @@ -58,6 +60,7 @@ namespace AlibabaCloud bool isDesc_; int pageNumber_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; std::string queryType_; diff --git a/emr/include/alibabacloud/emr/model/ListKafkaBrokerResult.h b/emr/include/alibabacloud/emr/model/ListKafkaBrokerResult.h deleted file mode 100644 index 45c809cfc..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaBrokerResult.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTKAFKABROKERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKABROKERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaBrokerResult : public ServiceResult - { - public: - struct Broker - { - std::string hostIp; - std::string status; - int leaderCount; - int brokerId; - std::string diskUsageMean; - std::string diskUsageMax; - int topicCount; - std::string hostId; - std::string trafficIn; - int diskCapacity; - std::string trafficOut; - std::string diskUnbalanceRate; - std::string hostName; - int partitionCount; - }; - - - ListKafkaBrokerResult(); - explicit ListKafkaBrokerResult(const std::string &payload); - ~ListKafkaBrokerResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getBrokerList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector brokerList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKABROKERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaReassignRequest.h b/emr/include/alibabacloud/emr/model/ListKafkaReassignRequest.h deleted file mode 100644 index b5bf3c8b5..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaReassignRequest.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_LISTKAFKAREASSIGNREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaReassignRequest : public RpcServiceRequest - { - - public: - ListKafkaReassignRequest(); - ~ListKafkaReassignRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - int pageSize_; - std::string clusterId_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaReassignResult.h b/emr/include/alibabacloud/emr/model/ListKafkaReassignResult.h deleted file mode 100644 index da53a31ff..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaReassignResult.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_LISTKAFKAREASSIGNRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaReassignResult : public ServiceResult - { - public: - struct Reassign - { - std::string status; - long endTime; - long startTime; - std::string id; - int topicCount; - int assignProcess; - int partitionCount; - long throttle; - }; - - - ListKafkaReassignResult(); - explicit ListKafkaReassignResult(const std::string &payload); - ~ListKafkaReassignResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getReassignList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector reassignList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaReassignTopicRequest.h b/emr/include/alibabacloud/emr/model/ListKafkaReassignTopicRequest.h deleted file mode 100644 index 3f688e0f8..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaReassignTopicRequest.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_LISTKAFKAREASSIGNTOPICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNTOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaReassignTopicRequest : public RpcServiceRequest - { - - public: - ListKafkaReassignTopicRequest(); - ~ListKafkaReassignTopicRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getReassignId()const; - void setReassignId(const std::string& reassignId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string reassignId_; - int pageSize_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNTOPICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaReassignTopicResult.h b/emr/include/alibabacloud/emr/model/ListKafkaReassignTopicResult.h deleted file mode 100644 index 1085e0bb9..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaReassignTopicResult.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_LISTKAFKAREASSIGNTOPICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNTOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaReassignTopicResult : public ServiceResult - { - public: - struct ReassignTopic - { - std::string status; - int numPartition; - std::string topicId; - std::string process; - int finishedPartition; - std::string topicName; - }; - - - ListKafkaReassignTopicResult(); - explicit ListKafkaReassignTopicResult(const std::string &payload); - ~ListKafkaReassignTopicResult(); - std::vector getReassignTopicList()const; - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - - protected: - void parse(const std::string &payload); - private: - std::vector reassignTopicList_; - int pageSize_; - int pageNumber_; - int total_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKAREASSIGNTOPICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsRequest.h b/emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsRequest.h deleted file mode 100644 index 1b25f5c7a..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsRequest.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_LISTKAFKATOPICSTATISTICSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKATOPICSTATISTICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaTopicStatisticsRequest : public RpcServiceRequest - { - - public: - ListKafkaTopicStatisticsRequest(); - ~ListKafkaTopicStatisticsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - bool getActiveOnly()const; - void setActiveOnly(bool activeOnly); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getTopicName()const; - void setTopicName(const std::string& topicName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getFuzzyTopicName()const; - void setFuzzyTopicName(const std::string& fuzzyTopicName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - bool activeOnly_; - std::string regionId_; - int pageSize_; - std::string dataSourceId_; - std::string topicName_; - std::string clusterId_; - int pageNumber_; - std::string fuzzyTopicName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKATOPICSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsResult.h b/emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsResult.h deleted file mode 100644 index 63e7436a0..000000000 --- a/emr/include/alibabacloud/emr/model/ListKafkaTopicStatisticsResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTKAFKATOPICSTATISTICSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKATOPICSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListKafkaTopicStatisticsResult : public ServiceResult - { - public: - struct Topic - { - struct Cluster - { - std::string clusterId; - std::string clusterName; - std::string clusterStatus; - }; - std::string bytesOutPerSecondRate; - std::string offsetRate; - int numPartitions; - std::string bytesInPerSecondRate; - Cluster cluster; - std::string messageRate; - std::string topicId; - long offsetSum; - std::string dataSourceId; - std::string topicName; - std::string underReplicatedPercentage; - }; - - - ListKafkaTopicStatisticsResult(); - explicit ListKafkaTopicStatisticsResult(const std::string &payload); - ~ListKafkaTopicStatisticsResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getTopicList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector topicList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKATOPICSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetAuditLogsRequest.h b/emr/include/alibabacloud/emr/model/ListLibrariesRequest.h similarity index 78% rename from emr/include/alibabacloud/emr/model/GetAuditLogsRequest.h rename to emr/include/alibabacloud/emr/model/ListLibrariesRequest.h index f4fa24b98..00315e0ec 100644 --- a/emr/include/alibabacloud/emr/model/GetAuditLogsRequest.h +++ b/emr/include/alibabacloud/emr/model/ListLibrariesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_GETAUDITLOGSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETAUDITLOGSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESREQUEST_H_ #include #include @@ -28,54 +28,51 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT GetAuditLogsRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListLibrariesRequest : public RpcServiceRequest { public: - GetAuditLogsRequest(); - ~GetAuditLogsRequest(); + ListLibrariesRequest(); + ~ListLibrariesRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string 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); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getOperation()const; - void setOperation(const std::string& operation); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageCount()const; + void setPageCount(int pageCount); + std::string getOrderMode()const; + void setOrderMode(const std::string& orderMode); + std::string getClusterBizId()const; + void setClusterBizId(const std::string& clusterBizId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getLimit()const; + void setLimit(int limit); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentSize()const; + void setCurrentSize(int currentSize); + std::string getOrderField()const; + void setOrderField(const std::string& orderField); private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string entityId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - int currentSize_; - std::string orderField_; - std::string operation_; + long resourceOwnerId_; + int pageCount_; + std::string orderMode_; + std::string clusterBizId_; + int pageNumber_; + std::string accessKeyId_; + std::string regionId_; + int limit_; + int pageSize_; + int currentSize_; + std::string orderField_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_GETAUDITLOGSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListLibrariesResult.h b/emr/include/alibabacloud/emr/model/ListLibrariesResult.h new file mode 100644 index 000000000..0d8bcffdf --- /dev/null +++ b/emr/include/alibabacloud/emr/model/ListLibrariesResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Emr + { + namespace Model + { + class ALIBABACLOUD_EMR_EXPORT ListLibrariesResult : public ServiceResult + { + public: + struct Item + { + std::string sourceLocation; + std::string type; + std::string scope; + std::string userId; + long createTime; + std::string sourceType; + std::string libraryVersion; + std::string properties; + std::string bizId; + std::string name; + }; + + + ListLibrariesResult(); + explicit ListLibrariesResult(const std::string &payload); + ~ListLibrariesResult(); + int getTotalCount()const; + int getPageSize()const; + std::string getNextToken()const; + int getPageNumber()const; + std::vector getItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + std::string nextToken_; + int pageNumber_; + std::vector items_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListBackupPlansRequest.h b/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/ListBackupPlansRequest.h rename to emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h index 360792c63..58d7f366c 100644 --- a/emr/include/alibabacloud/emr/model/ListBackupPlansRequest.h +++ b/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTBACKUPPLANSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTBACKUPPLANSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSREQUEST_H_ #include #include @@ -28,60 +28,54 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListBackupPlansRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListLibraryInstallTasksRequest : public RpcServiceRequest { public: - ListBackupPlansRequest(); - ~ListBackupPlansRequest(); + ListLibraryInstallTasksRequest(); + ~ListLibraryInstallTasksRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - 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); - long getId()const; - void setId(long id); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getStatus()const; - void setStatus(const std::string& status); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageCount()const; + void setPageCount(int pageCount); + std::string getOrderMode()const; + void setOrderMode(const std::string& orderMode); + std::string getClusterBizId()const; + void setClusterBizId(const std::string& clusterBizId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getLimit()const; + void setLimit(int limit); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentSize()const; + void setCurrentSize(int currentSize); + std::string getOrderField()const; + void setOrderField(const std::string& orderField); + std::string getLibraryBizId()const; + void setLibraryBizId(const std::string& libraryBizId); private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - long id_; - int currentSize_; - std::string orderField_; - std::string clusterId_; - std::string bizId_; - std::string status_; + long resourceOwnerId_; + int pageCount_; + std::string orderMode_; + std::string clusterBizId_; + int pageNumber_; + std::string accessKeyId_; + std::string regionId_; + int limit_; + int pageSize_; + int currentSize_; + std::string orderField_; + std::string libraryBizId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTBACKUPPLANSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListTaskResult.h b/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h similarity index 62% rename from emr/include/alibabacloud/emr/model/MetastoreListTaskResult.h rename to emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h index 797388a01..be3da3918 100644 --- a/emr/include/alibabacloud/emr/model/MetastoreListTaskResult.h +++ b/emr/include/alibabacloud/emr/model/ListLibraryInstallTasksResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTTASKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTTASKRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSRESULT_H_ #include #include @@ -29,44 +29,46 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT MetastoreListTaskResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListLibraryInstallTasksResult : public ServiceResult { public: - struct Task + struct Item { - std::string triggerUser; - std::string triggerType; - long gmtCreate; + std::string taskId; + std::string libraryBizId; long endTime; - int taskProcess; + std::string taskGroupId; long executeTime; + int taskProcess; + std::string clusterBizId; std::string taskType; long startTime; - long gmtModified; - std::string taskObject; + std::string hostname; std::string taskStatus; - std::string bizId; + std::string detail; }; - MetastoreListTaskResult(); - explicit MetastoreListTaskResult(const std::string &payload); - ~MetastoreListTaskResult(); + ListLibraryInstallTasksResult(); + explicit ListLibraryInstallTasksResult(const std::string &payload); + ~ListLibraryInstallTasksResult(); int getTotalCount()const; int getPageSize()const; + std::string getNextToken()const; int getPageNumber()const; - std::vector getTaskList()const; + std::vector getItems()const; protected: void parse(const std::string &payload); private: int totalCount_; int pageSize_; + std::string nextToken_; int pageNumber_; - std::vector taskList_; + std::vector items_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTTASKRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYINSTALLTASKSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListBackupRulesRequest.h b/emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h similarity index 72% rename from emr/include/alibabacloud/emr/model/ListBackupRulesRequest.h rename to emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h index 43177edfb..36c55a488 100644 --- a/emr/include/alibabacloud/emr/model/ListBackupRulesRequest.h +++ b/emr/include/alibabacloud/emr/model/ListLibraryStatusRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTBACKUPRULESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTBACKUPRULESREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSREQUEST_H_ #include #include @@ -28,60 +28,54 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListBackupRulesRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListLibraryStatusRequest : public RpcServiceRequest { public: - ListBackupRulesRequest(); - ~ListBackupRulesRequest(); + ListLibraryStatusRequest(); + ~ListLibraryStatusRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getPageCount()const; - void setPageCount(int pageCount); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - std::string getBackupPlanId()const; - void setBackupPlanId(const std::string& backupPlanId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getLimit()const; - void setLimit(int limit); - int getPageSize()const; - void setPageSize(int pageSize); - long getId()const; - void setId(long id); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getOrderField()const; - void setOrderField(const std::string& orderField); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getStatus()const; - void setStatus(const std::string& status); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageCount()const; + void setPageCount(int pageCount); + std::string getOrderMode()const; + void setOrderMode(const std::string& orderMode); + std::string getClusterBizId()const; + void setClusterBizId(const std::string& clusterBizId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + int getLimit()const; + void setLimit(int limit); + int getPageSize()const; + void setPageSize(int pageSize); + int getCurrentSize()const; + void setCurrentSize(int currentSize); + std::string getOrderField()const; + void setOrderField(const std::string& orderField); + std::string getLibraryBizId()const; + void setLibraryBizId(const std::string& libraryBizId); private: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string backupPlanId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - long id_; - int currentSize_; - std::string orderField_; - std::string bizId_; - std::string status_; + long resourceOwnerId_; + int pageCount_; + std::string orderMode_; + std::string clusterBizId_; + int pageNumber_; + std::string accessKeyId_; + std::string regionId_; + int limit_; + int pageSize_; + int currentSize_; + std::string orderField_; + std::string libraryBizId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTBACKUPRULESREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetFlowAuditLogsResult.h b/emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h similarity index 67% rename from emr/include/alibabacloud/emr/model/GetFlowAuditLogsResult.h rename to emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h index 1e8a632e5..e5b536aa8 100644 --- a/emr/include/alibabacloud/emr/model/GetFlowAuditLogsResult.h +++ b/emr/include/alibabacloud/emr/model/ListLibraryStatusResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_GETFLOWAUDITLOGSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETFLOWAUDITLOGSRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSRESULT_H_ #include #include @@ -29,28 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT GetFlowAuditLogsResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListLibraryStatusResult : public ServiceResult { public: struct Item { - std::string entityId; - std::string entityType; std::string status; - std::string userId; - std::string content; - std::string operatorId; - std::string entityGroupId; - std::string operation; - long ts; + std::string libraryBizId; + std::string clusterBizId; + std::string libraryName; + std::string clusterName; }; - GetFlowAuditLogsResult(); - explicit GetFlowAuditLogsResult(const std::string &payload); - ~GetFlowAuditLogsResult(); + ListLibraryStatusResult(); + explicit ListLibraryStatusResult(const std::string &payload); + ~ListLibraryStatusResult(); int getTotalCount()const; int getPageSize()const; + std::string getNextToken()const; int getPageNumber()const; std::vector getItems()const; @@ -59,6 +56,7 @@ namespace AlibabaCloud private: int totalCount_; int pageSize_; + std::string nextToken_; int pageNumber_; std::vector items_; @@ -66,4 +64,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_GETFLOWAUDITLOGSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTLIBRARYSTATUSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListKafkaBrokerRequest.h b/emr/include/alibabacloud/emr/model/ListMetaClusterRequest.h similarity index 76% rename from emr/include/alibabacloud/emr/model/ListKafkaBrokerRequest.h rename to emr/include/alibabacloud/emr/model/ListMetaClusterRequest.h index b41ff6c16..0c82da9b4 100644 --- a/emr/include/alibabacloud/emr/model/ListKafkaBrokerRequest.h +++ b/emr/include/alibabacloud/emr/model/ListMetaClusterRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTKAFKABROKERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTKAFKABROKERREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_ #include #include @@ -28,36 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListKafkaBrokerRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListMetaClusterRequest : public RpcServiceRequest { public: - ListKafkaBrokerRequest(); - ~ListKafkaBrokerRequest(); + ListMetaClusterRequest(); + ~ListMetaClusterRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); + 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); + 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_; - std::string regionId_; - int pageSize_; - std::string clusterId_; - int pageNumber_; - std::string accessKeyId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string regionId_; + int pageNumber_; + int pageSize_; + std::string sourceType_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTKAFKABROKERREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListBackupRulesResult.h b/emr/include/alibabacloud/emr/model/ListMetaClusterResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ListBackupRulesResult.h rename to emr/include/alibabacloud/emr/model/ListMetaClusterResult.h index 9230e0249..71ea9e9a2 100644 --- a/emr/include/alibabacloud/emr/model/ListBackupRulesResult.h +++ b/emr/include/alibabacloud/emr/model/ListMetaClusterResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTBACKUPRULESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTBACKUPRULESRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERRESULT_H_ #include #include @@ -29,23 +29,25 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListBackupRulesResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListMetaClusterResult : public ServiceResult { public: struct Item { - std::string description; - std::string metadataType; - std::string backupPlanId; + struct SoftwareInfo + { + std::string emrVer; + std::string clusterType; + }; std::string id; - std::string backupMethodType; + SoftwareInfo softwareInfo; std::string name; }; - ListBackupRulesResult(); - explicit ListBackupRulesResult(const std::string &payload); - ~ListBackupRulesResult(); + ListMetaClusterResult(); + explicit ListMetaClusterResult(const std::string &payload); + ~ListMetaClusterResult(); int getTotalCount()const; int getPageSize()const; int getPageNumber()const; @@ -63,4 +65,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTBACKUPRULESRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETACLUSTERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminRequest.h b/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h similarity index 64% rename from emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminRequest.h rename to emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h index 18ecfe0fb..d48529d84 100644 --- a/emr/include/alibabacloud/emr/model/ListClusterServiceConfigHistoryForAdminRequest.h +++ b/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECONFIGHISTORYFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTCLUSTERSERVICECONFIGHISTORYFORADMINREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_ #include #include @@ -28,45 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListClusterServiceConfigHistoryForAdminRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListMetaDataSourceClusterForOuterRequest : public RpcServiceRequest { public: - ListClusterServiceConfigHistoryForAdminRequest(); - ~ListClusterServiceConfigHistoryForAdminRequest(); + ListMetaDataSourceClusterForOuterRequest(); + ~ListMetaDataSourceClusterForOuterRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterId()const; - void setClusterId(const std::string& 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 getConfigVersion()const; - void setConfigVersion(const std::string& configVersion); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); + 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::string clusterId_; - std::string userId_; - int pageNumber_; - std::string accessKeyId_; - std::string configVersion_; - std::string regionId_; - int pageSize_; - std::string serviceName_; + 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_LISTCLUSTERSERVICECONFIGHISTORYFORADMINREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListBackupPlansResult.h b/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h similarity index 68% rename from emr/include/alibabacloud/emr/model/ListBackupPlansResult.h rename to emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h index a8f8d4ac2..6cf38da7c 100644 --- a/emr/include/alibabacloud/emr/model/ListBackupPlansResult.h +++ b/emr/include/alibabacloud/emr/model/ListMetaDataSourceClusterForOuterResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTBACKUPPLANSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTBACKUPPLANSRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERRESULT_H_ #include #include @@ -29,22 +29,20 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListBackupPlansResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListMetaDataSourceClusterForOuterResult : public ServiceResult { public: struct Item { - std::string rootPath; - std::string description; std::string clusterId; - std::string id; - std::string name; + std::string userId; + std::string dataSourceId; }; - ListBackupPlansResult(); - explicit ListBackupPlansResult(const std::string &payload); - ~ListBackupPlansResult(); + ListMetaDataSourceClusterForOuterResult(); + explicit ListMetaDataSourceClusterForOuterResult(const std::string &payload); + ~ListMetaDataSourceClusterForOuterResult(); int getTotalCount()const; int getPageSize()const; int getPageNumber()const; @@ -62,4 +60,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTBACKUPPLANSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTMETADATASOURCECLUSTERFOROUTERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListNavSubTreeRequest.h b/emr/include/alibabacloud/emr/model/ListNavSubTreeRequest.h deleted file mode 100644 index 831e7a57a..000000000 --- a/emr/include/alibabacloud/emr/model/ListNavSubTreeRequest.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_LISTNAVSUBTREEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListNavSubTreeRequest : public RpcServiceRequest - { - - public: - ListNavSubTreeRequest(); - ~ListNavSubTreeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getDepth()const; - void setDepth(int depth); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getType()const; - void setType(const std::string& type); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getParentId()const; - void setParentId(const std::string& parentId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - int depth_; - std::string regionId_; - std::string name_; - int pageSize_; - std::string type_; - std::string projectId_; - std::string parentId_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREEREQUEST_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 index f4521b754..bc8d4dadf 100644 --- a/emr/include/alibabacloud/emr/model/ListNotesRequest.h +++ b/emr/include/alibabacloud/emr/model/ListNotesRequest.h @@ -39,12 +39,15 @@ namespace AlibabaCloud 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_; }; diff --git a/emr/include/alibabacloud/emr/model/ListOpsOperationRequest.h b/emr/include/alibabacloud/emr/model/ListOpsOperationRequest.h deleted file mode 100644 index 3a8747e27..000000000 --- a/emr/include/alibabacloud/emr/model/ListOpsOperationRequest.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_LISTOPSOPERATIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListOpsOperationRequest : public RpcServiceRequest - { - - public: - ListOpsOperationRequest(); - ~ListOpsOperationRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - long pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListOpsOperationResult.h b/emr/include/alibabacloud/emr/model/ListOpsOperationResult.h deleted file mode 100644 index bb4f6ad9f..000000000 --- a/emr/include/alibabacloud/emr/model/ListOpsOperationResult.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_LISTOPSOPERATIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListOpsOperationResult : public ServiceResult - { - public: - struct OpsOperationListItem - { - std::string status; - long totalTaskNum; - std::string category; - std::string endTime; - std::string clusterId; - std::string startTime; - std::string params; - long opsCommandId; - std::string remark; - long finishedTaskNum; - long id; - std::string opsCommandName; - std::string regionId; - long failedTaskNum; - long runningTime; - }; - - - ListOpsOperationResult(); - explicit ListOpsOperationResult(const std::string &payload); - ~ListOpsOperationResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getOpsOperationList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector opsOperationList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListOpsOperationTaskRequest.h b/emr/include/alibabacloud/emr/model/ListOpsOperationTaskRequest.h deleted file mode 100644 index 35b9afd32..000000000 --- a/emr/include/alibabacloud/emr/model/ListOpsOperationTaskRequest.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_LISTOPSOPERATIONTASKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListOpsOperationTaskRequest : public RpcServiceRequest - { - - public: - ListOpsOperationTaskRequest(); - ~ListOpsOperationTaskRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - long getOperationId()const; - void setOperationId(long operationId); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - long operationId_; - long pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONTASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListOpsOperationTaskResult.h b/emr/include/alibabacloud/emr/model/ListOpsOperationTaskResult.h deleted file mode 100644 index fc40a97f8..000000000 --- a/emr/include/alibabacloud/emr/model/ListOpsOperationTaskResult.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONTASKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListOpsOperationTaskResult : public ServiceResult - { - public: - struct TaskListItem - { - std::string status; - long taskId; - std::string endTime; - long clusterId; - long opsOperationId; - std::string startTime; - long hostId; - std::string userId; - long id; - std::string regionId; - std::string commandName; - std::string externalClusterId; - std::string hostName; - }; - - - ListOpsOperationTaskResult(); - explicit ListOpsOperationTaskResult(const std::string &payload); - ~ListOpsOperationTaskResult(); - int getPageSize()const; - int getPageNumber()const; - std::vector getTaskList()const; - int getTotal()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - std::vector taskList_; - int total_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTOPSOPERATIONTASKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListRequiredServiceRequest.h b/emr/include/alibabacloud/emr/model/ListRequiredServiceRequest.h deleted file mode 100644 index efe0d0c5e..000000000 --- a/emr/include/alibabacloud/emr/model/ListRequiredServiceRequest.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_LISTREQUIREDSERVICEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTREQUIREDSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListRequiredServiceRequest : public RpcServiceRequest - { - - public: - ListRequiredServiceRequest(); - ~ListRequiredServiceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEmrVersion()const; - void setEmrVersion(const std::string& emrVersion); - std::string getServiceNameList()const; - void setServiceNameList(const std::string& serviceNameList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string emrVersion_; - std::string serviceNameList_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTREQUIREDSERVICEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListRequiredServiceResult.h b/emr/include/alibabacloud/emr/model/ListRequiredServiceResult.h deleted file mode 100644 index 59f0a33d6..000000000 --- a/emr/include/alibabacloud/emr/model/ListRequiredServiceResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTREQUIREDSERVICERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTREQUIREDSERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListRequiredServiceResult : public ServiceResult - { - public: - struct Service - { - std::string serviceName; - std::string serviceDisplayName; - }; - - - ListRequiredServiceResult(); - explicit ListRequiredServiceResult(const std::string &payload); - ~ListRequiredServiceResult(); - std::vector getServiceList()const; - bool getNeedOtherService()const; - - protected: - void parse(const std::string &payload); - private: - std::vector serviceList_; - bool needOtherService_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTREQUIREDSERVICERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListResourcePoolForAdminResult.h b/emr/include/alibabacloud/emr/model/ListResourcePoolForAdminResult.h deleted file mode 100644 index 30dfd9967..000000000 --- a/emr/include/alibabacloud/emr/model/ListResourcePoolForAdminResult.h +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTRESOURCEPOOLFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTRESOURCEPOOLFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListResourcePoolForAdminResult : public ServiceResult - { - public: - struct PoolInfo - { - struct EcmResourcePool - { - bool active; - std::string poolType; - std::string userId; - std::string note; - std::string yarnSiteConfig; - long id; - std::string name; - }; - struct Queue - { - struct EcmResourceQueue - { - std::string status; - std::string userId; - std::string qualifiedName; - long parentQueueId; - bool leaf; - long id; - std::string name; - std::string queueType; - long resourcePoolId; - }; - struct EcmResourcePoolConfig - { - std::string status; - std::string configValue; - std::string configKey; - std::string category; - std::string note; - long id; - std::string configType; - }; - EcmResourceQueue ecmResourceQueue; - std::vector ecmResourcePoolConfigList1; - }; - struct EcmResourcePoolConfig2 - { - std::string status; - std::string configValue; - std::string configKey; - std::string category; - std::string note; - long id; - std::string configType; - }; - std::vector ecmResourcePoolConfigList; - EcmResourcePool ecmResourcePool; - std::vector queueList; - }; - - - ListResourcePoolForAdminResult(); - explicit ListResourcePoolForAdminResult(const std::string &payload); - ~ListResourcePoolForAdminResult(); - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - std::vector getPoolInfoList()const; - - protected: - void parse(const std::string &payload); - private: - int pageSize_; - int pageNumber_; - int total_; - std::vector poolInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTRESOURCEPOOLFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListResourceQueueResult.h b/emr/include/alibabacloud/emr/model/ListResourceQueueResult.h deleted file mode 100644 index c17d8e4d0..000000000 --- a/emr/include/alibabacloud/emr/model/ListResourceQueueResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTRESOURCEQUEUERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTRESOURCEQUEUERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListResourceQueueResult : public ServiceResult - { - public: - struct Queue - { - struct EcmResourceQueue - { - std::string status; - std::string userId; - std::string qualifiedName; - long parentQueueId; - bool leaf; - long id; - std::string name; - std::string queueType; - long resourcePoolId; - }; - EcmResourceQueue ecmResourceQueue; - }; - - - ListResourceQueueResult(); - explicit ListResourceQueueResult(const std::string &payload); - ~ListResourceQueueResult(); - std::vector getQueueList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector queueList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTRESOURCEQUEUERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingActivityRequest.h b/emr/include/alibabacloud/emr/model/ListScalingActivityRequest.h deleted file mode 100644 index 680937fc2..000000000 --- a/emr/include/alibabacloud/emr/model/ListScalingActivityRequest.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_LISTSCALINGACTIVITYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListScalingActivityRequest : public RpcServiceRequest - { - - public: - ListScalingActivityRequest(); - ~ListScalingActivityRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string hostGroupId_; - int pageSize_; - std::string clusterId_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingActivityV2Request.h b/emr/include/alibabacloud/emr/model/ListScalingActivityV2Request.h new file mode 100644 index 000000000..ff6b35c2b --- /dev/null +++ b/emr/include/alibabacloud/emr/model/ListScalingActivityV2Request.h @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_LISTSCALINGACTIVITYV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYV2REQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Emr + { + namespace Model + { + class ALIBABACLOUD_EMR_EXPORT ListScalingActivityV2Request : public RpcServiceRequest + { + + public: + ListScalingActivityV2Request(); + ~ListScalingActivityV2Request(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageCount()const; + void setPageCount(int pageCount); + std::string getOrderMode()const; + void setOrderMode(const std::string& orderMode); + std::string getClusterBizId()const; + void setClusterBizId(const std::string& clusterBizId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getHostGroupName()const; + void setHostGroupName(const std::string& hostGroupName); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getScalingRuleName()const; + void setScalingRuleName(const std::string& scalingRuleName); + std::string getResourceGroupId()const; + 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 getHostGroupId()const; + void setHostGroupId(const std::string& hostGroupId); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + long resourceOwnerId_; + int pageCount_; + std::string orderMode_; + std::string clusterBizId_; + int pageNumber_; + std::string hostGroupName_; + std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string scalingRuleName_; + std::string resourceGroupId_; + std::string regionId_; + int limit_; + int pageSize_; + int currentSize_; + std::string orderField_; + std::string hostGroupId_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingActivityResult.h b/emr/include/alibabacloud/emr/model/ListScalingActivityV2Result.h similarity index 65% rename from emr/include/alibabacloud/emr/model/ListScalingActivityResult.h rename to emr/include/alibabacloud/emr/model/ListScalingActivityV2Result.h index 96fad1b88..42d4aa8a4 100644 --- a/emr/include/alibabacloud/emr/model/ListScalingActivityResult.h +++ b/emr/include/alibabacloud/emr/model/ListScalingActivityV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYV2RESULT_H_ #include #include @@ -29,43 +29,48 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListScalingActivityResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListScalingActivityV2Result : public ServiceResult { public: - struct ScalingActivity + struct Item { std::string status; std::string description; long endTime; + long startTime; + std::string scalingRuleId; + std::string hostGroupName; + std::string scalingRuleName; + std::string hostGroupBizId; int expectNum; std::string cause; - long startTime; std::string transition; - std::string scalingRuleId; int totalCapacity; std::string instanceIds; std::string bizId; }; - ListScalingActivityResult(); - explicit ListScalingActivityResult(const std::string &payload); - ~ListScalingActivityResult(); + ListScalingActivityV2Result(); + explicit ListScalingActivityV2Result(const std::string &payload); + ~ListScalingActivityV2Result(); + int getTotalCount()const; int getPageSize()const; + std::string getNextToken()const; int getPageNumber()const; - int getTotal()const; - std::vector getScalingActivityList()const; + std::vector getItems()const; protected: void parse(const std::string &payload); private: + int totalCount_; int pageSize_; + std::string nextToken_; int pageNumber_; - int total_; - std::vector scalingActivityList_; + std::vector items_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGACTIVITYV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetFlowAuditLogsRequest.h b/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h similarity index 64% rename from emr/include/alibabacloud/emr/model/GetFlowAuditLogsRequest.h rename to emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h index b61e28840..254c0bef7 100644 --- a/emr/include/alibabacloud/emr/model/GetFlowAuditLogsRequest.h +++ b/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_GETFLOWAUDITLOGSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_GETFLOWAUDITLOGSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTSCALINGCONFIGITEMV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGCONFIGITEMV2REQUEST_H_ #include #include @@ -28,66 +28,57 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT GetFlowAuditLogsRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListScalingConfigItemV2Request : public RpcServiceRequest { public: - GetFlowAuditLogsRequest(); - ~GetFlowAuditLogsRequest(); + ListScalingConfigItemV2Request(); + ~ListScalingConfigItemV2Request(); - 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); - 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 getEntityType()const; - void setEntityType(const std::string& entityType); - std::string getOperatorId()const; - void setOperatorId(const std::string& operatorId); - std::string getOperation()const; - void setOperation(const std::string& operation); - std::string getStatus()const; - void setStatus(const std::string& status); + 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; + void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + 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: - long resourceOwnerId_; - int pageCount_; - std::string orderMode_; - std::string entityId_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int limit_; - int pageSize_; - int currentSize_; - std::string orderField_; - std::string entityGroupId_; - std::string entityType_; - std::string operatorId_; - std::string operation_; - std::string status_; + 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_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_GETFLOWAUDITLOGSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGCONFIGITEMV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/GetAuditLogsResult.h b/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Result.h similarity index 64% rename from emr/include/alibabacloud/emr/model/GetAuditLogsResult.h rename to emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Result.h index b27c2f0f1..0e77ce74d 100644 --- a/emr/include/alibabacloud/emr/model/GetAuditLogsResult.h +++ b/emr/include/alibabacloud/emr/model/ListScalingConfigItemV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_GETAUDITLOGSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_GETAUDITLOGSRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTSCALINGCONFIGITEMV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGCONFIGITEMV2RESULT_H_ #include #include @@ -29,24 +29,24 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT GetAuditLogsResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListScalingConfigItemV2Result : public ServiceResult { public: struct Item { - std::string entityId; - std::string userId; - std::string content; - std::string operation; - long ts; + std::string scalingConfigItemBizId; + std::string scalingGroupBizId; + std::string configItemInformation; + std::string configItemType; }; - GetAuditLogsResult(); - explicit GetAuditLogsResult(const std::string &payload); - ~GetAuditLogsResult(); + ListScalingConfigItemV2Result(); + explicit ListScalingConfigItemV2Result(const std::string &payload); + ~ListScalingConfigItemV2Result(); int getTotalCount()const; int getPageSize()const; + std::string getNextToken()const; int getPageNumber()const; std::vector getItems()const; @@ -55,6 +55,7 @@ namespace AlibabaCloud private: int totalCount_; int pageSize_; + std::string nextToken_; int pageNumber_; std::vector items_; @@ -62,4 +63,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_GETAUDITLOGSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGCONFIGITEMV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingGroupV2Request.h b/emr/include/alibabacloud/emr/model/ListScalingGroupV2Request.h new file mode 100644 index 000000000..3b5d9d0d3 --- /dev/null +++ b/emr/include/alibabacloud/emr/model/ListScalingGroupV2Request.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR 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_LISTSCALINGGROUPV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGGROUPV2REQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Emr + { + namespace Model + { + class ALIBABACLOUD_EMR_EXPORT ListScalingGroupV2Request : public RpcServiceRequest + { + + public: + ListScalingGroupV2Request(); + ~ListScalingGroupV2Request(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageCount()const; + void setPageCount(int pageCount); + std::string getOrderMode()const; + void setOrderMode(const std::string& orderMode); + std::string getClusterBizId()const; + void setClusterBizId(const std::string& clusterBizId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + 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); + + private: + long resourceOwnerId_; + int pageCount_; + std::string orderMode_; + std::string clusterBizId_; + int pageNumber_; + std::string accessKeyId_; + std::string resourceGroupId_; + std::string regionId_; + int limit_; + int pageSize_; + int currentSize_; + std::string orderField_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGGROUPV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingGroupV2Result.h b/emr/include/alibabacloud/emr/model/ListScalingGroupV2Result.h new file mode 100644 index 000000000..a9bdc3039 --- /dev/null +++ b/emr/include/alibabacloud/emr/model/ListScalingGroupV2Result.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_EMR_MODEL_LISTSCALINGGROUPV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGGROUPV2RESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Emr + { + namespace Model + { + class ALIBABACLOUD_EMR_EXPORT ListScalingGroupV2Result : public ServiceResult + { + public: + struct Item + { + std::string description; + std::string hostGroupBizId; + std::string scalingInMode; + std::string scalingGroupId; + int scalingMaxSize; + int scalingMinSize; + std::string name; + std::string activeStatus; + }; + + + ListScalingGroupV2Result(); + explicit ListScalingGroupV2Result(const std::string &payload); + ~ListScalingGroupV2Result(); + int getTotalCount()const; + int getPageSize()const; + std::string getNextToken()const; + int getPageNumber()const; + std::vector getItems()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + std::string nextToken_; + int pageNumber_; + std::vector items_; + + }; + } + } +} +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGGROUPV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingRuleResult.h b/emr/include/alibabacloud/emr/model/ListScalingRuleResult.h deleted file mode 100644 index d55288b0e..000000000 --- a/emr/include/alibabacloud/emr/model/ListScalingRuleResult.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_LISTSCALINGRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListScalingRuleResult : public ServiceResult - { - public: - struct Rule - { - struct SchedulerTrigger - { - long launchTime; - std::string recurrenceType; - std::string recurrenceValue; - long recurrenceEndTime; - int launchExpirationTime; - }; - struct CloudWatchTrigger - { - std::string metricName; - std::string comparisonOperator; - std::string metricDisplayName; - int period; - std::string evaluationCount; - std::string unit; - std::string statistics; - std::string threshold; - }; - std::string status; - long gmtCreate; - int adjustmentValue; - SchedulerTrigger schedulerTrigger; - CloudWatchTrigger cloudWatchTrigger; - int cooldown; - long gmtModified; - std::string id; - std::string ruleName; - std::string ruleCategory; - std::string adjustmentType; - }; - - - ListScalingRuleResult(); - explicit ListScalingRuleResult(const std::string &payload); - ~ListScalingRuleResult(); - std::vector getRuleList()const; - int getPageSize()const; - int getPageNumber()const; - int getTotal()const; - - protected: - void parse(const std::string &payload); - private: - std::vector ruleList_; - int pageSize_; - int pageNumber_; - int total_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingTaskGroupRequest.h b/emr/include/alibabacloud/emr/model/ListScalingTaskGroupRequest.h deleted file mode 100644 index 6eac7a1c5..000000000 --- a/emr/include/alibabacloud/emr/model/ListScalingTaskGroupRequest.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_LISTSCALINGTASKGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGTASKGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListScalingTaskGroupRequest : public RpcServiceRequest - { - - public: - ListScalingTaskGroupRequest(); - ~ListScalingTaskGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGTASKGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingTaskGroupResult.h b/emr/include/alibabacloud/emr/model/ListScalingTaskGroupResult.h deleted file mode 100644 index 8ff89f201..000000000 --- a/emr/include/alibabacloud/emr/model/ListScalingTaskGroupResult.h +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTSCALINGTASKGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGTASKGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListScalingTaskGroupResult : public ServiceResult - { - public: - struct Group - { - struct ScalingConfig - { - struct SpotPriceLimit3 - { - float priceLimit; - std::string instanceType; - }; - std::vector spotPriceLimits2; - int cpuCount; - int memSize; - int dataDiskCount; - std::string payType; - int dataDiskSize; - int sysDiskSize; - std::string dataDiskCategory; - std::vector instanceTypeList1; - std::string sysDiskCategory; - std::string spotStrategy; - }; - struct SpotPriceLimit - { - float priceLimit; - std::string instanceType; - }; - struct ScalingRule - { - struct SchedulerTrigger - { - long launchTime; - std::string recurrenceType; - std::string recurrenceValue; - long recurrenceEndTime; - int launchExpirationTime; - }; - struct CloudWatchTrigger - { - std::string metricName; - std::string comparisonOperator; - std::string metricDisplayName; - int period; - std::string evaluationCount; - std::string unit; - std::string statistics; - std::string threshold; - }; - std::string status; - std::string launchTime; - CloudWatchTrigger cloudWatchTrigger; - int cooldown; - std::string recurrenceType; - int launchExpirationTime; - std::string adjustmentType; - int adjustmentValue; - SchedulerTrigger schedulerTrigger; - std::string id; - std::string recurrenceValue; - std::string recurrenceEndTime; - std::string ruleName; - std::string ruleCategory; - }; - std::string status; - ScalingConfig scalingConfig; - std::string activeRuleCategory; - std::string scalingGroupId; - int dataDiskCount; - std::string payType; - int sysDiskSize; - int maxSize; - std::string sysDiskCategory; - std::vector instanceTypeList; - int minSize; - std::vector spotPriceLimits; - int defaultCooldown; - int cpuCount; - std::string hostGroupId; - int memSize; - int dataDiskSize; - std::string dataDiskCategory; - std::vector scalingRuleList; - std::string spotStrategy; - }; - - - ListScalingTaskGroupResult(); - explicit ListScalingTaskGroupResult(const std::string &payload); - ~ListScalingTaskGroupResult(); - std::vector getGroupList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector groupList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGTASKGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveHpHostRequest.h b/emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h similarity index 59% rename from emr/include/alibabacloud/emr/model/RemoveHpHostRequest.h rename to emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h index 2d456b957..0fc7d2a71 100644 --- a/emr/include/alibabacloud/emr/model/RemoveHpHostRequest.h +++ b/emr/include/alibabacloud/emr/model/ListSecurityGroupRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_REMOVEHPHOSTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEHPHOSTREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPREQUEST_H_ #include #include @@ -28,30 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT RemoveHpHostRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListSecurityGroupRequest : public RpcServiceRequest { public: - RemoveHpHostRequest(); - ~RemoveHpHostRequest(); + ListSecurityGroupRequest(); + ~ListSecurityGroupRequest(); - std::string getHpHostBizId()const; - void setHpHostBizId(const std::string& hpHostBizId); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); + std::string getDepositType()const; + void setDepositType(const std::string& depositType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getNetType()const; + void setNetType(const std::string& netType); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); private: - std::string hpHostBizId_; - long resourceOwnerId_; - std::string regionId_; - std::string accessKeyId_; + std::string depositType_; + std::string accessKeyId_; + std::string productType_; + std::string regionId_; + std::string netType_; + std::string vpcId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEHPHOSTREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListAlertDingDingGroupResult.h b/emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h similarity index 57% rename from emr/include/alibabacloud/emr/model/ListAlertDingDingGroupResult.h rename to emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h index 473c5e6e0..f202ffe0f 100644 --- a/emr/include/alibabacloud/emr/model/ListAlertDingDingGroupResult.h +++ b/emr/include/alibabacloud/emr/model/ListSecurityGroupResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTALERTDINGDINGGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTALERTDINGDINGGROUPRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPRESULT_H_ #include #include @@ -29,33 +29,34 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListAlertDingDingGroupResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListSecurityGroupResult : public ServiceResult { public: - struct AlertDingDingGroup + struct SecurityGroup { - std::string gmtCreate; + int ecsCount; std::string description; - std::string gmtModified; - std::string webHookUrl; - long id; - std::string bizId; - std::string name; + std::string securityGroupName; + std::string vpcId; + std::string securityGroupId; + std::string creationTime; + std::string securityGroupType; + int availableInstanceAmount; }; - ListAlertDingDingGroupResult(); - explicit ListAlertDingDingGroupResult(const std::string &payload); - ~ListAlertDingDingGroupResult(); - std::vector getAlertDingDingGroupList()const; + ListSecurityGroupResult(); + explicit ListSecurityGroupResult(const std::string &payload); + ~ListSecurityGroupResult(); + std::vector getSecurityGroupList()const; protected: void parse(const std::string &payload); private: - std::vector alertDingDingGroupList_; + std::vector securityGroupList_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTALERTDINGDINGGROUPRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTSECURITYGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListServiceLogRequest.h b/emr/include/alibabacloud/emr/model/ListServiceLogRequest.h deleted file mode 100644 index 8e630c28d..000000000 --- a/emr/include/alibabacloud/emr/model/ListServiceLogRequest.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_LISTSERVICELOGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSERVICELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListServiceLogRequest : public RpcServiceRequest - { - - public: - ListServiceLogRequest(); - ~ListServiceLogRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostName()const; - void setHostName(const std::string& hostName); - int getMaxKeys()const; - void setMaxKeys(int maxKeys); - std::string getLogstoreName()const; - void setLogstoreName(const std::string& logstoreName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getMarker()const; - void setMarker(const std::string& marker); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string hostName_; - int maxKeys_; - std::string logstoreName_; - std::string regionId_; - std::string marker_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSERVICELOGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListServiceLogResult.h b/emr/include/alibabacloud/emr/model/ListServiceLogResult.h deleted file mode 100644 index 1852d4765..000000000 --- a/emr/include/alibabacloud/emr/model/ListServiceLogResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSERVICELOGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSERVICELOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListServiceLogResult : public ServiceResult - { - public: - struct LogFile - { - long lastModified; - long size; - std::string fileName; - std::string hostName; - }; - - - ListServiceLogResult(); - explicit ListServiceLogResult(const std::string &payload); - ~ListServiceLogResult(); - std::vector getLogFileList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector logFileList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSERVICELOGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoResult.h b/emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoResult.h deleted file mode 100644 index a6f48d24f..000000000 --- a/emr/include/alibabacloud/emr/model/ListSlsLogstoreInfoResult.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_LISTSLSLOGSTOREINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListSlsLogstoreInfoResult : public ServiceResult - { - public: - struct SlsLogstoreInfo - { - std::string logstoreName; - std::string serviceName; - std::string logType; - std::string componentName; - long id; - }; - - - ListSlsLogstoreInfoResult(); - explicit ListSlsLogstoreInfoResult(const std::string &payload); - ~ListSlsLogstoreInfoResult(); - std::vector getSlsLogstoreInfoList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector slsLogstoreInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListStackServiceRequest.h b/emr/include/alibabacloud/emr/model/ListStackServiceRequest.h deleted file mode 100644 index c718fd09b..000000000 --- a/emr/include/alibabacloud/emr/model/ListStackServiceRequest.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_LISTSTACKSERVICEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSTACKSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListStackServiceRequest : public RpcServiceRequest - { - - public: - ListStackServiceRequest(); - ~ListStackServiceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getStackName()const; - void setStackName(const std::string& stackName); - std::string getStackVersion()const; - void setStackVersion(const std::string& stackVersion); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string stackName_; - std::string stackVersion_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSTACKSERVICEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListStackServiceResult.h b/emr/include/alibabacloud/emr/model/ListStackServiceResult.h deleted file mode 100644 index eb4b92693..000000000 --- a/emr/include/alibabacloud/emr/model/ListStackServiceResult.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_LISTSTACKSERVICERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSTACKSERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListStackServiceResult : public ServiceResult - { - public: - struct Service - { - struct Component - { - std::string componentDisplayName; - std::string componentName; - }; - std::string comment; - std::string serviceName; - std::string version; - std::string displayName; - std::string ecmVersion; - std::vector componentList; - }; - - - ListStackServiceResult(); - explicit ListStackServiceResult(const std::string &payload); - ~ListStackServiceResult(); - std::vector getServiceList()const; - std::string getStackName()const; - std::string getStackVersion()const; - - protected: - void parse(const std::string &payload); - private: - std::vector serviceList_; - std::string stackName_; - std::string stackVersion_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSTACKSERVICERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListStreamingSqlQueryRequest.h b/emr/include/alibabacloud/emr/model/ListStreamingSqlQueryRequest.h deleted file mode 100644 index dbfe8e315..000000000 --- a/emr/include/alibabacloud/emr/model/ListStreamingSqlQueryRequest.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_LISTSTREAMINGSQLQUERYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSTREAMINGSQLQUERYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListStreamingSqlQueryRequest : public RpcServiceRequest - { - - public: - ListStreamingSqlQueryRequest(); - ~ListStreamingSqlQueryRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string instanceId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSTREAMINGSQLQUERYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminResult.h b/emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminResult.h deleted file mode 100644 index a6f8ca886..000000000 --- a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameForAdminResult.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_LISTSUPPORTEDSERVICENAMEFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListSupportedServiceNameForAdminResult : public ServiceResult - { - public: - - - ListSupportedServiceNameForAdminResult(); - explicit ListSupportedServiceNameForAdminResult(const std::string &payload); - ~ListSupportedServiceNameForAdminResult(); - std::vector getSupportedServiceNameList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector supportedServiceNameList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameRequest.h b/emr/include/alibabacloud/emr/model/ListSupportedServiceNameRequest.h deleted file mode 100644 index 2bb597821..000000000 --- a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameRequest.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTSUPPORTEDSERVICENAMEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListSupportedServiceNameRequest : public RpcServiceRequest - { - - public: - ListSupportedServiceNameRequest(); - ~ListSupportedServiceNameRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameResult.h b/emr/include/alibabacloud/emr/model/ListSupportedServiceNameResult.h deleted file mode 100644 index 57c65014d..000000000 --- a/emr/include/alibabacloud/emr/model/ListSupportedServiceNameResult.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_LISTSUPPORTEDSERVICENAMERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListSupportedServiceNameResult : public ServiceResult - { - public: - - - ListSupportedServiceNameResult(); - explicit ListSupportedServiceNameResult(const std::string &payload); - ~ListSupportedServiceNameResult(); - std::vector getSupportedServiceNameList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector supportedServiceNameList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSUPPORTEDSERVICENAMERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUserGroupsRequest.h b/emr/include/alibabacloud/emr/model/ListUserGroupsRequest.h deleted file mode 100644 index 89a40a109..000000000 --- a/emr/include/alibabacloud/emr/model/ListUserGroupsRequest.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_LISTUSERGROUPSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUserGroupsRequest : public RpcServiceRequest - { - - public: - ListUserGroupsRequest(); - ~ListUserGroupsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFuzzyName()const; - void setFuzzyName(const std::string& fuzzyName); - 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 fuzzyName_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERGROUPSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUserGroupsResult.h b/emr/include/alibabacloud/emr/model/ListUserGroupsResult.h deleted file mode 100644 index f55f30846..000000000 --- a/emr/include/alibabacloud/emr/model/ListUserGroupsResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTUSERGROUPSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERGROUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUserGroupsResult : public ServiceResult - { - public: - struct GroupDTO - { - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - std::string type; - std::string gmtCreate; - long id; - std::vector roleDTOList; - std::string name; - }; - - - ListUserGroupsResult(); - explicit ListUserGroupsResult(const std::string &payload); - ~ListUserGroupsResult(); - bool getPaging()const; - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERGROUPSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUserStatisticsRequest.h b/emr/include/alibabacloud/emr/model/ListUserStatisticsRequest.h deleted file mode 100644 index 4340309b9..000000000 --- a/emr/include/alibabacloud/emr/model/ListUserStatisticsRequest.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_LISTUSERSTATISTICSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERSTATISTICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUserStatisticsRequest : public RpcServiceRequest - { - - public: - ListUserStatisticsRequest(); - ~ListUserStatisticsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOrderMode()const; - void setOrderMode(const std::string& orderMode); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getOrderFieldName()const; - void setOrderFieldName(const std::string& orderFieldName); - int getCurrentSize()const; - void setCurrentSize(int currentSize); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string orderMode_; - int pageSize_; - std::string orderFieldName_; - int currentSize_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUserStatisticsResult.h b/emr/include/alibabacloud/emr/model/ListUserStatisticsResult.h deleted file mode 100644 index 5671c769e..000000000 --- a/emr/include/alibabacloud/emr/model/ListUserStatisticsResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_LISTUSERSTATISTICSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUserStatisticsResult : public ServiceResult - { - public: - struct UserStatistics - { - int jobMigratedNum; - int executePlanMigratedNum; - int executePlanNum; - std::string userId; - int interactionJobNum; - int jobNum; - long id; - int interactionJobMigratedNum; - }; - - - ListUserStatisticsResult(); - explicit ListUserStatisticsResult(const std::string &payload); - ~ListUserStatisticsResult(); - long getTotal()const; - std::vector getUserStatisticsList()const; - - protected: - void parse(const std::string &payload); - private: - long total_; - std::vector userStatisticsList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUsersByConditionRequest.h b/emr/include/alibabacloud/emr/model/ListUsersByConditionRequest.h deleted file mode 100644 index 6c057e028..000000000 --- a/emr/include/alibabacloud/emr/model/ListUsersByConditionRequest.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_LISTUSERSBYCONDITIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERSBYCONDITIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUsersByConditionRequest : public RpcServiceRequest - { - - public: - ListUsersByConditionRequest(); - ~ListUsersByConditionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getSearchKey()const; - void setSearchKey(const std::string& searchKey); - 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 searchKey_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERSBYCONDITIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUsersByConditionResult.h b/emr/include/alibabacloud/emr/model/ListUsersByConditionResult.h deleted file mode 100644 index 12ac9a989..000000000 --- a/emr/include/alibabacloud/emr/model/ListUsersByConditionResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_LISTUSERSBYCONDITIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTUSERSBYCONDITIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ListUsersByConditionResult : public ServiceResult - { - public: - struct UserDTO - { - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - struct GroupDTO - { - struct RoleDTO2 - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - std::string type; - std::string gmtCreate; - long id; - std::vector roleDTOList1; - std::string name; - }; - struct AccountDTO - { - std::string authType; - std::string accountType; - std::string aliyunUserId; - }; - std::string status; - std::string isSuperAdmin; - std::string gmtCreate; - std::string userName; - std::string description; - std::vector groupDTOList; - std::vector accountDTOList; - std::string gmtModified; - std::vector roleDTOList; - std::string userType; - std::string aliyunUserId; - }; - - - ListUsersByConditionResult(); - explicit ListUsersByConditionResult(const std::string &payload); - ~ListUsersByConditionResult(); - bool getPaging()const; - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_LISTUSERSBYCONDITIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListUsersResult.h b/emr/include/alibabacloud/emr/model/ListUsersResult.h index e7f124a15..d534bd0c3 100644 --- a/emr/include/alibabacloud/emr/model/ListUsersResult.h +++ b/emr/include/alibabacloud/emr/model/ListUsersResult.h @@ -39,6 +39,7 @@ namespace AlibabaCloud std::string linuxStatus; std::string userName; std::string kerberosStatus; + std::string k8sStatus; std::string userId; }; diff --git a/emr/include/alibabacloud/emr/model/CloneETLJobRequest.h b/emr/include/alibabacloud/emr/model/ListVswitchRequest.h similarity index 59% rename from emr/include/alibabacloud/emr/model/CloneETLJobRequest.h rename to emr/include/alibabacloud/emr/model/ListVswitchRequest.h index 4d17eb912..c55292580 100644 --- a/emr/include/alibabacloud/emr/model/CloneETLJobRequest.h +++ b/emr/include/alibabacloud/emr/model/ListVswitchRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CLONEETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CLONEETLJOBREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTVSWITCHREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTVSWITCHREQUEST_H_ #include #include @@ -28,33 +28,36 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CloneETLJobRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ListVswitchRequest : public RpcServiceRequest { public: - CloneETLJobRequest(); - ~CloneETLJobRequest(); + ListVswitchRequest(); + ~ListVswitchRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); + std::string getDepositType()const; + void setDepositType(const std::string& depositType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getProductType()const; + void setProductType(const std::string& productType); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + std::string getZoneId()const; + void setZoneId(const std::string& zoneId); private: - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string id_; + std::string depositType_; std::string accessKeyId_; + std::string productType_; + std::string regionId_; + std::string vpcId_; + std::string zoneId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CLONEETLJOBREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTVSWITCHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DescribeClusterScriptResult.h b/emr/include/alibabacloud/emr/model/ListVswitchResult.h similarity index 56% rename from emr/include/alibabacloud/emr/model/DescribeClusterScriptResult.h rename to emr/include/alibabacloud/emr/model/ListVswitchResult.h index c11ab0b45..387c9f0b5 100644 --- a/emr/include/alibabacloud/emr/model/DescribeClusterScriptResult.h +++ b/emr/include/alibabacloud/emr/model/ListVswitchResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSCRIPTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSCRIPTRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_LISTVSWITCHRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_LISTVSWITCHRESULT_H_ #include #include @@ -29,31 +29,37 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DescribeClusterScriptResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ListVswitchResult : public ServiceResult { public: - struct ScriptNodeInstance + struct Vswitch { std::string status; - long endTime; - std::string nodeId; - long startTime; - std::string nodeIp; + bool isDefault; + std::string description; + std::string vpcId; + std::string zoneId; + std::string resourceGroupId; + std::string vSwitchId; + std::string availableIpAddressCount; + std::string creationTime; + std::string cidrBlock; + std::string vSwitchName; }; - DescribeClusterScriptResult(); - explicit DescribeClusterScriptResult(const std::string &payload); - ~DescribeClusterScriptResult(); - std::vector getScriptNodeInstances()const; + ListVswitchResult(); + explicit ListVswitchResult(const std::string &payload); + ~ListVswitchResult(); + std::vector getVswitchList()const; protected: void parse(const std::string &payload); private: - std::vector scriptNodeInstances_; + std::vector vswitchList_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DESCRIBECLUSTERSCRIPTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_LISTVSWITCHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceRequest.h b/emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceRequest.h deleted file mode 100644 index 4421a7588..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateDataResourceRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATARESOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATARESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateDataResourceRequest : public RpcServiceRequest - { - - public: - MetastoreCreateDataResourceRequest(); - ~MetastoreCreateDataResourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - bool getDefault()const; - void setDefault(bool default); - std::string getAccessType()const; - void setAccessType(const std::string& accessType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getMetaType()const; - void setMetaType(const std::string& metaType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - bool default_; - std::string accessType_; - std::string regionId_; - std::string name_; - std::string description_; - std::string metaType_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATARESOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseRequest.h b/emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseRequest.h deleted file mode 100644 index 638776256..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseRequest.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_METASTORECREATEDATABASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateDatabaseRequest : public RpcServiceRequest - { - - public: - MetastoreCreateDatabaseRequest(); - ~MetastoreCreateDatabaseRequest(); - - std::string getDbSource()const; - void setDbSource(const std::string& dbSource); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getComment()const; - void setComment(const std::string& comment); - std::string getLocationUri()const; - void setLocationUri(const std::string& locationUri); - std::string getClusterBizId()const; - void setClusterBizId(const std::string& clusterBizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string dbSource_; - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string dataSourceId_; - std::string description_; - std::string comment_; - std::string locationUri_; - std::string clusterBizId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATABASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseResult.h b/emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseResult.h deleted file mode 100644 index 55694df02..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateDatabaseResult.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_METASTORECREATEDATABASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateDatabaseResult : public ServiceResult - { - public: - - - MetastoreCreateDatabaseResult(); - explicit MetastoreCreateDatabaseResult(const std::string &payload); - ~MetastoreCreateDatabaseResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATEDATABASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicRequest.h b/emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicRequest.h deleted file mode 100644 index 1d41694ed..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicRequest.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORECREATEKAFKATOPICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATEKAFKATOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateKafkaTopicRequest : public RpcServiceRequest - { - struct AdvancedConfig - { - std::string value; - std::string key; - }; - - public: - MetastoreCreateKafkaTopicRequest(); - ~MetastoreCreateKafkaTopicRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getTopicName()const; - void setTopicName(const std::string& topicName); - std::vector getAdvancedConfig()const; - void setAdvancedConfig(const std::vector& advancedConfig); - int getNumPartitions()const; - void setNumPartitions(int numPartitions); - int getReplicationFactor()const; - void setReplicationFactor(int replicationFactor); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string dataSourceId_; - std::string topicName_; - std::vector advancedConfig_; - int numPartitions_; - int replicationFactor_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATEKAFKATOPICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicResult.h b/emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicResult.h deleted file mode 100644 index 0c146b1bc..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateKafkaTopicResult.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_METASTORECREATEKAFKATOPICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATEKAFKATOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateKafkaTopicResult : public ServiceResult - { - public: - - - MetastoreCreateKafkaTopicResult(); - explicit MetastoreCreateKafkaTopicResult(const std::string &payload); - ~MetastoreCreateKafkaTopicResult(); - std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATEKAFKATOPICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateTableRequest.h b/emr/include/alibabacloud/emr/model/MetastoreCreateTableRequest.h deleted file mode 100644 index 1e527d40c..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateTableRequest.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORECREATETABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateTableRequest : public RpcServiceRequest - { - struct Column - { - std::string name; - std::string comment; - std::string type; - }; - struct Partition - { - std::string name; - std::string comment; - std::string type; - }; - - public: - MetastoreCreateTableRequest(); - ~MetastoreCreateTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFieldDelimiter()const; - void setFieldDelimiter(const std::string& fieldDelimiter); - std::vector getColumn()const; - void setColumn(const std::vector& column); - std::string getCreateWith()const; - void setCreateWith(const std::string& createWith); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getPartition()const; - void setPartition(const std::vector& partition); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getCreateSql()const; - void setCreateSql(const std::string& createSql); - std::string getComment()const; - void setComment(const std::string& comment); - std::string getLocationUri()const; - void setLocationUri(const std::string& locationUri); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - - private: - long resourceOwnerId_; - std::string fieldDelimiter_; - std::vector column_; - std::string createWith_; - std::string accessKeyId_; - std::vector partition_; - std::string dbName_; - std::string regionId_; - std::string createSql_; - std::string comment_; - std::string locationUri_; - std::string tableName_; - std::string databaseId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATETABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreCreateTableResult.h b/emr/include/alibabacloud/emr/model/MetastoreCreateTableResult.h deleted file mode 100644 index 010d3e8f7..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreCreateTableResult.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_METASTORECREATETABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORECREATETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreCreateTableResult : public ServiceResult - { - public: - - - MetastoreCreateTableResult(); - explicit MetastoreCreateTableResult(const std::string &payload); - ~MetastoreCreateTableResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORECREATETABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDataPreviewRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDataPreviewRequest.h deleted file mode 100644 index 2e0d16656..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDataPreviewRequest.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_METASTOREDATAPREVIEWREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDATAPREVIEWREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDataPreviewRequest : public RpcServiceRequest - { - - public: - MetastoreDataPreviewRequest(); - ~MetastoreDataPreviewRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string tableName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDATAPREVIEWREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDataPreviewResult.h b/emr/include/alibabacloud/emr/model/MetastoreDataPreviewResult.h deleted file mode 100644 index 74849d922..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDataPreviewResult.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_METASTOREDATAPREVIEWRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDATAPREVIEWRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDataPreviewResult : public ServiceResult - { - public: - - - MetastoreDataPreviewResult(); - explicit MetastoreDataPreviewResult(const std::string &payload); - ~MetastoreDataPreviewResult(); - std::string getSamples()const; - - protected: - void parse(const std::string &payload); - private: - std::string samples_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDATAPREVIEWRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceRequest.h deleted file mode 100644 index ee806d20a..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceRequest.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_METASTOREDELETEDATARESOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDELETEDATARESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDeleteDataResourceRequest : public RpcServiceRequest - { - - public: - MetastoreDeleteDataResourceRequest(); - ~MetastoreDeleteDataResourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDELETEDATARESOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceResult.h b/emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceResult.h deleted file mode 100644 index 815f69b82..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDeleteDataResourceResult.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_METASTOREDELETEDATARESOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDELETEDATARESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDeleteDataResourceResult : public ServiceResult - { - public: - - - MetastoreDeleteDataResourceResult(); - explicit MetastoreDeleteDataResourceResult(const std::string &payload); - ~MetastoreDeleteDataResourceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDELETEDATARESOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicRequest.h deleted file mode 100644 index 8083e2411..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicRequest.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_METASTOREDELETEKAFKATOPICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDELETEKAFKATOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDeleteKafkaTopicRequest : public RpcServiceRequest - { - - public: - MetastoreDeleteKafkaTopicRequest(); - ~MetastoreDeleteKafkaTopicRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDELETEKAFKATOPICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicResult.h b/emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicResult.h deleted file mode 100644 index 002ef6352..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDeleteKafkaTopicResult.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_METASTOREDELETEKAFKATOPICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDELETEKAFKATOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDeleteKafkaTopicResult : public ServiceResult - { - public: - - - MetastoreDeleteKafkaTopicResult(); - explicit MetastoreDeleteKafkaTopicResult(const std::string &payload); - ~MetastoreDeleteKafkaTopicResult(); - std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDELETEKAFKATOPICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceRequest.h deleted file mode 100644 index 8c295ccb4..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceRequest.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_METASTOREDESCRIBEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeDataSourceRequest : public RpcServiceRequest - { - - public: - MetastoreDescribeDataSourceRequest(); - ~MetastoreDescribeDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string dataSourceId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceResult.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceResult.h deleted file mode 100644 index 565c00e1e..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeDataSourceResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeDataSourceResult : public ServiceResult - { - public: - struct DataSource - { - struct Config - { - std::string configName; - std::string value; - }; - std::string description; - std::string sourceType; - long gmtModified; - long usedSize; - std::string name; - long gmtCreate; - long capacity; - std::string clusterBizId; - std::string userId; - std::string clusterName; - std::string id; - std::string connectionInfo; - std::vector configList; - }; - - - MetastoreDescribeDataSourceResult(); - explicit MetastoreDescribeDataSourceResult(const std::string &payload); - ~MetastoreDescribeDataSourceResult(); - DataSource getDataSource()const; - - protected: - void parse(const std::string &payload); - private: - DataSource dataSource_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseRequest.h deleted file mode 100644 index 1ef034af2..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseRequest.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_METASTOREDESCRIBEDATABASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeDatabaseRequest : public RpcServiceRequest - { - - public: - MetastoreDescribeDatabaseRequest(); - ~MetastoreDescribeDatabaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATABASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseResult.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseResult.h deleted file mode 100644 index 35c61cbf4..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeDatabaseResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATABASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeDatabaseResult : public ServiceResult - { - public: - struct Database - { - std::string status; - std::string owner; - std::string databaseType; - std::string projectName; - std::string databaseName; - long gmtModified; - std::string projectId; - std::string ownerType; - std::string databaseParameters; - long gmtCreate; - std::string clusterBizId; - std::string dataSourceType; - std::string databaseComment; - std::string clusterName; - std::string id; - std::string locationType; - std::string dataSourceId; - std::string location; - }; - struct Parameter - { - std::string value; - std::string key; - }; - - - MetastoreDescribeDatabaseResult(); - explicit MetastoreDescribeDatabaseResult(const std::string &payload); - ~MetastoreDescribeDatabaseResult(); - std::string getLocationUri()const; - std::vector getParameters()const; - std::string getDescription()const; - Database getDatabase()const; - std::string getDbName()const; - - protected: - void parse(const std::string &payload); - private: - std::string locationUri_; - std::vector parameters_; - std::string description_; - Database database_; - std::string dbName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEDATABASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupRequest.h deleted file mode 100644 index 23f9be430..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupRequest.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_METASTOREDESCRIBEKAFKACONSUMERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKACONSUMERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeKafkaConsumerGroupRequest : public RpcServiceRequest - { - - public: - MetastoreDescribeKafkaConsumerGroupRequest(); - ~MetastoreDescribeKafkaConsumerGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getConsumerGroupId()const; - void setConsumerGroupId(const std::string& consumerGroupId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - std::string consumerGroupId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKACONSUMERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupResult.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupResult.h deleted file mode 100644 index af9c2865c..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaConsumerGroupResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKACONSUMERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKACONSUMERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeKafkaConsumerGroupResult : public ServiceResult - { - public: - struct Partition - { - long gmtCreate; - std::string consumerGroupId; - long consumerOffset; - long lag; - std::string consumerInstanceOwner; - long gmtModified; - long logEndOffset; - int partitionId; - std::string dataSourceId; - }; - - - MetastoreDescribeKafkaConsumerGroupResult(); - explicit MetastoreDescribeKafkaConsumerGroupResult(const std::string &payload); - ~MetastoreDescribeKafkaConsumerGroupResult(); - long getGmtCreate()const; - long getGmtModified()const; - std::string getId()const; - std::vector getPartitionList()const; - std::string getConsumerType()const; - std::string getPartitionProportion()const; - std::string getDataSourceId()const; - std::string getConsumerGroup()const; - long getTotalLag()const; - - protected: - void parse(const std::string &payload); - private: - long gmtCreate_; - long gmtModified_; - std::string id_; - std::vector partitionList_; - std::string consumerType_; - std::string partitionProportion_; - std::string dataSourceId_; - std::string consumerGroup_; - long totalLag_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKACONSUMERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicRequest.h deleted file mode 100644 index 6c6e27d32..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicRequest.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_METASTOREDESCRIBEKAFKATOPICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKATOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeKafkaTopicRequest : public RpcServiceRequest - { - - public: - MetastoreDescribeKafkaTopicRequest(); - ~MetastoreDescribeKafkaTopicRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKATOPICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicResult.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicResult.h deleted file mode 100644 index 6f533a073..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeKafkaTopicResult.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_METASTOREDESCRIBEKAFKATOPICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKATOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeKafkaTopicResult : public ServiceResult - { - public: - struct Cluster - { - std::string clusterBizId; - std::string clusterName; - std::string clusterStatus; - }; - struct AdvancedConfig - { - std::string value; - std::string key; - }; - struct Summary - { - std::string value; - std::string key; - }; - struct Distribution - { - int partition; - bool preferredLeader; - int leader; - std::vector replicaList; - bool underReplicated; - std::vector isrList; - long logEndOffset; - long offset; - }; - - - MetastoreDescribeKafkaTopicResult(); - explicit MetastoreDescribeKafkaTopicResult(const std::string &payload); - ~MetastoreDescribeKafkaTopicResult(); - std::string getStatus()const; - std::vector getAdvancedConfigList()const; - int getReplicationFactor()const; - std::string getReassignId()const; - std::vector getSummaryList()const; - long getGmtModified()const; - Cluster getCluster()const; - std::string getPreferredReplicasPercentage()const; - int getBrokerTotal()const; - std::string getTopicName()const; - std::string getUnderReplicatedPercentage()const; - long getGmtCreate()const; - std::string getBrokersLeaderSkewPercentage()const; - int getNumUsingBrokers()const; - int getNumPartitions()const; - std::string getId()const; - std::string getDataSourceId()const; - std::vector getDistributionList()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::vector advancedConfigList_; - int replicationFactor_; - std::string reassignId_; - std::vector summaryList_; - long gmtModified_; - Cluster cluster_; - std::string preferredReplicasPercentage_; - int brokerTotal_; - std::string topicName_; - std::string underReplicatedPercentage_; - long gmtCreate_; - std::string brokersLeaderSkewPercentage_; - int numUsingBrokers_; - int numPartitions_; - std::string id_; - std::string dataSourceId_; - std::vector distributionList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBEKAFKATOPICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeTableRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeTableRequest.h deleted file mode 100644 index 47316872a..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeTableRequest.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_METASTOREDESCRIBETABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeTableRequest : public RpcServiceRequest - { - - public: - MetastoreDescribeTableRequest(); - ~MetastoreDescribeTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string id_; - std::string tableName_; - std::string databaseId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeTableResult.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeTableResult.h deleted file mode 100644 index b64ad5684..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeTableResult.h +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_METASTOREDESCRIBETABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeTableResult : public ServiceResult - { - public: - struct Column - { - std::string comment; - std::string type; - std::string name; - }; - struct PartitionColumn - { - std::string comment; - std::string type; - std::string name; - }; - struct SerdeParameter - { - std::string value; - std::string key; - }; - struct StorageDescParameter - { - std::string value; - std::string key; - }; - struct TableParameter - { - std::string value; - std::string key; - }; - - - MetastoreDescribeTableResult(); - explicit MetastoreDescribeTableResult(const std::string &payload); - ~MetastoreDescribeTableResult(); - std::string getLocationUri()const; - std::string getOwner()const; - std::string getTableType()const; - std::string getFieldDelimiter()const; - int getCreateTime()const; - std::string getOutputFormat()const; - std::vector getColumns()const; - std::vector getPartitionColumns()const; - std::string getDatabaseId()const; - std::string getCreator()const; - int getLastAccessTime()const; - bool getCompressed()const; - std::vector getSerdeParameters()const; - std::string getSerializationLib()const; - std::string getTableName()const; - std::string getTableComment()const; - std::vector getStorageDescParameters()const; - std::string getClusterBizId()const; - std::string getInputFormat()const; - std::string getClusterName()const; - std::string getDbName()const; - std::string getId()const; - std::vector getTableParameters()const; - - protected: - void parse(const std::string &payload); - private: - std::string locationUri_; - std::string owner_; - std::string tableType_; - std::string fieldDelimiter_; - int createTime_; - std::string outputFormat_; - std::vector columns_; - std::vector partitionColumns_; - std::string databaseId_; - std::string creator_; - int lastAccessTime_; - bool compressed_; - std::vector serdeParameters_; - std::string serializationLib_; - std::string tableName_; - std::string tableComment_; - std::vector storageDescParameters_; - std::string clusterBizId_; - std::string inputFormat_; - std::string clusterName_; - std::string dbName_; - std::string id_; - std::vector tableParameters_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeTaskRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeTaskRequest.h deleted file mode 100644 index 926ab37fb..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeTaskRequest.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_METASTOREDESCRIBETASKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeTaskRequest : public RpcServiceRequest - { - - public: - MetastoreDescribeTaskRequest(); - ~MetastoreDescribeTaskRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string taskId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDescribeTaskResult.h b/emr/include/alibabacloud/emr/model/MetastoreDescribeTaskResult.h deleted file mode 100644 index 68a1f22cf..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDescribeTaskResult.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_METASTOREDESCRIBETASKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDescribeTaskResult : public ServiceResult - { - public: - struct Task - { - std::string triggerType; - long endTime; - long executeTime; - long startTime; - long gmtModified; - std::string taskObject; - std::string taskStatus; - std::string taskDetail; - std::string triggerUser; - long gmtCreate; - int taskProcess; - std::string taskType; - std::string bizId; - std::string dataSourceId; - std::string taskResultDetail; - }; - - - MetastoreDescribeTaskResult(); - explicit MetastoreDescribeTaskResult(const std::string &payload); - ~MetastoreDescribeTaskResult(); - Task getTask()const; - - protected: - void parse(const std::string &payload); - private: - Task task_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDESCRIBETASKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDropDatabaseRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDropDatabaseRequest.h deleted file mode 100644 index 49a1a05d3..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDropDatabaseRequest.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_METASTOREDROPDATABASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDROPDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDropDatabaseRequest : public RpcServiceRequest - { - - public: - MetastoreDropDatabaseRequest(); - ~MetastoreDropDatabaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string databaseId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDROPDATABASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDropDatabaseResult.h b/emr/include/alibabacloud/emr/model/MetastoreDropDatabaseResult.h deleted file mode 100644 index 88110d009..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDropDatabaseResult.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_METASTOREDROPDATABASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDROPDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDropDatabaseResult : public ServiceResult - { - public: - - - MetastoreDropDatabaseResult(); - explicit MetastoreDropDatabaseResult(const std::string &payload); - ~MetastoreDropDatabaseResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDROPDATABASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDropTableRequest.h b/emr/include/alibabacloud/emr/model/MetastoreDropTableRequest.h deleted file mode 100644 index 8f78aa090..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDropTableRequest.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_METASTOREDROPTABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDROPTABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDropTableRequest : public RpcServiceRequest - { - - public: - MetastoreDropTableRequest(); - ~MetastoreDropTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTableId()const; - void setTableId(const std::string& tableId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string tableId_; - std::string tableName_; - std::string databaseId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDROPTABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreDropTableResult.h b/emr/include/alibabacloud/emr/model/MetastoreDropTableResult.h deleted file mode 100644 index 47639789c..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreDropTableResult.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_METASTOREDROPTABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREDROPTABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreDropTableResult : public ServiceResult - { - public: - - - MetastoreDropTableResult(); - explicit MetastoreDropTableResult(const std::string &payload); - ~MetastoreDropTableResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREDROPTABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListDataResourcesResult.h b/emr/include/alibabacloud/emr/model/MetastoreListDataResourcesResult.h deleted file mode 100644 index b067daf45..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListDataResourcesResult.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTDATARESOURCESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTDATARESOURCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListDataResourcesResult : public ServiceResult - { - public: - struct DataResourceInfo - { - std::string description; - long clusterId; - std::string id; - std::string regionId; - bool default; - std::string accessType; - std::string name; - std::string metaType; - }; - - - MetastoreListDataResourcesResult(); - explicit MetastoreListDataResourcesResult(const std::string &payload); - ~MetastoreListDataResourcesResult(); - std::vector getDataResources()const; - - protected: - void parse(const std::string &payload); - private: - std::vector dataResources_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTDATARESOURCESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListDataSourceRequest.h b/emr/include/alibabacloud/emr/model/MetastoreListDataSourceRequest.h deleted file mode 100644 index 1cfc30927..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListDataSourceRequest.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_METASTORELISTDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListDataSourceRequest : public RpcServiceRequest - { - - public: - MetastoreListDataSourceRequest(); - ~MetastoreListDataSourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getClusterReleased()const; - void setClusterReleased(bool clusterReleased); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - std::string getDataSourceName()const; - void setDataSourceName(const std::string& dataSourceName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - bool clusterReleased_; - int pageSize_; - std::string sourceType_; - std::string dataSourceName_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTDATASOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListDataSourceResult.h b/emr/include/alibabacloud/emr/model/MetastoreListDataSourceResult.h deleted file mode 100644 index efbdb9f5e..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListDataSourceResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTDATASOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTDATASOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListDataSourceResult : public ServiceResult - { - public: - struct DataSource - { - struct Config - { - std::string configName; - std::string value; - }; - std::string description; - std::string sourceType; - long gmtModified; - long usedSize; - std::string name; - long gmtCreate; - long capacity; - std::string clusterBizId; - std::string userId; - std::string clusterName; - std::string id; - std::string connectionInfo; - std::vector configList; - }; - - - MetastoreListDataSourceResult(); - explicit MetastoreListDataSourceResult(const std::string &payload); - ~MetastoreListDataSourceResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getDataSourceList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector dataSourceList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTDATASOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListDatabasesRequest.h b/emr/include/alibabacloud/emr/model/MetastoreListDatabasesRequest.h deleted file mode 100644 index 329157590..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListDatabasesRequest.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_METASTORELISTDATABASESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTDATABASESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListDatabasesRequest : public RpcServiceRequest - { - - public: - MetastoreListDatabasesRequest(); - ~MetastoreListDatabasesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getFuzzyDatabaseName()const; - void setFuzzyDatabaseName(const std::string& fuzzyDatabaseName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - int pageSize_; - std::string fuzzyDatabaseName_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTDATABASESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListDatabasesResult.h b/emr/include/alibabacloud/emr/model/MetastoreListDatabasesResult.h deleted file mode 100644 index 03d65b0f6..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListDatabasesResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTDATABASESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTDATABASESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListDatabasesResult : public ServiceResult - { - public: - struct Database - { - std::string status; - std::string owner; - std::string databaseType; - std::string databaseName; - long gmtModified; - std::string ownerType; - std::string databaseParameters; - long gmtCreate; - std::string clusterBizId; - std::string databaseComment; - std::string clusterName; - std::string id; - std::string locationType; - std::string location; - }; - - - MetastoreListDatabasesResult(); - explicit MetastoreListDatabasesResult(const std::string &payload); - ~MetastoreListDatabasesResult(); - std::vector getDbNames()const; - int getTotalCount()const; - std::string getDescription()const; - std::vector getDatabaseList()const; - int getPageSize()const; - int getPageNumber()const; - - protected: - void parse(const std::string &payload); - private: - std::vector dbNames_; - int totalCount_; - std::string description_; - std::vector databaseList_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTDATABASESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupRequest.h b/emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupRequest.h deleted file mode 100644 index eafcecd09..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupRequest.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_METASTORELISTKAFKACONSUMERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKACONSUMERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListKafkaConsumerGroupRequest : public RpcServiceRequest - { - - public: - MetastoreListKafkaConsumerGroupRequest(); - ~MetastoreListKafkaConsumerGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - int pageSize_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKACONSUMERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupResult.h b/emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupResult.h deleted file mode 100644 index 3306caf3f..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListKafkaConsumerGroupResult.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_METASTORELISTKAFKACONSUMERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKACONSUMERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListKafkaConsumerGroupResult : public ServiceResult - { - public: - struct ConsumerGroup - { - long gmtCreate; - long gmtModified; - std::string id; - std::string consumerType; - std::string partitionProportion; - std::string dataSourceId; - std::string consumerGroup; - long totalLag; - }; - - - MetastoreListKafkaConsumerGroupResult(); - explicit MetastoreListKafkaConsumerGroupResult(const std::string &payload); - ~MetastoreListKafkaConsumerGroupResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getConsumerGroupList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector consumerGroupList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKACONSUMERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicRequest.h b/emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicRequest.h deleted file mode 100644 index 99537588a..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKATOPICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKATOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListKafkaTopicRequest : public RpcServiceRequest - { - - public: - MetastoreListKafkaTopicRequest(); - ~MetastoreListKafkaTopicRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - bool getActiveOnly()const; - void setActiveOnly(bool activeOnly); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getTopicName()const; - void setTopicName(const std::string& topicName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - bool activeOnly_; - std::string regionId_; - int pageSize_; - std::string dataSourceId_; - std::string topicName_; - std::string clusterId_; - int pageNumber_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKATOPICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicResult.h b/emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicResult.h deleted file mode 100644 index b8e658728..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListKafkaTopicResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKATOPICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKATOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListKafkaTopicResult : public ServiceResult - { - public: - struct Topic - { - struct Cluster - { - std::string clusterBizId; - std::string clusterName; - std::string clusterStatus; - }; - struct AdvancedConfig - { - std::string value; - std::string key; - }; - std::string status; - long gmtCreate; - std::vector advancedConfigList; - int replicationFactor; - std::string reassignId; - int numPartitions; - long gmtModified; - Cluster cluster; - std::string id; - std::string dataSourceId; - std::string topicName; - }; - - - MetastoreListKafkaTopicResult(); - explicit MetastoreListKafkaTopicResult(const std::string &payload); - ~MetastoreListKafkaTopicResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getTopicList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector topicList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTKAFKATOPICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListTablePartitionResult.h b/emr/include/alibabacloud/emr/model/MetastoreListTablePartitionResult.h deleted file mode 100644 index b6a6bb284..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListTablePartitionResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLEPARTITIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLEPARTITIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListTablePartitionResult : public ServiceResult - { - public: - struct Partition - { - std::string tableId; - std::string partitionName; - std::string partitionComment; - long gmtCreate; - long gmtModified; - std::string partitionPath; - std::string databaseId; - std::string partitionType; - int bucketNum; - std::string location; - }; - - - MetastoreListTablePartitionResult(); - explicit MetastoreListTablePartitionResult(const std::string &payload); - ~MetastoreListTablePartitionResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getPartitionList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector partitionList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLEPARTITIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListTablesRequest.h b/emr/include/alibabacloud/emr/model/MetastoreListTablesRequest.h deleted file mode 100644 index d9b005f27..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListTablesRequest.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_METASTORELISTTABLESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListTablesRequest : public RpcServiceRequest - { - - public: - MetastoreListTablesRequest(); - ~MetastoreListTablesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableId()const; - void setTableId(const std::string& tableId); - std::string getDatabaseId()const; - void setDatabaseId(const std::string& databaseId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getFuzzyTableName()const; - void setFuzzyTableName(const std::string& fuzzyTableName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - int pageSize_; - std::string tableId_; - std::string databaseId_; - std::string tableName_; - int pageNumber_; - std::string fuzzyTableName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListTablesResult.h b/emr/include/alibabacloud/emr/model/MetastoreListTablesResult.h deleted file mode 100644 index 5bc6ae092..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListTablesResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListTablesResult : public ServiceResult - { - public: - struct Table - { - std::string owner; - std::string tableType; - long createTime; - std::string databaseName; - std::string outputFormat; - long gmtModified; - std::string databaseId; - long lastAccessTime; - std::string serdeParameters; - bool isTemporary; - std::string serializationLib; - std::string tableName; - std::string tableComment; - std::string ownerType; - long gmtCreate; - std::string clusterBizId; - std::string inputFormat; - std::string clusterName; - std::string partitionKeys; - std::string id; - bool isCompressed; - std::string tableParameters; - std::string location; - }; - - - MetastoreListTablesResult(); - explicit MetastoreListTablesResult(const std::string &payload); - ~MetastoreListTablesResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getTableNames()const; - std::vector getTableList()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector tableNames_; - std::vector
tableList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTTABLESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreListTaskRequest.h b/emr/include/alibabacloud/emr/model/MetastoreListTaskRequest.h deleted file mode 100644 index c6c865310..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreListTaskRequest.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_METASTORELISTTASKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORELISTTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreListTaskRequest : public RpcServiceRequest - { - - public: - MetastoreListTaskRequest(); - ~MetastoreListTaskRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTaskStatus()const; - void setTaskStatus(const std::string& taskStatus); - std::string getTaskSourceType()const; - void setTaskSourceType(const std::string& taskSourceType); - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string taskStatus_; - std::string taskSourceType_; - std::string taskType_; - std::string regionId_; - int pageSize_; - std::string dataSourceId_; - int pageNumber_; - std::string taskId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORELISTTASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceRequest.h b/emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceRequest.h deleted file mode 100644 index 165dd4098..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceRequest.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_METASTOREMODIFYDATARESOURCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREMODIFYDATARESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreModifyDataResourceRequest : public RpcServiceRequest - { - - public: - MetastoreModifyDataResourceRequest(); - ~MetastoreModifyDataResourceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - bool getDefault()const; - void setDefault(bool default); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getId()const; - void setId(const std::string& id); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - bool default_; - std::string regionId_; - std::string name_; - std::string description_; - std::string id_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREMODIFYDATARESOURCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceResult.h b/emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceResult.h deleted file mode 100644 index 465f3e0f4..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreModifyDataResourceResult.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_METASTOREMODIFYDATARESOURCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREMODIFYDATARESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreModifyDataResourceResult : public ServiceResult - { - public: - - - MetastoreModifyDataResourceResult(); - explicit MetastoreModifyDataResourceResult(const std::string &payload); - ~MetastoreModifyDataResourceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREMODIFYDATARESOURCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreRetryTaskRequest.h b/emr/include/alibabacloud/emr/model/MetastoreRetryTaskRequest.h deleted file mode 100644 index c728f1b05..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreRetryTaskRequest.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_METASTORERETRYTASKREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORERETRYTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreRetryTaskRequest : public RpcServiceRequest - { - - public: - MetastoreRetryTaskRequest(); - ~MetastoreRetryTaskRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string taskId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORERETRYTASKREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreRetryTaskResult.h b/emr/include/alibabacloud/emr/model/MetastoreRetryTaskResult.h deleted file mode 100644 index ff6cc1ac6..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreRetryTaskResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_METASTORERETRYTASKRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORERETRYTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreRetryTaskResult : public ServiceResult - { - public: - - - MetastoreRetryTaskResult(); - explicit MetastoreRetryTaskResult(const std::string &payload); - ~MetastoreRetryTaskResult(); - bool getNewTaskId()const; - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - bool newTaskId_; - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORERETRYTASKRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreSearchTablesRequest.h b/emr/include/alibabacloud/emr/model/MetastoreSearchTablesRequest.h deleted file mode 100644 index ddf3a45e8..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreSearchTablesRequest.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_METASTORESEARCHTABLESREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORESEARCHTABLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreSearchTablesRequest : public RpcServiceRequest - { - - public: - MetastoreSearchTablesRequest(); - ~MetastoreSearchTablesRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string tableName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORESEARCHTABLESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreSearchTablesResult.h b/emr/include/alibabacloud/emr/model/MetastoreSearchTablesResult.h deleted file mode 100644 index fe297e5f9..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreSearchTablesResult.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_METASTORESEARCHTABLESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTORESEARCHTABLESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreSearchTablesResult : public ServiceResult - { - public: - - - MetastoreSearchTablesResult(); - explicit MetastoreSearchTablesResult(const std::string &payload); - ~MetastoreSearchTablesResult(); - std::vector getTableNames()const; - - protected: - void parse(const std::string &payload); - private: - std::vector tableNames_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTORESEARCHTABLESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchResult.h b/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchResult.h deleted file mode 100644 index 2551b8b47..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicBatchResult.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_METASTOREUPDATEKAFKATOPICBATCHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICBATCHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreUpdateKafkaTopicBatchResult : public ServiceResult - { - public: - - - MetastoreUpdateKafkaTopicBatchResult(); - explicit MetastoreUpdateKafkaTopicBatchResult(const std::string &payload); - ~MetastoreUpdateKafkaTopicBatchResult(); - std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICBATCHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicRequest.h b/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicRequest.h deleted file mode 100644 index c0c4349e8..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicRequest.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_METASTOREUPDATEKAFKATOPICREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreUpdateKafkaTopicRequest : public RpcServiceRequest - { - struct AdvancedConfig - { - std::string value; - std::string key; - }; - - public: - MetastoreUpdateKafkaTopicRequest(); - ~MetastoreUpdateKafkaTopicRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getAdvancedConfig()const; - void setAdvancedConfig(const std::vector& advancedConfig); - int getNumPartitions()const; - void setNumPartitions(int numPartitions); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - std::vector advancedConfig_; - int numPartitions_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicResult.h b/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicResult.h deleted file mode 100644 index c1a17e212..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreUpdateKafkaTopicResult.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_METASTOREUPDATEKAFKATOPICRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreUpdateKafkaTopicResult : public ServiceResult - { - public: - - - MetastoreUpdateKafkaTopicResult(); - explicit MetastoreUpdateKafkaTopicResult(const std::string &payload); - ~MetastoreUpdateKafkaTopicResult(); - std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREUPDATEKAFKATOPICRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreUpdateTableRequest.h b/emr/include/alibabacloud/emr/model/MetastoreUpdateTableRequest.h deleted file mode 100644 index 39a538d3e..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreUpdateTableRequest.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_METASTOREUPDATETABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREUPDATETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreUpdateTableRequest : public RpcServiceRequest - { - struct AddColumn - { - std::string name; - std::string comment; - std::string type; - }; - struct AddPartition - { - std::string name; - std::string comment; - std::string type; - }; - - public: - MetastoreUpdateTableRequest(); - ~MetastoreUpdateTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getAddColumn()const; - void setAddColumn(const std::vector& addColumn); - std::vector getAddPartition()const; - void setAddPartition(const std::vector& addPartition); - std::vector getDeleteColumnName()const; - void setDeleteColumnName(const std::vector& deleteColumnName); - std::string getTableId()const; - void setTableId(const std::string& tableId); - std::vector getDeletePartitionName()const; - void setDeletePartitionName(const std::vector& deletePartitionName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::vector addColumn_; - std::vector addPartition_; - std::vector deleteColumnName_; - std::string tableId_; - std::vector deletePartitionName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREUPDATETABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MetastoreUpdateTableResult.h b/emr/include/alibabacloud/emr/model/MetastoreUpdateTableResult.h deleted file mode 100644 index 84f88abcf..000000000 --- a/emr/include/alibabacloud/emr/model/MetastoreUpdateTableResult.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_METASTOREUPDATETABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_METASTOREUPDATETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MetastoreUpdateTableResult : public ServiceResult - { - public: - - - MetastoreUpdateTableResult(); - explicit MetastoreUpdateTableResult(const std::string &payload); - ~MetastoreUpdateTableResult(); - bool getSuccess()const; - - protected: - void parse(const std::string &payload); - private: - bool success_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_METASTOREUPDATETABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostRequest.h b/emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostRequest.h deleted file mode 100644 index 5083acc31..000000000 --- a/emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostRequest.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_MIGRATECLUSTERHOSTGROUPHOSTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MIGRATECLUSTERHOSTGROUPHOSTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MigrateClusterHostGroupHostRequest : public RpcServiceRequest - { - - public: - MigrateClusterHostGroupHostRequest(); - ~MigrateClusterHostGroupHostRequest(); - - std::vector getHostInstanceIdList()const; - void setHostInstanceIdList(const std::vector& hostInstanceIdList); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::vector hostInstanceIdList_; - long resourceOwnerId_; - std::string regionId_; - std::string hostGroupId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MIGRATECLUSTERHOSTGROUPHOSTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostResult.h b/emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostResult.h deleted file mode 100644 index 7248f6489..000000000 --- a/emr/include/alibabacloud/emr/model/MigrateClusterHostGroupHostResult.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_MIGRATECLUSTERHOSTGROUPHOSTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MIGRATECLUSTERHOSTGROUPHOSTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MigrateClusterHostGroupHostResult : public ServiceResult - { - public: - - - MigrateClusterHostGroupHostResult(); - explicit MigrateClusterHostGroupHostResult(const std::string &payload); - ~MigrateClusterHostGroupHostResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MIGRATECLUSTERHOSTGROUPHOSTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MigrateJobsRequest.h b/emr/include/alibabacloud/emr/model/MigrateJobsRequest.h deleted file mode 100644 index 016a62299..000000000 --- a/emr/include/alibabacloud/emr/model/MigrateJobsRequest.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_MIGRATEJOBSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MIGRATEJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MigrateJobsRequest : public RpcServiceRequest - { - - public: - MigrateJobsRequest(); - ~MigrateJobsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string projectName_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MIGRATEJOBSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/MigrateJobsResult.h b/emr/include/alibabacloud/emr/model/MigrateJobsResult.h deleted file mode 100644 index a3bbef596..000000000 --- a/emr/include/alibabacloud/emr/model/MigrateJobsResult.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_MIGRATEJOBSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MIGRATEJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT MigrateJobsResult : public ServiceResult - { - public: - - - MigrateJobsResult(); - explicit MigrateJobsResult(const std::string &payload); - ~MigrateJobsResult(); - std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MIGRATEJOBSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyAlertContactRequest.h b/emr/include/alibabacloud/emr/model/ModifyAlertContactRequest.h deleted file mode 100644 index 8725f1266..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyAlertContactRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYALERTCONTACTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTCONTACTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyAlertContactRequest : public RpcServiceRequest - { - - public: - ModifyAlertContactRequest(); - ~ModifyAlertContactRequest(); - - std::string getEmailVerificationCode()const; - void setEmailVerificationCode(const std::string& emailVerificationCode); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getPhoneNumberVerificationCode()const; - void setPhoneNumberVerificationCode(const std::string& phoneNumberVerificationCode); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getName()const; - void setName(const std::string& name); - std::string getEmail()const; - void setEmail(const std::string& email); - - private: - std::string emailVerificationCode_; - long resourceOwnerId_; - std::string phoneNumberVerificationCode_; - std::string phoneNumber_; - std::string accessKeyId_; - std::string regionId_; - std::string bizId_; - std::string name_; - std::string email_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTCONTACTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyAlertContactResult.h b/emr/include/alibabacloud/emr/model/ModifyAlertContactResult.h deleted file mode 100644 index fec87b3b3..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyAlertContactResult.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_MODIFYALERTCONTACTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTCONTACTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyAlertContactResult : public ServiceResult - { - public: - - - ModifyAlertContactResult(); - explicit ModifyAlertContactResult(const std::string &payload); - ~ModifyAlertContactResult(); - bool getDone()const; - - protected: - void parse(const std::string &payload); - private: - bool done_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTCONTACTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupRequest.h b/emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupRequest.h deleted file mode 100644 index cb296ceb5..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupRequest.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_MODIFYALERTDINGDINGGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTDINGDINGGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyAlertDingDingGroupRequest : public RpcServiceRequest - { - - public: - ModifyAlertDingDingGroupRequest(); - ~ModifyAlertDingDingGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getWebHookUrl()const; - void setWebHookUrl(const std::string& webHookUrl); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getName()const; - void setName(const std::string& name); - - private: - long resourceOwnerId_; - std::string description_; - std::string accessKeyId_; - std::string webHookUrl_; - std::string regionId_; - std::string bizId_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTDINGDINGGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupResult.h b/emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupResult.h deleted file mode 100644 index ed7110f22..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyAlertDingDingGroupResult.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_MODIFYALERTDINGDINGGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTDINGDINGGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyAlertDingDingGroupResult : public ServiceResult - { - public: - - - ModifyAlertDingDingGroupResult(); - explicit ModifyAlertDingDingGroupResult(const std::string &payload); - ~ModifyAlertDingDingGroupResult(); - bool getDone()const; - - protected: - void parse(const std::string &payload); - private: - bool done_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTDINGDINGGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyAlertUserGroupResult.h b/emr/include/alibabacloud/emr/model/ModifyAlertUserGroupResult.h deleted file mode 100644 index 9a6c838cf..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyAlertUserGroupResult.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_MODIFYALERTUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyAlertUserGroupResult : public ServiceResult - { - public: - - - ModifyAlertUserGroupResult(); - explicit ModifyAlertUserGroupResult(const std::string &payload); - ~ModifyAlertUserGroupResult(); - bool getDone()const; - - protected: - void parse(const std::string &payload); - private: - bool done_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h similarity index 65% rename from emr/include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoRequest.h rename to emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h index 630b09b9e..4f656010b 100644 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanBasicInfoRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFOREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONREQUEST_H_ #include #include @@ -28,36 +28,46 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanBasicInfoRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ModifyClusterBootstrapActionRequest : public RpcServiceRequest { + public: + struct BootstrapAction + { + std::string path; + std::string executionTarget; + std::string executionMoment; + std::string arg; + std::string name; + std::string executionFailStrategy; + }; public: - ModifyExecutionPlanBasicInfoRequest(); - ~ModifyExecutionPlanBasicInfoRequest(); + ModifyClusterBootstrapActionRequest(); + ~ModifyClusterBootstrapActionRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); std::string getClusterId()const; void setClusterId(const std::string& clusterId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::vector getBootstrapAction()const; + void setBootstrapAction(const std::vector& bootstrapAction); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getId()const; + void setId(const std::string& id); private: long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string id_; std::string clusterId_; std::string accessKeyId_; + std::vector bootstrapAction_; + std::string regionId_; + std::string id_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFOREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionResult.h rename to emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h index 4ddd20183..dae094445 100644 --- a/emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionResult.h +++ b/emr/include/alibabacloud/emr/model/ModifyClusterBootstrapActionResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYFLOWVARIABLECOLLECTIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYFLOWVARIABLECOLLECTIONRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyFlowVariableCollectionResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ModifyClusterBootstrapActionResult : public ServiceResult { public: - ModifyFlowVariableCollectionResult(); - explicit ModifyFlowVariableCollectionResult(const std::string &payload); - ~ModifyFlowVariableCollectionResult(); + ModifyClusterBootstrapActionResult(); + explicit ModifyClusterBootstrapActionResult(const std::string &payload); + ~ModifyClusterBootstrapActionResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYFLOWVARIABLECOLLECTIONRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERBOOTSTRAPACTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h similarity index 58% rename from emr/include/alibabacloud/emr/model/ListScalingRuleRequest.h rename to emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h index 9ba571339..b0e589f25 100644 --- a/emr/include/alibabacloud/emr/model/ListScalingRuleRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTSCALINGRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTSCALINGRULEREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULEREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULEREQUEST_H_ #include #include @@ -28,39 +28,45 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListScalingRuleRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ModifyClusterSecurityGroupRuleRequest : public RpcServiceRequest { public: - ListScalingRuleRequest(); - ~ListScalingRuleRequest(); + ModifyClusterSecurityGroupRuleRequest(); + ~ModifyClusterSecurityGroupRuleRequest(); + std::string getNicType()const; + void setNicType(const std::string& nicType); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostGroupId()const; - void setHostGroupId(const std::string& hostGroupId); - int getPageSize()const; - void setPageSize(int pageSize); + std::string getPortRange()const; + void setPortRange(const std::string& portRange); + std::string getIpProtocol()const; + void setIpProtocol(const std::string& ipProtocol); std::string getClusterId()const; void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); + std::string getWhiteIp()const; + void setWhiteIp(const std::string& whiteIp); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getModifyType()const; + void setModifyType(const std::string& modifyType); private: + std::string nicType_; long resourceOwnerId_; - std::string regionId_; - std::string hostGroupId_; - int pageSize_; + std::string portRange_; + std::string ipProtocol_; std::string clusterId_; - int pageNumber_; + std::string whiteIp_; std::string accessKeyId_; + std::string regionId_; + std::string modifyType_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTSCALINGRULEREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoResult.h rename to emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h index fd7479e2d..432991f17 100644 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoResult.h +++ b/emr/include/alibabacloud/emr/model/ModifyClusterSecurityGroupRuleResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANCLUSTERINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANCLUSTERINFORESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULERESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULERESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanClusterInfoResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ModifyClusterSecurityGroupRuleResult : public ServiceResult { public: - ModifyExecutionPlanClusterInfoResult(); - explicit ModifyExecutionPlanClusterInfoResult(const std::string &payload); - ~ModifyExecutionPlanClusterInfoResult(); + ModifyClusterSecurityGroupRuleResult(); + explicit ModifyClusterSecurityGroupRuleResult(const std::string &payload); + ~ModifyClusterSecurityGroupRuleResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANCLUSTERINFORESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSECURITYGROUPRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminRequest.h deleted file mode 100644 index ca3d2f070..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminRequest.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_MODIFYCLUSTERSERVICECONFIGFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSERVICECONFIGFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterServiceConfigForAdminRequest : public RpcServiceRequest - { - - public: - ModifyClusterServiceConfigForAdminRequest(); - ~ModifyClusterServiceConfigForAdminRequest(); - - bool getRefreshHostConfig()const; - void setRefreshHostConfig(bool refreshHostConfig); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getHostInstanceId()const; - void setHostInstanceId(const std::string& hostInstanceId); - 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); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - std::vector getGatewayClusterIdList()const; - void setGatewayClusterIdList(const std::vector& gatewayClusterIdList); - std::string getConfigParams()const; - void setConfigParams(const std::string& configParams); - std::string getConfigType()const; - void setConfigType(const std::string& configType); - std::string getAuthor()const; - void setAuthor(const std::string& author); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getCustomConfigParams()const; - void setCustomConfigParams(const std::string& customConfigParams); - std::string getComment()const; - void setComment(const std::string& comment); - - private: - bool refreshHostConfig_; - long resourceOwnerId_; - std::string hostInstanceId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - std::string serviceName_; - std::vector gatewayClusterIdList_; - std::string configParams_; - std::string configType_; - std::string author_; - std::string groupId_; - std::string clusterId_; - std::string customConfigParams_; - std::string comment_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSERVICECONFIGFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminResult.h b/emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminResult.h deleted file mode 100644 index 9eeb033e7..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyClusterServiceConfigForAdminResult.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_MODIFYCLUSTERSERVICECONFIGFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSERVICECONFIGFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyClusterServiceConfigForAdminResult : public ServiceResult - { - public: - - - ModifyClusterServiceConfigForAdminResult(); - explicit ModifyClusterServiceConfigForAdminResult(const std::string &payload); - ~ModifyClusterServiceConfigForAdminResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYCLUSTERSERVICECONFIGFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h b/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h index 95e2aa29b..de9531d7e 100644 --- a/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyClusterTemplateRequest.h @@ -34,8 +34,16 @@ namespace AlibabaCloud struct BootstrapAction { std::string path; + std::string executionTarget; + std::string executionMoment; std::string arg; std::string name; + std::string executionFailStrategy; + }; + struct Tag + { + std::string value; + std::string key; }; struct HostGroup { @@ -90,12 +98,16 @@ namespace AlibabaCloud void setSecurityGroupName(const std::string& securityGroupName); std::string getMachineType()const; void setMachineType(const std::string& machineType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::vector getBootstrapAction()const; void setBootstrapAction(const std::vector& bootstrapAction); std::string getMetaStoreConf()const; void setMetaStoreConf(const std::string& metaStoreConf); std::string getEmrVer()const; void setEmrVer(const std::string& emrVer); + std::vector getTag()const; + void setTag(const std::vector& tag); bool getIsOpenPublicIp()const; void setIsOpenPublicIp(bool isOpenPublicIp); int getPeriod()const; @@ -159,9 +171,11 @@ namespace AlibabaCloud std::string metaStoreType_; std::string securityGroupName_; std::string machineType_; + std::string resourceGroupId_; std::vector bootstrapAction_; std::string metaStoreConf_; std::string emrVer_; + std::vector tag_; bool isOpenPublicIp_; int period_; std::string instanceGeneration_; diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoRequest.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoRequest.h deleted file mode 100644 index cf0814a82..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanClusterInfoRequest.h +++ /dev/null @@ -1,139 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANCLUSTERINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANCLUSTERINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanClusterInfoRequest : public RpcServiceRequest - { - struct BootstrapAction - { - std::string path; - std::string arg; - std::string name; - }; - struct EcsOrder - { - std::string nodeType; - int diskCount; - int nodeCount; - int diskCapacity; - int index; - std::string instanceType; - std::string diskType; - }; - - public: - ModifyExecutionPlanClusterInfoRequest(); - ~ModifyExecutionPlanClusterInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLogPath()const; - void setLogPath(const std::string& logPath); - std::string getClusterName()const; - void setClusterName(const std::string& clusterName); - std::string getConfigurations()const; - void setConfigurations(const std::string& configurations); - bool getIoOptimized()const; - void setIoOptimized(bool ioOptimized); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - bool getEasEnable()const; - void setEasEnable(bool easEnable); - bool getCreateClusterOnDemand()const; - void setCreateClusterOnDemand(bool createClusterOnDemand); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getBootstrapAction()const; - void setBootstrapAction(const std::vector& bootstrapAction); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getUseLocalMetaDb()const; - void setUseLocalMetaDb(bool useLocalMetaDb); - std::string getEmrVer()const; - void setEmrVer(const std::string& emrVer); - std::string getId()const; - void setId(const std::string& id); - bool getIsOpenPublicIp()const; - void setIsOpenPublicIp(bool isOpenPublicIp); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getInstanceGeneration()const; - void setInstanceGeneration(const std::string& instanceGeneration); - std::string getClusterType()const; - void setClusterType(const std::string& clusterType); - std::string getVSwitchId()const; - void setVSwitchId(const std::string& vSwitchId); - std::vector getOptionSoftWareList()const; - void setOptionSoftWareList(const std::vector& optionSoftWareList); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - std::string getNetType()const; - void setNetType(const std::string& netType); - std::vector getEcsOrder()const; - void setEcsOrder(const std::vector& ecsOrder); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - bool getHighAvailabilityEnable()const; - void setHighAvailabilityEnable(bool highAvailabilityEnable); - bool getLogEnable()const; - void setLogEnable(bool logEnable); - - private: - long resourceOwnerId_; - std::string logPath_; - std::string clusterName_; - std::string configurations_; - bool ioOptimized_; - std::string securityGroupId_; - bool easEnable_; - bool createClusterOnDemand_; - std::string accessKeyId_; - std::vector bootstrapAction_; - std::string regionId_; - bool useLocalMetaDb_; - std::string emrVer_; - std::string id_; - bool isOpenPublicIp_; - std::string clusterId_; - std::string instanceGeneration_; - std::string clusterType_; - std::string vSwitchId_; - std::vector optionSoftWareList_; - std::string vpcId_; - std::string netType_; - std::vector ecsOrder_; - std::string zoneId_; - bool highAvailabilityEnable_; - bool logEnable_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANCLUSTERINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoRequest.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoRequest.h deleted file mode 100644 index a15749cb6..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanJobInfoRequest.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_MODIFYEXECUTIONPLANJOBINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANJOBINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanJobInfoRequest : public RpcServiceRequest - { - - public: - ModifyExecutionPlanJobInfoRequest(); - ~ModifyExecutionPlanJobInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::vector getJobIdList()const; - void setJobIdList(const std::vector& jobIdList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::vector jobIdList_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANJOBINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h index 246ac865d..6554ded13 100644 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanRequest.h @@ -34,8 +34,11 @@ namespace AlibabaCloud struct BootstrapAction { std::string path; + std::string executionTarget; + std::string executionMoment; std::string arg; std::string name; + std::string executionFailStrategy; }; struct EcsOrder { diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoRequest.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoRequest.h deleted file mode 100644 index cab93de3c..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoRequest.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_MODIFYEXECUTIONPLANSCHEDULEINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANSCHEDULEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanScheduleInfoRequest : public RpcServiceRequest - { - - public: - ModifyExecutionPlanScheduleInfoRequest(); - ~ModifyExecutionPlanScheduleInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getTimeInterval()const; - void setTimeInterval(int timeInterval); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDayOfWeek()const; - void setDayOfWeek(const std::string& dayOfWeek); - std::string getId()const; - void setId(const std::string& id); - long getStartTime()const; - void setStartTime(long startTime); - std::string getStrategy()const; - void setStrategy(const std::string& strategy); - std::string getTimeUnit()const; - void setTimeUnit(const std::string& timeUnit); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getDayOfMonth()const; - void setDayOfMonth(const std::string& dayOfMonth); - - private: - long resourceOwnerId_; - int timeInterval_; - std::string regionId_; - std::string dayOfWeek_; - std::string id_; - long startTime_; - std::string strategy_; - std::string timeUnit_; - std::string accessKeyId_; - std::string dayOfMonth_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANSCHEDULEINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoResult.h b/emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoResult.h deleted file mode 100644 index bed7e7520..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyExecutionPlanScheduleInfoResult.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_MODIFYEXECUTIONPLANSCHEDULEINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANSCHEDULEINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanScheduleInfoResult : public ServiceResult - { - public: - - - ModifyExecutionPlanScheduleInfoResult(); - explicit ModifyExecutionPlanScheduleInfoResult(const std::string &payload); - ~ModifyExecutionPlanScheduleInfoResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANSCHEDULEINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowForWebRequest.h b/emr/include/alibabacloud/emr/model/ModifyFlowForWebRequest.h index f884fac8a..5b6a12737 100644 --- a/emr/include/alibabacloud/emr/model/ModifyFlowForWebRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyFlowForWebRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setDescription(const std::string& description); std::string getAlertUserGroupBizId()const; void setAlertUserGroupBizId(const std::string& alertUserGroupBizId); + std::string getLifecycle()const; + void setLifecycle(const std::string& lifecycle); std::string getHostName()const; void setHostName(const std::string& hostName); std::string getRegionId()const; @@ -59,6 +61,8 @@ namespace AlibabaCloud void setProjectId(const std::string& projectId); std::string getParentFlowList()const; void setParentFlowList(const std::string& parentFlowList); + std::string getLogArchiveLocation()const; + void setLogArchiveLocation(const std::string& logArchiveLocation); std::string getAlertDingDingGroupBizId()const; void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId); long getStartSchedule()const; @@ -69,6 +73,8 @@ namespace AlibabaCloud void setGraph(const std::string& graph); std::string getName()const; void setName(const std::string& name); + std::string get_Namespace()const; + void set_Namespace(const std::string& _namespace); std::string getStatus()const; void setStatus(const std::string& status); std::string getParentCategory()const; @@ -79,6 +85,7 @@ namespace AlibabaCloud bool periodic_; std::string description_; std::string alertUserGroupBizId_; + std::string lifecycle_; std::string hostName_; std::string regionId_; bool createCluster_; @@ -87,11 +94,13 @@ namespace AlibabaCloud std::string alertConf_; std::string projectId_; std::string parentFlowList_; + std::string logArchiveLocation_; std::string alertDingDingGroupBizId_; long startSchedule_; std::string clusterId_; std::string graph_; std::string name_; + std::string _namespace_; std::string status_; std::string parentCategory_; diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h b/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h index 4aca09b70..43f754018 100644 --- a/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyFlowJobRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud ModifyFlowJobRequest(); ~ModifyFlowJobRequest(); + std::string getRetryPolicy()const; + void setRetryPolicy(const std::string& retryPolicy); std::string getRunConf()const; void setRunConf(const std::string& runConf); std::string getDescription()const; @@ -81,6 +83,7 @@ namespace AlibabaCloud void setName(const std::string& name); private: + std::string retryPolicy_; std::string runConf_; std::string description_; std::string paramConf_; diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h b/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h index e595bb3cb..babb38866 100644 --- a/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyFlowRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setDescription(const std::string& description); std::string getAlertUserGroupBizId()const; void setAlertUserGroupBizId(const std::string& alertUserGroupBizId); + std::string getLifecycle()const; + void setLifecycle(const std::string& lifecycle); std::string getHostName()const; void setHostName(const std::string& hostName); std::string getRegionId()const; @@ -59,6 +61,8 @@ namespace AlibabaCloud void setProjectId(const std::string& projectId); std::string getParentFlowList()const; void setParentFlowList(const std::string& parentFlowList); + std::string getLogArchiveLocation()const; + void setLogArchiveLocation(const std::string& logArchiveLocation); std::string getAlertDingDingGroupBizId()const; void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId); long getStartSchedule()const; @@ -69,6 +73,8 @@ namespace AlibabaCloud void setApplication(const std::string& application); std::string getName()const; void setName(const std::string& name); + std::string get_Namespace()const; + void set_Namespace(const std::string& _namespace); std::string getStatus()const; void setStatus(const std::string& status); std::string getParentCategory()const; @@ -79,6 +85,7 @@ namespace AlibabaCloud bool periodic_; std::string description_; std::string alertUserGroupBizId_; + std::string lifecycle_; std::string hostName_; std::string regionId_; bool createCluster_; @@ -87,11 +94,13 @@ namespace AlibabaCloud std::string alertConf_; std::string projectId_; std::string parentFlowList_; + std::string logArchiveLocation_; std::string alertDingDingGroupBizId_; long startSchedule_; std::string clusterId_; std::string application_; std::string name_; + std::string _namespace_; std::string status_; std::string parentCategory_; diff --git a/emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionRequest.h b/emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionRequest.h deleted file mode 100644 index 26af2543f..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyFlowVariableCollectionRequest.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_MODIFYFLOWVARIABLECOLLECTIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYFLOWVARIABLECOLLECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyFlowVariableCollectionRequest : public RpcServiceRequest - { - - public: - ModifyFlowVariableCollectionRequest(); - ~ModifyFlowVariableCollectionRequest(); - - std::string getData()const; - void setData(const std::string& data); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string data_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYFLOWVARIABLECOLLECTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyHostPoolRequest.h b/emr/include/alibabacloud/emr/model/ModifyHostPoolRequest.h deleted file mode 100644 index 28f3268b0..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyHostPoolRequest.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_MODIFYHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyHostPoolRequest : public RpcServiceRequest - { - - public: - ModifyHostPoolRequest(); - ~ModifyHostPoolRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string bizId_; - std::string description_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyHostPoolResult.h b/emr/include/alibabacloud/emr/model/ModifyHostPoolResult.h deleted file mode 100644 index 86932e1d0..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyHostPoolResult.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_MODIFYHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyHostPoolResult : public ServiceResult - { - public: - - - ModifyHostPoolResult(); - explicit ModifyHostPoolResult(const std::string &payload); - ~ModifyHostPoolResult(); - std::string getBizId()const; - - protected: - void parse(const std::string &payload); - private: - std::string bizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyHpHostRequest.h b/emr/include/alibabacloud/emr/model/ModifyHpHostRequest.h deleted file mode 100644 index e3c0aedc5..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyHpHostRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYHPHOSTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYHPHOSTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyHpHostRequest : public RpcServiceRequest - { - struct HpHostDisk - { - std::string diskSize; - std::string mountPath; - std::string diskDevice; - }; - - public: - ModifyHpHostRequest(); - ~ModifyHpHostRequest(); - - int getCpuCore()const; - void setCpuCore(int cpuCore); - int getMemSize()const; - void setMemSize(int memSize); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRackInfo()const; - void setRackInfo(const std::string& rackInfo); - std::string getRole()const; - void setRole(const std::string& role); - std::string getHostType()const; - void setHostType(const std::string& hostType); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getHpHostBizId()const; - void setHpHostBizId(const std::string& hpHostBizId); - std::string getHostName()const; - void setHostName(const std::string& hostName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getInnerIp()const; - void setInnerIp(const std::string& innerIp); - std::string getExternalIp()const; - void setExternalIp(const std::string& externalIp); - std::string getSerialNumber()const; - void setSerialNumber(const std::string& serialNumber); - std::vector getHpHostDisk()const; - void setHpHostDisk(const std::vector& hpHostDisk); - std::string getVswitchId()const; - void setVswitchId(const std::string& vswitchId); - std::string getExternalKey()const; - void setExternalKey(const std::string& externalKey); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - - private: - int cpuCore_; - int memSize_; - long resourceOwnerId_; - std::string rackInfo_; - std::string role_; - std::string hostType_; - std::string securityGroupId_; - std::string accessKeyId_; - std::string hpHostBizId_; - std::string hostName_; - std::string regionId_; - std::string innerIp_; - std::string externalIp_; - std::string serialNumber_; - std::vector hpHostDisk_; - std::string vswitchId_; - std::string externalKey_; - std::string vpcId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYHPHOSTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyHpHostResult.h b/emr/include/alibabacloud/emr/model/ModifyHpHostResult.h deleted file mode 100644 index 468df8f86..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyHpHostResult.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_MODIFYHPHOSTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYHPHOSTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyHpHostResult : public ServiceResult - { - public: - - - ModifyHpHostResult(); - explicit ModifyHpHostResult(const std::string &payload); - ~ModifyHpHostResult(); - std::string getBizId()const; - - protected: - void parse(const std::string &payload); - private: - std::string bizId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYHPHOSTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderRequest.h b/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderRequest.h deleted file mode 100644 index bfd70696b..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderRequest.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_MODIFYJOBEXECUTIONPLANFOLDERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyJobExecutionPlanFolderRequest : public RpcServiceRequest - { - - public: - ModifyJobExecutionPlanFolderRequest(); - ~ModifyJobExecutionPlanFolderRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getName()const; - void setName(const std::string& name); - long getId()const; - void setId(long id); - long getParentId()const; - void setParentId(long parentId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string name_; - long id_; - long parentId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANFOLDERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderResult.h b/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderResult.h deleted file mode 100644 index ad0cb5fef..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanFolderResult.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_MODIFYJOBEXECUTIONPLANFOLDERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANFOLDERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyJobExecutionPlanFolderResult : public ServiceResult - { - public: - - - ModifyJobExecutionPlanFolderResult(); - explicit ModifyJobExecutionPlanFolderResult(const std::string &payload); - ~ModifyJobExecutionPlanFolderResult(); - std::string getErrMsg()const; - std::string getFolderId()const; - std::string getSuccess()const; - std::string getErrCode()const; - - protected: - void parse(const std::string &payload); - private: - std::string errMsg_; - std::string folderId_; - std::string success_; - std::string errCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANFOLDERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamRequest.h b/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamRequest.h deleted file mode 100644 index 653b5b6e5..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamRequest.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_MODIFYJOBEXECUTIONPLANPARAMREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANPARAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyJobExecutionPlanParamRequest : public RpcServiceRequest - { - - public: - ModifyJobExecutionPlanParamRequest(); - ~ModifyJobExecutionPlanParamRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getParamName()const; - void setParamName(const std::string& paramName); - std::string getParamValue()const; - void setParamValue(const std::string& paramValue); - long getId()const; - void setId(long id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string paramName_; - std::string paramValue_; - long id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANPARAMREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobRequest.h b/emr/include/alibabacloud/emr/model/ModifyJobRequest.h index a4ac985e7..f7dc2a770 100644 --- a/emr/include/alibabacloud/emr/model/ModifyJobRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyJobRequest.h @@ -47,6 +47,8 @@ namespace AlibabaCloud void setRunParameter(const std::string& runParameter); int getRetryInterval()const; void setRetryInterval(int retryInterval); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -63,6 +65,7 @@ namespace AlibabaCloud std::string failAct_; std::string runParameter_; int retryInterval_; + std::string resourceGroupId_; std::string regionId_; std::string name_; std::string id_; diff --git a/emr/include/alibabacloud/emr/model/DeleteAlertDingDingGroupsRequest.h b/emr/include/alibabacloud/emr/model/ModifyScalingConfigItemV2Request.h similarity index 53% rename from emr/include/alibabacloud/emr/model/DeleteAlertDingDingGroupsRequest.h rename to emr/include/alibabacloud/emr/model/ModifyScalingConfigItemV2Request.h index f92fb28ff..526a67693 100644 --- a/emr/include/alibabacloud/emr/model/DeleteAlertDingDingGroupsRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyScalingConfigItemV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGCONFIGITEMV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGCONFIGITEMV2REQUEST_H_ #include #include @@ -28,30 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteAlertDingDingGroupsRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ModifyScalingConfigItemV2Request : public RpcServiceRequest { public: - DeleteAlertDingDingGroupsRequest(); - ~DeleteAlertDingDingGroupsRequest(); + ModifyScalingConfigItemV2Request(); + ~ModifyScalingConfigItemV2Request(); + std::string getConfigItemBizId()const; + void setConfigItemBizId(const std::string& configItemBizId); + std::string getConfigItemType()const; + void setConfigItemType(const std::string& configItemType); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getIds()const; - void setIds(const std::string& ids); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getConfigItemInformation()const; + void setConfigItemInformation(const std::string& configItemInformation); private: + std::string configItemBizId_; + std::string configItemType_; long resourceOwnerId_; - std::string regionId_; - std::string ids_; std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string configItemInformation_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGCONFIGITEMV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteAlertDingDingGroupsResult.h b/emr/include/alibabacloud/emr/model/ModifyScalingConfigItemV2Result.h similarity index 69% rename from emr/include/alibabacloud/emr/model/DeleteAlertDingDingGroupsResult.h rename to emr/include/alibabacloud/emr/model/ModifyScalingConfigItemV2Result.h index 7c52b0638..d27e97f7c 100644 --- a/emr/include/alibabacloud/emr/model/DeleteAlertDingDingGroupsResult.h +++ b/emr/include/alibabacloud/emr/model/ModifyScalingConfigItemV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGCONFIGITEMV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGCONFIGITEMV2RESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteAlertDingDingGroupsResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ModifyScalingConfigItemV2Result : public ServiceResult { public: - DeleteAlertDingDingGroupsResult(); - explicit DeleteAlertDingDingGroupsResult(const std::string &payload); - ~DeleteAlertDingDingGroupsResult(); - bool getDone()const; + ModifyScalingConfigItemV2Result(); + explicit ModifyScalingConfigItemV2Result(const std::string &payload); + ~ModifyScalingConfigItemV2Result(); + bool getData()const; protected: void parse(const std::string &payload); private: - bool done_; + bool data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGCONFIGITEMV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateAlertUserGroupRequest.h b/emr/include/alibabacloud/emr/model/ModifyScalingGroupV2Request.h similarity index 69% rename from emr/include/alibabacloud/emr/model/CreateAlertUserGroupRequest.h rename to emr/include/alibabacloud/emr/model/ModifyScalingGroupV2Request.h index ec1485c02..7175ae095 100644 --- a/emr/include/alibabacloud/emr/model/CreateAlertUserGroupRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyScalingGroupV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGGROUPV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGGROUPV2REQUEST_H_ #include #include @@ -28,36 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateAlertUserGroupRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT ModifyScalingGroupV2Request : public RpcServiceRequest { public: - CreateAlertUserGroupRequest(); - ~CreateAlertUserGroupRequest(); + ModifyScalingGroupV2Request(); + ~ModifyScalingGroupV2Request(); - std::string getUserList()const; - void setUserList(const std::string& userList); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); std::string getDescription()const; void setDescription(const std::string& description); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getName()const; + void setName(const std::string& name); private: - std::string userList_; long resourceOwnerId_; - std::string regionId_; - std::string name_; std::string description_; std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string name_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGGROUPV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveBackupPlanResult.h b/emr/include/alibabacloud/emr/model/ModifyScalingGroupV2Result.h similarity index 70% rename from emr/include/alibabacloud/emr/model/RemoveBackupPlanResult.h rename to emr/include/alibabacloud/emr/model/ModifyScalingGroupV2Result.h index d0fee746d..01d56bdba 100644 --- a/emr/include/alibabacloud/emr/model/RemoveBackupPlanResult.h +++ b/emr/include/alibabacloud/emr/model/ModifyScalingGroupV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPPLANRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGGROUPV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGGROUPV2RESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT RemoveBackupPlanResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT ModifyScalingGroupV2Result : public ServiceResult { public: - RemoveBackupPlanResult(); - explicit RemoveBackupPlanResult(const std::string &payload); - ~RemoveBackupPlanResult(); + ModifyScalingGroupV2Result(); + explicit ModifyScalingGroupV2Result(const std::string &payload); + ~ModifyScalingGroupV2Result(); bool getData()const; protected: @@ -48,4 +48,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPPLANRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYSCALINGGROUPV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h b/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h index 01aa877c5..2cc2431e0 100644 --- a/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyScalingRuleRequest.h @@ -65,12 +65,16 @@ namespace AlibabaCloud void setCloudWatchTrigger(const std::vector& cloudWatchTrigger); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + long getTimeoutWithGrace()const; + void setTimeoutWithGrace(long timeoutWithGrace); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getCooldown()const; void setCooldown(int cooldown); std::string getLaunchTime()const; void setLaunchTime(const std::string& launchTime); + bool getWithGrace()const; + void setWithGrace(bool withGrace); int getAdjustmentValue()const; void setAdjustmentValue(int adjustmentValue); std::string getAdjustmentType()const; @@ -95,9 +99,11 @@ namespace AlibabaCloud std::string recurrenceEndTime_; std::vector cloudWatchTrigger_; std::string accessKeyId_; + long timeoutWithGrace_; std::string regionId_; int cooldown_; std::string launchTime_; + bool withGrace_; int adjustmentValue_; std::string adjustmentType_; std::string clusterId_; diff --git a/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h b/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h index bd1525920..cb3dc7eb6 100644 --- a/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h +++ b/emr/include/alibabacloud/emr/model/ModifyScalingTaskGroupRequest.h @@ -37,33 +37,39 @@ namespace AlibabaCloud long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + bool getWithGrace()const; + void setWithGrace(bool withGrace); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + int getMinSize()const; + void setMinSize(int minSize); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + long getTimeoutWithGrace()const; + void setTimeoutWithGrace(long timeoutWithGrace); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getHostGroupId()const; void setHostGroupId(const std::string& hostGroupId); std::string getActiveRuleCategory()const; void setActiveRuleCategory(const std::string& activeRuleCategory); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getMinSize()const; - void setMinSize(int minSize); int getMaxSize()const; void setMaxSize(int maxSize); int getDefaultCooldown()const; void setDefaultCooldown(int defaultCooldown); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); private: long resourceOwnerId_; + bool withGrace_; + std::string clusterId_; + int minSize_; + std::string accessKeyId_; + long timeoutWithGrace_; std::string regionId_; std::string hostGroupId_; std::string activeRuleCategory_; - std::string clusterId_; - int minSize_; int maxSize_; int defaultCooldown_; - std::string accessKeyId_; }; } diff --git a/emr/include/alibabacloud/emr/model/ModifyUserStatisticsRequest.h b/emr/include/alibabacloud/emr/model/ModifyUserStatisticsRequest.h deleted file mode 100644 index 5f7c2c88b..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyUserStatisticsRequest.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_MODIFYUSERSTATISTICSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYUSERSTATISTICSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyUserStatisticsRequest : public RpcServiceRequest - { - - public: - ModifyUserStatisticsRequest(); - ~ModifyUserStatisticsRequest(); - - int getJobMigratedNum()const; - void setJobMigratedNum(int jobMigratedNum); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - int getExecutePlanNum()const; - void setExecutePlanNum(int executePlanNum); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getJobNum()const; - void setJobNum(int jobNum); - int getExecutePlanMigratedNum()const; - void setExecutePlanMigratedNum(int executePlanMigratedNum); - int getInteractionJobMigratedNum()const; - void setInteractionJobMigratedNum(int interactionJobMigratedNum); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - int getInteractionJobNum()const; - void setInteractionJobNum(int interactionJobNum); - - private: - int jobMigratedNum_; - long resourceOwnerId_; - int executePlanNum_; - std::string regionId_; - int jobNum_; - int executePlanMigratedNum_; - int interactionJobMigratedNum_; - std::string userId_; - std::string accessKeyId_; - int interactionJobNum_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYUSERSTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyUserStatisticsResult.h b/emr/include/alibabacloud/emr/model/ModifyUserStatisticsResult.h deleted file mode 100644 index ef6015696..000000000 --- a/emr/include/alibabacloud/emr/model/ModifyUserStatisticsResult.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_MODIFYUSERSTATISTICSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYUSERSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ModifyUserStatisticsResult : public ServiceResult - { - public: - - - ModifyUserStatisticsResult(); - explicit ModifyUserStatisticsResult(const std::string &payload); - ~ModifyUserStatisticsResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYUSERSTATISTICSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/OfflineKafkaBrokerRequest.h b/emr/include/alibabacloud/emr/model/OfflineKafkaBrokerRequest.h deleted file mode 100644 index fae49cfb4..000000000 --- a/emr/include/alibabacloud/emr/model/OfflineKafkaBrokerRequest.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_OFFLINEKAFKABROKERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_OFFLINEKAFKABROKERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT OfflineKafkaBrokerRequest : public RpcServiceRequest - { - - public: - OfflineKafkaBrokerRequest(); - ~OfflineKafkaBrokerRequest(); - - long getThrottle()const; - void setThrottle(long throttle); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getHostId()const; - void setHostId(const std::string& hostId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long throttle_; - long resourceOwnerId_; - std::string regionId_; - std::string hostId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_OFFLINEKAFKABROKERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/OfflineKafkaBrokerResult.h b/emr/include/alibabacloud/emr/model/OfflineKafkaBrokerResult.h deleted file mode 100644 index 678fbe240..000000000 --- a/emr/include/alibabacloud/emr/model/OfflineKafkaBrokerResult.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_OFFLINEKAFKABROKERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_OFFLINEKAFKABROKERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT OfflineKafkaBrokerResult : public ServiceResult - { - public: - - - OfflineKafkaBrokerResult(); - explicit OfflineKafkaBrokerResult(const std::string &payload); - ~OfflineKafkaBrokerResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_OFFLINEKAFKABROKERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/OperateExistsNodeClusterRequest.h b/emr/include/alibabacloud/emr/model/OperateExistsNodeClusterRequest.h deleted file mode 100644 index fa62b7515..000000000 --- a/emr/include/alibabacloud/emr/model/OperateExistsNodeClusterRequest.h +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_OPERATEEXISTSNODECLUSTERREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_OPERATEEXISTSNODECLUSTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT OperateExistsNodeClusterRequest : public RpcServiceRequest - { - - public: - OperateExistsNodeClusterRequest(); - ~OperateExistsNodeClusterRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getLogPath()const; - void setLogPath(const std::string& logPath); - std::vector getMasterInstanceIdList()const; - void setMasterInstanceIdList(const std::vector& masterInstanceIdList); - bool getIoOptimized()const; - void setIoOptimized(bool ioOptimized); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - bool getEasEnable()const; - void setEasEnable(bool easEnable); - bool getIsResize()const; - void setIsResize(bool isResize); - std::string getDepositType()const; - void setDepositType(const std::string& depositType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getMachineType()const; - void setMachineType(const std::string& machineType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getUseLocalMetaDb()const; - void setUseLocalMetaDb(bool useLocalMetaDb); - std::string getEmrVer()const; - void setEmrVer(const std::string& emrVer); - int getPeriod()const; - void setPeriod(int period); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getVSwitchId()const; - void setVSwitchId(const std::string& vSwitchId); - std::string getClusterType()const; - void setClusterType(const std::string& clusterType); - std::vector getOptionSoftWareList()const; - void setOptionSoftWareList(const std::vector& optionSoftWareList); - std::vector getInstanceIdList()const; - void setInstanceIdList(const std::vector& instanceIdList); - std::string getVpcId()const; - void setVpcId(const std::string& vpcId); - std::string getNetType()const; - void setNetType(const std::string& netType); - std::string getName()const; - void setName(const std::string& name); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - std::string getChargeType()const; - void setChargeType(const std::string& chargeType); - std::string getOperateType()const; - void setOperateType(const std::string& operateType); - bool getHighAvailabilityEnable()const; - void setHighAvailabilityEnable(bool highAvailabilityEnable); - - private: - long resourceOwnerId_; - std::string logPath_; - std::vector masterInstanceIdList_; - bool ioOptimized_; - std::string securityGroupId_; - bool easEnable_; - bool isResize_; - std::string depositType_; - std::string accessKeyId_; - std::string machineType_; - std::string regionId_; - bool useLocalMetaDb_; - std::string emrVer_; - int period_; - std::string clusterId_; - std::string vSwitchId_; - std::string clusterType_; - std::vector optionSoftWareList_; - std::vector instanceIdList_; - std::string vpcId_; - std::string netType_; - std::string name_; - std::string zoneId_; - std::string chargeType_; - std::string operateType_; - bool highAvailabilityEnable_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_OPERATEEXISTSNODECLUSTERREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/OperateExistsNodeClusterResult.h b/emr/include/alibabacloud/emr/model/OperateExistsNodeClusterResult.h deleted file mode 100644 index 4a6935410..000000000 --- a/emr/include/alibabacloud/emr/model/OperateExistsNodeClusterResult.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_OPERATEEXISTSNODECLUSTERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_OPERATEEXISTSNODECLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT OperateExistsNodeClusterResult : public ServiceResult - { - public: - - - OperateExistsNodeClusterResult(); - explicit OperateExistsNodeClusterResult(const std::string &payload); - ~OperateExistsNodeClusterResult(); - std::string getClusterId()const; - - protected: - void parse(const std::string &payload); - private: - std::string clusterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_OPERATEEXISTSNODECLUSTERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PageListResourceUsersRequest.h b/emr/include/alibabacloud/emr/model/PageListResourceUsersRequest.h deleted file mode 100644 index 0948d091d..000000000 --- a/emr/include/alibabacloud/emr/model/PageListResourceUsersRequest.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_PAGELISTRESOURCEUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_PAGELISTRESOURCEUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PageListResourceUsersRequest : public RpcServiceRequest - { - - public: - PageListResourceUsersRequest(); - ~PageListResourceUsersRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getSearchKey()const; - void setSearchKey(const std::string& searchKey); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::string searchKey_; - std::string resourceType_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PAGELISTRESOURCEUSERSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PageListResourceUsersResult.h b/emr/include/alibabacloud/emr/model/PageListResourceUsersResult.h deleted file mode 100644 index 815b1a59c..000000000 --- a/emr/include/alibabacloud/emr/model/PageListResourceUsersResult.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_PAGELISTRESOURCEUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_PAGELISTRESOURCEUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PageListResourceUsersResult : public ServiceResult - { - public: - struct Item - { - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - std::string status; - std::string linuxSyncStatus; - long gmtCreate; - std::string userName; - std::string sourceType; - std::string kerberosStutus; - std::vector roleDTOList; - std::string aliyunUserId; - std::string knoxSyncStatus; - }; - - - PageListResourceUsersResult(); - explicit PageListResourceUsersResult(const std::string &payload); - ~PageListResourceUsersResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - bool getPaging()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - bool paging_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PAGELISTRESOURCEUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PageListUserGroupsRequest.h b/emr/include/alibabacloud/emr/model/PageListUserGroupsRequest.h deleted file mode 100644 index 37c786fd8..000000000 --- a/emr/include/alibabacloud/emr/model/PageListUserGroupsRequest.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_PAGELISTUSERGROUPSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_PAGELISTUSERGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PageListUserGroupsRequest : public RpcServiceRequest - { - - public: - PageListUserGroupsRequest(); - ~PageListUserGroupsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFuzzyName()const; - void setFuzzyName(const std::string& fuzzyName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long resourceOwnerId_; - std::string fuzzyName_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PAGELISTUSERGROUPSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PageListUserGroupsResult.h b/emr/include/alibabacloud/emr/model/PageListUserGroupsResult.h deleted file mode 100644 index 6d44be9b7..000000000 --- a/emr/include/alibabacloud/emr/model/PageListUserGroupsResult.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_PAGELISTUSERGROUPSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_PAGELISTUSERGROUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PageListUserGroupsResult : public ServiceResult - { - public: - struct Item - { - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - std::string type; - std::string gmtCreate; - long id; - std::vector roleDTOList; - std::string name; - }; - - - PageListUserGroupsResult(); - explicit PageListUserGroupsResult(const std::string &payload); - ~PageListUserGroupsResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - bool getPaging()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - bool paging_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PAGELISTUSERGROUPSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PageListUsersRequest.h b/emr/include/alibabacloud/emr/model/PageListUsersRequest.h deleted file mode 100644 index a5c4cfb12..000000000 --- a/emr/include/alibabacloud/emr/model/PageListUsersRequest.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_PAGELISTUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_PAGELISTUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PageListUsersRequest : public RpcServiceRequest - { - - public: - PageListUsersRequest(); - ~PageListUsersRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getFuzzyName()const; - void setFuzzyName(const std::string& fuzzyName); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long resourceOwnerId_; - std::string fuzzyName_; - int pageNumber_; - std::string accessKeyId_; - std::string regionId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PAGELISTUSERSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PageListUsersResult.h b/emr/include/alibabacloud/emr/model/PageListUsersResult.h deleted file mode 100644 index 15eb6f6e8..000000000 --- a/emr/include/alibabacloud/emr/model/PageListUsersResult.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_PAGELISTUSERSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_PAGELISTUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PageListUsersResult : public ServiceResult - { - public: - struct Item - { - struct RoleDTO - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - struct GroupDTO - { - struct RoleDTO2 - { - std::string gmtCreate; - std::string description; - std::string gmtModified; - std::string resourceType; - long id; - std::string name; - }; - std::string type; - std::string gmtCreate; - long id; - std::vector roleDTOList1; - std::string name; - }; - struct AccountDTO - { - std::string authType; - std::string accountType; - std::string aliyunUserId; - }; - std::string status; - std::string isSuperAdmin; - std::string gmtCreate; - std::string userName; - std::string description; - std::vector groupDTOList; - std::vector accountDTOList; - std::string gmtModified; - std::vector roleDTOList; - std::string userType; - std::string aliyunUserId; - }; - - - PageListUsersResult(); - explicit PageListUsersResult(const std::string &payload); - ~PageListUsersResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - bool getPaging()const; - std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - bool paging_; - std::vector items_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PAGELISTUSERSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PlanComponentTopoRequest.h b/emr/include/alibabacloud/emr/model/PlanComponentTopoRequest.h deleted file mode 100644 index ae90f5aee..000000000 --- a/emr/include/alibabacloud/emr/model/PlanComponentTopoRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_PLANCOMPONENTTOPOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_PLANCOMPONENTTOPOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PlanComponentTopoRequest : public RpcServiceRequest - { - struct HostGroup - { - std::string groupType; - int nodeCount; - std::string groupName; - }; - struct HostInfo - { - std::string hpHostBizId; - std::string hostGroupName; - }; - struct ServiceInfo - { - std::string serviceEcmVersion; - std::string serviceVersion; - std::string serviceName; - }; - - public: - PlanComponentTopoRequest(); - ~PlanComponentTopoRequest(); - - std::string getClusterType()const; - void setClusterType(const std::string& clusterType); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getHostGroup()const; - void setHostGroup(const std::vector& hostGroup); - std::vector getHostInfo()const; - void setHostInfo(const std::vector& hostInfo); - std::string getStackName()const; - void setStackName(const std::string& stackName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getStackVersion()const; - void setStackVersion(const std::string& stackVersion); - std::vector getServiceInfo()const; - void setServiceInfo(const std::vector& serviceInfo); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string clusterType_; - long resourceOwnerId_; - std::string regionId_; - std::vector hostGroup_; - std::vector hostInfo_; - std::string stackName_; - std::string clusterId_; - std::string stackVersion_; - std::vector serviceInfo_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PLANCOMPONENTTOPOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PlanComponentTopoResult.h b/emr/include/alibabacloud/emr/model/PlanComponentTopoResult.h deleted file mode 100644 index 8ba547c2a..000000000 --- a/emr/include/alibabacloud/emr/model/PlanComponentTopoResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_PLANCOMPONENTTOPORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_PLANCOMPONENTTOPORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PlanComponentTopoResult : public ServiceResult - { - public: - struct HostComponent - { - bool readOnly; - std::string serviceName; - std::string serviceEcmVersion; - std::string serviceVersion; - std::string componentName; - std::vector hostNameList; - bool display; - }; - - - PlanComponentTopoResult(); - explicit PlanComponentTopoResult(const std::string &payload); - ~PlanComponentTopoResult(); - std::vector getHostComponentList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector hostComponentList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PLANCOMPONENTTOPORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PlanHostNameRequest.h b/emr/include/alibabacloud/emr/model/PlanHostNameRequest.h deleted file mode 100644 index 3f49f9d7a..000000000 --- a/emr/include/alibabacloud/emr/model/PlanHostNameRequest.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_PLANHOSTNAMEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_PLANHOSTNAMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PlanHostNameRequest : public RpcServiceRequest - { - struct HostGroup - { - std::string groupType; - std::string groupName; - }; - struct HostInfo - { - std::string hpHostBizId; - std::string hostGroupName; - }; - - public: - PlanHostNameRequest(); - ~PlanHostNameRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getHostGroup()const; - void setHostGroup(const std::vector& hostGroup); - std::vector getHostInfo()const; - void setHostInfo(const std::vector& hostInfo); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::vector hostGroup_; - std::vector hostInfo_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PLANHOSTNAMEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/PlanHostNameResult.h b/emr/include/alibabacloud/emr/model/PlanHostNameResult.h deleted file mode 100644 index a6335f2ca..000000000 --- a/emr/include/alibabacloud/emr/model/PlanHostNameResult.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_PLANHOSTNAMERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_PLANHOSTNAMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT PlanHostNameResult : public ServiceResult - { - public: - struct HostInfo - { - std::string hpHostBizId; - std::string hostName; - }; - - - PlanHostNameResult(); - explicit PlanHostNameResult(const std::string &payload); - ~PlanHostNameResult(); - std::vector getHostInfoList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector hostInfoList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_PLANHOSTNAMERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryAlarmRulesResult.h b/emr/include/alibabacloud/emr/model/QueryAlarmRulesResult.h deleted file mode 100644 index 761b78da6..000000000 --- a/emr/include/alibabacloud/emr/model/QueryAlarmRulesResult.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryAlarmRulesResult : public ServiceResult - { - public: - struct Alarm - { - int silenceTime; - int notifyType; - std::string contactGroups; - std::string comparisonOperator; - int endTime; - int startTime; - int period; - int evaluationCount; - std::string name; - std::string metricName; - std::string state; - bool enable; - std::string threshold; - }; - - - QueryAlarmRulesResult(); - explicit QueryAlarmRulesResult(const std::string &payload); - ~QueryAlarmRulesResult(); - std::vector getAlarmList()const; - - protected: - void parse(const std::string &payload); - private: - std::vector alarmList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryInfoByTokenRequest.h b/emr/include/alibabacloud/emr/model/QueryInfoByTokenRequest.h deleted file mode 100644 index 58da01004..000000000 --- a/emr/include/alibabacloud/emr/model/QueryInfoByTokenRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_QUERYINFOBYTOKENREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYINFOBYTOKENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryInfoByTokenRequest : public RpcServiceRequest - { - - public: - QueryInfoByTokenRequest(); - ~QueryInfoByTokenRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYINFOBYTOKENREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryInfoByTokenResult.h b/emr/include/alibabacloud/emr/model/QueryInfoByTokenResult.h deleted file mode 100644 index 02babaaed..000000000 --- a/emr/include/alibabacloud/emr/model/QueryInfoByTokenResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYINFOBYTOKENRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYINFOBYTOKENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryInfoByTokenResult : public ServiceResult - { - public: - - - QueryInfoByTokenResult(); - explicit QueryInfoByTokenResult(const std::string &payload); - ~QueryInfoByTokenResult(); - std::string getTokenUid()const; - std::string getTokenBid()const; - - protected: - void parse(const std::string &payload); - private: - std::string tokenUid_; - std::string tokenBid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYINFOBYTOKENRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QuerySlsMetricDataRequest.h b/emr/include/alibabacloud/emr/model/QuerySlsMetricDataRequest.h deleted file mode 100644 index df759e28d..000000000 --- a/emr/include/alibabacloud/emr/model/QuerySlsMetricDataRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYSLSMETRICDATAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYSLSMETRICDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QuerySlsMetricDataRequest : public RpcServiceRequest - { - - public: - QuerySlsMetricDataRequest(); - ~QuerySlsMetricDataRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getPeriod()const; - void setPeriod(long period); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - long getStartTimeStamp()const; - void setStartTimeStamp(long startTimeStamp); - std::string getMetricName()const; - void setMetricName(const std::string& metricName); - std::string getHostRole()const; - void setHostRole(const std::string& hostRole); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - long getEndTimeStamp()const; - void setEndTimeStamp(long endTimeStamp); - - private: - long resourceOwnerId_; - long period_; - std::string regionId_; - std::string clusterId_; - long startTimeStamp_; - std::string metricName_; - std::string hostRole_; - std::string accessKeyId_; - long endTimeStamp_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYSLSMETRICDATAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QuerySlsMetricDataResult.h b/emr/include/alibabacloud/emr/model/QuerySlsMetricDataResult.h deleted file mode 100644 index fc0482c7e..000000000 --- a/emr/include/alibabacloud/emr/model/QuerySlsMetricDataResult.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_QUERYSLSMETRICDATARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYSLSMETRICDATARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QuerySlsMetricDataResult : public ServiceResult - { - public: - struct SlsDataPoint - { - std::string role; - std::string value; - long timestamp; - }; - - - QuerySlsMetricDataResult(); - explicit QuerySlsMetricDataResult(const std::string &payload); - ~QuerySlsMetricDataResult(); - std::vector getDatapoints()const; - - protected: - void parse(const std::string &payload); - private: - std::vector datapoints_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYSLSMETRICDATARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryUserActionsPolicyRequest.h b/emr/include/alibabacloud/emr/model/QueryUserActionsPolicyRequest.h deleted file mode 100644 index c9f45c879..000000000 --- a/emr/include/alibabacloud/emr/model/QueryUserActionsPolicyRequest.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_QUERYUSERACTIONSPOLICYREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYUSERACTIONSPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryUserActionsPolicyRequest : public RpcServiceRequest - { - - public: - QueryUserActionsPolicyRequest(); - ~QueryUserActionsPolicyRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - 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 getActionNameList()const; - void setActionNameList(const std::vector& actionNameList); - std::string getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::vector actionNameList_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYUSERACTIONSPOLICYREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryUserActionsPolicyResult.h b/emr/include/alibabacloud/emr/model/QueryUserActionsPolicyResult.h deleted file mode 100644 index bcda75244..000000000 --- a/emr/include/alibabacloud/emr/model/QueryUserActionsPolicyResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYUSERACTIONSPOLICYRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYUSERACTIONSPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryUserActionsPolicyResult : public ServiceResult - { - public: - struct PolicyDTO - { - std::string gmtCreate; - std::string action; - std::string effect; - std::string conditions; - std::string name; - }; - - - QueryUserActionsPolicyResult(); - explicit QueryUserActionsPolicyResult(const std::string &payload); - ~QueryUserActionsPolicyResult(); - bool getPaging()const; - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYUSERACTIONSPOLICYRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/QueryUserPoliciesResult.h b/emr/include/alibabacloud/emr/model/QueryUserPoliciesResult.h deleted file mode 100644 index 3b0104119..000000000 --- a/emr/include/alibabacloud/emr/model/QueryUserPoliciesResult.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT QueryUserPoliciesResult : public ServiceResult - { - public: - struct PolicyDTO - { - std::string gmtCreate; - std::string action; - std::string effect; - std::string conditions; - std::string name; - }; - - - QueryUserPoliciesResult(); - explicit QueryUserPoliciesResult(const std::string &payload); - ~QueryUserPoliciesResult(); - bool getPaging()const; - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ReassignKafkaRequest.h b/emr/include/alibabacloud/emr/model/ReassignKafkaRequest.h deleted file mode 100644 index 3ce289d22..000000000 --- a/emr/include/alibabacloud/emr/model/ReassignKafkaRequest.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_REASSIGNKAFKAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REASSIGNKAFKAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ReassignKafkaRequest : public RpcServiceRequest - { - - public: - ReassignKafkaRequest(); - ~ReassignKafkaRequest(); - - long getThrottle()const; - void setThrottle(long throttle); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::vector getBrokerId()const; - void setBrokerId(const std::vector& brokerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long throttle_; - long resourceOwnerId_; - std::string topicId_; - std::vector brokerId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REASSIGNKAFKAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ReassignKafkaResult.h b/emr/include/alibabacloud/emr/model/ReassignKafkaResult.h deleted file mode 100644 index ed8fb9205..000000000 --- a/emr/include/alibabacloud/emr/model/ReassignKafkaResult.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_REASSIGNKAFKARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REASSIGNKAFKARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ReassignKafkaResult : public ServiceResult - { - public: - - - ReassignKafkaResult(); - explicit ReassignKafkaResult(const std::string &payload); - ~ReassignKafkaResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REASSIGNKAFKARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RefreshBackupListRequest.h b/emr/include/alibabacloud/emr/model/RefreshBackupListRequest.h deleted file mode 100644 index 7fca15251..000000000 --- a/emr/include/alibabacloud/emr/model/RefreshBackupListRequest.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_REFRESHBACKUPLISTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REFRESHBACKUPLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RefreshBackupListRequest : public RpcServiceRequest - { - - public: - RefreshBackupListRequest(); - ~RefreshBackupListRequest(); - - 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); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupPlanId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REFRESHBACKUPLISTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RefreshBackupListResult.h b/emr/include/alibabacloud/emr/model/RefreshBackupListResult.h deleted file mode 100644 index f21fbd163..000000000 --- a/emr/include/alibabacloud/emr/model/RefreshBackupListResult.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_REFRESHBACKUPLISTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REFRESHBACKUPLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RefreshBackupListResult : public ServiceResult - { - public: - - - RefreshBackupListResult(); - explicit RefreshBackupListResult(const std::string &payload); - ~RefreshBackupListResult(); - 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_REFRESHBACKUPLISTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminRequest.h b/emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminRequest.h deleted file mode 100644 index f35e68655..000000000 --- a/emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminRequest.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_REFRESHCLUSTERRESOURCEPOOLFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REFRESHCLUSTERRESOURCEPOOLFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RefreshClusterResourcePoolForAdminRequest : public RpcServiceRequest - { - - public: - RefreshClusterResourcePoolForAdminRequest(); - ~RefreshClusterResourcePoolForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - long getResourcePoolId()const; - void setResourcePoolId(long resourcePoolId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - 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_; - long resourcePoolId_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REFRESHCLUSTERRESOURCEPOOLFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminResult.h b/emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminResult.h deleted file mode 100644 index e2452b6a0..000000000 --- a/emr/include/alibabacloud/emr/model/RefreshClusterResourcePoolForAdminResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_REFRESHCLUSTERRESOURCEPOOLFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REFRESHCLUSTERRESOURCEPOOLFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RefreshClusterResourcePoolForAdminResult : public ServiceResult - { - public: - - - RefreshClusterResourcePoolForAdminResult(); - explicit RefreshClusterResourcePoolForAdminResult(const std::string &payload); - ~RefreshClusterResourcePoolForAdminResult(); - std::string getWorkFlowInstanceId()const; - std::string getOperationId()const; - - protected: - void parse(const std::string &payload); - private: - std::string workFlowInstanceId_; - std::string operationId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REFRESHCLUSTERRESOURCEPOOLFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ReleaseETLJobRequest.h b/emr/include/alibabacloud/emr/model/ReleaseETLJobRequest.h deleted file mode 100644 index 0c5241cd4..000000000 --- a/emr/include/alibabacloud/emr/model/ReleaseETLJobRequest.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_RELEASEETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RELEASEETLJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ReleaseETLJobRequest : public RpcServiceRequest - { - - public: - ReleaseETLJobRequest(); - ~ReleaseETLJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getReleaseId()const; - void setReleaseId(const std::string& releaseId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string releaseId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RELEASEETLJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ReleaseETLJobResult.h b/emr/include/alibabacloud/emr/model/ReleaseETLJobResult.h deleted file mode 100644 index 41a268a90..000000000 --- a/emr/include/alibabacloud/emr/model/ReleaseETLJobResult.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_RELEASEETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RELEASEETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ReleaseETLJobResult : public ServiceResult - { - public: - - - ReleaseETLJobResult(); - explicit ReleaseETLJobResult(const std::string &payload); - ~ReleaseETLJobResult(); - std::string getReleaseId()const; - - protected: - void parse(const std::string &payload); - private: - std::string releaseId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RELEASEETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveBackupPlanRequest.h b/emr/include/alibabacloud/emr/model/RemoveBackupPlanRequest.h deleted file mode 100644 index 8c0522013..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveBackupPlanRequest.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_REMOVEBACKUPPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveBackupPlanRequest : public RpcServiceRequest - { - - public: - RemoveBackupPlanRequest(); - ~RemoveBackupPlanRequest(); - - 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); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupPlanId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveBackupRequest.h b/emr/include/alibabacloud/emr/model/RemoveBackupRequest.h deleted file mode 100644 index 7f0563530..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveBackupRequest.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_REMOVEBACKUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveBackupRequest : public RpcServiceRequest - { - - public: - RemoveBackupRequest(); - ~RemoveBackupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getBackupId()const; - void setBackupId(const std::vector& backupId); - std::string getBackupPlanId()const; - void setBackupPlanId(const std::string& backupPlanId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::vector backupId_; - std::string backupPlanId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveBackupRuleRequest.h b/emr/include/alibabacloud/emr/model/RemoveBackupRuleRequest.h deleted file mode 100644 index 1892d5ff4..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveBackupRuleRequest.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_REMOVEBACKUPRULEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveBackupRuleRequest : public RpcServiceRequest - { - - public: - RemoveBackupRuleRequest(); - ~RemoveBackupRuleRequest(); - - 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 getBackupRuleId()const; - void setBackupRuleId(const std::string& backupRuleId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string backupRuleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRULEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveBackupRuleResult.h b/emr/include/alibabacloud/emr/model/RemoveBackupRuleResult.h deleted file mode 100644 index af4255974..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveBackupRuleResult.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_REMOVEBACKUPRULERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRULERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveBackupRuleResult : public ServiceResult - { - public: - - - RemoveBackupRuleResult(); - explicit RemoveBackupRuleResult(const std::string &payload); - ~RemoveBackupRuleResult(); - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEBACKUPRULERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveClusterHostsRequest.h b/emr/include/alibabacloud/emr/model/RemoveClusterHostsRequest.h deleted file mode 100644 index 6e296b82c..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveClusterHostsRequest.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_REMOVECLUSTERHOSTSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVECLUSTERHOSTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveClusterHostsRequest : public RpcServiceRequest - { - - public: - RemoveClusterHostsRequest(); - ~RemoveClusterHostsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::vector getHostIdList()const; - void setHostIdList(const std::vector& hostIdList); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - std::vector hostIdList_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVECLUSTERHOSTSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveClusterHostsResult.h b/emr/include/alibabacloud/emr/model/RemoveClusterHostsResult.h deleted file mode 100644 index 7f3d63016..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveClusterHostsResult.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_REMOVECLUSTERHOSTSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVECLUSTERHOSTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveClusterHostsResult : public ServiceResult - { - public: - - - RemoveClusterHostsResult(); - explicit RemoveClusterHostsResult(const std::string &payload); - ~RemoveClusterHostsResult(); - std::string getClusterId()const; - - protected: - void parse(const std::string &payload); - private: - std::string clusterId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVECLUSTERHOSTSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RemoveHpHostResult.h b/emr/include/alibabacloud/emr/model/RemoveHpHostResult.h deleted file mode 100644 index f05f2b34c..000000000 --- a/emr/include/alibabacloud/emr/model/RemoveHpHostResult.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_REMOVEHPHOSTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_REMOVEHPHOSTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RemoveHpHostResult : public ServiceResult - { - public: - - - RemoveHpHostResult(); - explicit RemoveHpHostResult(const std::string &payload); - ~RemoveHpHostResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_REMOVEHPHOSTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddClusterServiceForAdminRequest.h b/emr/include/alibabacloud/emr/model/RemoveScalingConfigItemV2Request.h similarity index 57% rename from emr/include/alibabacloud/emr/model/AddClusterServiceForAdminRequest.h rename to emr/include/alibabacloud/emr/model/RemoveScalingConfigItemV2Request.h index 02bdd571a..6079b4c64 100644 --- a/emr/include/alibabacloud/emr/model/AddClusterServiceForAdminRequest.h +++ b/emr/include/alibabacloud/emr/model/RemoveScalingConfigItemV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_REMOVESCALINGCONFIGITEMV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_REMOVESCALINGCONFIGITEMV2REQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT AddClusterServiceForAdminRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT RemoveScalingConfigItemV2Request : public RpcServiceRequest { public: - AddClusterServiceForAdminRequest(); - ~AddClusterServiceForAdminRequest(); + RemoveScalingConfigItemV2Request(); + ~RemoveScalingConfigItemV2Request(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getServiceList()const; - void setServiceList(const std::string& serviceList); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - 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); - std::string getComment()const; - void setComment(const std::string& comment); + std::string getConfigItemType()const; + void setConfigItemType(const std::string& configItemType); + std::string getConfigItemBizId()const; + void setConfigItemBizId(const std::string& configItemBizId); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + 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 serviceList_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - std::string comment_; + std::string configItemType_; + std::string configItemBizId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_REMOVESCALINGCONFIGITEMV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceResult.h b/emr/include/alibabacloud/emr/model/RemoveScalingConfigItemV2Result.h similarity index 69% rename from emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceResult.h rename to emr/include/alibabacloud/emr/model/RemoveScalingConfigItemV2Result.h index 39c4124cd..6fbd83977 100644 --- a/emr/include/alibabacloud/emr/model/KillExecutionPlanInstanceResult.h +++ b/emr/include/alibabacloud/emr/model/RemoveScalingConfigItemV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONPLANINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONPLANINSTANCERESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_REMOVESCALINGCONFIGITEMV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_REMOVESCALINGCONFIGITEMV2RESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT KillExecutionPlanInstanceResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT RemoveScalingConfigItemV2Result : public ServiceResult { public: - KillExecutionPlanInstanceResult(); - explicit KillExecutionPlanInstanceResult(const std::string &payload); - ~KillExecutionPlanInstanceResult(); + RemoveScalingConfigItemV2Result(); + explicit RemoveScalingConfigItemV2Result(const std::string &payload); + ~RemoveScalingConfigItemV2Result(); + bool getData()const; protected: void parse(const std::string &payload); private: + bool data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_KILLEXECUTIONPLANINSTANCERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_REMOVESCALINGCONFIGITEMV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminRequest.h b/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminRequest.h deleted file mode 100644 index 4d235413d..000000000 --- a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminRequest.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_RENDERRESOURCEPOOLXMLFORADMINREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLFORADMINREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RenderResourcePoolXmlForAdminRequest : public RpcServiceRequest - { - - public: - RenderResourcePoolXmlForAdminRequest(); - ~RenderResourcePoolXmlForAdminRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourcePoolId()const; - void setResourcePoolId(const std::string& resourcePoolId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - 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 resourcePoolId_; - std::string clusterId_; - std::string userId_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLFORADMINREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminResult.h b/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminResult.h deleted file mode 100644 index a6f208316..000000000 --- a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlForAdminResult.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_RENDERRESOURCEPOOLXMLFORADMINRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLFORADMINRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RenderResourcePoolXmlForAdminResult : public ServiceResult - { - public: - - - RenderResourcePoolXmlForAdminResult(); - explicit RenderResourcePoolXmlForAdminResult(const std::string &payload); - ~RenderResourcePoolXmlForAdminResult(); - std::string getXmlContent()const; - - protected: - void parse(const std::string &payload); - private: - std::string xmlContent_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLFORADMINRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlRequest.h b/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlRequest.h deleted file mode 100644 index 7c6cfbe8c..000000000 --- a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlRequest.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_RENDERRESOURCEPOOLXMLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RenderResourcePoolXmlRequest : public RpcServiceRequest - { - - public: - RenderResourcePoolXmlRequest(); - ~RenderResourcePoolXmlRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getResourcePoolId()const; - void setResourcePoolId(const std::string& resourcePoolId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string resourcePoolId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlResult.h b/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlResult.h deleted file mode 100644 index dd593f50d..000000000 --- a/emr/include/alibabacloud/emr/model/RenderResourcePoolXmlResult.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_RENDERRESOURCEPOOLXMLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RenderResourcePoolXmlResult : public ServiceResult - { - public: - - - RenderResourcePoolXmlResult(); - explicit RenderResourcePoolXmlResult(const std::string &payload); - ~RenderResourcePoolXmlResult(); - std::string getXmlContent()const; - - protected: - void parse(const std::string &payload); - private: - std::string xmlContent_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RENDERRESOURCEPOOLXMLRESULT_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 16052eada..1c6847158 100644 --- a/emr/include/alibabacloud/emr/model/ResizeClusterV2Request.h +++ b/emr/include/alibabacloud/emr/model/ResizeClusterV2Request.h @@ -59,6 +59,12 @@ namespace AlibabaCloud std::string hostPassword; std::string hostGroupType; }; + struct PromotionInfo + { + std::string promotionOptionCode; + std::string productCode; + std::string promotionOptionNo; + }; public: ResizeClusterV2Request(); @@ -80,6 +86,8 @@ namespace AlibabaCloud void setRegionId(const std::string& regionId); std::vector getHostGroup()const; void setHostGroup(const std::vector& hostGroup); + std::vector getPromotionInfo()const; + void setPromotionInfo(const std::vector& promotionInfo); private: bool isOpenPublicIp_; @@ -90,6 +98,7 @@ namespace AlibabaCloud std::vector hostComponentInfo_; std::string regionId_; std::vector hostGroup_; + std::vector promotionInfo_; }; } diff --git a/emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolRequest.h b/emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolRequest.h deleted file mode 100644 index adb03d30c..000000000 --- a/emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolRequest.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RESIZECLUSTERWITHHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RESIZECLUSTERWITHHOSTPOOLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResizeClusterWithHostPoolRequest : public RpcServiceRequest - { - struct HostInfo - { - std::string hpHostBizId; - std::string hostName; - std::string role; - std::string groupId; - std::string privateIp; - struct ServiceComponentInfo - { - std::string serviceEcmVersion; - std::string componentName; - std::string serviceName; - }; - ServiceComponentInfo serviceComponentInfo; - std::string hostGroupName; - std::string hostGroupType; - }; - struct HostGroup - { - std::string groupType; - std::string groupId; - std::string groupName; - }; - - public: - ResizeClusterWithHostPoolRequest(); - ~ResizeClusterWithHostPoolRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getHostInfo()const; - void setHostInfo(const std::vector& hostInfo); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getHostGroup()const; - void setHostGroup(const std::vector& hostGroup); - - private: - long resourceOwnerId_; - std::vector hostInfo_; - std::string clusterId_; - std::string accessKeyId_; - std::string regionId_; - std::vector hostGroup_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESIZECLUSTERWITHHOSTPOOLREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolResult.h b/emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolResult.h deleted file mode 100644 index e23bfc496..000000000 --- a/emr/include/alibabacloud/emr/model/ResizeClusterWithHostPoolResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RESIZECLUSTERWITHHOSTPOOLRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RESIZECLUSTERWITHHOSTPOOLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResizeClusterWithHostPoolResult : public ServiceResult - { - public: - - - ResizeClusterWithHostPoolResult(); - explicit ResizeClusterWithHostPoolResult(const std::string &payload); - ~ResizeClusterWithHostPoolResult(); - std::string getWorkFlowInstanceId()const; - std::string getClusterId()const; - std::string getOperationId()const; - - protected: - void parse(const std::string &payload); - private: - std::string workFlowInstanceId_; - std::string clusterId_; - std::string operationId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESIZECLUSTERWITHHOSTPOOLRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaRequest.h b/emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaRequest.h deleted file mode 100644 index c3abcdfa7..000000000 --- a/emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaRequest.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_RESOLVEETLJOBSQLSCHEMAREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RESOLVEETLJOBSQLSCHEMAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResolveETLJobSqlSchemaRequest : public RpcServiceRequest - { - - public: - ResolveETLJobSqlSchemaRequest(); - ~ResolveETLJobSqlSchemaRequest(); - - std::string getStageName()const; - void setStageName(const std::string& stageName); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getSql()const; - void setSql(const std::string& sql); - - private: - std::string stageName_; - long resourceOwnerId_; - std::string regionId_; - std::string etlJobId_; - std::string dataSourceId_; - std::string accessKeyId_; - std::string sql_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESOLVEETLJOBSQLSCHEMAREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaResult.h b/emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaResult.h deleted file mode 100644 index c5f0f702e..000000000 --- a/emr/include/alibabacloud/emr/model/ResolveETLJobSqlSchemaResult.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_RESOLVEETLJOBSQLSCHEMARESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RESOLVEETLJOBSQLSCHEMARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResolveETLJobSqlSchemaResult : public ServiceResult - { - public: - - - ResolveETLJobSqlSchemaResult(); - explicit ResolveETLJobSqlSchemaResult(const std::string &payload); - ~ResolveETLJobSqlSchemaResult(); - std::string getResolveId()const; - - protected: - void parse(const std::string &payload); - private: - std::string resolveId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESOLVEETLJOBSQLSCHEMARESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceRequest.h b/emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceRequest.h deleted file mode 100644 index d149fe828..000000000 --- a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceRequest.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_RESUMEEXECUTIONPLANINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResumeExecutionPlanInstanceRequest : public RpcServiceRequest - { - - public: - ResumeExecutionPlanInstanceRequest(); - ~ResumeExecutionPlanInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceResult.h b/emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceResult.h deleted file mode 100644 index 07f45f0ba..000000000 --- a/emr/include/alibabacloud/emr/model/ResumeExecutionPlanInstanceResult.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_RESUMEEXECUTIONPLANINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT ResumeExecutionPlanInstanceResult : public ServiceResult - { - public: - - - ResumeExecutionPlanInstanceResult(); - explicit ResumeExecutionPlanInstanceResult(const std::string &payload); - ~ResumeExecutionPlanInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RESUMEEXECUTIONPLANINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryCreateUserPasswordRequest.h b/emr/include/alibabacloud/emr/model/RetryCreateUserPasswordRequest.h deleted file mode 100644 index 4d13bbe5b..000000000 --- a/emr/include/alibabacloud/emr/model/RetryCreateUserPasswordRequest.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RETRYCREATEUSERPASSWORDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYCREATEUSERPASSWORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryCreateUserPasswordRequest : public RpcServiceRequest - { - struct UserInfo - { - std::string type; - std::string groupName; - std::string userId; - std::string userName; - }; - - public: - RetryCreateUserPasswordRequest(); - ~RetryCreateUserPasswordRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::vector getUserInfo()const; - void setUserInfo(const std::vector& userInfo); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string clusterId_; - std::vector userInfo_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYCREATEUSERPASSWORDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryCreateUserPasswordResult.h b/emr/include/alibabacloud/emr/model/RetryCreateUserPasswordResult.h deleted file mode 100644 index 3e448431c..000000000 --- a/emr/include/alibabacloud/emr/model/RetryCreateUserPasswordResult.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_RETRYCREATEUSERPASSWORDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYCREATEUSERPASSWORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryCreateUserPasswordResult : public ServiceResult - { - public: - - - RetryCreateUserPasswordResult(); - explicit RetryCreateUserPasswordResult(const std::string &payload); - ~RetryCreateUserPasswordResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYCREATEUSERPASSWORDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceRequest.h b/emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceRequest.h deleted file mode 100644 index f1de1987d..000000000 --- a/emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceRequest.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_RETRYEXECUTIONPLANINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryExecutionPlanInstanceRequest : public RpcServiceRequest - { - - public: - RetryExecutionPlanInstanceRequest(); - ~RetryExecutionPlanInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getArguments()const; - void setArguments(const std::string& arguments); - std::string getId()const; - void setId(const std::string& id); - bool getRerunFail()const; - void setRerunFail(bool rerunFail); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string arguments_; - std::string id_; - bool rerunFail_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceResult.h b/emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceResult.h deleted file mode 100644 index f25563792..000000000 --- a/emr/include/alibabacloud/emr/model/RetryExecutionPlanInstanceResult.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_RETRYEXECUTIONPLANINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryExecutionPlanInstanceResult : public ServiceResult - { - public: - - - RetryExecutionPlanInstanceResult(); - explicit RetryExecutionPlanInstanceResult(const std::string &payload); - ~RetryExecutionPlanInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryExecutionPlanRequest.h b/emr/include/alibabacloud/emr/model/RetryExecutionPlanRequest.h deleted file mode 100644 index 95fd38fc4..000000000 --- a/emr/include/alibabacloud/emr/model/RetryExecutionPlanRequest.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_RETRYEXECUTIONPLANREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryExecutionPlanRequest : public RpcServiceRequest - { - - public: - RetryExecutionPlanRequest(); - ~RetryExecutionPlanRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getExecutionPlanWorkNodeIds()const; - void setExecutionPlanWorkNodeIds(const std::string& executionPlanWorkNodeIds); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string executionPlanWorkNodeIds_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetryExecutionPlanResult.h b/emr/include/alibabacloud/emr/model/RetryExecutionPlanResult.h deleted file mode 100644 index 7c7f11962..000000000 --- a/emr/include/alibabacloud/emr/model/RetryExecutionPlanResult.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_RETRYEXECUTIONPLANRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetryExecutionPlanResult : public ServiceResult - { - public: - - - RetryExecutionPlanResult(); - explicit RetryExecutionPlanResult(const std::string &payload); - ~RetryExecutionPlanResult(); - std::string getExecutionPlanInstanceId()const; - - protected: - void parse(const std::string &payload); - private: - std::string executionPlanInstanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYEXECUTIONPLANRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteHostPoolRequest.h b/emr/include/alibabacloud/emr/model/RetryOperationRequest.h similarity index 74% rename from emr/include/alibabacloud/emr/model/DeleteHostPoolRequest.h rename to emr/include/alibabacloud/emr/model/RetryOperationRequest.h index ee3570e7d..1a7ea3e87 100644 --- a/emr/include/alibabacloud/emr/model/DeleteHostPoolRequest.h +++ b/emr/include/alibabacloud/emr/model/RetryOperationRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONREQUEST_H_ #include #include @@ -28,30 +28,30 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteHostPoolRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT RetryOperationRequest : public RpcServiceRequest { public: - DeleteHostPoolRequest(); - ~DeleteHostPoolRequest(); + RetryOperationRequest(); + ~RetryOperationRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getBizId()const; - void setBizId(const std::string& bizId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getOperationId()const; + void setOperationId(const std::string& operationId); private: - long resourceOwnerId_; - std::string regionId_; - std::string bizId_; - std::string accessKeyId_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string regionId_; + std::string operationId_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamResult.h b/emr/include/alibabacloud/emr/model/RetryOperationResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamResult.h rename to emr/include/alibabacloud/emr/model/RetryOperationResult.h index 94a77215d..21302c580 100644 --- a/emr/include/alibabacloud/emr/model/ModifyJobExecutionPlanParamResult.h +++ b/emr/include/alibabacloud/emr/model/RetryOperationResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANPARAMRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANPARAMRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ModifyJobExecutionPlanParamResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT RetryOperationResult : public ServiceResult { public: - ModifyJobExecutionPlanParamResult(); - explicit ModifyJobExecutionPlanParamResult(const std::string &payload); - ~ModifyJobExecutionPlanParamResult(); + RetryOperationResult(); + explicit RetryOperationResult(const std::string &payload); + ~RetryOperationResult(); std::string getErrMsg()const; std::string getSuccess()const; std::string getErrCode()const; @@ -52,4 +52,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYJOBEXECUTIONPLANPARAMRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_RETRYOPERATIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetrySyncUserAccountRequest.h b/emr/include/alibabacloud/emr/model/RetrySyncUserAccountRequest.h deleted file mode 100644 index 0b4203054..000000000 --- a/emr/include/alibabacloud/emr/model/RetrySyncUserAccountRequest.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_RETRYSYNCUSERACCOUNTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYSYNCUSERACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetrySyncUserAccountRequest : public RpcServiceRequest - { - - public: - RetrySyncUserAccountRequest(); - ~RetrySyncUserAccountRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::vector getAliyunUserIdList()const; - void setAliyunUserIdList(const std::vector& aliyunUserIdList); - std::string getAccountType()const; - void setAccountType(const std::string& accountType); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::vector aliyunUserIdList_; - std::string accountType_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYSYNCUSERACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RetrySyncUserAccountResult.h b/emr/include/alibabacloud/emr/model/RetrySyncUserAccountResult.h deleted file mode 100644 index e7ae304cc..000000000 --- a/emr/include/alibabacloud/emr/model/RetrySyncUserAccountResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RETRYSYNCUSERACCOUNTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RETRYSYNCUSERACCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RetrySyncUserAccountResult : public ServiceResult - { - public: - - - RetrySyncUserAccountResult(); - explicit RetrySyncUserAccountResult(const std::string &payload); - ~RetrySyncUserAccountResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RETRYSYNCUSERACCOUNTRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunETLJobRequest.h b/emr/include/alibabacloud/emr/model/RunETLJobRequest.h deleted file mode 100644 index 2c29a0aab..000000000 --- a/emr/include/alibabacloud/emr/model/RunETLJobRequest.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_RUNETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNETLJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunETLJobRequest : public RpcServiceRequest - { - struct InstanceRunParam - { - std::string value; - std::string key; - }; - - public: - RunETLJobRequest(); - ~RunETLJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getInstanceRunParam()const; - void setInstanceRunParam(const std::vector& instanceRunParam); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getIsDebug()const; - void setIsDebug(bool isDebug); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::vector instanceRunParam_; - std::string regionId_; - bool isDebug_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNETLJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunETLJobResult.h b/emr/include/alibabacloud/emr/model/RunETLJobResult.h deleted file mode 100644 index b9ad015db..000000000 --- a/emr/include/alibabacloud/emr/model/RunETLJobResult.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_RUNETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunETLJobResult : public ServiceResult - { - public: - - - RunETLJobResult(); - explicit RunETLJobResult(const std::string &payload); - ~RunETLJobResult(); - std::string getInstanceId()const; - - protected: - void parse(const std::string &payload); - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunNoteParagraphsRequest.h b/emr/include/alibabacloud/emr/model/RunNoteParagraphsRequest.h deleted file mode 100644 index 49b662505..000000000 --- a/emr/include/alibabacloud/emr/model/RunNoteParagraphsRequest.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_RUNNOTEPARAGRAPHSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNNOTEPARAGRAPHSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunNoteParagraphsRequest : public RpcServiceRequest - { - - public: - RunNoteParagraphsRequest(); - ~RunNoteParagraphsRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string noteId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNNOTEPARAGRAPHSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunOpsCommandRequest.h b/emr/include/alibabacloud/emr/model/RunOpsCommandRequest.h deleted file mode 100644 index 024b70228..000000000 --- a/emr/include/alibabacloud/emr/model/RunOpsCommandRequest.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_RUNOPSCOMMANDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNOPSCOMMANDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunOpsCommandRequest : public RpcServiceRequest - { - - public: - RunOpsCommandRequest(); - ~RunOpsCommandRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOpsCommandName()const; - void setOpsCommandName(const std::string& opsCommandName); - std::string getComment()const; - void setComment(const std::string& comment); - std::string getCustomParams()const; - void setCustomParams(const std::string& customParams); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::vector getHostIdList()const; - void setHostIdList(const std::vector& hostIdList); - std::string getDimension()const; - void setDimension(const std::string& dimension); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string opsCommandName_; - std::string comment_; - std::string customParams_; - std::string clusterId_; - std::vector hostIdList_; - std::string dimension_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNOPSCOMMANDREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunOpsCommandResult.h b/emr/include/alibabacloud/emr/model/RunOpsCommandResult.h deleted file mode 100644 index d9e0c544c..000000000 --- a/emr/include/alibabacloud/emr/model/RunOpsCommandResult.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_RUNOPSCOMMANDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNOPSCOMMANDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunOpsCommandResult : public ServiceResult - { - public: - - - RunOpsCommandResult(); - explicit RunOpsCommandResult(const std::string &payload); - ~RunOpsCommandResult(); - long getOperationId()const; - - protected: - void parse(const std::string &payload); - private: - long operationId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNOPSCOMMANDRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunParagraphRequest.h b/emr/include/alibabacloud/emr/model/RunParagraphRequest.h deleted file mode 100644 index 8d5f1e538..000000000 --- a/emr/include/alibabacloud/emr/model/RunParagraphRequest.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_RUNPARAGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNPARAGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunParagraphRequest : public RpcServiceRequest - { - - public: - RunParagraphRequest(); - ~RunParagraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getId()const; - void setId(const std::string& id); - std::string getText()const; - void setText(const std::string& text); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string noteId_; - std::string id_; - std::string text_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNPARAGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/RunParagraphResult.h b/emr/include/alibabacloud/emr/model/RunParagraphResult.h deleted file mode 100644 index b0f9eef6d..000000000 --- a/emr/include/alibabacloud/emr/model/RunParagraphResult.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_RUNPARAGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_RUNPARAGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT RunParagraphResult : public ServiceResult - { - public: - - - RunParagraphResult(); - explicit RunParagraphResult(const std::string &payload); - ~RunParagraphResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_RUNPARAGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/AddResourceToUsersRequest.h b/emr/include/alibabacloud/emr/model/RunScalingActionV2Request.h similarity index 58% rename from emr/include/alibabacloud/emr/model/AddResourceToUsersRequest.h rename to emr/include/alibabacloud/emr/model/RunScalingActionV2Request.h index d077afb7d..b0406c66a 100644 --- a/emr/include/alibabacloud/emr/model/AddResourceToUsersRequest.h +++ b/emr/include/alibabacloud/emr/model/RunScalingActionV2Request.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_RUNSCALINGACTIONV2REQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_RUNSCALINGACTIONV2REQUEST_H_ #include #include @@ -28,39 +28,39 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT AddResourceToUsersRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT RunScalingActionV2Request : public RpcServiceRequest { public: - AddResourceToUsersRequest(); - ~AddResourceToUsersRequest(); + RunScalingActionV2Request(); + ~RunScalingActionV2Request(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::vector getUserIdList()const; - void setUserIdList(const std::vector& userIdList); - 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 getRoleIdList()const; - void setRoleIdList(const std::vector& roleIdList); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getScalingActionType()const; + void setScalingActionType(const std::string& scalingActionType); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getScalingGroupBizId()const; + void setScalingGroupBizId(const std::string& scalingGroupBizId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getActionParam()const; + void setActionParam(const std::string& actionParam); private: - long resourceOwnerId_; - std::string resourceId_; - std::vector userIdList_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; - std::vector roleIdList_; + long resourceOwnerId_; + std::string scalingActionType_; + std::string accessKeyId_; + std::string scalingGroupBizId_; + std::string resourceGroupId_; + std::string regionId_; + std::string actionParam_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_RUNSCALINGACTIONV2REQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateAlertContactResult.h b/emr/include/alibabacloud/emr/model/RunScalingActionV2Result.h similarity index 69% rename from emr/include/alibabacloud/emr/model/CreateAlertContactResult.h rename to emr/include/alibabacloud/emr/model/RunScalingActionV2Result.h index a5e08b34e..38b4df573 100644 --- a/emr/include/alibabacloud/emr/model/CreateAlertContactResult.h +++ b/emr/include/alibabacloud/emr/model/RunScalingActionV2Result.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_RUNSCALINGACTIONV2RESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_RUNSCALINGACTIONV2RESULT_H_ #include #include @@ -29,23 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateAlertContactResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT RunScalingActionV2Result : public ServiceResult { public: - CreateAlertContactResult(); - explicit CreateAlertContactResult(const std::string &payload); - ~CreateAlertContactResult(); - long getId()const; + RunScalingActionV2Result(); + explicit RunScalingActionV2Result(const std::string &payload); + ~RunScalingActionV2Result(); + std::string getData()const; protected: void parse(const std::string &payload); private: - long id_; + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_RUNSCALINGACTIONV2RESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoRequest.h b/emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoRequest.h deleted file mode 100644 index cee74eba4..000000000 --- a/emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoRequest.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_SAVEBATCHUSERACCOUNTINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SAVEBATCHUSERACCOUNTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SaveBatchUserAccountInfoRequest : public RpcServiceRequest - { - - public: - SaveBatchUserAccountInfoRequest(); - ~SaveBatchUserAccountInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::vector getAliyunUserIdList()const; - void setAliyunUserIdList(const std::vector& aliyunUserIdList); - std::string getAccountType()const; - void setAccountType(const std::string& accountType); - std::string getGroupName()const; - void setGroupName(const std::string& groupName); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAuthType()const; - void setAuthType(const std::string& authType); - std::string getAccountPassword()const; - void setAccountPassword(const std::string& accountPassword); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - long resourceOwnerId_; - std::string resourceId_; - std::vector aliyunUserIdList_; - std::string accountType_; - std::string groupName_; - std::string resourceType_; - std::string accessKeyId_; - std::string authType_; - std::string accountPassword_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SAVEBATCHUSERACCOUNTINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoResult.h b/emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoResult.h deleted file mode 100644 index 3d153ab4f..000000000 --- a/emr/include/alibabacloud/emr/model/SaveBatchUserAccountInfoResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_SAVEBATCHUSERACCOUNTINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SAVEBATCHUSERACCOUNTINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SaveBatchUserAccountInfoResult : public ServiceResult - { - public: - - - SaveBatchUserAccountInfoResult(); - explicit SaveBatchUserAccountInfoResult(const std::string &payload); - ~SaveBatchUserAccountInfoResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SAVEBATCHUSERACCOUNTINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SaveParagraphRequest.h b/emr/include/alibabacloud/emr/model/SaveParagraphRequest.h deleted file mode 100644 index d7c6d1c53..000000000 --- a/emr/include/alibabacloud/emr/model/SaveParagraphRequest.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_SAVEPARAGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SAVEPARAGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SaveParagraphRequest : public RpcServiceRequest - { - - public: - SaveParagraphRequest(); - ~SaveParagraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getId()const; - void setId(const std::string& id); - std::string getText()const; - void setText(const std::string& text); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string noteId_; - std::string id_; - std::string text_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SAVEPARAGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SaveParagraphResult.h b/emr/include/alibabacloud/emr/model/SaveParagraphResult.h deleted file mode 100644 index 6cbeae878..000000000 --- a/emr/include/alibabacloud/emr/model/SaveParagraphResult.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_SAVEPARAGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SAVEPARAGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SaveParagraphResult : public ServiceResult - { - public: - - - SaveParagraphResult(); - explicit SaveParagraphResult(const std::string &payload); - ~SaveParagraphResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SAVEPARAGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SaveUserAccountInfoRequest.h b/emr/include/alibabacloud/emr/model/SaveUserAccountInfoRequest.h deleted file mode 100644 index 3c2b73d51..000000000 --- a/emr/include/alibabacloud/emr/model/SaveUserAccountInfoRequest.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_SAVEUSERACCOUNTINFOREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SAVEUSERACCOUNTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SaveUserAccountInfoRequest : public RpcServiceRequest - { - - public: - SaveUserAccountInfoRequest(); - ~SaveUserAccountInfoRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccountType()const; - void setAccountType(const std::string& accountType); - std::string getGroupName()const; - void setGroupName(const std::string& groupName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getAuthType()const; - void setAuthType(const std::string& authType); - std::string getAccountPassword()const; - void setAccountPassword(const std::string& accountPassword); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - - private: - long resourceOwnerId_; - std::string accountType_; - std::string groupName_; - std::string accessKeyId_; - std::string authType_; - std::string accountPassword_; - std::string regionId_; - std::string aliyunUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SAVEUSERACCOUNTINFOREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SaveUserAccountInfoResult.h b/emr/include/alibabacloud/emr/model/SaveUserAccountInfoResult.h deleted file mode 100644 index e6106f724..000000000 --- a/emr/include/alibabacloud/emr/model/SaveUserAccountInfoResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_SAVEUSERACCOUNTINFORESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SAVEUSERACCOUNTINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SaveUserAccountInfoResult : public ServiceResult - { - public: - - - SaveUserAccountInfoResult(); - explicit SaveUserAccountInfoResult(const std::string &payload); - ~SaveUserAccountInfoResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SAVEUSERACCOUNTINFORESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerResult.h b/emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerResult.h deleted file mode 100644 index 9f048d048..000000000 --- a/emr/include/alibabacloud/emr/model/StartKafkaBrokerDiskBalancerResult.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_STARTKAFKABROKERDISKBALANCERRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT StartKafkaBrokerDiskBalancerResult : public ServiceResult - { - public: - - - StartKafkaBrokerDiskBalancerResult(); - explicit StartKafkaBrokerDiskBalancerResult(const std::string &payload); - ~StartKafkaBrokerDiskBalancerResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionRequest.h b/emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionRequest.h deleted file mode 100644 index 3e354397e..000000000 --- a/emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionRequest.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_STARTKAFKAPREFERREDREPLICAELECTIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_STARTKAFKAPREFERREDREPLICAELECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT StartKafkaPreferredReplicaElectionRequest : public RpcServiceRequest - { - - public: - StartKafkaPreferredReplicaElectionRequest(); - ~StartKafkaPreferredReplicaElectionRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getTopicId()const; - void setTopicId(const std::string& topicId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string topicId_; - std::string regionId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_STARTKAFKAPREFERREDREPLICAELECTIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionResult.h b/emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionResult.h deleted file mode 100644 index 222477d8a..000000000 --- a/emr/include/alibabacloud/emr/model/StartKafkaPreferredReplicaElectionResult.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_STARTKAFKAPREFERREDREPLICAELECTIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_STARTKAFKAPREFERREDREPLICAELECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT StartKafkaPreferredReplicaElectionResult : public ServiceResult - { - public: - - - StartKafkaPreferredReplicaElectionResult(); - explicit StartKafkaPreferredReplicaElectionResult(const std::string &payload); - ~StartKafkaPreferredReplicaElectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_STARTKAFKAPREFERREDREPLICAELECTIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/StopParagraphRequest.h b/emr/include/alibabacloud/emr/model/StopParagraphRequest.h deleted file mode 100644 index 59a4ea4c5..000000000 --- a/emr/include/alibabacloud/emr/model/StopParagraphRequest.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_STOPPARAGRAPHREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_STOPPARAGRAPHREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT StopParagraphRequest : public RpcServiceRequest - { - - public: - StopParagraphRequest(); - ~StopParagraphRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getNoteId()const; - void setNoteId(const std::string& noteId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string noteId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_STOPPARAGRAPHREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/StopParagraphResult.h b/emr/include/alibabacloud/emr/model/StopParagraphResult.h deleted file mode 100644 index 5eac3510a..000000000 --- a/emr/include/alibabacloud/emr/model/StopParagraphResult.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_STOPPARAGRAPHRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_STOPPARAGRAPHRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT StopParagraphResult : public ServiceResult - { - public: - - - StopParagraphResult(); - explicit StopParagraphResult(const std::string &payload); - ~StopParagraphResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_STOPPARAGRAPHRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SubmitFlowJobRequest.h b/emr/include/alibabacloud/emr/model/SubmitFlowJobRequest.h index 85f06c24f..76ed296c1 100644 --- a/emr/include/alibabacloud/emr/model/SubmitFlowJobRequest.h +++ b/emr/include/alibabacloud/emr/model/SubmitFlowJobRequest.h @@ -45,6 +45,10 @@ namespace AlibabaCloud void setHostName(const std::string& hostName); std::string getRegionId()const; void setRegionId(const std::string& regionId); + std::string get_Namespace()const; + void set_Namespace(const std::string& _namespace); + std::string getJobInstanceId()const; + void setJobInstanceId(const std::string& jobInstanceId); std::string getProjectId()const; void setProjectId(const std::string& projectId); @@ -54,6 +58,8 @@ namespace AlibabaCloud std::string jobId_; std::string hostName_; std::string regionId_; + std::string _namespace_; + std::string jobInstanceId_; std::string projectId_; }; diff --git a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceRequest.h b/emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceRequest.h deleted file mode 100644 index aa9a96caf..000000000 --- a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceRequest.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_SUSPENDEXECUTIONPLANINSTANCEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SuspendExecutionPlanInstanceRequest : public RpcServiceRequest - { - - public: - SuspendExecutionPlanInstanceRequest(); - ~SuspendExecutionPlanInstanceRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getId()const; - void setId(const std::string& id); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string id_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceResult.h b/emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceResult.h deleted file mode 100644 index 7278a9d2c..000000000 --- a/emr/include/alibabacloud/emr/model/SuspendExecutionPlanInstanceResult.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_SUSPENDEXECUTIONPLANINSTANCERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SuspendExecutionPlanInstanceResult : public ServiceResult - { - public: - - - SuspendExecutionPlanInstanceResult(); - explicit SuspendExecutionPlanInstanceResult(const std::string &payload); - ~SuspendExecutionPlanInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SUSPENDEXECUTIONPLANINSTANCERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseRequest.h b/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseRequest.h deleted file mode 100644 index 7c34ec9e8..000000000 --- a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseRequest.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_SYNCDATASOURCESCHEMADATABASEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMADATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SyncDataSourceSchemaDatabaseRequest : public RpcServiceRequest - { - - public: - SyncDataSourceSchemaDatabaseRequest(); - ~SyncDataSourceSchemaDatabaseRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string etlJobId_; - std::string dataSourceId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMADATABASEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseResult.h b/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseResult.h deleted file mode 100644 index e6d688fc8..000000000 --- a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaDatabaseResult.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_SYNCDATASOURCESCHEMADATABASERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMADATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SyncDataSourceSchemaDatabaseResult : public ServiceResult - { - public: - - - SyncDataSourceSchemaDatabaseResult(); - explicit SyncDataSourceSchemaDatabaseResult(const std::string &payload); - ~SyncDataSourceSchemaDatabaseResult(); - std::string getCommandId()const; - - protected: - void parse(const std::string &payload); - private: - std::string commandId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMADATABASERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableRequest.h b/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableRequest.h deleted file mode 100644 index 80ab379b7..000000000 --- a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableRequest.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_SYNCDATASOURCESCHEMATABLEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMATABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SyncDataSourceSchemaTableRequest : public RpcServiceRequest - { - - public: - SyncDataSourceSchemaTableRequest(); - ~SyncDataSourceSchemaTableRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getDbName()const; - void setDbName(const std::string& dbName); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getDataSourceId()const; - void setDataSourceId(const std::string& dataSourceId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string dbName_; - std::string regionId_; - std::string etlJobId_; - std::string dataSourceId_; - std::string tableName_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMATABLEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableResult.h b/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableResult.h deleted file mode 100644 index d6fb0a56b..000000000 --- a/emr/include/alibabacloud/emr/model/SyncDataSourceSchemaTableResult.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_SYNCDATASOURCESCHEMATABLERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMATABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT SyncDataSourceSchemaTableResult : public ServiceResult - { - public: - - - SyncDataSourceSchemaTableResult(); - explicit SyncDataSourceSchemaTableResult(const std::string &payload); - ~SyncDataSourceSchemaTableResult(); - std::string getCommandId()const; - - protected: - void parse(const std::string &payload); - private: - std::string commandId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_SYNCDATASOURCESCHEMATABLERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/TerminateClusterOperationRequest.h b/emr/include/alibabacloud/emr/model/TerminateClusterOperationRequest.h deleted file mode 100644 index 9da5d3eaa..000000000 --- a/emr/include/alibabacloud/emr/model/TerminateClusterOperationRequest.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_TERMINATECLUSTEROPERATIONREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_TERMINATECLUSTEROPERATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT TerminateClusterOperationRequest : public RpcServiceRequest - { - - public: - TerminateClusterOperationRequest(); - ~TerminateClusterOperationRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getOperationId()const; - void setOperationId(const std::string& operationId); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string operationId_; - std::string clusterId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_TERMINATECLUSTEROPERATIONREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/TerminateClusterOperationResult.h b/emr/include/alibabacloud/emr/model/TerminateClusterOperationResult.h deleted file mode 100644 index 3d75565aa..000000000 --- a/emr/include/alibabacloud/emr/model/TerminateClusterOperationResult.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_TERMINATECLUSTEROPERATIONRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_TERMINATECLUSTEROPERATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT TerminateClusterOperationResult : public ServiceResult - { - public: - - - TerminateClusterOperationResult(); - explicit TerminateClusterOperationResult(const std::string &payload); - ~TerminateClusterOperationResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_TERMINATECLUSTEROPERATIONRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CommonApiWhiteListRequest.h b/emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h similarity index 66% rename from emr/include/alibabacloud/emr/model/CommonApiWhiteListRequest.h rename to emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h index e8edbf5e5..e4ebec469 100644 --- a/emr/include/alibabacloud/emr/model/CommonApiWhiteListRequest.h +++ b/emr/include/alibabacloud/emr/model/UninstallLibrariesRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESREQUEST_H_ #include #include @@ -28,27 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CommonApiWhiteListRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT UninstallLibrariesRequest : public RpcServiceRequest { public: - CommonApiWhiteListRequest(); - ~CommonApiWhiteListRequest(); + UninstallLibrariesRequest(); + ~UninstallLibrariesRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); + std::string getLibraryBizId()const; + void setLibraryBizId(const std::string& libraryBizId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::vector getClusterBizIdList()const; + void setClusterBizIdList(const std::vector& clusterBizIdList); private: long resourceOwnerId_; - std::string regionId_; + std::string libraryBizId_; std::string accessKeyId_; + std::string regionId_; + std::vector clusterBizIdList_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/CreateUserPasswordResult.h b/emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h similarity index 69% rename from emr/include/alibabacloud/emr/model/CreateUserPasswordResult.h rename to emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h index d49d107fd..57ea5395e 100644 --- a/emr/include/alibabacloud/emr/model/CreateUserPasswordResult.h +++ b/emr/include/alibabacloud/emr/model/UninstallLibrariesResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT CreateUserPasswordResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT UninstallLibrariesResult : public ServiceResult { public: - CreateUserPasswordResult(); - explicit CreateUserPasswordResult(const std::string &payload); - ~CreateUserPasswordResult(); + UninstallLibrariesResult(); + explicit UninstallLibrariesResult(const std::string &payload); + ~UninstallLibrariesResult(); + std::string getData()const; protected: void parse(const std::string &payload); private: + std::string data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_UNINSTALLLIBRARIESRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersRequest.h b/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h similarity index 62% rename from emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersRequest.h rename to emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h index c7c55f68e..110af85da 100644 --- a/emr/include/alibabacloud/emr/model/DeleteBatchResourceUsersRequest.h +++ b/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_ #include #include @@ -28,36 +28,42 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT DeleteBatchResourceUsersRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT UntagResourcesSystemTagsRequest : public RpcServiceRequest { public: - DeleteBatchResourceUsersRequest(); - ~DeleteBatchResourceUsersRequest(); + UntagResourcesSystemTagsRequest(); + ~UntagResourcesSystemTagsRequest(); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::vector getUserIdList()const; - void setUserIdList(const std::vector& userIdList); - 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); + 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: - long resourceOwnerId_; - std::string resourceId_; - std::vector userIdList_; - std::string resourceType_; - std::string accessKeyId_; - std::string regionId_; + 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_DELETEBATCHRESOURCEUSERSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamResult.h b/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h similarity index 71% rename from emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamResult.h rename to emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h index 9e6ef22c9..57fd0074f 100644 --- a/emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamResult.h +++ b/emr/include/alibabacloud/emr/model/UntagResourcesSystemTagsResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEKAFKAREASSIGNPARAMRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEKAFKAREASSIGNPARAMRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSRESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT UpdateKafkaReassignParamResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT UntagResourcesSystemTagsResult : public ServiceResult { public: - UpdateKafkaReassignParamResult(); - explicit UpdateKafkaReassignParamResult(const std::string &payload); - ~UpdateKafkaReassignParamResult(); + UntagResourcesSystemTagsResult(); + explicit UntagResourcesSystemTagsResult(const std::string &payload); + ~UntagResourcesSystemTagsResult(); protected: void parse(const std::string &payload); @@ -46,4 +46,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEKAFKAREASSIGNPARAMRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_UNTAGRESOURCESSYSTEMTAGSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h b/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h index b94f78746..838bd7482 100644 --- a/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h +++ b/emr/include/alibabacloud/emr/model/UpdateDataSourceRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setConf(const std::string& conf); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getName()const; @@ -55,6 +57,7 @@ namespace AlibabaCloud std::string description_; std::string conf_; std::string accessKeyId_; + std::string resourceGroupId_; std::string regionId_; std::string name_; std::string id_; diff --git a/emr/include/alibabacloud/emr/model/UpdateETLJobRequest.h b/emr/include/alibabacloud/emr/model/UpdateETLJobRequest.h deleted file mode 100644 index 43689278f..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateETLJobRequest.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_UPDATEETLJOBREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateETLJobRequest : public RpcServiceRequest - { - struct TriggerRule - { - std::string cronExpr; - long endTime; - long startTime; - bool enabled; - }; - struct StageConnection - { - std::string port; - std::string from; - std::string to; - }; - struct Stage - { - std::string stageName; - std::string stageConf; - std::string stageType; - std::string stagePlugin; - }; - - public: - UpdateETLJobRequest(); - ~UpdateETLJobRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getClusterConfig()const; - void setClusterConfig(const std::string& clusterConfig); - std::vector getTriggerRule()const; - void setTriggerRule(const std::vector& triggerRule); - std::string getAlertConfig()const; - void setAlertConfig(const std::string& alertConfig); - std::string getDescription()const; - void setDescription(const std::string& description); - bool getCheck()const; - void setCheck(bool check); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::vector getStageConnection()const; - void setStageConnection(const std::vector& stageConnection); - std::vector getStage()const; - void setStage(const std::vector& stage); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); - - private: - long resourceOwnerId_; - std::string clusterConfig_; - std::vector triggerRule_; - std::string alertConfig_; - std::string description_; - bool check_; - std::string accessKeyId_; - std::vector stageConnection_; - std::vector stage_; - std::string regionId_; - std::string name_; - std::string id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateETLJobResult.h b/emr/include/alibabacloud/emr/model/UpdateETLJobResult.h deleted file mode 100644 index 986ea37d8..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateETLJobResult.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_UPDATEETLJOBRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateETLJobResult : public ServiceResult - { - public: - - - UpdateETLJobResult(); - explicit UpdateETLJobResult(const std::string &payload); - ~UpdateETLJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateETLJobStageRequest.h b/emr/include/alibabacloud/emr/model/UpdateETLJobStageRequest.h deleted file mode 100644 index 5d52ecbd0..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateETLJobStageRequest.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_UPDATEETLJOBSTAGEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBSTAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateETLJobStageRequest : public RpcServiceRequest - { - - public: - UpdateETLJobStageRequest(); - ~UpdateETLJobStageRequest(); - - std::string getStageName()const; - void setStageName(const std::string& stageName); - std::string getStageConf()const; - void setStageConf(const std::string& stageConf); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getStageType()const; - void setStageType(const std::string& stageType); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getEtlJobId()const; - void setEtlJobId(const std::string& etlJobId); - std::string getStagePlugin()const; - void setStagePlugin(const std::string& stagePlugin); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - std::string stageName_; - std::string stageConf_; - long resourceOwnerId_; - std::string stageType_; - std::string regionId_; - std::string etlJobId_; - std::string stagePlugin_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBSTAGEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateETLJobStageResult.h b/emr/include/alibabacloud/emr/model/UpdateETLJobStageResult.h deleted file mode 100644 index d7cb86587..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateETLJobStageResult.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_UPDATEETLJOBSTAGERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBSTAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateETLJobStageResult : public ServiceResult - { - public: - - - UpdateETLJobStageResult(); - explicit UpdateETLJobStageResult(const std::string &payload); - ~UpdateETLJobStageResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEETLJOBSTAGERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamRequest.h b/emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamRequest.h deleted file mode 100644 index fc02ff7f9..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateKafkaReassignParamRequest.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_UPDATEKAFKAREASSIGNPARAMREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEKAFKAREASSIGNPARAMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateKafkaReassignParamRequest : public RpcServiceRequest - { - - public: - UpdateKafkaReassignParamRequest(); - ~UpdateKafkaReassignParamRequest(); - - long getThrottle()const; - void setThrottle(long throttle); - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getReassignId()const; - void setReassignId(const std::string& reassignId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long throttle_; - long resourceOwnerId_; - std::string regionId_; - std::string reassignId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEKAFKAREASSIGNPARAMREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendRequest.h b/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h similarity index 68% rename from emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendRequest.h rename to emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h index c86e42c9c..71327ec2b 100644 --- a/emr/include/alibabacloud/emr/model/ListExecutionPlanInstanceTrendRequest.h +++ b/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCETRENDREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCETRENDREQUEST_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSREQUEST_H_ +#define ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSREQUEST_H_ #include #include @@ -28,27 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT ListExecutionPlanInstanceTrendRequest : public RpcServiceRequest + class ALIBABACLOUD_EMR_EXPORT UpdateLibraryInstallTaskStatusRequest : public RpcServiceRequest { public: - ListExecutionPlanInstanceTrendRequest(); - ~ListExecutionPlanInstanceTrendRequest(); + UpdateLibraryInstallTaskStatusRequest(); + ~UpdateLibraryInstallTaskStatusRequest(); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); + std::string getTaskBizId()const; + void setTaskBizId(const std::string& taskBizId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getStatus()const; + void setStatus(const std::string& status); private: long resourceOwnerId_; - std::string regionId_; + std::string taskBizId_; std::string accessKeyId_; + std::string regionId_; + std::string status_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_LISTEXECUTIONPLANINSTANCETRENDREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingResult.h b/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h similarity index 69% rename from emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingResult.h rename to emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h index 055a544b1..9e0115e39 100644 --- a/emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingResult.h +++ b/emr/include/alibabacloud/emr/model/UpdateLibraryInstallTaskStatusResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACERESOURCESETTINGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACERESOURCESETTINGRESULT_H_ +#ifndef ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSRESULT_H_ +#define ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSRESULT_H_ #include #include @@ -29,21 +29,23 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_EMR_EXPORT UpdateWorkspaceResourceSettingResult : public ServiceResult + class ALIBABACLOUD_EMR_EXPORT UpdateLibraryInstallTaskStatusResult : public ServiceResult { public: - UpdateWorkspaceResourceSettingResult(); - explicit UpdateWorkspaceResourceSettingResult(const std::string &payload); - ~UpdateWorkspaceResourceSettingResult(); + UpdateLibraryInstallTaskStatusResult(); + explicit UpdateLibraryInstallTaskStatusResult(const std::string &payload); + ~UpdateLibraryInstallTaskStatusResult(); + bool getData()const; protected: void parse(const std::string &payload); private: + bool data_; }; } } } -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACERESOURCESETTINGRESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_EMR_MODEL_UPDATELIBRARYINSTALLTASKSTATUSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateNavNodeRequest.h b/emr/include/alibabacloud/emr/model/UpdateNavNodeRequest.h deleted file mode 100644 index c17938d67..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateNavNodeRequest.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_UPDATENAVNODEREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATENAVNODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateNavNodeRequest : public RpcServiceRequest - { - - public: - UpdateNavNodeRequest(); - ~UpdateNavNodeRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - std::string getId()const; - void setId(const std::string& id); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getParentId()const; - void setParentId(const std::string& parentId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string name_; - std::string id_; - std::string projectId_; - std::string parentId_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATENAVNODEREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateNavNodeResult.h b/emr/include/alibabacloud/emr/model/UpdateNavNodeResult.h deleted file mode 100644 index def651678..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateNavNodeResult.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_UPDATENAVNODERESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATENAVNODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateNavNodeResult : public ServiceResult - { - public: - - - UpdateNavNodeResult(); - explicit UpdateNavNodeResult(const std::string &payload); - ~UpdateNavNodeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATENAVNODERESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateProjectSettingRequest.h b/emr/include/alibabacloud/emr/model/UpdateProjectSettingRequest.h deleted file mode 100644 index 233639769..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateProjectSettingRequest.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_UPDATEPROJECTSETTINGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEPROJECTSETTINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateProjectSettingRequest : public RpcServiceRequest - { - - public: - UpdateProjectSettingRequest(); - ~UpdateProjectSettingRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getDefaultOssPath()const; - void setDefaultOssPath(const std::string& defaultOssPath); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - std::string getOssConfig()const; - void setOssConfig(const std::string& ossConfig); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - - private: - long resourceOwnerId_; - std::string regionId_; - std::string defaultOssPath_; - std::string projectId_; - std::string ossConfig_; - std::string accessKeyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEPROJECTSETTINGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateProjectSettingResult.h b/emr/include/alibabacloud/emr/model/UpdateProjectSettingResult.h deleted file mode 100644 index 27a2559bb..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateProjectSettingResult.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_UPDATEPROJECTSETTINGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEPROJECTSETTINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateProjectSettingResult : public ServiceResult - { - public: - - - UpdateProjectSettingResult(); - explicit UpdateProjectSettingResult(const std::string &payload); - ~UpdateProjectSettingResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEPROJECTSETTINGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateUserGroupRequest.h b/emr/include/alibabacloud/emr/model/UpdateUserGroupRequest.h deleted file mode 100644 index 7862a4e7a..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateUserGroupRequest.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_UPDATEUSERGROUPREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEUSERGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateUserGroupRequest : public RpcServiceRequest - { - - public: - UpdateUserGroupRequest(); - ~UpdateUserGroupRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::vector getRoleId()const; - void setRoleId(const std::vector& roleId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getType()const; - void setType(const std::string& type); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getName()const; - void setName(const std::string& name); - long getId()const; - void setId(long id); - - private: - long resourceOwnerId_; - std::vector roleId_; - std::string description_; - std::string type_; - std::string accessKeyId_; - std::string regionId_; - std::string name_; - long id_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEUSERGROUPREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateUserGroupResult.h b/emr/include/alibabacloud/emr/model/UpdateUserGroupResult.h deleted file mode 100644 index b57298c24..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateUserGroupResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEUSERGROUPRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEUSERGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateUserGroupResult : public ServiceResult - { - public: - - - UpdateUserGroupResult(); - explicit UpdateUserGroupResult(const std::string &payload); - ~UpdateUserGroupResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEUSERGROUPRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateUserStatusRequest.h b/emr/include/alibabacloud/emr/model/UpdateUserStatusRequest.h deleted file mode 100644 index f5eee63ac..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateUserStatusRequest.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_UPDATEUSERSTATUSREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEUSERSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateUserStatusRequest : public RpcServiceRequest - { - - public: - UpdateUserStatusRequest(); - ~UpdateUserStatusRequest(); - - 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 getAliyunUserId()const; - void setAliyunUserId(const std::string& aliyunUserId); - std::string getUpdateStatus()const; - void setUpdateStatus(const std::string& updateStatus); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string aliyunUserId_; - std::string updateStatus_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEUSERSTATUSREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateUserStatusResult.h b/emr/include/alibabacloud/emr/model/UpdateUserStatusResult.h deleted file mode 100644 index 5937cccdf..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateUserStatusResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEUSERSTATUSRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEUSERSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateUserStatusResult : public ServiceResult - { - public: - - - UpdateUserStatusResult(); - explicit UpdateUserStatusResult(const std::string &payload); - ~UpdateUserStatusResult(); - bool getPaging()const; - bool getData()const; - - protected: - void parse(const std::string &payload); - private: - bool paging_; - bool data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEUSERSTATUSRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingRequest.h b/emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingRequest.h deleted file mode 100644 index 7b32eec72..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingRequest.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACEREPOSETTINGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACEREPOSETTINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateWorkspaceRepoSettingRequest : public RpcServiceRequest - { - struct RepoMaven - { - std::string groupId; - std::string artifactId; - std::string version; - }; - struct RepoPip - { - std::string packageName; - std::string version; - }; - - public: - UpdateWorkspaceRepoSettingRequest(); - ~UpdateWorkspaceRepoSettingRequest(); - - long getResourceOwnerId()const; - void setResourceOwnerId(long resourceOwnerId); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::vector getRepoMaven()const; - void setRepoMaven(const std::vector& repoMaven); - std::vector getRepoPip()const; - void setRepoPip(const std::vector& repoPip); - std::string getWorkspaceId()const; - void setWorkspaceId(const std::string& workspaceId); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::vector repoMaven_; - std::vector repoPip_; - std::string workspaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACEREPOSETTINGREQUEST_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingResult.h b/emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingResult.h deleted file mode 100644 index eddd80fe5..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateWorkspaceRepoSettingResult.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_UPDATEWORKSPACEREPOSETTINGRESULT_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACEREPOSETTINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateWorkspaceRepoSettingResult : public ServiceResult - { - public: - - - UpdateWorkspaceRepoSettingResult(); - explicit UpdateWorkspaceRepoSettingResult(const std::string &payload); - ~UpdateWorkspaceRepoSettingResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACEREPOSETTINGRESULT_H_ \ No newline at end of file diff --git a/emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingRequest.h b/emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingRequest.h deleted file mode 100644 index 9d413f1cf..000000000 --- a/emr/include/alibabacloud/emr/model/UpdateWorkspaceResourceSettingRequest.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_UPDATEWORKSPACERESOURCESETTINGREQUEST_H_ -#define ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACERESOURCESETTINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Emr - { - namespace Model - { - class ALIBABACLOUD_EMR_EXPORT UpdateWorkspaceResourceSettingRequest : public RpcServiceRequest - { - - public: - UpdateWorkspaceResourceSettingRequest(); - ~UpdateWorkspaceResourceSettingRequest(); - - 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 getWorkspaceId()const; - void setWorkspaceId(const std::string& workspaceId); - std::string getOssSetting()const; - void setOssSetting(const std::string& ossSetting); - - private: - long resourceOwnerId_; - std::string accessKeyId_; - std::string regionId_; - std::string workspaceId_; - std::string ossSetting_; - - }; - } - } -} -#endif // !ALIBABACLOUD_EMR_MODEL_UPDATEWORKSPACERESOURCESETTINGREQUEST_H_ \ No newline at end of file diff --git a/emr/src/EmrClient.cc b/emr/src/EmrClient.cc index 2c1d3d781..2c9cc93b0 100644 --- a/emr/src/EmrClient.cc +++ b/emr/src/EmrClient.cc @@ -87,216 +87,36 @@ EmrClient::AddClusterServiceOutcomeCallable EmrClient::addClusterServiceCallable return task->get_future(); } -EmrClient::AddClusterServiceForAdminOutcome EmrClient::addClusterServiceForAdmin(const AddClusterServiceForAdminRequest &request) const +EmrClient::AddScalingConfigItemV2Outcome EmrClient::addScalingConfigItemV2(const AddScalingConfigItemV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return AddClusterServiceForAdminOutcome(endpointOutcome.error()); + return AddScalingConfigItemV2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return AddClusterServiceForAdminOutcome(AddClusterServiceForAdminResult(outcome.result())); + return AddScalingConfigItemV2Outcome(AddScalingConfigItemV2Result(outcome.result())); else - return AddClusterServiceForAdminOutcome(outcome.error()); + return AddScalingConfigItemV2Outcome(outcome.error()); } -void EmrClient::addClusterServiceForAdminAsync(const AddClusterServiceForAdminRequest& request, const AddClusterServiceForAdminAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::addScalingConfigItemV2Async(const AddScalingConfigItemV2Request& request, const AddScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, addClusterServiceForAdmin(request), context); + handler(this, request, addScalingConfigItemV2(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::AddClusterServiceForAdminOutcomeCallable EmrClient::addClusterServiceForAdminCallable(const AddClusterServiceForAdminRequest &request) const +EmrClient::AddScalingConfigItemV2OutcomeCallable EmrClient::addScalingConfigItemV2Callable(const AddScalingConfigItemV2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->addClusterServiceForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::AddHpHostOutcome EmrClient::addHpHost(const AddHpHostRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddHpHostOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddHpHostOutcome(AddHpHostResult(outcome.result())); - else - return AddHpHostOutcome(outcome.error()); -} - -void EmrClient::addHpHostAsync(const AddHpHostRequest& request, const AddHpHostAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addHpHost(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::AddHpHostOutcomeCallable EmrClient::addHpHostCallable(const AddHpHostRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addHpHost(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::AddResourceToUsersOutcome EmrClient::addResourceToUsers(const AddResourceToUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddResourceToUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddResourceToUsersOutcome(AddResourceToUsersResult(outcome.result())); - else - return AddResourceToUsersOutcome(outcome.error()); -} - -void EmrClient::addResourceToUsersAsync(const AddResourceToUsersRequest& request, const AddResourceToUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addResourceToUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::AddResourceToUsersOutcomeCallable EmrClient::addResourceToUsersCallable(const AddResourceToUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addResourceToUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::AddUserResourceRoleOutcome EmrClient::addUserResourceRole(const AddUserResourceRoleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddUserResourceRoleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddUserResourceRoleOutcome(AddUserResourceRoleResult(outcome.result())); - else - return AddUserResourceRoleOutcome(outcome.error()); -} - -void EmrClient::addUserResourceRoleAsync(const AddUserResourceRoleRequest& request, const AddUserResourceRoleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addUserResourceRole(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::AddUserResourceRoleOutcomeCallable EmrClient::addUserResourceRoleCallable(const AddUserResourceRoleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addUserResourceRole(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::AttachClusterForNoteOutcome EmrClient::attachClusterForNote(const AttachClusterForNoteRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AttachClusterForNoteOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AttachClusterForNoteOutcome(AttachClusterForNoteResult(outcome.result())); - else - return AttachClusterForNoteOutcome(outcome.error()); -} - -void EmrClient::attachClusterForNoteAsync(const AttachClusterForNoteRequest& request, const AttachClusterForNoteAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, attachClusterForNote(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::AttachClusterForNoteOutcomeCallable EmrClient::attachClusterForNoteCallable(const AttachClusterForNoteRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->attachClusterForNote(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::AttachPubIpOutcome EmrClient::attachPubIp(const AttachPubIpRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AttachPubIpOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AttachPubIpOutcome(AttachPubIpResult(outcome.result())); - else - return AttachPubIpOutcome(outcome.error()); -} - -void EmrClient::attachPubIpAsync(const AttachPubIpRequest& request, const AttachPubIpAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, attachPubIp(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::AttachPubIpOutcomeCallable EmrClient::attachPubIpCallable(const AttachPubIpRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->attachPubIp(request); + return this->addScalingConfigItemV2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -339,42 +159,6 @@ EmrClient::AuthorizeSecurityGroupOutcomeCallable EmrClient::authorizeSecurityGro return task->get_future(); } -EmrClient::CancelETLJobReleaseOutcome EmrClient::cancelETLJobRelease(const CancelETLJobReleaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CancelETLJobReleaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CancelETLJobReleaseOutcome(CancelETLJobReleaseResult(outcome.result())); - else - return CancelETLJobReleaseOutcome(outcome.error()); -} - -void EmrClient::cancelETLJobReleaseAsync(const CancelETLJobReleaseRequest& request, const CancelETLJobReleaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cancelETLJobRelease(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CancelETLJobReleaseOutcomeCallable EmrClient::cancelETLJobReleaseCallable(const CancelETLJobReleaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cancelETLJobRelease(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CancelOrderOutcome EmrClient::cancelOrder(const CancelOrderRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,42 +195,6 @@ EmrClient::CancelOrderOutcomeCallable EmrClient::cancelOrderCallable(const Cance return task->get_future(); } -EmrClient::CheckDataSourceOutcome EmrClient::checkDataSource(const CheckDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckDataSourceOutcome(CheckDataSourceResult(outcome.result())); - else - return CheckDataSourceOutcome(outcome.error()); -} - -void EmrClient::checkDataSourceAsync(const CheckDataSourceRequest& request, const CheckDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CheckDataSourceOutcomeCallable EmrClient::checkDataSourceCallable(const CheckDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CleanupFlowEntitySnapshotOutcome EmrClient::cleanupFlowEntitySnapshot(const CleanupFlowEntitySnapshotRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -483,78 +231,6 @@ EmrClient::CleanupFlowEntitySnapshotOutcomeCallable EmrClient::cleanupFlowEntity return task->get_future(); } -EmrClient::CloneDataSourceOutcome EmrClient::cloneDataSource(const CloneDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CloneDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CloneDataSourceOutcome(CloneDataSourceResult(outcome.result())); - else - return CloneDataSourceOutcome(outcome.error()); -} - -void EmrClient::cloneDataSourceAsync(const CloneDataSourceRequest& request, const CloneDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cloneDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CloneDataSourceOutcomeCallable EmrClient::cloneDataSourceCallable(const CloneDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cloneDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CloneETLJobOutcome EmrClient::cloneETLJob(const CloneETLJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CloneETLJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CloneETLJobOutcome(CloneETLJobResult(outcome.result())); - else - return CloneETLJobOutcome(outcome.error()); -} - -void EmrClient::cloneETLJobAsync(const CloneETLJobRequest& request, const CloneETLJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cloneETLJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CloneETLJobOutcomeCallable EmrClient::cloneETLJobCallable(const CloneETLJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cloneETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CloneFlowOutcome EmrClient::cloneFlow(const CloneFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,186 +339,6 @@ EmrClient::CommitFlowEntitySnapshotOutcomeCallable EmrClient::commitFlowEntitySn return task->get_future(); } -EmrClient::CommonApiWhiteListOutcome EmrClient::commonApiWhiteList(const CommonApiWhiteListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CommonApiWhiteListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CommonApiWhiteListOutcome(CommonApiWhiteListResult(outcome.result())); - else - return CommonApiWhiteListOutcome(outcome.error()); -} - -void EmrClient::commonApiWhiteListAsync(const CommonApiWhiteListRequest& request, const CommonApiWhiteListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, commonApiWhiteList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CommonApiWhiteListOutcomeCallable EmrClient::commonApiWhiteListCallable(const CommonApiWhiteListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->commonApiWhiteList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ContextQueryLogOutcome EmrClient::contextQueryLog(const ContextQueryLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ContextQueryLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ContextQueryLogOutcome(ContextQueryLogResult(outcome.result())); - else - return ContextQueryLogOutcome(outcome.error()); -} - -void EmrClient::contextQueryLogAsync(const ContextQueryLogRequest& request, const ContextQueryLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, contextQueryLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ContextQueryLogOutcomeCallable EmrClient::contextQueryLogCallable(const ContextQueryLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->contextQueryLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateAlertContactOutcome EmrClient::createAlertContact(const CreateAlertContactRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateAlertContactOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateAlertContactOutcome(CreateAlertContactResult(outcome.result())); - else - return CreateAlertContactOutcome(outcome.error()); -} - -void EmrClient::createAlertContactAsync(const CreateAlertContactRequest& request, const CreateAlertContactAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createAlertContact(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateAlertContactOutcomeCallable EmrClient::createAlertContactCallable(const CreateAlertContactRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createAlertContact(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateAlertDingDingGroupOutcome EmrClient::createAlertDingDingGroup(const CreateAlertDingDingGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateAlertDingDingGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateAlertDingDingGroupOutcome(CreateAlertDingDingGroupResult(outcome.result())); - else - return CreateAlertDingDingGroupOutcome(outcome.error()); -} - -void EmrClient::createAlertDingDingGroupAsync(const CreateAlertDingDingGroupRequest& request, const CreateAlertDingDingGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createAlertDingDingGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateAlertDingDingGroupOutcomeCallable EmrClient::createAlertDingDingGroupCallable(const CreateAlertDingDingGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createAlertDingDingGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateAlertUserGroupOutcome EmrClient::createAlertUserGroup(const CreateAlertUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateAlertUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateAlertUserGroupOutcome(CreateAlertUserGroupResult(outcome.result())); - else - return CreateAlertUserGroupOutcome(outcome.error()); -} - -void EmrClient::createAlertUserGroupAsync(const CreateAlertUserGroupRequest& request, const CreateAlertUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createAlertUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateAlertUserGroupOutcomeCallable EmrClient::createAlertUserGroupCallable(const CreateAlertUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createAlertUserGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateBackupOutcome EmrClient::createBackup(const CreateBackupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -915,144 +411,36 @@ EmrClient::CreateBackupPlanOutcomeCallable EmrClient::createBackupPlanCallable(c return task->get_future(); } -EmrClient::CreateBackupRuleOutcome EmrClient::createBackupRule(const CreateBackupRuleRequest &request) const +EmrClient::CreateClusterBootstrapActionOutcome EmrClient::createClusterBootstrapAction(const CreateClusterBootstrapActionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateBackupRuleOutcome(endpointOutcome.error()); + return CreateClusterBootstrapActionOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateBackupRuleOutcome(CreateBackupRuleResult(outcome.result())); + return CreateClusterBootstrapActionOutcome(CreateClusterBootstrapActionResult(outcome.result())); else - return CreateBackupRuleOutcome(outcome.error()); + return CreateClusterBootstrapActionOutcome(outcome.error()); } -void EmrClient::createBackupRuleAsync(const CreateBackupRuleRequest& request, const CreateBackupRuleAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::createClusterBootstrapActionAsync(const CreateClusterBootstrapActionRequest& request, const CreateClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createBackupRule(request), context); + handler(this, request, createClusterBootstrapAction(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::CreateBackupRuleOutcomeCallable EmrClient::createBackupRuleCallable(const CreateBackupRuleRequest &request) const +EmrClient::CreateClusterBootstrapActionOutcomeCallable EmrClient::createClusterBootstrapActionCallable(const CreateClusterBootstrapActionRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createBackupRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateBatchUsersOutcome EmrClient::createBatchUsers(const CreateBatchUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateBatchUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateBatchUsersOutcome(CreateBatchUsersResult(outcome.result())); - else - return CreateBatchUsersOutcome(outcome.error()); -} - -void EmrClient::createBatchUsersAsync(const CreateBatchUsersRequest& request, const CreateBatchUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createBatchUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateBatchUsersOutcomeCallable EmrClient::createBatchUsersCallable(const CreateBatchUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createBatchUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateClusterHostGroupOutcome EmrClient::createClusterHostGroup(const CreateClusterHostGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateClusterHostGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateClusterHostGroupOutcome(CreateClusterHostGroupResult(outcome.result())); - else - return CreateClusterHostGroupOutcome(outcome.error()); -} - -void EmrClient::createClusterHostGroupAsync(const CreateClusterHostGroupRequest& request, const CreateClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createClusterHostGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateClusterHostGroupOutcomeCallable EmrClient::createClusterHostGroupCallable(const CreateClusterHostGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createClusterHostGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateClusterScriptOutcome EmrClient::createClusterScript(const CreateClusterScriptRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateClusterScriptOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateClusterScriptOutcome(CreateClusterScriptResult(outcome.result())); - else - return CreateClusterScriptOutcome(outcome.error()); -} - -void EmrClient::createClusterScriptAsync(const CreateClusterScriptRequest& request, const CreateClusterScriptAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createClusterScript(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateClusterScriptOutcomeCallable EmrClient::createClusterScriptCallable(const CreateClusterScriptRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createClusterScript(request); + return this->createClusterBootstrapAction(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -1131,42 +519,6 @@ EmrClient::CreateClusterV2OutcomeCallable EmrClient::createClusterV2Callable(con return task->get_future(); } -EmrClient::CreateClusterWithHostPoolOutcome EmrClient::createClusterWithHostPool(const CreateClusterWithHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateClusterWithHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateClusterWithHostPoolOutcome(CreateClusterWithHostPoolResult(outcome.result())); - else - return CreateClusterWithHostPoolOutcome(outcome.error()); -} - -void EmrClient::createClusterWithHostPoolAsync(const CreateClusterWithHostPoolRequest& request, const CreateClusterWithHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createClusterWithHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateClusterWithHostPoolOutcomeCallable EmrClient::createClusterWithHostPoolCallable(const CreateClusterWithHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createClusterWithHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateClusterWithTemplateOutcome EmrClient::createClusterWithTemplate(const CreateClusterWithTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1239,42 +591,6 @@ EmrClient::CreateDataSourceOutcomeCallable EmrClient::createDataSourceCallable(c return task->get_future(); } -EmrClient::CreateETLJobOutcome EmrClient::createETLJob(const CreateETLJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateETLJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateETLJobOutcome(CreateETLJobResult(outcome.result())); - else - return CreateETLJobOutcome(outcome.error()); -} - -void EmrClient::createETLJobAsync(const CreateETLJobRequest& request, const CreateETLJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createETLJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateETLJobOutcomeCallable EmrClient::createETLJobCallable(const CreateETLJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateExecutionPlanOutcome EmrClient::createExecutionPlan(const CreateExecutionPlanRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1599,42 +915,6 @@ EmrClient::CreateFlowProjectUserOutcomeCallable EmrClient::createFlowProjectUser return task->get_future(); } -EmrClient::CreateHostPoolOutcome EmrClient::createHostPool(const CreateHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateHostPoolOutcome(CreateHostPoolResult(outcome.result())); - else - return CreateHostPoolOutcome(outcome.error()); -} - -void EmrClient::createHostPoolAsync(const CreateHostPoolRequest& request, const CreateHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateHostPoolOutcomeCallable EmrClient::createHostPoolCallable(const CreateHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateJobOutcome EmrClient::createJob(const CreateJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +951,42 @@ EmrClient::CreateJobOutcomeCallable EmrClient::createJobCallable(const CreateJob return task->get_future(); } +EmrClient::CreateLibraryOutcome EmrClient::createLibrary(const CreateLibraryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLibraryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLibraryOutcome(CreateLibraryResult(outcome.result())); + else + return CreateLibraryOutcome(outcome.error()); +} + +void EmrClient::createLibraryAsync(const CreateLibraryRequest& request, const CreateLibraryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLibrary(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::CreateLibraryOutcomeCallable EmrClient::createLibraryCallable(const CreateLibraryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLibrary(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EmrClient::CreateMetaTablePreviewTaskOutcome EmrClient::createMetaTablePreviewTask(const CreateMetaTablePreviewTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1707,42 +1023,6 @@ EmrClient::CreateMetaTablePreviewTaskOutcomeCallable EmrClient::createMetaTableP return task->get_future(); } -EmrClient::CreateNavNodeOutcome EmrClient::createNavNode(const CreateNavNodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateNavNodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateNavNodeOutcome(CreateNavNodeResult(outcome.result())); - else - return CreateNavNodeOutcome(outcome.error()); -} - -void EmrClient::createNavNodeAsync(const CreateNavNodeRequest& request, const CreateNavNodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createNavNode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateNavNodeOutcomeCallable EmrClient::createNavNodeCallable(const CreateNavNodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createNavNode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateNoteOutcome EmrClient::createNote(const CreateNoteRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1887,6 +1167,42 @@ EmrClient::CreateResourceQueueOutcomeCallable EmrClient::createResourceQueueCall return task->get_future(); } +EmrClient::CreateScalingGroupV2Outcome EmrClient::createScalingGroupV2(const CreateScalingGroupV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateScalingGroupV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateScalingGroupV2Outcome(CreateScalingGroupV2Result(outcome.result())); + else + return CreateScalingGroupV2Outcome(outcome.error()); +} + +void EmrClient::createScalingGroupV2Async(const CreateScalingGroupV2Request& request, const CreateScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createScalingGroupV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::CreateScalingGroupV2OutcomeCallable EmrClient::createScalingGroupV2Callable(const CreateScalingGroupV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createScalingGroupV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EmrClient::CreateScalingRuleOutcome EmrClient::createScalingRule(const CreateScalingRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1923,42 +1239,6 @@ EmrClient::CreateScalingRuleOutcomeCallable EmrClient::createScalingRuleCallable return task->get_future(); } -EmrClient::CreateScalingTaskGroupOutcome EmrClient::createScalingTaskGroup(const CreateScalingTaskGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateScalingTaskGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateScalingTaskGroupOutcome(CreateScalingTaskGroupResult(outcome.result())); - else - return CreateScalingTaskGroupOutcome(outcome.error()); -} - -void EmrClient::createScalingTaskGroupAsync(const CreateScalingTaskGroupRequest& request, const CreateScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createScalingTaskGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateScalingTaskGroupOutcomeCallable EmrClient::createScalingTaskGroupCallable(const CreateScalingTaskGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createScalingTaskGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateTagOutcome EmrClient::createTag(const CreateTagRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2031,114 +1311,6 @@ EmrClient::CreateUserOutcomeCallable EmrClient::createUserCallable(const CreateU return task->get_future(); } -EmrClient::CreateUserGroupOutcome EmrClient::createUserGroup(const CreateUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUserGroupOutcome(CreateUserGroupResult(outcome.result())); - else - return CreateUserGroupOutcome(outcome.error()); -} - -void EmrClient::createUserGroupAsync(const CreateUserGroupRequest& request, const CreateUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateUserGroupOutcomeCallable EmrClient::createUserGroupCallable(const CreateUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUserGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateUserPasswordOutcome EmrClient::createUserPassword(const CreateUserPasswordRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUserPasswordOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUserPasswordOutcome(CreateUserPasswordResult(outcome.result())); - else - return CreateUserPasswordOutcome(outcome.error()); -} - -void EmrClient::createUserPasswordAsync(const CreateUserPasswordRequest& request, const CreateUserPasswordAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUserPassword(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateUserPasswordOutcomeCallable EmrClient::createUserPasswordCallable(const CreateUserPasswordRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUserPassword(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::CreateUserStatisticsOutcome EmrClient::createUserStatistics(const CreateUserStatisticsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUserStatisticsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUserStatisticsOutcome(CreateUserStatisticsResult(outcome.result())); - else - return CreateUserStatisticsOutcome(outcome.error()); -} - -void EmrClient::createUserStatisticsAsync(const CreateUserStatisticsRequest& request, const CreateUserStatisticsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUserStatistics(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::CreateUserStatisticsOutcomeCallable EmrClient::createUserStatisticsCallable(const CreateUserStatisticsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUserStatistics(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::CreateUsersOutcome EmrClient::createUsers(const CreateUsersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2175,252 +1347,36 @@ EmrClient::CreateUsersOutcomeCallable EmrClient::createUsersCallable(const Creat return task->get_future(); } -EmrClient::CreateVerificationCodeOutcome EmrClient::createVerificationCode(const CreateVerificationCodeRequest &request) const +EmrClient::DecommissionHostComponentOutcome EmrClient::decommissionHostComponent(const DecommissionHostComponentRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return CreateVerificationCodeOutcome(endpointOutcome.error()); + return DecommissionHostComponentOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return CreateVerificationCodeOutcome(CreateVerificationCodeResult(outcome.result())); + return DecommissionHostComponentOutcome(DecommissionHostComponentResult(outcome.result())); else - return CreateVerificationCodeOutcome(outcome.error()); + return DecommissionHostComponentOutcome(outcome.error()); } -void EmrClient::createVerificationCodeAsync(const CreateVerificationCodeRequest& request, const CreateVerificationCodeAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::decommissionHostComponentAsync(const DecommissionHostComponentRequest& request, const DecommissionHostComponentAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, createVerificationCode(request), context); + handler(this, request, decommissionHostComponent(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::CreateVerificationCodeOutcomeCallable EmrClient::createVerificationCodeCallable(const CreateVerificationCodeRequest &request) const +EmrClient::DecommissionHostComponentOutcomeCallable EmrClient::decommissionHostComponentCallable(const DecommissionHostComponentRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->createVerificationCode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteAlertContactsOutcome EmrClient::deleteAlertContacts(const DeleteAlertContactsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteAlertContactsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteAlertContactsOutcome(DeleteAlertContactsResult(outcome.result())); - else - return DeleteAlertContactsOutcome(outcome.error()); -} - -void EmrClient::deleteAlertContactsAsync(const DeleteAlertContactsRequest& request, const DeleteAlertContactsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteAlertContacts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteAlertContactsOutcomeCallable EmrClient::deleteAlertContactsCallable(const DeleteAlertContactsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteAlertContacts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteAlertDingDingGroupsOutcome EmrClient::deleteAlertDingDingGroups(const DeleteAlertDingDingGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteAlertDingDingGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteAlertDingDingGroupsOutcome(DeleteAlertDingDingGroupsResult(outcome.result())); - else - return DeleteAlertDingDingGroupsOutcome(outcome.error()); -} - -void EmrClient::deleteAlertDingDingGroupsAsync(const DeleteAlertDingDingGroupsRequest& request, const DeleteAlertDingDingGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteAlertDingDingGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteAlertDingDingGroupsOutcomeCallable EmrClient::deleteAlertDingDingGroupsCallable(const DeleteAlertDingDingGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteAlertDingDingGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteAlertUserGroupsOutcome EmrClient::deleteAlertUserGroups(const DeleteAlertUserGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteAlertUserGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteAlertUserGroupsOutcome(DeleteAlertUserGroupsResult(outcome.result())); - else - return DeleteAlertUserGroupsOutcome(outcome.error()); -} - -void EmrClient::deleteAlertUserGroupsAsync(const DeleteAlertUserGroupsRequest& request, const DeleteAlertUserGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteAlertUserGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteAlertUserGroupsOutcomeCallable EmrClient::deleteAlertUserGroupsCallable(const DeleteAlertUserGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteAlertUserGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteBatchResourceUsersOutcome EmrClient::deleteBatchResourceUsers(const DeleteBatchResourceUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteBatchResourceUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteBatchResourceUsersOutcome(DeleteBatchResourceUsersResult(outcome.result())); - else - return DeleteBatchResourceUsersOutcome(outcome.error()); -} - -void EmrClient::deleteBatchResourceUsersAsync(const DeleteBatchResourceUsersRequest& request, const DeleteBatchResourceUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteBatchResourceUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteBatchResourceUsersOutcomeCallable EmrClient::deleteBatchResourceUsersCallable(const DeleteBatchResourceUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteBatchResourceUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteClusterHostGroupOutcome EmrClient::deleteClusterHostGroup(const DeleteClusterHostGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteClusterHostGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteClusterHostGroupOutcome(DeleteClusterHostGroupResult(outcome.result())); - else - return DeleteClusterHostGroupOutcome(outcome.error()); -} - -void EmrClient::deleteClusterHostGroupAsync(const DeleteClusterHostGroupRequest& request, const DeleteClusterHostGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteClusterHostGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteClusterHostGroupOutcomeCallable EmrClient::deleteClusterHostGroupCallable(const DeleteClusterHostGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteClusterHostGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteClusterScriptOutcome EmrClient::deleteClusterScript(const DeleteClusterScriptRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteClusterScriptOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteClusterScriptOutcome(DeleteClusterScriptResult(outcome.result())); - else - return DeleteClusterScriptOutcome(outcome.error()); -} - -void EmrClient::deleteClusterScriptAsync(const DeleteClusterScriptRequest& request, const DeleteClusterScriptAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteClusterScript(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteClusterScriptOutcomeCallable EmrClient::deleteClusterScriptCallable(const DeleteClusterScriptRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteClusterScript(request); + return this->decommissionHostComponent(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -2463,78 +1419,6 @@ EmrClient::DeleteClusterTemplateOutcomeCallable EmrClient::deleteClusterTemplate return task->get_future(); } -EmrClient::DeleteDataSourceOutcome EmrClient::deleteDataSource(const DeleteDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDataSourceOutcome(DeleteDataSourceResult(outcome.result())); - else - return DeleteDataSourceOutcome(outcome.error()); -} - -void EmrClient::deleteDataSourceAsync(const DeleteDataSourceRequest& request, const DeleteDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteDataSourceOutcomeCallable EmrClient::deleteDataSourceCallable(const DeleteDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteETLJobOutcome EmrClient::deleteETLJob(const DeleteETLJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteETLJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteETLJobOutcome(DeleteETLJobResult(outcome.result())); - else - return DeleteETLJobOutcome(outcome.error()); -} - -void EmrClient::deleteETLJobAsync(const DeleteETLJobRequest& request, const DeleteETLJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteETLJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteETLJobOutcomeCallable EmrClient::deleteETLJobCallable(const DeleteETLJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteExecutionPlanOutcome EmrClient::deleteExecutionPlan(const DeleteExecutionPlanRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2751,42 +1635,6 @@ EmrClient::DeleteFlowProjectOutcomeCallable EmrClient::deleteFlowProjectCallable return task->get_future(); } -EmrClient::DeleteFlowProjectByIdOutcome EmrClient::deleteFlowProjectById(const DeleteFlowProjectByIdRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteFlowProjectByIdOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteFlowProjectByIdOutcome(DeleteFlowProjectByIdResult(outcome.result())); - else - return DeleteFlowProjectByIdOutcome(outcome.error()); -} - -void EmrClient::deleteFlowProjectByIdAsync(const DeleteFlowProjectByIdRequest& request, const DeleteFlowProjectByIdAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteFlowProjectById(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteFlowProjectByIdOutcomeCallable EmrClient::deleteFlowProjectByIdCallable(const DeleteFlowProjectByIdRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteFlowProjectById(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteFlowProjectClusterSettingOutcome EmrClient::deleteFlowProjectClusterSetting(const DeleteFlowProjectClusterSettingRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2859,42 +1707,6 @@ EmrClient::DeleteFlowProjectUserOutcomeCallable EmrClient::deleteFlowProjectUser return task->get_future(); } -EmrClient::DeleteHostPoolOutcome EmrClient::deleteHostPool(const DeleteHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteHostPoolOutcome(DeleteHostPoolResult(outcome.result())); - else - return DeleteHostPoolOutcome(outcome.error()); -} - -void EmrClient::deleteHostPoolAsync(const DeleteHostPoolRequest& request, const DeleteHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteHostPoolOutcomeCallable EmrClient::deleteHostPoolCallable(const DeleteHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteJobOutcome EmrClient::deleteJob(const DeleteJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2931,36 +1743,36 @@ EmrClient::DeleteJobOutcomeCallable EmrClient::deleteJobCallable(const DeleteJob return task->get_future(); } -EmrClient::DeleteNavNodeOutcome EmrClient::deleteNavNode(const DeleteNavNodeRequest &request) const +EmrClient::DeleteLibrariesOutcome EmrClient::deleteLibraries(const DeleteLibrariesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DeleteNavNodeOutcome(endpointOutcome.error()); + return DeleteLibrariesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DeleteNavNodeOutcome(DeleteNavNodeResult(outcome.result())); + return DeleteLibrariesOutcome(DeleteLibrariesResult(outcome.result())); else - return DeleteNavNodeOutcome(outcome.error()); + return DeleteLibrariesOutcome(outcome.error()); } -void EmrClient::deleteNavNodeAsync(const DeleteNavNodeRequest& request, const DeleteNavNodeAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::deleteLibrariesAsync(const DeleteLibrariesRequest& request, const DeleteLibrariesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, deleteNavNode(request), context); + handler(this, request, deleteLibraries(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::DeleteNavNodeOutcomeCallable EmrClient::deleteNavNodeCallable(const DeleteNavNodeRequest &request) const +EmrClient::DeleteLibrariesOutcomeCallable EmrClient::deleteLibrariesCallable(const DeleteLibrariesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->deleteNavNode(request); + return this->deleteLibraries(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -3003,42 +1815,6 @@ EmrClient::DeleteNoteOutcomeCallable EmrClient::deleteNoteCallable(const DeleteN return task->get_future(); } -EmrClient::DeleteParagraphOutcome EmrClient::deleteParagraph(const DeleteParagraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteParagraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteParagraphOutcome(DeleteParagraphResult(outcome.result())); - else - return DeleteParagraphOutcome(outcome.error()); -} - -void EmrClient::deleteParagraphAsync(const DeleteParagraphRequest& request, const DeleteParagraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteParagraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteParagraphOutcomeCallable EmrClient::deleteParagraphCallable(const DeleteParagraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteParagraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteResourcePoolOutcome EmrClient::deleteResourcePool(const DeleteResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3111,42 +1887,6 @@ EmrClient::DeleteResourceQueueOutcomeCallable EmrClient::deleteResourceQueueCall return task->get_future(); } -EmrClient::DeleteResourceUserOutcome EmrClient::deleteResourceUser(const DeleteResourceUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteResourceUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteResourceUserOutcome(DeleteResourceUserResult(outcome.result())); - else - return DeleteResourceUserOutcome(outcome.error()); -} - -void EmrClient::deleteResourceUserAsync(const DeleteResourceUserRequest& request, const DeleteResourceUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteResourceUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteResourceUserOutcomeCallable EmrClient::deleteResourceUserCallable(const DeleteResourceUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteResourceUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteScalingRuleOutcome EmrClient::deleteScalingRule(const DeleteScalingRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3183,42 +1923,6 @@ EmrClient::DeleteScalingRuleOutcomeCallable EmrClient::deleteScalingRuleCallable return task->get_future(); } -EmrClient::DeleteScalingTaskGroupOutcome EmrClient::deleteScalingTaskGroup(const DeleteScalingTaskGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteScalingTaskGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteScalingTaskGroupOutcome(DeleteScalingTaskGroupResult(outcome.result())); - else - return DeleteScalingTaskGroupOutcome(outcome.error()); -} - -void EmrClient::deleteScalingTaskGroupAsync(const DeleteScalingTaskGroupRequest& request, const DeleteScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteScalingTaskGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteScalingTaskGroupOutcomeCallable EmrClient::deleteScalingTaskGroupCallable(const DeleteScalingTaskGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteScalingTaskGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DeleteTagOutcome EmrClient::deleteTag(const DeleteTagRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3291,114 +1995,6 @@ EmrClient::DeleteUserOutcomeCallable EmrClient::deleteUserCallable(const DeleteU return task->get_future(); } -EmrClient::DeleteUserGroupOutcome EmrClient::deleteUserGroup(const DeleteUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteUserGroupOutcome(DeleteUserGroupResult(outcome.result())); - else - return DeleteUserGroupOutcome(outcome.error()); -} - -void EmrClient::deleteUserGroupAsync(const DeleteUserGroupRequest& request, const DeleteUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteUserGroupOutcomeCallable EmrClient::deleteUserGroupCallable(const DeleteUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteUserGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DeleteUserResourceRoleOutcome EmrClient::deleteUserResourceRole(const DeleteUserResourceRoleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteUserResourceRoleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteUserResourceRoleOutcome(DeleteUserResourceRoleResult(outcome.result())); - else - return DeleteUserResourceRoleOutcome(outcome.error()); -} - -void EmrClient::deleteUserResourceRoleAsync(const DeleteUserResourceRoleRequest& request, const DeleteUserResourceRoleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteUserResourceRole(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DeleteUserResourceRoleOutcomeCallable EmrClient::deleteUserResourceRoleCallable(const DeleteUserResourceRoleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteUserResourceRole(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeAvailableInstanceTypeOutcome EmrClient::describeAvailableInstanceType(const DescribeAvailableInstanceTypeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeAvailableInstanceTypeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeAvailableInstanceTypeOutcome(DescribeAvailableInstanceTypeResult(outcome.result())); - else - return DescribeAvailableInstanceTypeOutcome(outcome.error()); -} - -void EmrClient::describeAvailableInstanceTypeAsync(const DescribeAvailableInstanceTypeRequest& request, const DescribeAvailableInstanceTypeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeAvailableInstanceType(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeAvailableInstanceTypeOutcomeCallable EmrClient::describeAvailableInstanceTypeCallable(const DescribeAvailableInstanceTypeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeAvailableInstanceType(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterBasicInfoOutcome EmrClient::describeClusterBasicInfo(const DescribeClusterBasicInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3471,42 +2067,6 @@ EmrClient::DescribeClusterMetaCollectOutcomeCallable EmrClient::describeClusterM return task->get_future(); } -EmrClient::DescribeClusterOpLogOutcome EmrClient::describeClusterOpLog(const DescribeClusterOpLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterOpLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterOpLogOutcome(DescribeClusterOpLogResult(outcome.result())); - else - return DescribeClusterOpLogOutcome(outcome.error()); -} - -void EmrClient::describeClusterOpLogAsync(const DescribeClusterOpLogRequest& request, const DescribeClusterOpLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterOpLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterOpLogOutcomeCallable EmrClient::describeClusterOpLogCallable(const DescribeClusterOpLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterOpLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterOperationHostTaskLogOutcome EmrClient::describeClusterOperationHostTaskLog(const DescribeClusterOperationHostTaskLogRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3579,78 +2139,6 @@ EmrClient::DescribeClusterResourcePoolSchedulerTypeOutcomeCallable EmrClient::de return task->get_future(); } -EmrClient::DescribeClusterResourcePoolSchedulerTypeForAdminOutcome EmrClient::describeClusterResourcePoolSchedulerTypeForAdmin(const DescribeClusterResourcePoolSchedulerTypeForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterResourcePoolSchedulerTypeForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterResourcePoolSchedulerTypeForAdminOutcome(DescribeClusterResourcePoolSchedulerTypeForAdminResult(outcome.result())); - else - return DescribeClusterResourcePoolSchedulerTypeForAdminOutcome(outcome.error()); -} - -void EmrClient::describeClusterResourcePoolSchedulerTypeForAdminAsync(const DescribeClusterResourcePoolSchedulerTypeForAdminRequest& request, const DescribeClusterResourcePoolSchedulerTypeForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterResourcePoolSchedulerTypeForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterResourcePoolSchedulerTypeForAdminOutcomeCallable EmrClient::describeClusterResourcePoolSchedulerTypeForAdminCallable(const DescribeClusterResourcePoolSchedulerTypeForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterResourcePoolSchedulerTypeForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeClusterScriptOutcome EmrClient::describeClusterScript(const DescribeClusterScriptRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterScriptOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterScriptOutcome(DescribeClusterScriptResult(outcome.result())); - else - return DescribeClusterScriptOutcome(outcome.error()); -} - -void EmrClient::describeClusterScriptAsync(const DescribeClusterScriptRequest& request, const DescribeClusterScriptAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterScript(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterScriptOutcomeCallable EmrClient::describeClusterScriptCallable(const DescribeClusterScriptRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterScript(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterServiceOutcome EmrClient::describeClusterService(const DescribeClusterServiceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3723,42 +2211,6 @@ EmrClient::DescribeClusterServiceConfigOutcomeCallable EmrClient::describeCluste return task->get_future(); } -EmrClient::DescribeClusterServiceConfigForAdminOutcome EmrClient::describeClusterServiceConfigForAdmin(const DescribeClusterServiceConfigForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterServiceConfigForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterServiceConfigForAdminOutcome(DescribeClusterServiceConfigForAdminResult(outcome.result())); - else - return DescribeClusterServiceConfigForAdminOutcome(outcome.error()); -} - -void EmrClient::describeClusterServiceConfigForAdminAsync(const DescribeClusterServiceConfigForAdminRequest& request, const DescribeClusterServiceConfigForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterServiceConfigForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterServiceConfigForAdminOutcomeCallable EmrClient::describeClusterServiceConfigForAdminCallable(const DescribeClusterServiceConfigForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterServiceConfigForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterServiceConfigHistoryOutcome EmrClient::describeClusterServiceConfigHistory(const DescribeClusterServiceConfigHistoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3831,78 +2283,6 @@ EmrClient::DescribeClusterServiceConfigTagOutcomeCallable EmrClient::describeClu return task->get_future(); } -EmrClient::DescribeClusterServiceConfigTagForAdminOutcome EmrClient::describeClusterServiceConfigTagForAdmin(const DescribeClusterServiceConfigTagForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterServiceConfigTagForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterServiceConfigTagForAdminOutcome(DescribeClusterServiceConfigTagForAdminResult(outcome.result())); - else - return DescribeClusterServiceConfigTagForAdminOutcome(outcome.error()); -} - -void EmrClient::describeClusterServiceConfigTagForAdminAsync(const DescribeClusterServiceConfigTagForAdminRequest& request, const DescribeClusterServiceConfigTagForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterServiceConfigTagForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterServiceConfigTagForAdminOutcomeCallable EmrClient::describeClusterServiceConfigTagForAdminCallable(const DescribeClusterServiceConfigTagForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterServiceConfigTagForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeClusterStatisticsOutcome EmrClient::describeClusterStatistics(const DescribeClusterStatisticsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeClusterStatisticsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeClusterStatisticsOutcome(DescribeClusterStatisticsResult(outcome.result())); - else - return DescribeClusterStatisticsOutcome(outcome.error()); -} - -void EmrClient::describeClusterStatisticsAsync(const DescribeClusterStatisticsRequest& request, const DescribeClusterStatisticsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeClusterStatistics(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeClusterStatisticsOutcomeCallable EmrClient::describeClusterStatisticsCallable(const DescribeClusterStatisticsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeClusterStatistics(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeClusterTemplateOutcome EmrClient::describeClusterTemplate(const DescribeClusterTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4011,294 +2391,6 @@ EmrClient::DescribeDataSourceOutcomeCallable EmrClient::describeDataSourceCallab return task->get_future(); } -EmrClient::DescribeDataSourceCommandOutcome EmrClient::describeDataSourceCommand(const DescribeDataSourceCommandRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDataSourceCommandOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDataSourceCommandOutcome(DescribeDataSourceCommandResult(outcome.result())); - else - return DescribeDataSourceCommandOutcome(outcome.error()); -} - -void EmrClient::describeDataSourceCommandAsync(const DescribeDataSourceCommandRequest& request, const DescribeDataSourceCommandAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDataSourceCommand(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeDataSourceCommandOutcomeCallable EmrClient::describeDataSourceCommandCallable(const DescribeDataSourceCommandRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDataSourceCommand(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeDataSourceSchemaDatabaseOutcome EmrClient::describeDataSourceSchemaDatabase(const DescribeDataSourceSchemaDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDataSourceSchemaDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDataSourceSchemaDatabaseOutcome(DescribeDataSourceSchemaDatabaseResult(outcome.result())); - else - return DescribeDataSourceSchemaDatabaseOutcome(outcome.error()); -} - -void EmrClient::describeDataSourceSchemaDatabaseAsync(const DescribeDataSourceSchemaDatabaseRequest& request, const DescribeDataSourceSchemaDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDataSourceSchemaDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeDataSourceSchemaDatabaseOutcomeCallable EmrClient::describeDataSourceSchemaDatabaseCallable(const DescribeDataSourceSchemaDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDataSourceSchemaDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeDataSourceSchemaTableOutcome EmrClient::describeDataSourceSchemaTable(const DescribeDataSourceSchemaTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDataSourceSchemaTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDataSourceSchemaTableOutcome(DescribeDataSourceSchemaTableResult(outcome.result())); - else - return DescribeDataSourceSchemaTableOutcome(outcome.error()); -} - -void EmrClient::describeDataSourceSchemaTableAsync(const DescribeDataSourceSchemaTableRequest& request, const DescribeDataSourceSchemaTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDataSourceSchemaTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeDataSourceSchemaTableOutcomeCallable EmrClient::describeDataSourceSchemaTableCallable(const DescribeDataSourceSchemaTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDataSourceSchemaTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeETLJobOutcome EmrClient::describeETLJob(const DescribeETLJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeETLJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeETLJobOutcome(DescribeETLJobResult(outcome.result())); - else - return DescribeETLJobOutcome(outcome.error()); -} - -void EmrClient::describeETLJobAsync(const DescribeETLJobRequest& request, const DescribeETLJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeETLJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeETLJobOutcomeCallable EmrClient::describeETLJobCallable(const DescribeETLJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeETLJobInstanceOutcome EmrClient::describeETLJobInstance(const DescribeETLJobInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeETLJobInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeETLJobInstanceOutcome(DescribeETLJobInstanceResult(outcome.result())); - else - return DescribeETLJobInstanceOutcome(outcome.error()); -} - -void EmrClient::describeETLJobInstanceAsync(const DescribeETLJobInstanceRequest& request, const DescribeETLJobInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeETLJobInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeETLJobInstanceOutcomeCallable EmrClient::describeETLJobInstanceCallable(const DescribeETLJobInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeETLJobInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeETLJobSqlSchemaOutcome EmrClient::describeETLJobSqlSchema(const DescribeETLJobSqlSchemaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeETLJobSqlSchemaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeETLJobSqlSchemaOutcome(DescribeETLJobSqlSchemaResult(outcome.result())); - else - return DescribeETLJobSqlSchemaOutcome(outcome.error()); -} - -void EmrClient::describeETLJobSqlSchemaAsync(const DescribeETLJobSqlSchemaRequest& request, const DescribeETLJobSqlSchemaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeETLJobSqlSchema(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeETLJobSqlSchemaOutcomeCallable EmrClient::describeETLJobSqlSchemaCallable(const DescribeETLJobSqlSchemaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeETLJobSqlSchema(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeETLJobStageOutputSchemaOutcome EmrClient::describeETLJobStageOutputSchema(const DescribeETLJobStageOutputSchemaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeETLJobStageOutputSchemaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeETLJobStageOutputSchemaOutcome(DescribeETLJobStageOutputSchemaResult(outcome.result())); - else - return DescribeETLJobStageOutputSchemaOutcome(outcome.error()); -} - -void EmrClient::describeETLJobStageOutputSchemaAsync(const DescribeETLJobStageOutputSchemaRequest& request, const DescribeETLJobStageOutputSchemaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeETLJobStageOutputSchema(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeETLJobStageOutputSchemaOutcomeCallable EmrClient::describeETLJobStageOutputSchemaCallable(const DescribeETLJobStageOutputSchemaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeETLJobStageOutputSchema(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(); @@ -4371,6 +2463,78 @@ 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(); @@ -4551,42 +2715,6 @@ EmrClient::DescribeFlowJobOutcomeCallable EmrClient::describeFlowJobCallable(con return task->get_future(); } -EmrClient::DescribeFlowJobStatisticOutcome EmrClient::describeFlowJobStatistic(const DescribeFlowJobStatisticRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeFlowJobStatisticOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeFlowJobStatisticOutcome(DescribeFlowJobStatisticResult(outcome.result())); - else - return DescribeFlowJobStatisticOutcome(outcome.error()); -} - -void EmrClient::describeFlowJobStatisticAsync(const DescribeFlowJobStatisticRequest& request, const DescribeFlowJobStatisticAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeFlowJobStatistic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeFlowJobStatisticOutcomeCallable EmrClient::describeFlowJobStatisticCallable(const DescribeFlowJobStatisticRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeFlowJobStatistic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeFlowNodeInstanceOutcome EmrClient::describeFlowNodeInstance(const DescribeFlowNodeInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4767,114 +2895,6 @@ EmrClient::DescribeFlowProjectClusterSettingOutcomeCallable EmrClient::describeF return task->get_future(); } -EmrClient::DescribeFlowVariableCollectionOutcome EmrClient::describeFlowVariableCollection(const DescribeFlowVariableCollectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeFlowVariableCollectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeFlowVariableCollectionOutcome(DescribeFlowVariableCollectionResult(outcome.result())); - else - return DescribeFlowVariableCollectionOutcome(outcome.error()); -} - -void EmrClient::describeFlowVariableCollectionAsync(const DescribeFlowVariableCollectionRequest& request, const DescribeFlowVariableCollectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeFlowVariableCollection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeFlowVariableCollectionOutcomeCallable EmrClient::describeFlowVariableCollectionCallable(const DescribeFlowVariableCollectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeFlowVariableCollection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeHostPoolOutcome EmrClient::describeHostPool(const DescribeHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeHostPoolOutcome(DescribeHostPoolResult(outcome.result())); - else - return DescribeHostPoolOutcome(outcome.error()); -} - -void EmrClient::describeHostPoolAsync(const DescribeHostPoolRequest& request, const DescribeHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeHostPoolOutcomeCallable EmrClient::describeHostPoolCallable(const DescribeHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeHpHostOutcome EmrClient::describeHpHost(const DescribeHpHostRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeHpHostOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeHpHostOutcome(DescribeHpHostResult(outcome.result())); - else - return DescribeHpHostOutcome(outcome.error()); -} - -void EmrClient::describeHpHostAsync(const DescribeHpHostRequest& request, const DescribeHpHostAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeHpHost(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeHpHostOutcomeCallable EmrClient::describeHpHostCallable(const DescribeHpHostRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeHpHost(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeJobOutcome EmrClient::describeJob(const DescribeJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4911,72 +2931,72 @@ EmrClient::DescribeJobOutcomeCallable EmrClient::describeJobCallable(const Descr return task->get_future(); } -EmrClient::DescribeKafkaBrokerOutcome EmrClient::describeKafkaBroker(const DescribeKafkaBrokerRequest &request) const +EmrClient::DescribeLibraryDetailOutcome EmrClient::describeLibraryDetail(const DescribeLibraryDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeKafkaBrokerOutcome(endpointOutcome.error()); + return DescribeLibraryDetailOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeKafkaBrokerOutcome(DescribeKafkaBrokerResult(outcome.result())); + return DescribeLibraryDetailOutcome(DescribeLibraryDetailResult(outcome.result())); else - return DescribeKafkaBrokerOutcome(outcome.error()); + return DescribeLibraryDetailOutcome(outcome.error()); } -void EmrClient::describeKafkaBrokerAsync(const DescribeKafkaBrokerRequest& request, const DescribeKafkaBrokerAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::describeLibraryDetailAsync(const DescribeLibraryDetailRequest& request, const DescribeLibraryDetailAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeKafkaBroker(request), context); + handler(this, request, describeLibraryDetail(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::DescribeKafkaBrokerOutcomeCallable EmrClient::describeKafkaBrokerCallable(const DescribeKafkaBrokerRequest &request) const +EmrClient::DescribeLibraryDetailOutcomeCallable EmrClient::describeLibraryDetailCallable(const DescribeLibraryDetailRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeKafkaBroker(request); + return this->describeLibraryDetail(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::DescribeKafkaReassignOutcome EmrClient::describeKafkaReassign(const DescribeKafkaReassignRequest &request) const +EmrClient::DescribeLibraryInstallTaskDetailOutcome EmrClient::describeLibraryInstallTaskDetail(const DescribeLibraryInstallTaskDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeKafkaReassignOutcome(endpointOutcome.error()); + return DescribeLibraryInstallTaskDetailOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeKafkaReassignOutcome(DescribeKafkaReassignResult(outcome.result())); + return DescribeLibraryInstallTaskDetailOutcome(DescribeLibraryInstallTaskDetailResult(outcome.result())); else - return DescribeKafkaReassignOutcome(outcome.error()); + return DescribeLibraryInstallTaskDetailOutcome(outcome.error()); } -void EmrClient::describeKafkaReassignAsync(const DescribeKafkaReassignRequest& request, const DescribeKafkaReassignAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::describeLibraryInstallTaskDetailAsync(const DescribeLibraryInstallTaskDetailRequest& request, const DescribeLibraryInstallTaskDetailAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeKafkaReassign(request), context); + handler(this, request, describeLibraryInstallTaskDetail(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::DescribeKafkaReassignOutcomeCallable EmrClient::describeKafkaReassignCallable(const DescribeKafkaReassignRequest &request) const +EmrClient::DescribeLibraryInstallTaskDetailOutcomeCallable EmrClient::describeLibraryInstallTaskDetailCallable(const DescribeLibraryInstallTaskDetailRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeKafkaReassign(request); + return this->describeLibraryInstallTaskDetail(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -5019,78 +3039,6 @@ EmrClient::DescribeMetaTablePreviewTaskOutcomeCallable EmrClient::describeMetaTa return task->get_future(); } -EmrClient::DescribeNoteOutcome EmrClient::describeNote(const DescribeNoteRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeNoteOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeNoteOutcome(DescribeNoteResult(outcome.result())); - else - return DescribeNoteOutcome(outcome.error()); -} - -void EmrClient::describeNoteAsync(const DescribeNoteRequest& request, const DescribeNoteAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeNote(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeNoteOutcomeCallable EmrClient::describeNoteCallable(const DescribeNoteRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeNote(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeParagraphOutcome EmrClient::describeParagraph(const DescribeParagraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeParagraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeParagraphOutcome(DescribeParagraphResult(outcome.result())); - else - return DescribeParagraphOutcome(outcome.error()); -} - -void EmrClient::describeParagraphAsync(const DescribeParagraphRequest& request, const DescribeParagraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeParagraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeParagraphOutcomeCallable EmrClient::describeParagraphCallable(const DescribeParagraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeParagraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeScalingActivityOutcome EmrClient::describeScalingActivity(const DescribeScalingActivityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5163,6 +3111,114 @@ EmrClient::DescribeScalingCommonConfigOutcomeCallable EmrClient::describeScaling return task->get_future(); } +EmrClient::DescribeScalingConfigItemV2Outcome EmrClient::describeScalingConfigItemV2(const DescribeScalingConfigItemV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScalingConfigItemV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScalingConfigItemV2Outcome(DescribeScalingConfigItemV2Result(outcome.result())); + else + return DescribeScalingConfigItemV2Outcome(outcome.error()); +} + +void EmrClient::describeScalingConfigItemV2Async(const DescribeScalingConfigItemV2Request& request, const DescribeScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScalingConfigItemV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::DescribeScalingConfigItemV2OutcomeCallable EmrClient::describeScalingConfigItemV2Callable(const DescribeScalingConfigItemV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScalingConfigItemV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EmrClient::DescribeScalingGroupInstanceV2Outcome EmrClient::describeScalingGroupInstanceV2(const DescribeScalingGroupInstanceV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScalingGroupInstanceV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScalingGroupInstanceV2Outcome(DescribeScalingGroupInstanceV2Result(outcome.result())); + else + return DescribeScalingGroupInstanceV2Outcome(outcome.error()); +} + +void EmrClient::describeScalingGroupInstanceV2Async(const DescribeScalingGroupInstanceV2Request& request, const DescribeScalingGroupInstanceV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScalingGroupInstanceV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::DescribeScalingGroupInstanceV2OutcomeCallable EmrClient::describeScalingGroupInstanceV2Callable(const DescribeScalingGroupInstanceV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScalingGroupInstanceV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EmrClient::DescribeScalingGroupV2Outcome EmrClient::describeScalingGroupV2(const DescribeScalingGroupV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeScalingGroupV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeScalingGroupV2Outcome(DescribeScalingGroupV2Result(outcome.result())); + else + return DescribeScalingGroupV2Outcome(outcome.error()); +} + +void EmrClient::describeScalingGroupV2Async(const DescribeScalingGroupV2Request& request, const DescribeScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeScalingGroupV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::DescribeScalingGroupV2OutcomeCallable EmrClient::describeScalingGroupV2Callable(const DescribeScalingGroupV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeScalingGroupV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EmrClient::DescribeScalingRuleOutcome EmrClient::describeScalingRule(const DescribeScalingRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5199,42 +3255,6 @@ EmrClient::DescribeScalingRuleOutcomeCallable EmrClient::describeScalingRuleCall return task->get_future(); } -EmrClient::DescribeScalingTaskGroupOutcome EmrClient::describeScalingTaskGroup(const DescribeScalingTaskGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeScalingTaskGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeScalingTaskGroupOutcome(DescribeScalingTaskGroupResult(outcome.result())); - else - return DescribeScalingTaskGroupOutcome(outcome.error()); -} - -void EmrClient::describeScalingTaskGroupAsync(const DescribeScalingTaskGroupRequest& request, const DescribeScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeScalingTaskGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeScalingTaskGroupOutcomeCallable EmrClient::describeScalingTaskGroupCallable(const DescribeScalingTaskGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeScalingTaskGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::DescribeSecurityGroupAttributeOutcome EmrClient::describeSecurityGroupAttribute(const DescribeSecurityGroupAttributeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5271,216 +3291,36 @@ EmrClient::DescribeSecurityGroupAttributeOutcomeCallable EmrClient::describeSecu return task->get_future(); } -EmrClient::DescribeUserOutcome EmrClient::describeUser(const DescribeUserRequest &request) const +EmrClient::DetachAndReleaseClusterEniOutcome EmrClient::detachAndReleaseClusterEni(const DetachAndReleaseClusterEniRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return DescribeUserOutcome(endpointOutcome.error()); + return DetachAndReleaseClusterEniOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return DescribeUserOutcome(DescribeUserResult(outcome.result())); + return DetachAndReleaseClusterEniOutcome(DetachAndReleaseClusterEniResult(outcome.result())); else - return DescribeUserOutcome(outcome.error()); + return DetachAndReleaseClusterEniOutcome(outcome.error()); } -void EmrClient::describeUserAsync(const DescribeUserRequest& request, const DescribeUserAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::detachAndReleaseClusterEniAsync(const DetachAndReleaseClusterEniRequest& request, const DetachAndReleaseClusterEniAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, describeUser(request), context); + handler(this, request, detachAndReleaseClusterEni(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::DescribeUserOutcomeCallable EmrClient::describeUserCallable(const DescribeUserRequest &request) const +EmrClient::DetachAndReleaseClusterEniOutcomeCallable EmrClient::detachAndReleaseClusterEniCallable(const DetachAndReleaseClusterEniRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->describeUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeUserGroupOutcome EmrClient::describeUserGroup(const DescribeUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeUserGroupOutcome(DescribeUserGroupResult(outcome.result())); - else - return DescribeUserGroupOutcome(outcome.error()); -} - -void EmrClient::describeUserGroupAsync(const DescribeUserGroupRequest& request, const DescribeUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeUserGroupOutcomeCallable EmrClient::describeUserGroupCallable(const DescribeUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeUserGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeUserStatisticsOutcome EmrClient::describeUserStatistics(const DescribeUserStatisticsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeUserStatisticsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeUserStatisticsOutcome(DescribeUserStatisticsResult(outcome.result())); - else - return DescribeUserStatisticsOutcome(outcome.error()); -} - -void EmrClient::describeUserStatisticsAsync(const DescribeUserStatisticsRequest& request, const DescribeUserStatisticsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeUserStatistics(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeUserStatisticsOutcomeCallable EmrClient::describeUserStatisticsCallable(const DescribeUserStatisticsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeUserStatistics(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeWorkspaceRepoSettingOutcome EmrClient::describeWorkspaceRepoSetting(const DescribeWorkspaceRepoSettingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeWorkspaceRepoSettingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeWorkspaceRepoSettingOutcome(DescribeWorkspaceRepoSettingResult(outcome.result())); - else - return DescribeWorkspaceRepoSettingOutcome(outcome.error()); -} - -void EmrClient::describeWorkspaceRepoSettingAsync(const DescribeWorkspaceRepoSettingRequest& request, const DescribeWorkspaceRepoSettingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeWorkspaceRepoSetting(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeWorkspaceRepoSettingOutcomeCallable EmrClient::describeWorkspaceRepoSettingCallable(const DescribeWorkspaceRepoSettingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeWorkspaceRepoSetting(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DescribeWorkspaceResourceSettingOutcome EmrClient::describeWorkspaceResourceSetting(const DescribeWorkspaceResourceSettingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeWorkspaceResourceSettingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeWorkspaceResourceSettingOutcome(DescribeWorkspaceResourceSettingResult(outcome.result())); - else - return DescribeWorkspaceResourceSettingOutcome(outcome.error()); -} - -void EmrClient::describeWorkspaceResourceSettingAsync(const DescribeWorkspaceResourceSettingRequest& request, const DescribeWorkspaceResourceSettingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeWorkspaceResourceSetting(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DescribeWorkspaceResourceSettingOutcomeCallable EmrClient::describeWorkspaceResourceSettingCallable(const DescribeWorkspaceResourceSettingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeWorkspaceResourceSetting(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::DetachClusterForNoteOutcome EmrClient::detachClusterForNote(const DetachClusterForNoteRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetachClusterForNoteOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetachClusterForNoteOutcome(DetachClusterForNoteResult(outcome.result())); - else - return DetachClusterForNoteOutcome(outcome.error()); -} - -void EmrClient::detachClusterForNoteAsync(const DetachClusterForNoteRequest& request, const DetachClusterForNoteAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detachClusterForNote(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::DetachClusterForNoteOutcomeCallable EmrClient::detachClusterForNoteCallable(const DetachClusterForNoteRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detachClusterForNote(request); + return this->detachAndReleaseClusterEni(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -5559,222 +3399,6 @@ EmrClient::DumpMetaDataSourceForOuterOutcomeCallable EmrClient::dumpMetaDataSour return task->get_future(); } -EmrClient::GetAuditLogsOutcome EmrClient::getAuditLogs(const GetAuditLogsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetAuditLogsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetAuditLogsOutcome(GetAuditLogsResult(outcome.result())); - else - return GetAuditLogsOutcome(outcome.error()); -} - -void EmrClient::getAuditLogsAsync(const GetAuditLogsRequest& request, const GetAuditLogsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getAuditLogs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetAuditLogsOutcomeCallable EmrClient::getAuditLogsCallable(const GetAuditLogsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getAuditLogs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetBackInfoOutcome EmrClient::getBackInfo(const GetBackInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBackInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBackInfoOutcome(GetBackInfoResult(outcome.result())); - else - return GetBackInfoOutcome(outcome.error()); -} - -void EmrClient::getBackInfoAsync(const GetBackInfoRequest& request, const GetBackInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBackInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetBackInfoOutcomeCallable EmrClient::getBackInfoCallable(const GetBackInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBackInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetBackPlanInfoOutcome EmrClient::getBackPlanInfo(const GetBackPlanInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBackPlanInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBackPlanInfoOutcome(GetBackPlanInfoResult(outcome.result())); - else - return GetBackPlanInfoOutcome(outcome.error()); -} - -void EmrClient::getBackPlanInfoAsync(const GetBackPlanInfoRequest& request, const GetBackPlanInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBackPlanInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetBackPlanInfoOutcomeCallable EmrClient::getBackPlanInfoCallable(const GetBackPlanInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBackPlanInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetBackupInfoOutcome EmrClient::getBackupInfo(const GetBackupInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBackupInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBackupInfoOutcome(GetBackupInfoResult(outcome.result())); - else - return GetBackupInfoOutcome(outcome.error()); -} - -void EmrClient::getBackupInfoAsync(const GetBackupInfoRequest& request, const GetBackupInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBackupInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetBackupInfoOutcomeCallable EmrClient::getBackupInfoCallable(const GetBackupInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBackupInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetBackupRuleInfoOutcome EmrClient::getBackupRuleInfo(const GetBackupRuleInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetBackupRuleInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetBackupRuleInfoOutcome(GetBackupRuleInfoResult(outcome.result())); - else - return GetBackupRuleInfoOutcome(outcome.error()); -} - -void EmrClient::getBackupRuleInfoAsync(const GetBackupRuleInfoRequest& request, const GetBackupRuleInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getBackupRuleInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetBackupRuleInfoOutcomeCallable EmrClient::getBackupRuleInfoCallable(const GetBackupRuleInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getBackupRuleInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetFlowAuditLogsOutcome EmrClient::getFlowAuditLogs(const GetFlowAuditLogsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFlowAuditLogsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFlowAuditLogsOutcome(GetFlowAuditLogsResult(outcome.result())); - else - return GetFlowAuditLogsOutcome(outcome.error()); -} - -void EmrClient::getFlowAuditLogsAsync(const GetFlowAuditLogsRequest& request, const GetFlowAuditLogsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFlowAuditLogs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetFlowAuditLogsOutcomeCallable EmrClient::getFlowAuditLogsCallable(const GetFlowAuditLogsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFlowAuditLogs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::GetFlowEntityRelationGraphOutcome EmrClient::getFlowEntityRelationGraph(const GetFlowEntityRelationGraphRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5883,42 +3507,6 @@ EmrClient::GetJobInputStatisticInfoOutcomeCallable EmrClient::getJobInputStatist return task->get_future(); } -EmrClient::GetJobMigrateResultOutcome EmrClient::getJobMigrateResult(const GetJobMigrateResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetJobMigrateResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetJobMigrateResultOutcome(GetJobMigrateResultResult(outcome.result())); - else - return GetJobMigrateResultOutcome(outcome.error()); -} - -void EmrClient::getJobMigrateResultAsync(const GetJobMigrateResultRequest& request, const GetJobMigrateResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getJobMigrateResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetJobMigrateResultOutcomeCallable EmrClient::getJobMigrateResultCallable(const GetJobMigrateResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getJobMigrateResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::GetJobOutputStatisticInfoOutcome EmrClient::getJobOutputStatisticInfo(const GetJobOutputStatisticInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5991,222 +3579,6 @@ EmrClient::GetJobRunningTimeStatisticInfoOutcomeCallable EmrClient::getJobRunnin return task->get_future(); } -EmrClient::GetLogDownloadUrlOutcome EmrClient::getLogDownloadUrl(const GetLogDownloadUrlRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetLogDownloadUrlOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetLogDownloadUrlOutcome(GetLogDownloadUrlResult(outcome.result())); - else - return GetLogDownloadUrlOutcome(outcome.error()); -} - -void EmrClient::getLogDownloadUrlAsync(const GetLogDownloadUrlRequest& request, const GetLogDownloadUrlAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getLogDownloadUrl(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetLogDownloadUrlOutcomeCallable EmrClient::getLogDownloadUrlCallable(const GetLogDownloadUrlRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getLogDownloadUrl(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetLogHistogramOutcome EmrClient::getLogHistogram(const GetLogHistogramRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetLogHistogramOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetLogHistogramOutcome(GetLogHistogramResult(outcome.result())); - else - return GetLogHistogramOutcome(outcome.error()); -} - -void EmrClient::getLogHistogramAsync(const GetLogHistogramRequest& request, const GetLogHistogramAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getLogHistogram(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetLogHistogramOutcomeCallable EmrClient::getLogHistogramCallable(const GetLogHistogramRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getLogHistogram(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetMetadataTypeListOutcome EmrClient::getMetadataTypeList(const GetMetadataTypeListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetMetadataTypeListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetMetadataTypeListOutcome(GetMetadataTypeListResult(outcome.result())); - else - return GetMetadataTypeListOutcome(outcome.error()); -} - -void EmrClient::getMetadataTypeListAsync(const GetMetadataTypeListRequest& request, const GetMetadataTypeListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getMetadataTypeList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetMetadataTypeListOutcomeCallable EmrClient::getMetadataTypeListCallable(const GetMetadataTypeListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getMetadataTypeList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetOpsCommandDetailOutcome EmrClient::getOpsCommandDetail(const GetOpsCommandDetailRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOpsCommandDetailOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOpsCommandDetailOutcome(GetOpsCommandDetailResult(outcome.result())); - else - return GetOpsCommandDetailOutcome(outcome.error()); -} - -void EmrClient::getOpsCommandDetailAsync(const GetOpsCommandDetailRequest& request, const GetOpsCommandDetailAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOpsCommandDetail(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetOpsCommandDetailOutcomeCallable EmrClient::getOpsCommandDetailCallable(const GetOpsCommandDetailRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOpsCommandDetail(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetOpsCommandResultOutcome EmrClient::getOpsCommandResult(const GetOpsCommandResultRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOpsCommandResultOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOpsCommandResultOutcome(GetOpsCommandResultResult(outcome.result())); - else - return GetOpsCommandResultOutcome(outcome.error()); -} - -void EmrClient::getOpsCommandResultAsync(const GetOpsCommandResultRequest& request, const GetOpsCommandResultAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOpsCommandResult(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetOpsCommandResultOutcomeCallable EmrClient::getOpsCommandResultCallable(const GetOpsCommandResultRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOpsCommandResult(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::GetOpsCommandResultOnceOutcome EmrClient::getOpsCommandResultOnce(const GetOpsCommandResultOnceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOpsCommandResultOnceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOpsCommandResultOnceOutcome(GetOpsCommandResultOnceResult(outcome.result())); - else - return GetOpsCommandResultOnceOutcome(outcome.error()); -} - -void EmrClient::getOpsCommandResultOnceAsync(const GetOpsCommandResultOnceRequest& request, const GetOpsCommandResultOnceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOpsCommandResultOnce(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetOpsCommandResultOnceOutcomeCallable EmrClient::getOpsCommandResultOnceCallable(const GetOpsCommandResultOnceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOpsCommandResultOnce(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::GetQueueInputStatisticInfoOutcome EmrClient::getQueueInputStatisticInfo(const GetQueueInputStatisticInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6315,42 +3687,6 @@ EmrClient::GetQueueSubmissionStatisticInfoOutcomeCallable EmrClient::getQueueSub return task->get_future(); } -EmrClient::GetSupportedOpsCommandOutcome EmrClient::getSupportedOpsCommand(const GetSupportedOpsCommandRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetSupportedOpsCommandOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetSupportedOpsCommandOutcome(GetSupportedOpsCommandResult(outcome.result())); - else - return GetSupportedOpsCommandOutcome(outcome.error()); -} - -void EmrClient::getSupportedOpsCommandAsync(const GetSupportedOpsCommandRequest& request, const GetSupportedOpsCommandAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getSupportedOpsCommand(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::GetSupportedOpsCommandOutcomeCallable EmrClient::getSupportedOpsCommandCallable(const GetSupportedOpsCommandRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getSupportedOpsCommand(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::GetUserInputStatisticInfoOutcome EmrClient::getUserInputStatisticInfo(const GetUserInputStatisticInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6459,36 +3795,72 @@ EmrClient::GetUserSubmissionStatisticInfoOutcomeCallable EmrClient::getUserSubmi return task->get_future(); } -EmrClient::KillETLJobInstanceOutcome EmrClient::killETLJobInstance(const KillETLJobInstanceRequest &request) const +EmrClient::InstallLibrariesOutcome EmrClient::installLibraries(const InstallLibrariesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return KillETLJobInstanceOutcome(endpointOutcome.error()); + return InstallLibrariesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return KillETLJobInstanceOutcome(KillETLJobInstanceResult(outcome.result())); + return InstallLibrariesOutcome(InstallLibrariesResult(outcome.result())); else - return KillETLJobInstanceOutcome(outcome.error()); + return InstallLibrariesOutcome(outcome.error()); } -void EmrClient::killETLJobInstanceAsync(const KillETLJobInstanceRequest& request, const KillETLJobInstanceAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::installLibrariesAsync(const InstallLibrariesRequest& request, const InstallLibrariesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, killETLJobInstance(request), context); + handler(this, request, installLibraries(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::KillETLJobInstanceOutcomeCallable EmrClient::killETLJobInstanceCallable(const KillETLJobInstanceRequest &request) const +EmrClient::InstallLibrariesOutcomeCallable EmrClient::installLibrariesCallable(const InstallLibrariesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->killETLJobInstance(request); + return this->installLibraries(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EmrClient::JoinResourceGroupOutcome EmrClient::joinResourceGroup(const JoinResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return JoinResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return JoinResourceGroupOutcome(JoinResourceGroupResult(outcome.result())); + else + return JoinResourceGroupOutcome(outcome.error()); +} + +void EmrClient::joinResourceGroupAsync(const JoinResourceGroupRequest& request, const JoinResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, joinResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::JoinResourceGroupOutcomeCallable EmrClient::joinResourceGroupCallable(const JoinResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->joinResourceGroup(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -6531,78 +3903,6 @@ EmrClient::KillExecutionJobInstanceOutcomeCallable EmrClient::killExecutionJobIn return task->get_future(); } -EmrClient::KillExecutionPlanInstanceOutcome EmrClient::killExecutionPlanInstance(const KillExecutionPlanInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return KillExecutionPlanInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return KillExecutionPlanInstanceOutcome(KillExecutionPlanInstanceResult(outcome.result())); - else - return KillExecutionPlanInstanceOutcome(outcome.error()); -} - -void EmrClient::killExecutionPlanInstanceAsync(const KillExecutionPlanInstanceRequest& request, const KillExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, killExecutionPlanInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::KillExecutionPlanInstanceOutcomeCallable EmrClient::killExecutionPlanInstanceCallable(const KillExecutionPlanInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->killExecutionPlanInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::KillFlowOutcome EmrClient::killFlow(const KillFlowRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return KillFlowOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return KillFlowOutcome(KillFlowResult(outcome.result())); - else - return KillFlowOutcome(outcome.error()); -} - -void EmrClient::killFlowAsync(const KillFlowRequest& request, const KillFlowAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, killFlow(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::KillFlowOutcomeCallable EmrClient::killFlowCallable(const KillFlowRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->killFlow(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::KillFlowJobOutcome EmrClient::killFlowJob(const KillFlowJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6639,108 +3939,36 @@ EmrClient::KillFlowJobOutcomeCallable EmrClient::killFlowJobCallable(const KillF return task->get_future(); } -EmrClient::ListAlertContactsOutcome EmrClient::listAlertContacts(const ListAlertContactsRequest &request) const +EmrClient::ListAdviceActionOutcome EmrClient::listAdviceAction(const ListAdviceActionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListAlertContactsOutcome(endpointOutcome.error()); + return ListAdviceActionOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListAlertContactsOutcome(ListAlertContactsResult(outcome.result())); + return ListAdviceActionOutcome(ListAdviceActionResult(outcome.result())); else - return ListAlertContactsOutcome(outcome.error()); + return ListAdviceActionOutcome(outcome.error()); } -void EmrClient::listAlertContactsAsync(const ListAlertContactsRequest& request, const ListAlertContactsAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listAdviceActionAsync(const ListAdviceActionRequest& request, const ListAdviceActionAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listAlertContacts(request), context); + handler(this, request, listAdviceAction(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListAlertContactsOutcomeCallable EmrClient::listAlertContactsCallable(const ListAlertContactsRequest &request) const +EmrClient::ListAdviceActionOutcomeCallable EmrClient::listAdviceActionCallable(const ListAdviceActionRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listAlertContacts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListAlertDingDingGroupOutcome EmrClient::listAlertDingDingGroup(const ListAlertDingDingGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListAlertDingDingGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListAlertDingDingGroupOutcome(ListAlertDingDingGroupResult(outcome.result())); - else - return ListAlertDingDingGroupOutcome(outcome.error()); -} - -void EmrClient::listAlertDingDingGroupAsync(const ListAlertDingDingGroupRequest& request, const ListAlertDingDingGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listAlertDingDingGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListAlertDingDingGroupOutcomeCallable EmrClient::listAlertDingDingGroupCallable(const ListAlertDingDingGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listAlertDingDingGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListAlertUserGroupOutcome EmrClient::listAlertUserGroup(const ListAlertUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListAlertUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListAlertUserGroupOutcome(ListAlertUserGroupResult(outcome.result())); - else - return ListAlertUserGroupOutcome(outcome.error()); -} - -void EmrClient::listAlertUserGroupAsync(const ListAlertUserGroupRequest& request, const ListAlertUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listAlertUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListAlertUserGroupOutcomeCallable EmrClient::listAlertUserGroupCallable(const ListAlertUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listAlertUserGroup(request); + return this->listAdviceAction(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -6783,78 +4011,6 @@ EmrClient::ListApmApplicationOutcomeCallable EmrClient::listApmApplicationCallab return task->get_future(); } -EmrClient::ListBackupPlansOutcome EmrClient::listBackupPlans(const ListBackupPlansRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListBackupPlansOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListBackupPlansOutcome(ListBackupPlansResult(outcome.result())); - else - return ListBackupPlansOutcome(outcome.error()); -} - -void EmrClient::listBackupPlansAsync(const ListBackupPlansRequest& request, const ListBackupPlansAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listBackupPlans(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListBackupPlansOutcomeCallable EmrClient::listBackupPlansCallable(const ListBackupPlansRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listBackupPlans(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListBackupRulesOutcome EmrClient::listBackupRules(const ListBackupRulesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListBackupRulesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListBackupRulesOutcome(ListBackupRulesResult(outcome.result())); - else - return ListBackupRulesOutcome(outcome.error()); -} - -void EmrClient::listBackupRulesAsync(const ListBackupRulesRequest& request, const ListBackupRulesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listBackupRules(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListBackupRulesOutcomeCallable EmrClient::listBackupRulesCallable(const ListBackupRulesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listBackupRules(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListBackupsOutcome EmrClient::listBackups(const ListBackupsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6963,42 +4119,6 @@ EmrClient::ListClusterHostComponentOutcomeCallable EmrClient::listClusterHostCom return task->get_future(); } -EmrClient::ListClusterHostComponentForAdminOutcome EmrClient::listClusterHostComponentForAdmin(const ListClusterHostComponentForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterHostComponentForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterHostComponentForAdminOutcome(ListClusterHostComponentForAdminResult(outcome.result())); - else - return ListClusterHostComponentForAdminOutcome(outcome.error()); -} - -void EmrClient::listClusterHostComponentForAdminAsync(const ListClusterHostComponentForAdminRequest& request, const ListClusterHostComponentForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterHostComponentForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterHostComponentForAdminOutcomeCallable EmrClient::listClusterHostComponentForAdminCallable(const ListClusterHostComponentForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterHostComponentForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListClusterHostGroupOutcome EmrClient::listClusterHostGroup(const ListClusterHostGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7179,36 +4299,36 @@ EmrClient::ListClusterOperationHostTaskOutcomeCallable EmrClient::listClusterOpe return task->get_future(); } -EmrClient::ListClusterScriptsOutcome EmrClient::listClusterScripts(const ListClusterScriptsRequest &request) const +EmrClient::ListClusterOperationTaskOutcome EmrClient::listClusterOperationTask(const ListClusterOperationTaskRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListClusterScriptsOutcome(endpointOutcome.error()); + return ListClusterOperationTaskOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListClusterScriptsOutcome(ListClusterScriptsResult(outcome.result())); + return ListClusterOperationTaskOutcome(ListClusterOperationTaskResult(outcome.result())); else - return ListClusterScriptsOutcome(outcome.error()); + return ListClusterOperationTaskOutcome(outcome.error()); } -void EmrClient::listClusterScriptsAsync(const ListClusterScriptsRequest& request, const ListClusterScriptsAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listClusterOperationTaskAsync(const ListClusterOperationTaskRequest& request, const ListClusterOperationTaskAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listClusterScripts(request), context); + handler(this, request, listClusterOperationTask(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListClusterScriptsOutcomeCallable EmrClient::listClusterScriptsCallable(const ListClusterScriptsRequest &request) const +EmrClient::ListClusterOperationTaskOutcomeCallable EmrClient::listClusterOperationTaskCallable(const ListClusterOperationTaskRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listClusterScripts(request); + return this->listClusterOperationTask(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -7251,6 +4371,42 @@ EmrClient::ListClusterServiceOutcomeCallable EmrClient::listClusterServiceCallab return task->get_future(); } +EmrClient::ListClusterServiceComponentOutcome EmrClient::listClusterServiceComponent(const ListClusterServiceComponentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListClusterServiceComponentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListClusterServiceComponentOutcome(ListClusterServiceComponentResult(outcome.result())); + else + return ListClusterServiceComponentOutcome(outcome.error()); +} + +void EmrClient::listClusterServiceComponentAsync(const ListClusterServiceComponentRequest& request, const ListClusterServiceComponentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listClusterServiceComponent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::ListClusterServiceComponentOutcomeCallable EmrClient::listClusterServiceComponentCallable(const ListClusterServiceComponentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listClusterServiceComponent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EmrClient::ListClusterServiceComponentHealthInfoOutcome EmrClient::listClusterServiceComponentHealthInfo(const ListClusterServiceComponentHealthInfoRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7323,114 +4479,6 @@ EmrClient::ListClusterServiceConfigHistoryOutcomeCallable EmrClient::listCluster return task->get_future(); } -EmrClient::ListClusterServiceConfigHistoryForAdminOutcome EmrClient::listClusterServiceConfigHistoryForAdmin(const ListClusterServiceConfigHistoryForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterServiceConfigHistoryForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterServiceConfigHistoryForAdminOutcome(ListClusterServiceConfigHistoryForAdminResult(outcome.result())); - else - return ListClusterServiceConfigHistoryForAdminOutcome(outcome.error()); -} - -void EmrClient::listClusterServiceConfigHistoryForAdminAsync(const ListClusterServiceConfigHistoryForAdminRequest& request, const ListClusterServiceConfigHistoryForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterServiceConfigHistoryForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterServiceConfigHistoryForAdminOutcomeCallable EmrClient::listClusterServiceConfigHistoryForAdminCallable(const ListClusterServiceConfigHistoryForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterServiceConfigHistoryForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListClusterServiceCustomActionSupportConfigOutcome EmrClient::listClusterServiceCustomActionSupportConfig(const ListClusterServiceCustomActionSupportConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterServiceCustomActionSupportConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterServiceCustomActionSupportConfigOutcome(ListClusterServiceCustomActionSupportConfigResult(outcome.result())); - else - return ListClusterServiceCustomActionSupportConfigOutcome(outcome.error()); -} - -void EmrClient::listClusterServiceCustomActionSupportConfigAsync(const ListClusterServiceCustomActionSupportConfigRequest& request, const ListClusterServiceCustomActionSupportConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterServiceCustomActionSupportConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterServiceCustomActionSupportConfigOutcomeCallable EmrClient::listClusterServiceCustomActionSupportConfigCallable(const ListClusterServiceCustomActionSupportConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterServiceCustomActionSupportConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListClusterServiceCustomActionSupportConfigForAdminOutcome EmrClient::listClusterServiceCustomActionSupportConfigForAdmin(const ListClusterServiceCustomActionSupportConfigForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterServiceCustomActionSupportConfigForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterServiceCustomActionSupportConfigForAdminOutcome(ListClusterServiceCustomActionSupportConfigForAdminResult(outcome.result())); - else - return ListClusterServiceCustomActionSupportConfigForAdminOutcome(outcome.error()); -} - -void EmrClient::listClusterServiceCustomActionSupportConfigForAdminAsync(const ListClusterServiceCustomActionSupportConfigForAdminRequest& request, const ListClusterServiceCustomActionSupportConfigForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterServiceCustomActionSupportConfigForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterServiceCustomActionSupportConfigForAdminOutcomeCallable EmrClient::listClusterServiceCustomActionSupportConfigForAdminCallable(const ListClusterServiceCustomActionSupportConfigForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterServiceCustomActionSupportConfigForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListClusterServiceQuickLinkOutcome EmrClient::listClusterServiceQuickLink(const ListClusterServiceQuickLinkRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7467,114 +4515,6 @@ EmrClient::ListClusterServiceQuickLinkOutcomeCallable EmrClient::listClusterServ return task->get_future(); } -EmrClient::ListClusterSupportServiceOutcome EmrClient::listClusterSupportService(const ListClusterSupportServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterSupportServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterSupportServiceOutcome(ListClusterSupportServiceResult(outcome.result())); - else - return ListClusterSupportServiceOutcome(outcome.error()); -} - -void EmrClient::listClusterSupportServiceAsync(const ListClusterSupportServiceRequest& request, const ListClusterSupportServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterSupportService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterSupportServiceOutcomeCallable EmrClient::listClusterSupportServiceCallable(const ListClusterSupportServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterSupportService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListClusterTagOutcome EmrClient::listClusterTag(const ListClusterTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterTagOutcome(ListClusterTagResult(outcome.result())); - else - return ListClusterTagOutcome(outcome.error()); -} - -void EmrClient::listClusterTagAsync(const ListClusterTagRequest& request, const ListClusterTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterTagOutcomeCallable EmrClient::listClusterTagCallable(const ListClusterTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListClusterTagForAdminOutcome EmrClient::listClusterTagForAdmin(const ListClusterTagForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListClusterTagForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListClusterTagForAdminOutcome(ListClusterTagForAdminResult(outcome.result())); - else - return ListClusterTagForAdminOutcome(outcome.error()); -} - -void EmrClient::listClusterTagForAdminAsync(const ListClusterTagForAdminRequest& request, const ListClusterTagForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listClusterTagForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListClusterTagForAdminOutcomeCallable EmrClient::listClusterTagForAdminCallable(const ListClusterTagForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listClusterTagForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListClusterTemplatesOutcome EmrClient::listClusterTemplates(const ListClusterTemplatesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7683,222 +4623,6 @@ EmrClient::ListDataSourceOutcomeCallable EmrClient::listDataSourceCallable(const return task->get_future(); } -EmrClient::ListDataSourceSchemaDatabaseOutcome EmrClient::listDataSourceSchemaDatabase(const ListDataSourceSchemaDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataSourceSchemaDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataSourceSchemaDatabaseOutcome(ListDataSourceSchemaDatabaseResult(outcome.result())); - else - return ListDataSourceSchemaDatabaseOutcome(outcome.error()); -} - -void EmrClient::listDataSourceSchemaDatabaseAsync(const ListDataSourceSchemaDatabaseRequest& request, const ListDataSourceSchemaDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataSourceSchemaDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListDataSourceSchemaDatabaseOutcomeCallable EmrClient::listDataSourceSchemaDatabaseCallable(const ListDataSourceSchemaDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataSourceSchemaDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListDataSourceSchemaTableOutcome EmrClient::listDataSourceSchemaTable(const ListDataSourceSchemaTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDataSourceSchemaTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDataSourceSchemaTableOutcome(ListDataSourceSchemaTableResult(outcome.result())); - else - return ListDataSourceSchemaTableOutcome(outcome.error()); -} - -void EmrClient::listDataSourceSchemaTableAsync(const ListDataSourceSchemaTableRequest& request, const ListDataSourceSchemaTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDataSourceSchemaTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListDataSourceSchemaTableOutcomeCallable EmrClient::listDataSourceSchemaTableCallable(const ListDataSourceSchemaTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDataSourceSchemaTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListDependedServiceOutcome EmrClient::listDependedService(const ListDependedServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListDependedServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListDependedServiceOutcome(ListDependedServiceResult(outcome.result())); - else - return ListDependedServiceOutcome(outcome.error()); -} - -void EmrClient::listDependedServiceAsync(const ListDependedServiceRequest& request, const ListDependedServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listDependedService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListDependedServiceOutcomeCallable EmrClient::listDependedServiceCallable(const ListDependedServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listDependedService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListETLJobInstanceOutcome EmrClient::listETLJobInstance(const ListETLJobInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListETLJobInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListETLJobInstanceOutcome(ListETLJobInstanceResult(outcome.result())); - else - return ListETLJobInstanceOutcome(outcome.error()); -} - -void EmrClient::listETLJobInstanceAsync(const ListETLJobInstanceRequest& request, const ListETLJobInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listETLJobInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListETLJobInstanceOutcomeCallable EmrClient::listETLJobInstanceCallable(const ListETLJobInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listETLJobInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListETLJobReleaseOutcome EmrClient::listETLJobRelease(const ListETLJobReleaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListETLJobReleaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListETLJobReleaseOutcome(ListETLJobReleaseResult(outcome.result())); - else - return ListETLJobReleaseOutcome(outcome.error()); -} - -void EmrClient::listETLJobReleaseAsync(const ListETLJobReleaseRequest& request, const ListETLJobReleaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listETLJobRelease(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListETLJobReleaseOutcomeCallable EmrClient::listETLJobReleaseCallable(const ListETLJobReleaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listETLJobRelease(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListETLJobTriggerEntityOutcome EmrClient::listETLJobTriggerEntity(const ListETLJobTriggerEntityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListETLJobTriggerEntityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListETLJobTriggerEntityOutcome(ListETLJobTriggerEntityResult(outcome.result())); - else - return ListETLJobTriggerEntityOutcome(outcome.error()); -} - -void EmrClient::listETLJobTriggerEntityAsync(const ListETLJobTriggerEntityRequest& request, const ListETLJobTriggerEntityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listETLJobTriggerEntity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListETLJobTriggerEntityOutcomeCallable EmrClient::listETLJobTriggerEntityCallable(const ListETLJobTriggerEntityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listETLJobTriggerEntity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListEmrAvailableConfigOutcome EmrClient::listEmrAvailableConfig(const ListEmrAvailableConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8007,78 +4731,6 @@ EmrClient::ListEmrMainVersionOutcomeCallable EmrClient::listEmrMainVersionCallab return task->get_future(); } -EmrClient::ListExecutePlanMigrateInfoOutcome EmrClient::listExecutePlanMigrateInfo(const ListExecutePlanMigrateInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListExecutePlanMigrateInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListExecutePlanMigrateInfoOutcome(ListExecutePlanMigrateInfoResult(outcome.result())); - else - return ListExecutePlanMigrateInfoOutcome(outcome.error()); -} - -void EmrClient::listExecutePlanMigrateInfoAsync(const ListExecutePlanMigrateInfoRequest& request, const ListExecutePlanMigrateInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listExecutePlanMigrateInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListExecutePlanMigrateInfoOutcomeCallable EmrClient::listExecutePlanMigrateInfoCallable(const ListExecutePlanMigrateInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listExecutePlanMigrateInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListExecutionPlanInstanceTrendOutcome EmrClient::listExecutionPlanInstanceTrend(const ListExecutionPlanInstanceTrendRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListExecutionPlanInstanceTrendOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListExecutionPlanInstanceTrendOutcome(ListExecutionPlanInstanceTrendResult(outcome.result())); - else - return ListExecutionPlanInstanceTrendOutcome(outcome.error()); -} - -void EmrClient::listExecutionPlanInstanceTrendAsync(const ListExecutionPlanInstanceTrendRequest& request, const ListExecutionPlanInstanceTrendAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listExecutionPlanInstanceTrend(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListExecutionPlanInstanceTrendOutcomeCallable EmrClient::listExecutionPlanInstanceTrendCallable(const ListExecutionPlanInstanceTrendRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listExecutionPlanInstanceTrend(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListExecutionPlanInstancesOutcome EmrClient::listExecutionPlanInstances(const ListExecutionPlanInstancesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8151,42 +4803,6 @@ EmrClient::ListExecutionPlansOutcomeCallable EmrClient::listExecutionPlansCallab return task->get_future(); } -EmrClient::ListFailureJobExecutionInstancesOutcome EmrClient::listFailureJobExecutionInstances(const ListFailureJobExecutionInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFailureJobExecutionInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFailureJobExecutionInstancesOutcome(ListFailureJobExecutionInstancesResult(outcome.result())); - else - return ListFailureJobExecutionInstancesOutcome(outcome.error()); -} - -void EmrClient::listFailureJobExecutionInstancesAsync(const ListFailureJobExecutionInstancesRequest& request, const ListFailureJobExecutionInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFailureJobExecutionInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListFailureJobExecutionInstancesOutcomeCallable EmrClient::listFailureJobExecutionInstancesCallable(const ListFailureJobExecutionInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFailureJobExecutionInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListFlowOutcome EmrClient::listFlow(const ListFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8763,114 +5379,6 @@ EmrClient::ListFlowProjectUserOutcomeCallable EmrClient::listFlowProjectUserCall return task->get_future(); } -EmrClient::ListHostPoolOutcome EmrClient::listHostPool(const ListHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListHostPoolOutcome(ListHostPoolResult(outcome.result())); - else - return ListHostPoolOutcome(outcome.error()); -} - -void EmrClient::listHostPoolAsync(const ListHostPoolRequest& request, const ListHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListHostPoolOutcomeCallable EmrClient::listHostPoolCallable(const ListHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListHpHostOutcome EmrClient::listHpHost(const ListHpHostRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListHpHostOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListHpHostOutcome(ListHpHostResult(outcome.result())); - else - return ListHpHostOutcome(outcome.error()); -} - -void EmrClient::listHpHostAsync(const ListHpHostRequest& request, const ListHpHostAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listHpHost(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListHpHostOutcomeCallable EmrClient::listHpHostCallable(const ListHpHostRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listHpHost(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListJobExecutionInstanceTrendOutcome EmrClient::listJobExecutionInstanceTrend(const ListJobExecutionInstanceTrendRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobExecutionInstanceTrendOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobExecutionInstanceTrendOutcome(ListJobExecutionInstanceTrendResult(outcome.result())); - else - return ListJobExecutionInstanceTrendOutcome(outcome.error()); -} - -void EmrClient::listJobExecutionInstanceTrendAsync(const ListJobExecutionInstanceTrendRequest& request, const ListJobExecutionInstanceTrendAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobExecutionInstanceTrend(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobExecutionInstanceTrendOutcomeCallable EmrClient::listJobExecutionInstanceTrendCallable(const ListJobExecutionInstanceTrendRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobExecutionInstanceTrend(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListJobExecutionInstancesOutcome EmrClient::listJobExecutionInstances(const ListJobExecutionInstancesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -8907,78 +5415,6 @@ EmrClient::ListJobExecutionInstancesOutcomeCallable EmrClient::listJobExecutionI return task->get_future(); } -EmrClient::ListJobExecutionPlanHierarchyOutcome EmrClient::listJobExecutionPlanHierarchy(const ListJobExecutionPlanHierarchyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobExecutionPlanHierarchyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobExecutionPlanHierarchyOutcome(ListJobExecutionPlanHierarchyResult(outcome.result())); - else - return ListJobExecutionPlanHierarchyOutcome(outcome.error()); -} - -void EmrClient::listJobExecutionPlanHierarchyAsync(const ListJobExecutionPlanHierarchyRequest& request, const ListJobExecutionPlanHierarchyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobExecutionPlanHierarchy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobExecutionPlanHierarchyOutcomeCallable EmrClient::listJobExecutionPlanHierarchyCallable(const ListJobExecutionPlanHierarchyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobExecutionPlanHierarchy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListJobExecutionPlanParamsOutcome EmrClient::listJobExecutionPlanParams(const ListJobExecutionPlanParamsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobExecutionPlanParamsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobExecutionPlanParamsOutcome(ListJobExecutionPlanParamsResult(outcome.result())); - else - return ListJobExecutionPlanParamsOutcome(outcome.error()); -} - -void EmrClient::listJobExecutionPlanParamsAsync(const ListJobExecutionPlanParamsRequest& request, const ListJobExecutionPlanParamsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobExecutionPlanParams(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobExecutionPlanParamsOutcomeCallable EmrClient::listJobExecutionPlanParamsCallable(const ListJobExecutionPlanParamsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobExecutionPlanParams(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListJobInstanceWorkersOutcome EmrClient::listJobInstanceWorkers(const ListJobInstanceWorkersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9015,42 +5451,6 @@ EmrClient::ListJobInstanceWorkersOutcomeCallable EmrClient::listJobInstanceWorke return task->get_future(); } -EmrClient::ListJobMigrateInfoOutcome EmrClient::listJobMigrateInfo(const ListJobMigrateInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListJobMigrateInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListJobMigrateInfoOutcome(ListJobMigrateInfoResult(outcome.result())); - else - return ListJobMigrateInfoOutcome(outcome.error()); -} - -void EmrClient::listJobMigrateInfoAsync(const ListJobMigrateInfoRequest& request, const ListJobMigrateInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listJobMigrateInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListJobMigrateInfoOutcomeCallable EmrClient::listJobMigrateInfoCallable(const ListJobMigrateInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listJobMigrateInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListJobsOutcome EmrClient::listJobs(const ListJobsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9087,180 +5487,180 @@ EmrClient::ListJobsOutcomeCallable EmrClient::listJobsCallable(const ListJobsReq return task->get_future(); } -EmrClient::ListKafkaBrokerOutcome EmrClient::listKafkaBroker(const ListKafkaBrokerRequest &request) const +EmrClient::ListLibrariesOutcome EmrClient::listLibraries(const ListLibrariesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListKafkaBrokerOutcome(endpointOutcome.error()); + return ListLibrariesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListKafkaBrokerOutcome(ListKafkaBrokerResult(outcome.result())); + return ListLibrariesOutcome(ListLibrariesResult(outcome.result())); else - return ListKafkaBrokerOutcome(outcome.error()); + return ListLibrariesOutcome(outcome.error()); } -void EmrClient::listKafkaBrokerAsync(const ListKafkaBrokerRequest& request, const ListKafkaBrokerAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listLibrariesAsync(const ListLibrariesRequest& request, const ListLibrariesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listKafkaBroker(request), context); + handler(this, request, listLibraries(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListKafkaBrokerOutcomeCallable EmrClient::listKafkaBrokerCallable(const ListKafkaBrokerRequest &request) const +EmrClient::ListLibrariesOutcomeCallable EmrClient::listLibrariesCallable(const ListLibrariesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listKafkaBroker(request); + return this->listLibraries(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListKafkaReassignOutcome EmrClient::listKafkaReassign(const ListKafkaReassignRequest &request) const +EmrClient::ListLibraryInstallTasksOutcome EmrClient::listLibraryInstallTasks(const ListLibraryInstallTasksRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListKafkaReassignOutcome(endpointOutcome.error()); + return ListLibraryInstallTasksOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListKafkaReassignOutcome(ListKafkaReassignResult(outcome.result())); + return ListLibraryInstallTasksOutcome(ListLibraryInstallTasksResult(outcome.result())); else - return ListKafkaReassignOutcome(outcome.error()); + return ListLibraryInstallTasksOutcome(outcome.error()); } -void EmrClient::listKafkaReassignAsync(const ListKafkaReassignRequest& request, const ListKafkaReassignAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listLibraryInstallTasksAsync(const ListLibraryInstallTasksRequest& request, const ListLibraryInstallTasksAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listKafkaReassign(request), context); + handler(this, request, listLibraryInstallTasks(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListKafkaReassignOutcomeCallable EmrClient::listKafkaReassignCallable(const ListKafkaReassignRequest &request) const +EmrClient::ListLibraryInstallTasksOutcomeCallable EmrClient::listLibraryInstallTasksCallable(const ListLibraryInstallTasksRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listKafkaReassign(request); + return this->listLibraryInstallTasks(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListKafkaReassignTopicOutcome EmrClient::listKafkaReassignTopic(const ListKafkaReassignTopicRequest &request) const +EmrClient::ListLibraryStatusOutcome EmrClient::listLibraryStatus(const ListLibraryStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListKafkaReassignTopicOutcome(endpointOutcome.error()); + return ListLibraryStatusOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListKafkaReassignTopicOutcome(ListKafkaReassignTopicResult(outcome.result())); + return ListLibraryStatusOutcome(ListLibraryStatusResult(outcome.result())); else - return ListKafkaReassignTopicOutcome(outcome.error()); + return ListLibraryStatusOutcome(outcome.error()); } -void EmrClient::listKafkaReassignTopicAsync(const ListKafkaReassignTopicRequest& request, const ListKafkaReassignTopicAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listLibraryStatusAsync(const ListLibraryStatusRequest& request, const ListLibraryStatusAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listKafkaReassignTopic(request), context); + handler(this, request, listLibraryStatus(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListKafkaReassignTopicOutcomeCallable EmrClient::listKafkaReassignTopicCallable(const ListKafkaReassignTopicRequest &request) const +EmrClient::ListLibraryStatusOutcomeCallable EmrClient::listLibraryStatusCallable(const ListLibraryStatusRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listKafkaReassignTopic(request); + return this->listLibraryStatus(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListKafkaTopicStatisticsOutcome EmrClient::listKafkaTopicStatistics(const ListKafkaTopicStatisticsRequest &request) const +EmrClient::ListMetaClusterOutcome EmrClient::listMetaCluster(const ListMetaClusterRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListKafkaTopicStatisticsOutcome(endpointOutcome.error()); + return ListMetaClusterOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListKafkaTopicStatisticsOutcome(ListKafkaTopicStatisticsResult(outcome.result())); + return ListMetaClusterOutcome(ListMetaClusterResult(outcome.result())); else - return ListKafkaTopicStatisticsOutcome(outcome.error()); + return ListMetaClusterOutcome(outcome.error()); } -void EmrClient::listKafkaTopicStatisticsAsync(const ListKafkaTopicStatisticsRequest& request, const ListKafkaTopicStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listMetaClusterAsync(const ListMetaClusterRequest& request, const ListMetaClusterAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listKafkaTopicStatistics(request), context); + handler(this, request, listMetaCluster(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListKafkaTopicStatisticsOutcomeCallable EmrClient::listKafkaTopicStatisticsCallable(const ListKafkaTopicStatisticsRequest &request) const +EmrClient::ListMetaClusterOutcomeCallable EmrClient::listMetaClusterCallable(const ListMetaClusterRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listKafkaTopicStatistics(request); + return this->listMetaCluster(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListNavSubTreeOutcome EmrClient::listNavSubTree(const ListNavSubTreeRequest &request) const +EmrClient::ListMetaDataSourceClusterForOuterOutcome EmrClient::listMetaDataSourceClusterForOuter(const ListMetaDataSourceClusterForOuterRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListNavSubTreeOutcome(endpointOutcome.error()); + return ListMetaDataSourceClusterForOuterOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListNavSubTreeOutcome(ListNavSubTreeResult(outcome.result())); + return ListMetaDataSourceClusterForOuterOutcome(ListMetaDataSourceClusterForOuterResult(outcome.result())); else - return ListNavSubTreeOutcome(outcome.error()); + return ListMetaDataSourceClusterForOuterOutcome(outcome.error()); } -void EmrClient::listNavSubTreeAsync(const ListNavSubTreeRequest& request, const ListNavSubTreeAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listMetaDataSourceClusterForOuterAsync(const ListMetaDataSourceClusterForOuterRequest& request, const ListMetaDataSourceClusterForOuterAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listNavSubTree(request), context); + handler(this, request, listMetaDataSourceClusterForOuter(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListNavSubTreeOutcomeCallable EmrClient::listNavSubTreeCallable(const ListNavSubTreeRequest &request) const +EmrClient::ListMetaDataSourceClusterForOuterOutcomeCallable EmrClient::listMetaDataSourceClusterForOuterCallable(const ListMetaDataSourceClusterForOuterRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listNavSubTree(request); + return this->listMetaDataSourceClusterForOuter(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -9303,114 +5703,6 @@ EmrClient::ListNotesOutcomeCallable EmrClient::listNotesCallable(const ListNotes return task->get_future(); } -EmrClient::ListOpsOperationOutcome EmrClient::listOpsOperation(const ListOpsOperationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListOpsOperationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListOpsOperationOutcome(ListOpsOperationResult(outcome.result())); - else - return ListOpsOperationOutcome(outcome.error()); -} - -void EmrClient::listOpsOperationAsync(const ListOpsOperationRequest& request, const ListOpsOperationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listOpsOperation(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListOpsOperationOutcomeCallable EmrClient::listOpsOperationCallable(const ListOpsOperationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listOpsOperation(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListOpsOperationTaskOutcome EmrClient::listOpsOperationTask(const ListOpsOperationTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListOpsOperationTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListOpsOperationTaskOutcome(ListOpsOperationTaskResult(outcome.result())); - else - return ListOpsOperationTaskOutcome(outcome.error()); -} - -void EmrClient::listOpsOperationTaskAsync(const ListOpsOperationTaskRequest& request, const ListOpsOperationTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listOpsOperationTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListOpsOperationTaskOutcomeCallable EmrClient::listOpsOperationTaskCallable(const ListOpsOperationTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listOpsOperationTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListRequiredServiceOutcome EmrClient::listRequiredService(const ListRequiredServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListRequiredServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListRequiredServiceOutcome(ListRequiredServiceResult(outcome.result())); - else - return ListRequiredServiceOutcome(outcome.error()); -} - -void EmrClient::listRequiredServiceAsync(const ListRequiredServiceRequest& request, const ListRequiredServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listRequiredService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListRequiredServiceOutcomeCallable EmrClient::listRequiredServiceCallable(const ListRequiredServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listRequiredService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListResourcePoolOutcome EmrClient::listResourcePool(const ListResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9447,78 +5739,6 @@ EmrClient::ListResourcePoolOutcomeCallable EmrClient::listResourcePoolCallable(c return task->get_future(); } -EmrClient::ListResourcePoolForAdminOutcome EmrClient::listResourcePoolForAdmin(const ListResourcePoolForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListResourcePoolForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListResourcePoolForAdminOutcome(ListResourcePoolForAdminResult(outcome.result())); - else - return ListResourcePoolForAdminOutcome(outcome.error()); -} - -void EmrClient::listResourcePoolForAdminAsync(const ListResourcePoolForAdminRequest& request, const ListResourcePoolForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listResourcePoolForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListResourcePoolForAdminOutcomeCallable EmrClient::listResourcePoolForAdminCallable(const ListResourcePoolForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listResourcePoolForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListResourceQueueOutcome EmrClient::listResourceQueue(const ListResourceQueueRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListResourceQueueOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListResourceQueueOutcome(ListResourceQueueResult(outcome.result())); - else - return ListResourceQueueOutcome(outcome.error()); -} - -void EmrClient::listResourceQueueAsync(const ListResourceQueueRequest& request, const ListResourceQueueAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listResourceQueue(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListResourceQueueOutcomeCallable EmrClient::listResourceQueueCallable(const ListResourceQueueRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listResourceQueue(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListRolesOutcome EmrClient::listRoles(const ListRolesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -9555,180 +5775,144 @@ EmrClient::ListRolesOutcomeCallable EmrClient::listRolesCallable(const ListRoles return task->get_future(); } -EmrClient::ListScalingActivityOutcome EmrClient::listScalingActivity(const ListScalingActivityRequest &request) const +EmrClient::ListScalingActivityV2Outcome EmrClient::listScalingActivityV2(const ListScalingActivityV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListScalingActivityOutcome(endpointOutcome.error()); + return ListScalingActivityV2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListScalingActivityOutcome(ListScalingActivityResult(outcome.result())); + return ListScalingActivityV2Outcome(ListScalingActivityV2Result(outcome.result())); else - return ListScalingActivityOutcome(outcome.error()); + return ListScalingActivityV2Outcome(outcome.error()); } -void EmrClient::listScalingActivityAsync(const ListScalingActivityRequest& request, const ListScalingActivityAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listScalingActivityV2Async(const ListScalingActivityV2Request& request, const ListScalingActivityV2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listScalingActivity(request), context); + handler(this, request, listScalingActivityV2(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListScalingActivityOutcomeCallable EmrClient::listScalingActivityCallable(const ListScalingActivityRequest &request) const +EmrClient::ListScalingActivityV2OutcomeCallable EmrClient::listScalingActivityV2Callable(const ListScalingActivityV2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listScalingActivity(request); + return this->listScalingActivityV2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListScalingRuleOutcome EmrClient::listScalingRule(const ListScalingRuleRequest &request) const +EmrClient::ListScalingConfigItemV2Outcome EmrClient::listScalingConfigItemV2(const ListScalingConfigItemV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListScalingRuleOutcome(endpointOutcome.error()); + return ListScalingConfigItemV2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListScalingRuleOutcome(ListScalingRuleResult(outcome.result())); + return ListScalingConfigItemV2Outcome(ListScalingConfigItemV2Result(outcome.result())); else - return ListScalingRuleOutcome(outcome.error()); + return ListScalingConfigItemV2Outcome(outcome.error()); } -void EmrClient::listScalingRuleAsync(const ListScalingRuleRequest& request, const ListScalingRuleAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listScalingConfigItemV2Async(const ListScalingConfigItemV2Request& request, const ListScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listScalingRule(request), context); + handler(this, request, listScalingConfigItemV2(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListScalingRuleOutcomeCallable EmrClient::listScalingRuleCallable(const ListScalingRuleRequest &request) const +EmrClient::ListScalingConfigItemV2OutcomeCallable EmrClient::listScalingConfigItemV2Callable(const ListScalingConfigItemV2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listScalingRule(request); + return this->listScalingConfigItemV2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListScalingTaskGroupOutcome EmrClient::listScalingTaskGroup(const ListScalingTaskGroupRequest &request) const +EmrClient::ListScalingGroupV2Outcome EmrClient::listScalingGroupV2(const ListScalingGroupV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListScalingTaskGroupOutcome(endpointOutcome.error()); + return ListScalingGroupV2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListScalingTaskGroupOutcome(ListScalingTaskGroupResult(outcome.result())); + return ListScalingGroupV2Outcome(ListScalingGroupV2Result(outcome.result())); else - return ListScalingTaskGroupOutcome(outcome.error()); + return ListScalingGroupV2Outcome(outcome.error()); } -void EmrClient::listScalingTaskGroupAsync(const ListScalingTaskGroupRequest& request, const ListScalingTaskGroupAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listScalingGroupV2Async(const ListScalingGroupV2Request& request, const ListScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listScalingTaskGroup(request), context); + handler(this, request, listScalingGroupV2(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListScalingTaskGroupOutcomeCallable EmrClient::listScalingTaskGroupCallable(const ListScalingTaskGroupRequest &request) const +EmrClient::ListScalingGroupV2OutcomeCallable EmrClient::listScalingGroupV2Callable(const ListScalingGroupV2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listScalingTaskGroup(request); + return this->listScalingGroupV2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::ListServiceLogOutcome EmrClient::listServiceLog(const ListServiceLogRequest &request) const +EmrClient::ListSecurityGroupOutcome EmrClient::listSecurityGroup(const ListSecurityGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListServiceLogOutcome(endpointOutcome.error()); + return ListSecurityGroupOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListServiceLogOutcome(ListServiceLogResult(outcome.result())); + return ListSecurityGroupOutcome(ListSecurityGroupResult(outcome.result())); else - return ListServiceLogOutcome(outcome.error()); + return ListSecurityGroupOutcome(outcome.error()); } -void EmrClient::listServiceLogAsync(const ListServiceLogRequest& request, const ListServiceLogAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listSecurityGroupAsync(const ListSecurityGroupRequest& request, const ListSecurityGroupAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listServiceLog(request), context); + handler(this, request, listSecurityGroup(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListServiceLogOutcomeCallable EmrClient::listServiceLogCallable(const ListServiceLogRequest &request) const +EmrClient::ListSecurityGroupOutcomeCallable EmrClient::listSecurityGroupCallable(const ListSecurityGroupRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listServiceLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListSlsLogstoreInfoOutcome EmrClient::listSlsLogstoreInfo(const ListSlsLogstoreInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListSlsLogstoreInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListSlsLogstoreInfoOutcome(ListSlsLogstoreInfoResult(outcome.result())); - else - return ListSlsLogstoreInfoOutcome(outcome.error()); -} - -void EmrClient::listSlsLogstoreInfoAsync(const ListSlsLogstoreInfoRequest& request, const ListSlsLogstoreInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listSlsLogstoreInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListSlsLogstoreInfoOutcomeCallable EmrClient::listSlsLogstoreInfoCallable(const ListSlsLogstoreInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listSlsLogstoreInfo(request); + return this->listSecurityGroup(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -9771,150 +5955,6 @@ EmrClient::ListStackOutcomeCallable EmrClient::listStackCallable(const ListStack return task->get_future(); } -EmrClient::ListStackServiceOutcome EmrClient::listStackService(const ListStackServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListStackServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListStackServiceOutcome(ListStackServiceResult(outcome.result())); - else - return ListStackServiceOutcome(outcome.error()); -} - -void EmrClient::listStackServiceAsync(const ListStackServiceRequest& request, const ListStackServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listStackService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListStackServiceOutcomeCallable EmrClient::listStackServiceCallable(const ListStackServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listStackService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListStreamingSqlQueryOutcome EmrClient::listStreamingSqlQuery(const ListStreamingSqlQueryRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListStreamingSqlQueryOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListStreamingSqlQueryOutcome(ListStreamingSqlQueryResult(outcome.result())); - else - return ListStreamingSqlQueryOutcome(outcome.error()); -} - -void EmrClient::listStreamingSqlQueryAsync(const ListStreamingSqlQueryRequest& request, const ListStreamingSqlQueryAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listStreamingSqlQuery(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListStreamingSqlQueryOutcomeCallable EmrClient::listStreamingSqlQueryCallable(const ListStreamingSqlQueryRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listStreamingSqlQuery(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListSupportedServiceNameOutcome EmrClient::listSupportedServiceName(const ListSupportedServiceNameRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListSupportedServiceNameOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListSupportedServiceNameOutcome(ListSupportedServiceNameResult(outcome.result())); - else - return ListSupportedServiceNameOutcome(outcome.error()); -} - -void EmrClient::listSupportedServiceNameAsync(const ListSupportedServiceNameRequest& request, const ListSupportedServiceNameAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listSupportedServiceName(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListSupportedServiceNameOutcomeCallable EmrClient::listSupportedServiceNameCallable(const ListSupportedServiceNameRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listSupportedServiceName(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListSupportedServiceNameForAdminOutcome EmrClient::listSupportedServiceNameForAdmin(const ListSupportedServiceNameForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListSupportedServiceNameForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListSupportedServiceNameForAdminOutcome(ListSupportedServiceNameForAdminResult(outcome.result())); - else - return ListSupportedServiceNameForAdminOutcome(outcome.error()); -} - -void EmrClient::listSupportedServiceNameForAdminAsync(const ListSupportedServiceNameForAdminRequest& request, const ListSupportedServiceNameForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listSupportedServiceNameForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListSupportedServiceNameForAdminOutcomeCallable EmrClient::listSupportedServiceNameForAdminCallable(const ListSupportedServiceNameForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listSupportedServiceNameForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListTagKeysOutcome EmrClient::listTagKeys(const ListTagKeysRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -10023,78 +6063,6 @@ EmrClient::ListTagValuesOutcomeCallable EmrClient::listTagValuesCallable(const L return task->get_future(); } -EmrClient::ListUserGroupsOutcome EmrClient::listUserGroups(const ListUserGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListUserGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListUserGroupsOutcome(ListUserGroupsResult(outcome.result())); - else - return ListUserGroupsOutcome(outcome.error()); -} - -void EmrClient::listUserGroupsAsync(const ListUserGroupsRequest& request, const ListUserGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listUserGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListUserGroupsOutcomeCallable EmrClient::listUserGroupsCallable(const ListUserGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listUserGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ListUserStatisticsOutcome EmrClient::listUserStatistics(const ListUserStatisticsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListUserStatisticsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListUserStatisticsOutcome(ListUserStatisticsResult(outcome.result())); - else - return ListUserStatisticsOutcome(outcome.error()); -} - -void EmrClient::listUserStatisticsAsync(const ListUserStatisticsRequest& request, const ListUserStatisticsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listUserStatistics(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ListUserStatisticsOutcomeCallable EmrClient::listUserStatisticsCallable(const ListUserStatisticsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listUserStatistics(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ListUsersOutcome EmrClient::listUsers(const ListUsersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -10131,1260 +6099,72 @@ EmrClient::ListUsersOutcomeCallable EmrClient::listUsersCallable(const ListUsers return task->get_future(); } -EmrClient::ListUsersByConditionOutcome EmrClient::listUsersByCondition(const ListUsersByConditionRequest &request) const +EmrClient::ListVswitchOutcome EmrClient::listVswitch(const ListVswitchRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ListUsersByConditionOutcome(endpointOutcome.error()); + return ListVswitchOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ListUsersByConditionOutcome(ListUsersByConditionResult(outcome.result())); + return ListVswitchOutcome(ListVswitchResult(outcome.result())); else - return ListUsersByConditionOutcome(outcome.error()); + return ListVswitchOutcome(outcome.error()); } -void EmrClient::listUsersByConditionAsync(const ListUsersByConditionRequest& request, const ListUsersByConditionAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::listVswitchAsync(const ListVswitchRequest& request, const ListVswitchAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, listUsersByCondition(request), context); + handler(this, request, listVswitch(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ListUsersByConditionOutcomeCallable EmrClient::listUsersByConditionCallable(const ListUsersByConditionRequest &request) const +EmrClient::ListVswitchOutcomeCallable EmrClient::listVswitchCallable(const ListVswitchRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->listUsersByCondition(request); + return this->listVswitch(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); return task->get_future(); } -EmrClient::MetastoreCreateDataResourceOutcome EmrClient::metastoreCreateDataResource(const MetastoreCreateDataResourceRequest &request) const +EmrClient::ModifyClusterBootstrapActionOutcome EmrClient::modifyClusterBootstrapAction(const ModifyClusterBootstrapActionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return MetastoreCreateDataResourceOutcome(endpointOutcome.error()); + return ModifyClusterBootstrapActionOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return MetastoreCreateDataResourceOutcome(MetastoreCreateDataResourceResult(outcome.result())); + return ModifyClusterBootstrapActionOutcome(ModifyClusterBootstrapActionResult(outcome.result())); else - return MetastoreCreateDataResourceOutcome(outcome.error()); + return ModifyClusterBootstrapActionOutcome(outcome.error()); } -void EmrClient::metastoreCreateDataResourceAsync(const MetastoreCreateDataResourceRequest& request, const MetastoreCreateDataResourceAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::modifyClusterBootstrapActionAsync(const ModifyClusterBootstrapActionRequest& request, const ModifyClusterBootstrapActionAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, metastoreCreateDataResource(request), context); + handler(this, request, modifyClusterBootstrapAction(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::MetastoreCreateDataResourceOutcomeCallable EmrClient::metastoreCreateDataResourceCallable(const MetastoreCreateDataResourceRequest &request) const +EmrClient::ModifyClusterBootstrapActionOutcomeCallable EmrClient::modifyClusterBootstrapActionCallable(const ModifyClusterBootstrapActionRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->metastoreCreateDataResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreCreateDatabaseOutcome EmrClient::metastoreCreateDatabase(const MetastoreCreateDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreCreateDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreCreateDatabaseOutcome(MetastoreCreateDatabaseResult(outcome.result())); - else - return MetastoreCreateDatabaseOutcome(outcome.error()); -} - -void EmrClient::metastoreCreateDatabaseAsync(const MetastoreCreateDatabaseRequest& request, const MetastoreCreateDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreCreateDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreCreateDatabaseOutcomeCallable EmrClient::metastoreCreateDatabaseCallable(const MetastoreCreateDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreCreateDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreCreateKafkaTopicOutcome EmrClient::metastoreCreateKafkaTopic(const MetastoreCreateKafkaTopicRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreCreateKafkaTopicOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreCreateKafkaTopicOutcome(MetastoreCreateKafkaTopicResult(outcome.result())); - else - return MetastoreCreateKafkaTopicOutcome(outcome.error()); -} - -void EmrClient::metastoreCreateKafkaTopicAsync(const MetastoreCreateKafkaTopicRequest& request, const MetastoreCreateKafkaTopicAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreCreateKafkaTopic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreCreateKafkaTopicOutcomeCallable EmrClient::metastoreCreateKafkaTopicCallable(const MetastoreCreateKafkaTopicRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreCreateKafkaTopic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreCreateTableOutcome EmrClient::metastoreCreateTable(const MetastoreCreateTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreCreateTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreCreateTableOutcome(MetastoreCreateTableResult(outcome.result())); - else - return MetastoreCreateTableOutcome(outcome.error()); -} - -void EmrClient::metastoreCreateTableAsync(const MetastoreCreateTableRequest& request, const MetastoreCreateTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreCreateTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreCreateTableOutcomeCallable EmrClient::metastoreCreateTableCallable(const MetastoreCreateTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreCreateTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDataPreviewOutcome EmrClient::metastoreDataPreview(const MetastoreDataPreviewRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDataPreviewOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDataPreviewOutcome(MetastoreDataPreviewResult(outcome.result())); - else - return MetastoreDataPreviewOutcome(outcome.error()); -} - -void EmrClient::metastoreDataPreviewAsync(const MetastoreDataPreviewRequest& request, const MetastoreDataPreviewAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDataPreview(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDataPreviewOutcomeCallable EmrClient::metastoreDataPreviewCallable(const MetastoreDataPreviewRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDataPreview(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDeleteDataResourceOutcome EmrClient::metastoreDeleteDataResource(const MetastoreDeleteDataResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDeleteDataResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDeleteDataResourceOutcome(MetastoreDeleteDataResourceResult(outcome.result())); - else - return MetastoreDeleteDataResourceOutcome(outcome.error()); -} - -void EmrClient::metastoreDeleteDataResourceAsync(const MetastoreDeleteDataResourceRequest& request, const MetastoreDeleteDataResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDeleteDataResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDeleteDataResourceOutcomeCallable EmrClient::metastoreDeleteDataResourceCallable(const MetastoreDeleteDataResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDeleteDataResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDeleteKafkaTopicOutcome EmrClient::metastoreDeleteKafkaTopic(const MetastoreDeleteKafkaTopicRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDeleteKafkaTopicOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDeleteKafkaTopicOutcome(MetastoreDeleteKafkaTopicResult(outcome.result())); - else - return MetastoreDeleteKafkaTopicOutcome(outcome.error()); -} - -void EmrClient::metastoreDeleteKafkaTopicAsync(const MetastoreDeleteKafkaTopicRequest& request, const MetastoreDeleteKafkaTopicAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDeleteKafkaTopic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDeleteKafkaTopicOutcomeCallable EmrClient::metastoreDeleteKafkaTopicCallable(const MetastoreDeleteKafkaTopicRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDeleteKafkaTopic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDescribeDataSourceOutcome EmrClient::metastoreDescribeDataSource(const MetastoreDescribeDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDescribeDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDescribeDataSourceOutcome(MetastoreDescribeDataSourceResult(outcome.result())); - else - return MetastoreDescribeDataSourceOutcome(outcome.error()); -} - -void EmrClient::metastoreDescribeDataSourceAsync(const MetastoreDescribeDataSourceRequest& request, const MetastoreDescribeDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDescribeDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDescribeDataSourceOutcomeCallable EmrClient::metastoreDescribeDataSourceCallable(const MetastoreDescribeDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDescribeDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDescribeDatabaseOutcome EmrClient::metastoreDescribeDatabase(const MetastoreDescribeDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDescribeDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDescribeDatabaseOutcome(MetastoreDescribeDatabaseResult(outcome.result())); - else - return MetastoreDescribeDatabaseOutcome(outcome.error()); -} - -void EmrClient::metastoreDescribeDatabaseAsync(const MetastoreDescribeDatabaseRequest& request, const MetastoreDescribeDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDescribeDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDescribeDatabaseOutcomeCallable EmrClient::metastoreDescribeDatabaseCallable(const MetastoreDescribeDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDescribeDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDescribeKafkaConsumerGroupOutcome EmrClient::metastoreDescribeKafkaConsumerGroup(const MetastoreDescribeKafkaConsumerGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDescribeKafkaConsumerGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDescribeKafkaConsumerGroupOutcome(MetastoreDescribeKafkaConsumerGroupResult(outcome.result())); - else - return MetastoreDescribeKafkaConsumerGroupOutcome(outcome.error()); -} - -void EmrClient::metastoreDescribeKafkaConsumerGroupAsync(const MetastoreDescribeKafkaConsumerGroupRequest& request, const MetastoreDescribeKafkaConsumerGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDescribeKafkaConsumerGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDescribeKafkaConsumerGroupOutcomeCallable EmrClient::metastoreDescribeKafkaConsumerGroupCallable(const MetastoreDescribeKafkaConsumerGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDescribeKafkaConsumerGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDescribeKafkaTopicOutcome EmrClient::metastoreDescribeKafkaTopic(const MetastoreDescribeKafkaTopicRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDescribeKafkaTopicOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDescribeKafkaTopicOutcome(MetastoreDescribeKafkaTopicResult(outcome.result())); - else - return MetastoreDescribeKafkaTopicOutcome(outcome.error()); -} - -void EmrClient::metastoreDescribeKafkaTopicAsync(const MetastoreDescribeKafkaTopicRequest& request, const MetastoreDescribeKafkaTopicAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDescribeKafkaTopic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDescribeKafkaTopicOutcomeCallable EmrClient::metastoreDescribeKafkaTopicCallable(const MetastoreDescribeKafkaTopicRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDescribeKafkaTopic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDescribeTableOutcome EmrClient::metastoreDescribeTable(const MetastoreDescribeTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDescribeTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDescribeTableOutcome(MetastoreDescribeTableResult(outcome.result())); - else - return MetastoreDescribeTableOutcome(outcome.error()); -} - -void EmrClient::metastoreDescribeTableAsync(const MetastoreDescribeTableRequest& request, const MetastoreDescribeTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDescribeTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDescribeTableOutcomeCallable EmrClient::metastoreDescribeTableCallable(const MetastoreDescribeTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDescribeTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDescribeTaskOutcome EmrClient::metastoreDescribeTask(const MetastoreDescribeTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDescribeTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDescribeTaskOutcome(MetastoreDescribeTaskResult(outcome.result())); - else - return MetastoreDescribeTaskOutcome(outcome.error()); -} - -void EmrClient::metastoreDescribeTaskAsync(const MetastoreDescribeTaskRequest& request, const MetastoreDescribeTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDescribeTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDescribeTaskOutcomeCallable EmrClient::metastoreDescribeTaskCallable(const MetastoreDescribeTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDescribeTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDropDatabaseOutcome EmrClient::metastoreDropDatabase(const MetastoreDropDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDropDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDropDatabaseOutcome(MetastoreDropDatabaseResult(outcome.result())); - else - return MetastoreDropDatabaseOutcome(outcome.error()); -} - -void EmrClient::metastoreDropDatabaseAsync(const MetastoreDropDatabaseRequest& request, const MetastoreDropDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDropDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDropDatabaseOutcomeCallable EmrClient::metastoreDropDatabaseCallable(const MetastoreDropDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDropDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreDropTableOutcome EmrClient::metastoreDropTable(const MetastoreDropTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreDropTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreDropTableOutcome(MetastoreDropTableResult(outcome.result())); - else - return MetastoreDropTableOutcome(outcome.error()); -} - -void EmrClient::metastoreDropTableAsync(const MetastoreDropTableRequest& request, const MetastoreDropTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreDropTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreDropTableOutcomeCallable EmrClient::metastoreDropTableCallable(const MetastoreDropTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreDropTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListDataResourcesOutcome EmrClient::metastoreListDataResources(const MetastoreListDataResourcesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListDataResourcesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListDataResourcesOutcome(MetastoreListDataResourcesResult(outcome.result())); - else - return MetastoreListDataResourcesOutcome(outcome.error()); -} - -void EmrClient::metastoreListDataResourcesAsync(const MetastoreListDataResourcesRequest& request, const MetastoreListDataResourcesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListDataResources(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListDataResourcesOutcomeCallable EmrClient::metastoreListDataResourcesCallable(const MetastoreListDataResourcesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListDataResources(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListDataSourceOutcome EmrClient::metastoreListDataSource(const MetastoreListDataSourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListDataSourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListDataSourceOutcome(MetastoreListDataSourceResult(outcome.result())); - else - return MetastoreListDataSourceOutcome(outcome.error()); -} - -void EmrClient::metastoreListDataSourceAsync(const MetastoreListDataSourceRequest& request, const MetastoreListDataSourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListDataSource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListDataSourceOutcomeCallable EmrClient::metastoreListDataSourceCallable(const MetastoreListDataSourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListDataSource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListDatabasesOutcome EmrClient::metastoreListDatabases(const MetastoreListDatabasesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListDatabasesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListDatabasesOutcome(MetastoreListDatabasesResult(outcome.result())); - else - return MetastoreListDatabasesOutcome(outcome.error()); -} - -void EmrClient::metastoreListDatabasesAsync(const MetastoreListDatabasesRequest& request, const MetastoreListDatabasesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListDatabases(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListDatabasesOutcomeCallable EmrClient::metastoreListDatabasesCallable(const MetastoreListDatabasesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListDatabases(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListKafkaConsumerGroupOutcome EmrClient::metastoreListKafkaConsumerGroup(const MetastoreListKafkaConsumerGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListKafkaConsumerGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListKafkaConsumerGroupOutcome(MetastoreListKafkaConsumerGroupResult(outcome.result())); - else - return MetastoreListKafkaConsumerGroupOutcome(outcome.error()); -} - -void EmrClient::metastoreListKafkaConsumerGroupAsync(const MetastoreListKafkaConsumerGroupRequest& request, const MetastoreListKafkaConsumerGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListKafkaConsumerGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListKafkaConsumerGroupOutcomeCallable EmrClient::metastoreListKafkaConsumerGroupCallable(const MetastoreListKafkaConsumerGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListKafkaConsumerGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListKafkaTopicOutcome EmrClient::metastoreListKafkaTopic(const MetastoreListKafkaTopicRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListKafkaTopicOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListKafkaTopicOutcome(MetastoreListKafkaTopicResult(outcome.result())); - else - return MetastoreListKafkaTopicOutcome(outcome.error()); -} - -void EmrClient::metastoreListKafkaTopicAsync(const MetastoreListKafkaTopicRequest& request, const MetastoreListKafkaTopicAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListKafkaTopic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListKafkaTopicOutcomeCallable EmrClient::metastoreListKafkaTopicCallable(const MetastoreListKafkaTopicRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListKafkaTopic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListTablePartitionOutcome EmrClient::metastoreListTablePartition(const MetastoreListTablePartitionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListTablePartitionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListTablePartitionOutcome(MetastoreListTablePartitionResult(outcome.result())); - else - return MetastoreListTablePartitionOutcome(outcome.error()); -} - -void EmrClient::metastoreListTablePartitionAsync(const MetastoreListTablePartitionRequest& request, const MetastoreListTablePartitionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListTablePartition(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListTablePartitionOutcomeCallable EmrClient::metastoreListTablePartitionCallable(const MetastoreListTablePartitionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListTablePartition(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListTablesOutcome EmrClient::metastoreListTables(const MetastoreListTablesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListTablesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListTablesOutcome(MetastoreListTablesResult(outcome.result())); - else - return MetastoreListTablesOutcome(outcome.error()); -} - -void EmrClient::metastoreListTablesAsync(const MetastoreListTablesRequest& request, const MetastoreListTablesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListTables(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListTablesOutcomeCallable EmrClient::metastoreListTablesCallable(const MetastoreListTablesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListTables(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreListTaskOutcome EmrClient::metastoreListTask(const MetastoreListTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreListTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreListTaskOutcome(MetastoreListTaskResult(outcome.result())); - else - return MetastoreListTaskOutcome(outcome.error()); -} - -void EmrClient::metastoreListTaskAsync(const MetastoreListTaskRequest& request, const MetastoreListTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreListTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreListTaskOutcomeCallable EmrClient::metastoreListTaskCallable(const MetastoreListTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreListTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreModifyDataResourceOutcome EmrClient::metastoreModifyDataResource(const MetastoreModifyDataResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreModifyDataResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreModifyDataResourceOutcome(MetastoreModifyDataResourceResult(outcome.result())); - else - return MetastoreModifyDataResourceOutcome(outcome.error()); -} - -void EmrClient::metastoreModifyDataResourceAsync(const MetastoreModifyDataResourceRequest& request, const MetastoreModifyDataResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreModifyDataResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreModifyDataResourceOutcomeCallable EmrClient::metastoreModifyDataResourceCallable(const MetastoreModifyDataResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreModifyDataResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreRetryTaskOutcome EmrClient::metastoreRetryTask(const MetastoreRetryTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreRetryTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreRetryTaskOutcome(MetastoreRetryTaskResult(outcome.result())); - else - return MetastoreRetryTaskOutcome(outcome.error()); -} - -void EmrClient::metastoreRetryTaskAsync(const MetastoreRetryTaskRequest& request, const MetastoreRetryTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreRetryTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreRetryTaskOutcomeCallable EmrClient::metastoreRetryTaskCallable(const MetastoreRetryTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreRetryTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreSearchTablesOutcome EmrClient::metastoreSearchTables(const MetastoreSearchTablesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreSearchTablesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreSearchTablesOutcome(MetastoreSearchTablesResult(outcome.result())); - else - return MetastoreSearchTablesOutcome(outcome.error()); -} - -void EmrClient::metastoreSearchTablesAsync(const MetastoreSearchTablesRequest& request, const MetastoreSearchTablesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreSearchTables(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreSearchTablesOutcomeCallable EmrClient::metastoreSearchTablesCallable(const MetastoreSearchTablesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreSearchTables(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreUpdateKafkaTopicOutcome EmrClient::metastoreUpdateKafkaTopic(const MetastoreUpdateKafkaTopicRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreUpdateKafkaTopicOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreUpdateKafkaTopicOutcome(MetastoreUpdateKafkaTopicResult(outcome.result())); - else - return MetastoreUpdateKafkaTopicOutcome(outcome.error()); -} - -void EmrClient::metastoreUpdateKafkaTopicAsync(const MetastoreUpdateKafkaTopicRequest& request, const MetastoreUpdateKafkaTopicAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreUpdateKafkaTopic(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreUpdateKafkaTopicOutcomeCallable EmrClient::metastoreUpdateKafkaTopicCallable(const MetastoreUpdateKafkaTopicRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreUpdateKafkaTopic(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreUpdateKafkaTopicBatchOutcome EmrClient::metastoreUpdateKafkaTopicBatch(const MetastoreUpdateKafkaTopicBatchRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreUpdateKafkaTopicBatchOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreUpdateKafkaTopicBatchOutcome(MetastoreUpdateKafkaTopicBatchResult(outcome.result())); - else - return MetastoreUpdateKafkaTopicBatchOutcome(outcome.error()); -} - -void EmrClient::metastoreUpdateKafkaTopicBatchAsync(const MetastoreUpdateKafkaTopicBatchRequest& request, const MetastoreUpdateKafkaTopicBatchAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreUpdateKafkaTopicBatch(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreUpdateKafkaTopicBatchOutcomeCallable EmrClient::metastoreUpdateKafkaTopicBatchCallable(const MetastoreUpdateKafkaTopicBatchRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreUpdateKafkaTopicBatch(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MetastoreUpdateTableOutcome EmrClient::metastoreUpdateTable(const MetastoreUpdateTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MetastoreUpdateTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MetastoreUpdateTableOutcome(MetastoreUpdateTableResult(outcome.result())); - else - return MetastoreUpdateTableOutcome(outcome.error()); -} - -void EmrClient::metastoreUpdateTableAsync(const MetastoreUpdateTableRequest& request, const MetastoreUpdateTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, metastoreUpdateTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MetastoreUpdateTableOutcomeCallable EmrClient::metastoreUpdateTableCallable(const MetastoreUpdateTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->metastoreUpdateTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MigrateClusterHostGroupHostOutcome EmrClient::migrateClusterHostGroupHost(const MigrateClusterHostGroupHostRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MigrateClusterHostGroupHostOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MigrateClusterHostGroupHostOutcome(MigrateClusterHostGroupHostResult(outcome.result())); - else - return MigrateClusterHostGroupHostOutcome(outcome.error()); -} - -void EmrClient::migrateClusterHostGroupHostAsync(const MigrateClusterHostGroupHostRequest& request, const MigrateClusterHostGroupHostAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, migrateClusterHostGroupHost(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MigrateClusterHostGroupHostOutcomeCallable EmrClient::migrateClusterHostGroupHostCallable(const MigrateClusterHostGroupHostRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->migrateClusterHostGroupHost(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::MigrateJobsOutcome EmrClient::migrateJobs(const MigrateJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MigrateJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MigrateJobsOutcome(MigrateJobsResult(outcome.result())); - else - return MigrateJobsOutcome(outcome.error()); -} - -void EmrClient::migrateJobsAsync(const MigrateJobsRequest& request, const MigrateJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, migrateJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::MigrateJobsOutcomeCallable EmrClient::migrateJobsCallable(const MigrateJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->migrateJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyAlertContactOutcome EmrClient::modifyAlertContact(const ModifyAlertContactRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyAlertContactOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyAlertContactOutcome(ModifyAlertContactResult(outcome.result())); - else - return ModifyAlertContactOutcome(outcome.error()); -} - -void EmrClient::modifyAlertContactAsync(const ModifyAlertContactRequest& request, const ModifyAlertContactAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyAlertContact(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyAlertContactOutcomeCallable EmrClient::modifyAlertContactCallable(const ModifyAlertContactRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyAlertContact(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyAlertDingDingGroupOutcome EmrClient::modifyAlertDingDingGroup(const ModifyAlertDingDingGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyAlertDingDingGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyAlertDingDingGroupOutcome(ModifyAlertDingDingGroupResult(outcome.result())); - else - return ModifyAlertDingDingGroupOutcome(outcome.error()); -} - -void EmrClient::modifyAlertDingDingGroupAsync(const ModifyAlertDingDingGroupRequest& request, const ModifyAlertDingDingGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyAlertDingDingGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyAlertDingDingGroupOutcomeCallable EmrClient::modifyAlertDingDingGroupCallable(const ModifyAlertDingDingGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyAlertDingDingGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyAlertUserGroupOutcome EmrClient::modifyAlertUserGroup(const ModifyAlertUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyAlertUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyAlertUserGroupOutcome(ModifyAlertUserGroupResult(outcome.result())); - else - return ModifyAlertUserGroupOutcome(outcome.error()); -} - -void EmrClient::modifyAlertUserGroupAsync(const ModifyAlertUserGroupRequest& request, const ModifyAlertUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyAlertUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyAlertUserGroupOutcomeCallable EmrClient::modifyAlertUserGroupCallable(const ModifyAlertUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyAlertUserGroup(request); + return this->modifyClusterBootstrapAction(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -11499,6 +6279,42 @@ EmrClient::ModifyClusterNameOutcomeCallable EmrClient::modifyClusterNameCallable return task->get_future(); } +EmrClient::ModifyClusterSecurityGroupRuleOutcome EmrClient::modifyClusterSecurityGroupRule(const ModifyClusterSecurityGroupRuleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyClusterSecurityGroupRuleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyClusterSecurityGroupRuleOutcome(ModifyClusterSecurityGroupRuleResult(outcome.result())); + else + return ModifyClusterSecurityGroupRuleOutcome(outcome.error()); +} + +void EmrClient::modifyClusterSecurityGroupRuleAsync(const ModifyClusterSecurityGroupRuleRequest& request, const ModifyClusterSecurityGroupRuleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyClusterSecurityGroupRule(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::ModifyClusterSecurityGroupRuleOutcomeCallable EmrClient::modifyClusterSecurityGroupRuleCallable(const ModifyClusterSecurityGroupRuleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyClusterSecurityGroupRule(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EmrClient::ModifyClusterServiceConfigOutcome EmrClient::modifyClusterServiceConfig(const ModifyClusterServiceConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -11535,42 +6351,6 @@ EmrClient::ModifyClusterServiceConfigOutcomeCallable EmrClient::modifyClusterSer return task->get_future(); } -EmrClient::ModifyClusterServiceConfigForAdminOutcome EmrClient::modifyClusterServiceConfigForAdmin(const ModifyClusterServiceConfigForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyClusterServiceConfigForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyClusterServiceConfigForAdminOutcome(ModifyClusterServiceConfigForAdminResult(outcome.result())); - else - return ModifyClusterServiceConfigForAdminOutcome(outcome.error()); -} - -void EmrClient::modifyClusterServiceConfigForAdminAsync(const ModifyClusterServiceConfigForAdminRequest& request, const ModifyClusterServiceConfigForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyClusterServiceConfigForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyClusterServiceConfigForAdminOutcomeCallable EmrClient::modifyClusterServiceConfigForAdminCallable(const ModifyClusterServiceConfigForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyClusterServiceConfigForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyClusterTemplateOutcome EmrClient::modifyClusterTemplate(const ModifyClusterTemplateRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -11643,150 +6423,6 @@ EmrClient::ModifyExecutionPlanOutcomeCallable EmrClient::modifyExecutionPlanCall return task->get_future(); } -EmrClient::ModifyExecutionPlanBasicInfoOutcome EmrClient::modifyExecutionPlanBasicInfo(const ModifyExecutionPlanBasicInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyExecutionPlanBasicInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyExecutionPlanBasicInfoOutcome(ModifyExecutionPlanBasicInfoResult(outcome.result())); - else - return ModifyExecutionPlanBasicInfoOutcome(outcome.error()); -} - -void EmrClient::modifyExecutionPlanBasicInfoAsync(const ModifyExecutionPlanBasicInfoRequest& request, const ModifyExecutionPlanBasicInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyExecutionPlanBasicInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyExecutionPlanBasicInfoOutcomeCallable EmrClient::modifyExecutionPlanBasicInfoCallable(const ModifyExecutionPlanBasicInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyExecutionPlanBasicInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyExecutionPlanClusterInfoOutcome EmrClient::modifyExecutionPlanClusterInfo(const ModifyExecutionPlanClusterInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyExecutionPlanClusterInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyExecutionPlanClusterInfoOutcome(ModifyExecutionPlanClusterInfoResult(outcome.result())); - else - return ModifyExecutionPlanClusterInfoOutcome(outcome.error()); -} - -void EmrClient::modifyExecutionPlanClusterInfoAsync(const ModifyExecutionPlanClusterInfoRequest& request, const ModifyExecutionPlanClusterInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyExecutionPlanClusterInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyExecutionPlanClusterInfoOutcomeCallable EmrClient::modifyExecutionPlanClusterInfoCallable(const ModifyExecutionPlanClusterInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyExecutionPlanClusterInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyExecutionPlanJobInfoOutcome EmrClient::modifyExecutionPlanJobInfo(const ModifyExecutionPlanJobInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyExecutionPlanJobInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyExecutionPlanJobInfoOutcome(ModifyExecutionPlanJobInfoResult(outcome.result())); - else - return ModifyExecutionPlanJobInfoOutcome(outcome.error()); -} - -void EmrClient::modifyExecutionPlanJobInfoAsync(const ModifyExecutionPlanJobInfoRequest& request, const ModifyExecutionPlanJobInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyExecutionPlanJobInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyExecutionPlanJobInfoOutcomeCallable EmrClient::modifyExecutionPlanJobInfoCallable(const ModifyExecutionPlanJobInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyExecutionPlanJobInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyExecutionPlanScheduleInfoOutcome EmrClient::modifyExecutionPlanScheduleInfo(const ModifyExecutionPlanScheduleInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyExecutionPlanScheduleInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyExecutionPlanScheduleInfoOutcome(ModifyExecutionPlanScheduleInfoResult(outcome.result())); - else - return ModifyExecutionPlanScheduleInfoOutcome(outcome.error()); -} - -void EmrClient::modifyExecutionPlanScheduleInfoAsync(const ModifyExecutionPlanScheduleInfoRequest& request, const ModifyExecutionPlanScheduleInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyExecutionPlanScheduleInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyExecutionPlanScheduleInfoOutcomeCallable EmrClient::modifyExecutionPlanScheduleInfoCallable(const ModifyExecutionPlanScheduleInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyExecutionPlanScheduleInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyFlowOutcome EmrClient::modifyFlow(const ModifyFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12003,114 +6639,6 @@ EmrClient::ModifyFlowProjectClusterSettingOutcomeCallable EmrClient::modifyFlowP return task->get_future(); } -EmrClient::ModifyFlowVariableCollectionOutcome EmrClient::modifyFlowVariableCollection(const ModifyFlowVariableCollectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyFlowVariableCollectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyFlowVariableCollectionOutcome(ModifyFlowVariableCollectionResult(outcome.result())); - else - return ModifyFlowVariableCollectionOutcome(outcome.error()); -} - -void EmrClient::modifyFlowVariableCollectionAsync(const ModifyFlowVariableCollectionRequest& request, const ModifyFlowVariableCollectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyFlowVariableCollection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyFlowVariableCollectionOutcomeCallable EmrClient::modifyFlowVariableCollectionCallable(const ModifyFlowVariableCollectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyFlowVariableCollection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyHostPoolOutcome EmrClient::modifyHostPool(const ModifyHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyHostPoolOutcome(ModifyHostPoolResult(outcome.result())); - else - return ModifyHostPoolOutcome(outcome.error()); -} - -void EmrClient::modifyHostPoolAsync(const ModifyHostPoolRequest& request, const ModifyHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyHostPoolOutcomeCallable EmrClient::modifyHostPoolCallable(const ModifyHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyHpHostOutcome EmrClient::modifyHpHost(const ModifyHpHostRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyHpHostOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyHpHostOutcome(ModifyHpHostResult(outcome.result())); - else - return ModifyHpHostOutcome(outcome.error()); -} - -void EmrClient::modifyHpHostAsync(const ModifyHpHostRequest& request, const ModifyHpHostAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyHpHost(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyHpHostOutcomeCallable EmrClient::modifyHpHostCallable(const ModifyHpHostRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyHpHost(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyJobOutcome EmrClient::modifyJob(const ModifyJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12147,78 +6675,6 @@ EmrClient::ModifyJobOutcomeCallable EmrClient::modifyJobCallable(const ModifyJob return task->get_future(); } -EmrClient::ModifyJobExecutionPlanFolderOutcome EmrClient::modifyJobExecutionPlanFolder(const ModifyJobExecutionPlanFolderRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyJobExecutionPlanFolderOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyJobExecutionPlanFolderOutcome(ModifyJobExecutionPlanFolderResult(outcome.result())); - else - return ModifyJobExecutionPlanFolderOutcome(outcome.error()); -} - -void EmrClient::modifyJobExecutionPlanFolderAsync(const ModifyJobExecutionPlanFolderRequest& request, const ModifyJobExecutionPlanFolderAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyJobExecutionPlanFolder(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyJobExecutionPlanFolderOutcomeCallable EmrClient::modifyJobExecutionPlanFolderCallable(const ModifyJobExecutionPlanFolderRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyJobExecutionPlanFolder(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ModifyJobExecutionPlanParamOutcome EmrClient::modifyJobExecutionPlanParam(const ModifyJobExecutionPlanParamRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyJobExecutionPlanParamOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyJobExecutionPlanParamOutcome(ModifyJobExecutionPlanParamResult(outcome.result())); - else - return ModifyJobExecutionPlanParamOutcome(outcome.error()); -} - -void EmrClient::modifyJobExecutionPlanParamAsync(const ModifyJobExecutionPlanParamRequest& request, const ModifyJobExecutionPlanParamAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyJobExecutionPlanParam(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyJobExecutionPlanParamOutcomeCallable EmrClient::modifyJobExecutionPlanParamCallable(const ModifyJobExecutionPlanParamRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyJobExecutionPlanParam(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ModifyResourcePoolOutcome EmrClient::modifyResourcePool(const ModifyResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12327,6 +6783,78 @@ EmrClient::ModifyResourceQueueOutcomeCallable EmrClient::modifyResourceQueueCall return task->get_future(); } +EmrClient::ModifyScalingConfigItemV2Outcome EmrClient::modifyScalingConfigItemV2(const ModifyScalingConfigItemV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyScalingConfigItemV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyScalingConfigItemV2Outcome(ModifyScalingConfigItemV2Result(outcome.result())); + else + return ModifyScalingConfigItemV2Outcome(outcome.error()); +} + +void EmrClient::modifyScalingConfigItemV2Async(const ModifyScalingConfigItemV2Request& request, const ModifyScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyScalingConfigItemV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::ModifyScalingConfigItemV2OutcomeCallable EmrClient::modifyScalingConfigItemV2Callable(const ModifyScalingConfigItemV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyScalingConfigItemV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +EmrClient::ModifyScalingGroupV2Outcome EmrClient::modifyScalingGroupV2(const ModifyScalingGroupV2Request &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyScalingGroupV2Outcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyScalingGroupV2Outcome(ModifyScalingGroupV2Result(outcome.result())); + else + return ModifyScalingGroupV2Outcome(outcome.error()); +} + +void EmrClient::modifyScalingGroupV2Async(const ModifyScalingGroupV2Request& request, const ModifyScalingGroupV2AsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyScalingGroupV2(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +EmrClient::ModifyScalingGroupV2OutcomeCallable EmrClient::modifyScalingGroupV2Callable(const ModifyScalingGroupV2Request &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyScalingGroupV2(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + EmrClient::ModifyScalingRuleOutcome EmrClient::modifyScalingRule(const ModifyScalingRuleRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12399,294 +6927,6 @@ EmrClient::ModifyScalingTaskGroupOutcomeCallable EmrClient::modifyScalingTaskGro return task->get_future(); } -EmrClient::ModifyUserStatisticsOutcome EmrClient::modifyUserStatistics(const ModifyUserStatisticsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyUserStatisticsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyUserStatisticsOutcome(ModifyUserStatisticsResult(outcome.result())); - else - return ModifyUserStatisticsOutcome(outcome.error()); -} - -void EmrClient::modifyUserStatisticsAsync(const ModifyUserStatisticsRequest& request, const ModifyUserStatisticsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyUserStatistics(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ModifyUserStatisticsOutcomeCallable EmrClient::modifyUserStatisticsCallable(const ModifyUserStatisticsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyUserStatistics(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::OfflineKafkaBrokerOutcome EmrClient::offlineKafkaBroker(const OfflineKafkaBrokerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return OfflineKafkaBrokerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return OfflineKafkaBrokerOutcome(OfflineKafkaBrokerResult(outcome.result())); - else - return OfflineKafkaBrokerOutcome(outcome.error()); -} - -void EmrClient::offlineKafkaBrokerAsync(const OfflineKafkaBrokerRequest& request, const OfflineKafkaBrokerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, offlineKafkaBroker(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::OfflineKafkaBrokerOutcomeCallable EmrClient::offlineKafkaBrokerCallable(const OfflineKafkaBrokerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->offlineKafkaBroker(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::OperateExistsNodeClusterOutcome EmrClient::operateExistsNodeCluster(const OperateExistsNodeClusterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return OperateExistsNodeClusterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return OperateExistsNodeClusterOutcome(OperateExistsNodeClusterResult(outcome.result())); - else - return OperateExistsNodeClusterOutcome(outcome.error()); -} - -void EmrClient::operateExistsNodeClusterAsync(const OperateExistsNodeClusterRequest& request, const OperateExistsNodeClusterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, operateExistsNodeCluster(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::OperateExistsNodeClusterOutcomeCallable EmrClient::operateExistsNodeClusterCallable(const OperateExistsNodeClusterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->operateExistsNodeCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::PageListResourceUsersOutcome EmrClient::pageListResourceUsers(const PageListResourceUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PageListResourceUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PageListResourceUsersOutcome(PageListResourceUsersResult(outcome.result())); - else - return PageListResourceUsersOutcome(outcome.error()); -} - -void EmrClient::pageListResourceUsersAsync(const PageListResourceUsersRequest& request, const PageListResourceUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, pageListResourceUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::PageListResourceUsersOutcomeCallable EmrClient::pageListResourceUsersCallable(const PageListResourceUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->pageListResourceUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::PageListUserGroupsOutcome EmrClient::pageListUserGroups(const PageListUserGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PageListUserGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PageListUserGroupsOutcome(PageListUserGroupsResult(outcome.result())); - else - return PageListUserGroupsOutcome(outcome.error()); -} - -void EmrClient::pageListUserGroupsAsync(const PageListUserGroupsRequest& request, const PageListUserGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, pageListUserGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::PageListUserGroupsOutcomeCallable EmrClient::pageListUserGroupsCallable(const PageListUserGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->pageListUserGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::PageListUsersOutcome EmrClient::pageListUsers(const PageListUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PageListUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PageListUsersOutcome(PageListUsersResult(outcome.result())); - else - return PageListUsersOutcome(outcome.error()); -} - -void EmrClient::pageListUsersAsync(const PageListUsersRequest& request, const PageListUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, pageListUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::PageListUsersOutcomeCallable EmrClient::pageListUsersCallable(const PageListUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->pageListUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::PlanComponentTopoOutcome EmrClient::planComponentTopo(const PlanComponentTopoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PlanComponentTopoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PlanComponentTopoOutcome(PlanComponentTopoResult(outcome.result())); - else - return PlanComponentTopoOutcome(outcome.error()); -} - -void EmrClient::planComponentTopoAsync(const PlanComponentTopoRequest& request, const PlanComponentTopoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, planComponentTopo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::PlanComponentTopoOutcomeCallable EmrClient::planComponentTopoCallable(const PlanComponentTopoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->planComponentTopo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::PlanHostNameOutcome EmrClient::planHostName(const PlanHostNameRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PlanHostNameOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PlanHostNameOutcome(PlanHostNameResult(outcome.result())); - else - return PlanHostNameOutcome(outcome.error()); -} - -void EmrClient::planHostNameAsync(const PlanHostNameRequest& request, const PlanHostNameAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, planHostName(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::PlanHostNameOutcomeCallable EmrClient::planHostNameCallable(const PlanHostNameRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->planHostName(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::QueryAlarmHistoryOutcome EmrClient::queryAlarmHistory(const QueryAlarmHistoryRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12723,42 +6963,6 @@ EmrClient::QueryAlarmHistoryOutcomeCallable EmrClient::queryAlarmHistoryCallable return task->get_future(); } -EmrClient::QueryAlarmRulesOutcome EmrClient::queryAlarmRules(const QueryAlarmRulesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryAlarmRulesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryAlarmRulesOutcome(QueryAlarmRulesResult(outcome.result())); - else - return QueryAlarmRulesOutcome(outcome.error()); -} - -void EmrClient::queryAlarmRulesAsync(const QueryAlarmRulesRequest& request, const QueryAlarmRulesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryAlarmRules(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryAlarmRulesOutcomeCallable EmrClient::queryAlarmRulesCallable(const QueryAlarmRulesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryAlarmRules(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::QueryEntityOutcome EmrClient::queryEntity(const QueryEntityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12795,78 +6999,6 @@ EmrClient::QueryEntityOutcomeCallable EmrClient::queryEntityCallable(const Query return task->get_future(); } -EmrClient::QueryInfoByTokenOutcome EmrClient::queryInfoByToken(const QueryInfoByTokenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryInfoByTokenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryInfoByTokenOutcome(QueryInfoByTokenResult(outcome.result())); - else - return QueryInfoByTokenOutcome(outcome.error()); -} - -void EmrClient::queryInfoByTokenAsync(const QueryInfoByTokenRequest& request, const QueryInfoByTokenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryInfoByToken(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryInfoByTokenOutcomeCallable EmrClient::queryInfoByTokenCallable(const QueryInfoByTokenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryInfoByToken(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::QuerySlsMetricDataOutcome EmrClient::querySlsMetricData(const QuerySlsMetricDataRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QuerySlsMetricDataOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QuerySlsMetricDataOutcome(QuerySlsMetricDataResult(outcome.result())); - else - return QuerySlsMetricDataOutcome(outcome.error()); -} - -void EmrClient::querySlsMetricDataAsync(const QuerySlsMetricDataRequest& request, const QuerySlsMetricDataAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, querySlsMetricData(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QuerySlsMetricDataOutcomeCallable EmrClient::querySlsMetricDataCallable(const QuerySlsMetricDataRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->querySlsMetricData(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::QueryTableDataOutcome EmrClient::queryTableData(const QueryTableDataRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -12975,150 +7107,6 @@ EmrClient::QueryTrendDataOutcomeCallable EmrClient::queryTrendDataCallable(const return task->get_future(); } -EmrClient::QueryUserActionsPolicyOutcome EmrClient::queryUserActionsPolicy(const QueryUserActionsPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryUserActionsPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryUserActionsPolicyOutcome(QueryUserActionsPolicyResult(outcome.result())); - else - return QueryUserActionsPolicyOutcome(outcome.error()); -} - -void EmrClient::queryUserActionsPolicyAsync(const QueryUserActionsPolicyRequest& request, const QueryUserActionsPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryUserActionsPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryUserActionsPolicyOutcomeCallable EmrClient::queryUserActionsPolicyCallable(const QueryUserActionsPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryUserActionsPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::QueryUserPoliciesOutcome EmrClient::queryUserPolicies(const QueryUserPoliciesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryUserPoliciesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryUserPoliciesOutcome(QueryUserPoliciesResult(outcome.result())); - else - return QueryUserPoliciesOutcome(outcome.error()); -} - -void EmrClient::queryUserPoliciesAsync(const QueryUserPoliciesRequest& request, const QueryUserPoliciesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryUserPolicies(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::QueryUserPoliciesOutcomeCallable EmrClient::queryUserPoliciesCallable(const QueryUserPoliciesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryUserPolicies(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ReassignKafkaOutcome EmrClient::reassignKafka(const ReassignKafkaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReassignKafkaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReassignKafkaOutcome(ReassignKafkaResult(outcome.result())); - else - return ReassignKafkaOutcome(outcome.error()); -} - -void EmrClient::reassignKafkaAsync(const ReassignKafkaRequest& request, const ReassignKafkaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, reassignKafka(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ReassignKafkaOutcomeCallable EmrClient::reassignKafkaCallable(const ReassignKafkaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->reassignKafka(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RefreshBackupListOutcome EmrClient::refreshBackupList(const RefreshBackupListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RefreshBackupListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RefreshBackupListOutcome(RefreshBackupListResult(outcome.result())); - else - return RefreshBackupListOutcome(outcome.error()); -} - -void EmrClient::refreshBackupListAsync(const RefreshBackupListRequest& request, const RefreshBackupListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, refreshBackupList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RefreshBackupListOutcomeCallable EmrClient::refreshBackupListCallable(const RefreshBackupListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->refreshBackupList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RefreshClusterResourcePoolOutcome EmrClient::refreshClusterResourcePool(const RefreshClusterResourcePoolRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -13155,42 +7143,6 @@ EmrClient::RefreshClusterResourcePoolOutcomeCallable EmrClient::refreshClusterRe return task->get_future(); } -EmrClient::RefreshClusterResourcePoolForAdminOutcome EmrClient::refreshClusterResourcePoolForAdmin(const RefreshClusterResourcePoolForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RefreshClusterResourcePoolForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RefreshClusterResourcePoolForAdminOutcome(RefreshClusterResourcePoolForAdminResult(outcome.result())); - else - return RefreshClusterResourcePoolForAdminOutcome(outcome.error()); -} - -void EmrClient::refreshClusterResourcePoolForAdminAsync(const RefreshClusterResourcePoolForAdminRequest& request, const RefreshClusterResourcePoolForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, refreshClusterResourcePoolForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RefreshClusterResourcePoolForAdminOutcomeCallable EmrClient::refreshClusterResourcePoolForAdminCallable(const RefreshClusterResourcePoolForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->refreshClusterResourcePoolForAdmin(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ReleaseClusterOutcome EmrClient::releaseCluster(const ReleaseClusterRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -13299,288 +7251,36 @@ EmrClient::ReleaseClusterHostGroupOutcomeCallable EmrClient::releaseClusterHostG return task->get_future(); } -EmrClient::ReleaseETLJobOutcome EmrClient::releaseETLJob(const ReleaseETLJobRequest &request) const +EmrClient::RemoveScalingConfigItemV2Outcome EmrClient::removeScalingConfigItemV2(const RemoveScalingConfigItemV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return ReleaseETLJobOutcome(endpointOutcome.error()); + return RemoveScalingConfigItemV2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return ReleaseETLJobOutcome(ReleaseETLJobResult(outcome.result())); + return RemoveScalingConfigItemV2Outcome(RemoveScalingConfigItemV2Result(outcome.result())); else - return ReleaseETLJobOutcome(outcome.error()); + return RemoveScalingConfigItemV2Outcome(outcome.error()); } -void EmrClient::releaseETLJobAsync(const ReleaseETLJobRequest& request, const ReleaseETLJobAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::removeScalingConfigItemV2Async(const RemoveScalingConfigItemV2Request& request, const RemoveScalingConfigItemV2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, releaseETLJob(request), context); + handler(this, request, removeScalingConfigItemV2(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::ReleaseETLJobOutcomeCallable EmrClient::releaseETLJobCallable(const ReleaseETLJobRequest &request) const +EmrClient::RemoveScalingConfigItemV2OutcomeCallable EmrClient::removeScalingConfigItemV2Callable(const RemoveScalingConfigItemV2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->releaseETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RemoveBackupOutcome EmrClient::removeBackup(const RemoveBackupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveBackupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveBackupOutcome(RemoveBackupResult(outcome.result())); - else - return RemoveBackupOutcome(outcome.error()); -} - -void EmrClient::removeBackupAsync(const RemoveBackupRequest& request, const RemoveBackupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeBackup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RemoveBackupOutcomeCallable EmrClient::removeBackupCallable(const RemoveBackupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeBackup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RemoveBackupPlanOutcome EmrClient::removeBackupPlan(const RemoveBackupPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveBackupPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveBackupPlanOutcome(RemoveBackupPlanResult(outcome.result())); - else - return RemoveBackupPlanOutcome(outcome.error()); -} - -void EmrClient::removeBackupPlanAsync(const RemoveBackupPlanRequest& request, const RemoveBackupPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeBackupPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RemoveBackupPlanOutcomeCallable EmrClient::removeBackupPlanCallable(const RemoveBackupPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeBackupPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RemoveBackupRuleOutcome EmrClient::removeBackupRule(const RemoveBackupRuleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveBackupRuleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveBackupRuleOutcome(RemoveBackupRuleResult(outcome.result())); - else - return RemoveBackupRuleOutcome(outcome.error()); -} - -void EmrClient::removeBackupRuleAsync(const RemoveBackupRuleRequest& request, const RemoveBackupRuleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeBackupRule(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RemoveBackupRuleOutcomeCallable EmrClient::removeBackupRuleCallable(const RemoveBackupRuleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeBackupRule(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RemoveClusterHostsOutcome EmrClient::removeClusterHosts(const RemoveClusterHostsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveClusterHostsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveClusterHostsOutcome(RemoveClusterHostsResult(outcome.result())); - else - return RemoveClusterHostsOutcome(outcome.error()); -} - -void EmrClient::removeClusterHostsAsync(const RemoveClusterHostsRequest& request, const RemoveClusterHostsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeClusterHosts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RemoveClusterHostsOutcomeCallable EmrClient::removeClusterHostsCallable(const RemoveClusterHostsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeClusterHosts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RemoveHpHostOutcome EmrClient::removeHpHost(const RemoveHpHostRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveHpHostOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveHpHostOutcome(RemoveHpHostResult(outcome.result())); - else - return RemoveHpHostOutcome(outcome.error()); -} - -void EmrClient::removeHpHostAsync(const RemoveHpHostRequest& request, const RemoveHpHostAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeHpHost(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RemoveHpHostOutcomeCallable EmrClient::removeHpHostCallable(const RemoveHpHostRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeHpHost(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RenderResourcePoolXmlOutcome EmrClient::renderResourcePoolXml(const RenderResourcePoolXmlRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RenderResourcePoolXmlOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RenderResourcePoolXmlOutcome(RenderResourcePoolXmlResult(outcome.result())); - else - return RenderResourcePoolXmlOutcome(outcome.error()); -} - -void EmrClient::renderResourcePoolXmlAsync(const RenderResourcePoolXmlRequest& request, const RenderResourcePoolXmlAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, renderResourcePoolXml(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RenderResourcePoolXmlOutcomeCallable EmrClient::renderResourcePoolXmlCallable(const RenderResourcePoolXmlRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->renderResourcePoolXml(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RenderResourcePoolXmlForAdminOutcome EmrClient::renderResourcePoolXmlForAdmin(const RenderResourcePoolXmlForAdminRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RenderResourcePoolXmlForAdminOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RenderResourcePoolXmlForAdminOutcome(RenderResourcePoolXmlForAdminResult(outcome.result())); - else - return RenderResourcePoolXmlForAdminOutcome(outcome.error()); -} - -void EmrClient::renderResourcePoolXmlForAdminAsync(const RenderResourcePoolXmlForAdminRequest& request, const RenderResourcePoolXmlForAdminAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, renderResourcePoolXmlForAdmin(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RenderResourcePoolXmlForAdminOutcomeCallable EmrClient::renderResourcePoolXmlForAdminCallable(const RenderResourcePoolXmlForAdminRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->renderResourcePoolXmlForAdmin(request); + return this->removeScalingConfigItemV2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -13659,78 +7359,6 @@ EmrClient::ResizeClusterV2OutcomeCallable EmrClient::resizeClusterV2Callable(con return task->get_future(); } -EmrClient::ResizeClusterWithHostPoolOutcome EmrClient::resizeClusterWithHostPool(const ResizeClusterWithHostPoolRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResizeClusterWithHostPoolOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResizeClusterWithHostPoolOutcome(ResizeClusterWithHostPoolResult(outcome.result())); - else - return ResizeClusterWithHostPoolOutcome(outcome.error()); -} - -void EmrClient::resizeClusterWithHostPoolAsync(const ResizeClusterWithHostPoolRequest& request, const ResizeClusterWithHostPoolAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resizeClusterWithHostPool(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ResizeClusterWithHostPoolOutcomeCallable EmrClient::resizeClusterWithHostPoolCallable(const ResizeClusterWithHostPoolRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resizeClusterWithHostPool(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::ResolveETLJobSqlSchemaOutcome EmrClient::resolveETLJobSqlSchema(const ResolveETLJobSqlSchemaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResolveETLJobSqlSchemaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResolveETLJobSqlSchemaOutcome(ResolveETLJobSqlSchemaResult(outcome.result())); - else - return ResolveETLJobSqlSchemaOutcome(outcome.error()); -} - -void EmrClient::resolveETLJobSqlSchemaAsync(const ResolveETLJobSqlSchemaRequest& request, const ResolveETLJobSqlSchemaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resolveETLJobSqlSchema(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ResolveETLJobSqlSchemaOutcomeCallable EmrClient::resolveETLJobSqlSchemaCallable(const ResolveETLJobSqlSchemaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resolveETLJobSqlSchema(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RestoreBackupOutcome EmrClient::restoreBackup(const RestoreBackupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -13803,42 +7431,6 @@ EmrClient::RestoreFlowEntitySnapshotOutcomeCallable EmrClient::restoreFlowEntity return task->get_future(); } -EmrClient::ResumeExecutionPlanInstanceOutcome EmrClient::resumeExecutionPlanInstance(const ResumeExecutionPlanInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResumeExecutionPlanInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResumeExecutionPlanInstanceOutcome(ResumeExecutionPlanInstanceResult(outcome.result())); - else - return ResumeExecutionPlanInstanceOutcome(outcome.error()); -} - -void EmrClient::resumeExecutionPlanInstanceAsync(const ResumeExecutionPlanInstanceRequest& request, const ResumeExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resumeExecutionPlanInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::ResumeExecutionPlanInstanceOutcomeCallable EmrClient::resumeExecutionPlanInstanceCallable(const ResumeExecutionPlanInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resumeExecutionPlanInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::ResumeExecutionPlanSchedulerOutcome EmrClient::resumeExecutionPlanScheduler(const ResumeExecutionPlanSchedulerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -13911,144 +7503,36 @@ EmrClient::ResumeFlowOutcomeCallable EmrClient::resumeFlowCallable(const ResumeF return task->get_future(); } -EmrClient::RetryCreateUserPasswordOutcome EmrClient::retryCreateUserPassword(const RetryCreateUserPasswordRequest &request) const +EmrClient::RetryOperationOutcome EmrClient::retryOperation(const RetryOperationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return RetryCreateUserPasswordOutcome(endpointOutcome.error()); + return RetryOperationOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return RetryCreateUserPasswordOutcome(RetryCreateUserPasswordResult(outcome.result())); + return RetryOperationOutcome(RetryOperationResult(outcome.result())); else - return RetryCreateUserPasswordOutcome(outcome.error()); + return RetryOperationOutcome(outcome.error()); } -void EmrClient::retryCreateUserPasswordAsync(const RetryCreateUserPasswordRequest& request, const RetryCreateUserPasswordAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::retryOperationAsync(const RetryOperationRequest& request, const RetryOperationAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, retryCreateUserPassword(request), context); + handler(this, request, retryOperation(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::RetryCreateUserPasswordOutcomeCallable EmrClient::retryCreateUserPasswordCallable(const RetryCreateUserPasswordRequest &request) const +EmrClient::RetryOperationOutcomeCallable EmrClient::retryOperationCallable(const RetryOperationRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->retryCreateUserPassword(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RetryExecutionPlanOutcome EmrClient::retryExecutionPlan(const RetryExecutionPlanRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RetryExecutionPlanOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RetryExecutionPlanOutcome(RetryExecutionPlanResult(outcome.result())); - else - return RetryExecutionPlanOutcome(outcome.error()); -} - -void EmrClient::retryExecutionPlanAsync(const RetryExecutionPlanRequest& request, const RetryExecutionPlanAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, retryExecutionPlan(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RetryExecutionPlanOutcomeCallable EmrClient::retryExecutionPlanCallable(const RetryExecutionPlanRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->retryExecutionPlan(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RetryExecutionPlanInstanceOutcome EmrClient::retryExecutionPlanInstance(const RetryExecutionPlanInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RetryExecutionPlanInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RetryExecutionPlanInstanceOutcome(RetryExecutionPlanInstanceResult(outcome.result())); - else - return RetryExecutionPlanInstanceOutcome(outcome.error()); -} - -void EmrClient::retryExecutionPlanInstanceAsync(const RetryExecutionPlanInstanceRequest& request, const RetryExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, retryExecutionPlanInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RetryExecutionPlanInstanceOutcomeCallable EmrClient::retryExecutionPlanInstanceCallable(const RetryExecutionPlanInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->retryExecutionPlanInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RetrySyncUserAccountOutcome EmrClient::retrySyncUserAccount(const RetrySyncUserAccountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RetrySyncUserAccountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RetrySyncUserAccountOutcome(RetrySyncUserAccountResult(outcome.result())); - else - return RetrySyncUserAccountOutcome(outcome.error()); -} - -void EmrClient::retrySyncUserAccountAsync(const RetrySyncUserAccountRequest& request, const RetrySyncUserAccountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, retrySyncUserAccount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RetrySyncUserAccountOutcomeCallable EmrClient::retrySyncUserAccountCallable(const RetrySyncUserAccountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->retrySyncUserAccount(request); + return this->retryOperation(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -14091,42 +7575,6 @@ EmrClient::RunClusterServiceActionOutcomeCallable EmrClient::runClusterServiceAc return task->get_future(); } -EmrClient::RunETLJobOutcome EmrClient::runETLJob(const RunETLJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RunETLJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RunETLJobOutcome(RunETLJobResult(outcome.result())); - else - return RunETLJobOutcome(outcome.error()); -} - -void EmrClient::runETLJobAsync(const RunETLJobRequest& request, const RunETLJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, runETLJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RunETLJobOutcomeCallable EmrClient::runETLJobCallable(const RunETLJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->runETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::RunExecutionPlanOutcome EmrClient::runExecutionPlan(const RunExecutionPlanRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -14163,216 +7611,36 @@ EmrClient::RunExecutionPlanOutcomeCallable EmrClient::runExecutionPlanCallable(c return task->get_future(); } -EmrClient::RunNoteParagraphsOutcome EmrClient::runNoteParagraphs(const RunNoteParagraphsRequest &request) const +EmrClient::RunScalingActionV2Outcome EmrClient::runScalingActionV2(const RunScalingActionV2Request &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return RunNoteParagraphsOutcome(endpointOutcome.error()); + return RunScalingActionV2Outcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return RunNoteParagraphsOutcome(RunNoteParagraphsResult(outcome.result())); + return RunScalingActionV2Outcome(RunScalingActionV2Result(outcome.result())); else - return RunNoteParagraphsOutcome(outcome.error()); + return RunScalingActionV2Outcome(outcome.error()); } -void EmrClient::runNoteParagraphsAsync(const RunNoteParagraphsRequest& request, const RunNoteParagraphsAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::runScalingActionV2Async(const RunScalingActionV2Request& request, const RunScalingActionV2AsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, runNoteParagraphs(request), context); + handler(this, request, runScalingActionV2(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::RunNoteParagraphsOutcomeCallable EmrClient::runNoteParagraphsCallable(const RunNoteParagraphsRequest &request) const +EmrClient::RunScalingActionV2OutcomeCallable EmrClient::runScalingActionV2Callable(const RunScalingActionV2Request &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->runNoteParagraphs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RunOpsCommandOutcome EmrClient::runOpsCommand(const RunOpsCommandRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RunOpsCommandOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RunOpsCommandOutcome(RunOpsCommandResult(outcome.result())); - else - return RunOpsCommandOutcome(outcome.error()); -} - -void EmrClient::runOpsCommandAsync(const RunOpsCommandRequest& request, const RunOpsCommandAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, runOpsCommand(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RunOpsCommandOutcomeCallable EmrClient::runOpsCommandCallable(const RunOpsCommandRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->runOpsCommand(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::RunParagraphOutcome EmrClient::runParagraph(const RunParagraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RunParagraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RunParagraphOutcome(RunParagraphResult(outcome.result())); - else - return RunParagraphOutcome(outcome.error()); -} - -void EmrClient::runParagraphAsync(const RunParagraphRequest& request, const RunParagraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, runParagraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::RunParagraphOutcomeCallable EmrClient::runParagraphCallable(const RunParagraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->runParagraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::SaveBatchUserAccountInfoOutcome EmrClient::saveBatchUserAccountInfo(const SaveBatchUserAccountInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SaveBatchUserAccountInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SaveBatchUserAccountInfoOutcome(SaveBatchUserAccountInfoResult(outcome.result())); - else - return SaveBatchUserAccountInfoOutcome(outcome.error()); -} - -void EmrClient::saveBatchUserAccountInfoAsync(const SaveBatchUserAccountInfoRequest& request, const SaveBatchUserAccountInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, saveBatchUserAccountInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SaveBatchUserAccountInfoOutcomeCallable EmrClient::saveBatchUserAccountInfoCallable(const SaveBatchUserAccountInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->saveBatchUserAccountInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::SaveParagraphOutcome EmrClient::saveParagraph(const SaveParagraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SaveParagraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SaveParagraphOutcome(SaveParagraphResult(outcome.result())); - else - return SaveParagraphOutcome(outcome.error()); -} - -void EmrClient::saveParagraphAsync(const SaveParagraphRequest& request, const SaveParagraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, saveParagraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SaveParagraphOutcomeCallable EmrClient::saveParagraphCallable(const SaveParagraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->saveParagraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::SaveUserAccountInfoOutcome EmrClient::saveUserAccountInfo(const SaveUserAccountInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SaveUserAccountInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SaveUserAccountInfoOutcome(SaveUserAccountInfoResult(outcome.result())); - else - return SaveUserAccountInfoOutcome(outcome.error()); -} - -void EmrClient::saveUserAccountInfoAsync(const SaveUserAccountInfoRequest& request, const SaveUserAccountInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, saveUserAccountInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SaveUserAccountInfoOutcomeCallable EmrClient::saveUserAccountInfoCallable(const SaveUserAccountInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->saveUserAccountInfo(request); + return this->runScalingActionV2(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -14451,114 +7719,6 @@ EmrClient::StartFlowOutcomeCallable EmrClient::startFlowCallable(const StartFlow return task->get_future(); } -EmrClient::StartKafkaBrokerDiskBalancerOutcome EmrClient::startKafkaBrokerDiskBalancer(const StartKafkaBrokerDiskBalancerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StartKafkaBrokerDiskBalancerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StartKafkaBrokerDiskBalancerOutcome(StartKafkaBrokerDiskBalancerResult(outcome.result())); - else - return StartKafkaBrokerDiskBalancerOutcome(outcome.error()); -} - -void EmrClient::startKafkaBrokerDiskBalancerAsync(const StartKafkaBrokerDiskBalancerRequest& request, const StartKafkaBrokerDiskBalancerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, startKafkaBrokerDiskBalancer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::StartKafkaBrokerDiskBalancerOutcomeCallable EmrClient::startKafkaBrokerDiskBalancerCallable(const StartKafkaBrokerDiskBalancerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->startKafkaBrokerDiskBalancer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::StartKafkaPreferredReplicaElectionOutcome EmrClient::startKafkaPreferredReplicaElection(const StartKafkaPreferredReplicaElectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StartKafkaPreferredReplicaElectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StartKafkaPreferredReplicaElectionOutcome(StartKafkaPreferredReplicaElectionResult(outcome.result())); - else - return StartKafkaPreferredReplicaElectionOutcome(outcome.error()); -} - -void EmrClient::startKafkaPreferredReplicaElectionAsync(const StartKafkaPreferredReplicaElectionRequest& request, const StartKafkaPreferredReplicaElectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, startKafkaPreferredReplicaElection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::StartKafkaPreferredReplicaElectionOutcomeCallable EmrClient::startKafkaPreferredReplicaElectionCallable(const StartKafkaPreferredReplicaElectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->startKafkaPreferredReplicaElection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::StopParagraphOutcome EmrClient::stopParagraph(const StopParagraphRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StopParagraphOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StopParagraphOutcome(StopParagraphResult(outcome.result())); - else - return StopParagraphOutcome(outcome.error()); -} - -void EmrClient::stopParagraphAsync(const StopParagraphRequest& request, const StopParagraphAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, stopParagraph(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::StopParagraphOutcomeCallable EmrClient::stopParagraphCallable(const StopParagraphRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->stopParagraph(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::SubmitFlowOutcome EmrClient::submitFlow(const SubmitFlowRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -14631,42 +7791,6 @@ EmrClient::SubmitFlowJobOutcomeCallable EmrClient::submitFlowJobCallable(const S return task->get_future(); } -EmrClient::SuspendExecutionPlanInstanceOutcome EmrClient::suspendExecutionPlanInstance(const SuspendExecutionPlanInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SuspendExecutionPlanInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SuspendExecutionPlanInstanceOutcome(SuspendExecutionPlanInstanceResult(outcome.result())); - else - return SuspendExecutionPlanInstanceOutcome(outcome.error()); -} - -void EmrClient::suspendExecutionPlanInstanceAsync(const SuspendExecutionPlanInstanceRequest& request, const SuspendExecutionPlanInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, suspendExecutionPlanInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SuspendExecutionPlanInstanceOutcomeCallable EmrClient::suspendExecutionPlanInstanceCallable(const SuspendExecutionPlanInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->suspendExecutionPlanInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::SuspendExecutionPlanSchedulerOutcome EmrClient::suspendExecutionPlanScheduler(const SuspendExecutionPlanSchedulerRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -14739,78 +7863,6 @@ EmrClient::SuspendFlowOutcomeCallable EmrClient::suspendFlowCallable(const Suspe return task->get_future(); } -EmrClient::SyncDataSourceSchemaDatabaseOutcome EmrClient::syncDataSourceSchemaDatabase(const SyncDataSourceSchemaDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SyncDataSourceSchemaDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SyncDataSourceSchemaDatabaseOutcome(SyncDataSourceSchemaDatabaseResult(outcome.result())); - else - return SyncDataSourceSchemaDatabaseOutcome(outcome.error()); -} - -void EmrClient::syncDataSourceSchemaDatabaseAsync(const SyncDataSourceSchemaDatabaseRequest& request, const SyncDataSourceSchemaDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, syncDataSourceSchemaDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SyncDataSourceSchemaDatabaseOutcomeCallable EmrClient::syncDataSourceSchemaDatabaseCallable(const SyncDataSourceSchemaDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->syncDataSourceSchemaDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::SyncDataSourceSchemaTableOutcome EmrClient::syncDataSourceSchemaTable(const SyncDataSourceSchemaTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SyncDataSourceSchemaTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SyncDataSourceSchemaTableOutcome(SyncDataSourceSchemaTableResult(outcome.result())); - else - return SyncDataSourceSchemaTableOutcome(outcome.error()); -} - -void EmrClient::syncDataSourceSchemaTableAsync(const SyncDataSourceSchemaTableRequest& request, const SyncDataSourceSchemaTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, syncDataSourceSchemaTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::SyncDataSourceSchemaTableOutcomeCallable EmrClient::syncDataSourceSchemaTableCallable(const SyncDataSourceSchemaTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->syncDataSourceSchemaTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - EmrClient::TagResourcesOutcome EmrClient::tagResources(const TagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -14883,36 +7935,36 @@ EmrClient::TagResourcesSystemTagsOutcomeCallable EmrClient::tagResourcesSystemTa return task->get_future(); } -EmrClient::TerminateClusterOperationOutcome EmrClient::terminateClusterOperation(const TerminateClusterOperationRequest &request) const +EmrClient::UninstallLibrariesOutcome EmrClient::uninstallLibraries(const UninstallLibrariesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return TerminateClusterOperationOutcome(endpointOutcome.error()); + return UninstallLibrariesOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return TerminateClusterOperationOutcome(TerminateClusterOperationResult(outcome.result())); + return UninstallLibrariesOutcome(UninstallLibrariesResult(outcome.result())); else - return TerminateClusterOperationOutcome(outcome.error()); + return UninstallLibrariesOutcome(outcome.error()); } -void EmrClient::terminateClusterOperationAsync(const TerminateClusterOperationRequest& request, const TerminateClusterOperationAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::uninstallLibrariesAsync(const UninstallLibrariesRequest& request, const UninstallLibrariesAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, terminateClusterOperation(request), context); + handler(this, request, uninstallLibraries(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::TerminateClusterOperationOutcomeCallable EmrClient::terminateClusterOperationCallable(const TerminateClusterOperationRequest &request) const +EmrClient::UninstallLibrariesOutcomeCallable EmrClient::uninstallLibrariesCallable(const UninstallLibrariesRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->terminateClusterOperation(request); + return this->uninstallLibraries(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -14955,6 +8007,42 @@ 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(); @@ -14991,180 +8079,36 @@ EmrClient::UpdateDataSourceOutcomeCallable EmrClient::updateDataSourceCallable(c return task->get_future(); } -EmrClient::UpdateETLJobOutcome EmrClient::updateETLJob(const UpdateETLJobRequest &request) const +EmrClient::UpdateLibraryInstallTaskStatusOutcome EmrClient::updateLibraryInstallTaskStatus(const UpdateLibraryInstallTaskStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); if (!endpointOutcome.isSuccess()) - return UpdateETLJobOutcome(endpointOutcome.error()); + return UpdateLibraryInstallTaskStatusOutcome(endpointOutcome.error()); auto outcome = makeRequest(endpointOutcome.result(), request); if (outcome.isSuccess()) - return UpdateETLJobOutcome(UpdateETLJobResult(outcome.result())); + return UpdateLibraryInstallTaskStatusOutcome(UpdateLibraryInstallTaskStatusResult(outcome.result())); else - return UpdateETLJobOutcome(outcome.error()); + return UpdateLibraryInstallTaskStatusOutcome(outcome.error()); } -void EmrClient::updateETLJobAsync(const UpdateETLJobRequest& request, const UpdateETLJobAsyncHandler& handler, const std::shared_ptr& context) const +void EmrClient::updateLibraryInstallTaskStatusAsync(const UpdateLibraryInstallTaskStatusRequest& request, const UpdateLibraryInstallTaskStatusAsyncHandler& handler, const std::shared_ptr& context) const { auto fn = [this, request, handler, context]() { - handler(this, request, updateETLJob(request), context); + handler(this, request, updateLibraryInstallTaskStatus(request), context); }; asyncExecute(new Runnable(fn)); } -EmrClient::UpdateETLJobOutcomeCallable EmrClient::updateETLJobCallable(const UpdateETLJobRequest &request) const +EmrClient::UpdateLibraryInstallTaskStatusOutcomeCallable EmrClient::updateLibraryInstallTaskStatusCallable(const UpdateLibraryInstallTaskStatusRequest &request) const { - auto task = std::make_shared>( + auto task = std::make_shared>( [this, request]() { - return this->updateETLJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateETLJobStageOutcome EmrClient::updateETLJobStage(const UpdateETLJobStageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateETLJobStageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateETLJobStageOutcome(UpdateETLJobStageResult(outcome.result())); - else - return UpdateETLJobStageOutcome(outcome.error()); -} - -void EmrClient::updateETLJobStageAsync(const UpdateETLJobStageRequest& request, const UpdateETLJobStageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateETLJobStage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateETLJobStageOutcomeCallable EmrClient::updateETLJobStageCallable(const UpdateETLJobStageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateETLJobStage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateKafkaReassignParamOutcome EmrClient::updateKafkaReassignParam(const UpdateKafkaReassignParamRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateKafkaReassignParamOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateKafkaReassignParamOutcome(UpdateKafkaReassignParamResult(outcome.result())); - else - return UpdateKafkaReassignParamOutcome(outcome.error()); -} - -void EmrClient::updateKafkaReassignParamAsync(const UpdateKafkaReassignParamRequest& request, const UpdateKafkaReassignParamAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateKafkaReassignParam(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateKafkaReassignParamOutcomeCallable EmrClient::updateKafkaReassignParamCallable(const UpdateKafkaReassignParamRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateKafkaReassignParam(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateNavNodeOutcome EmrClient::updateNavNode(const UpdateNavNodeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateNavNodeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateNavNodeOutcome(UpdateNavNodeResult(outcome.result())); - else - return UpdateNavNodeOutcome(outcome.error()); -} - -void EmrClient::updateNavNodeAsync(const UpdateNavNodeRequest& request, const UpdateNavNodeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateNavNode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateNavNodeOutcomeCallable EmrClient::updateNavNodeCallable(const UpdateNavNodeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateNavNode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateProjectSettingOutcome EmrClient::updateProjectSetting(const UpdateProjectSettingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateProjectSettingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateProjectSettingOutcome(UpdateProjectSettingResult(outcome.result())); - else - return UpdateProjectSettingOutcome(outcome.error()); -} - -void EmrClient::updateProjectSettingAsync(const UpdateProjectSettingRequest& request, const UpdateProjectSettingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateProjectSetting(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateProjectSettingOutcomeCallable EmrClient::updateProjectSettingCallable(const UpdateProjectSettingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateProjectSetting(request); + return this->updateLibraryInstallTaskStatus(request); }); asyncExecute(new Runnable([task]() { (*task)(); })); @@ -15243,147 +8187,3 @@ EmrClient::UpdateUserOutcomeCallable EmrClient::updateUserCallable(const UpdateU return task->get_future(); } -EmrClient::UpdateUserGroupOutcome EmrClient::updateUserGroup(const UpdateUserGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateUserGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateUserGroupOutcome(UpdateUserGroupResult(outcome.result())); - else - return UpdateUserGroupOutcome(outcome.error()); -} - -void EmrClient::updateUserGroupAsync(const UpdateUserGroupRequest& request, const UpdateUserGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateUserGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateUserGroupOutcomeCallable EmrClient::updateUserGroupCallable(const UpdateUserGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateUserGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateUserStatusOutcome EmrClient::updateUserStatus(const UpdateUserStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateUserStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateUserStatusOutcome(UpdateUserStatusResult(outcome.result())); - else - return UpdateUserStatusOutcome(outcome.error()); -} - -void EmrClient::updateUserStatusAsync(const UpdateUserStatusRequest& request, const UpdateUserStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateUserStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateUserStatusOutcomeCallable EmrClient::updateUserStatusCallable(const UpdateUserStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateUserStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateWorkspaceRepoSettingOutcome EmrClient::updateWorkspaceRepoSetting(const UpdateWorkspaceRepoSettingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateWorkspaceRepoSettingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateWorkspaceRepoSettingOutcome(UpdateWorkspaceRepoSettingResult(outcome.result())); - else - return UpdateWorkspaceRepoSettingOutcome(outcome.error()); -} - -void EmrClient::updateWorkspaceRepoSettingAsync(const UpdateWorkspaceRepoSettingRequest& request, const UpdateWorkspaceRepoSettingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateWorkspaceRepoSetting(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateWorkspaceRepoSettingOutcomeCallable EmrClient::updateWorkspaceRepoSettingCallable(const UpdateWorkspaceRepoSettingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateWorkspaceRepoSetting(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -EmrClient::UpdateWorkspaceResourceSettingOutcome EmrClient::updateWorkspaceResourceSetting(const UpdateWorkspaceResourceSettingRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateWorkspaceResourceSettingOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateWorkspaceResourceSettingOutcome(UpdateWorkspaceResourceSettingResult(outcome.result())); - else - return UpdateWorkspaceResourceSettingOutcome(outcome.error()); -} - -void EmrClient::updateWorkspaceResourceSettingAsync(const UpdateWorkspaceResourceSettingRequest& request, const UpdateWorkspaceResourceSettingAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateWorkspaceResourceSetting(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -EmrClient::UpdateWorkspaceResourceSettingOutcomeCallable EmrClient::updateWorkspaceResourceSettingCallable(const UpdateWorkspaceResourceSettingRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateWorkspaceResourceSetting(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - diff --git a/emr/src/model/AddClusterServiceForAdminRequest.cc b/emr/src/model/AddClusterServiceForAdminRequest.cc deleted file mode 100644 index dfc34df09..000000000 --- a/emr/src/model/AddClusterServiceForAdminRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::AddClusterServiceForAdminRequest; - -AddClusterServiceForAdminRequest::AddClusterServiceForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "AddClusterServiceForAdmin") -{} - -AddClusterServiceForAdminRequest::~AddClusterServiceForAdminRequest() -{} - -long AddClusterServiceForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AddClusterServiceForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AddClusterServiceForAdminRequest::getServiceList()const -{ - return serviceList_; -} - -void AddClusterServiceForAdminRequest::setServiceList(const std::string& serviceList) -{ - serviceList_ = serviceList; - setCoreParameter("ServiceList", serviceList); -} - -std::string AddClusterServiceForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void AddClusterServiceForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string AddClusterServiceForAdminRequest::getUserId()const -{ - return userId_; -} - -void AddClusterServiceForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string AddClusterServiceForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AddClusterServiceForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string AddClusterServiceForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void AddClusterServiceForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string AddClusterServiceForAdminRequest::getComment()const -{ - return comment_; -} - -void AddClusterServiceForAdminRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setCoreParameter("Comment", comment); -} - diff --git a/emr/src/model/AddHpHostRequest.cc b/emr/src/model/AddHpHostRequest.cc deleted file mode 100644 index 24488eae3..000000000 --- a/emr/src/model/AddHpHostRequest.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::AddHpHostRequest; - -AddHpHostRequest::AddHpHostRequest() : - RpcServiceRequest("emr", "2016-04-08", "AddHpHost") -{} - -AddHpHostRequest::~AddHpHostRequest() -{} - -long AddHpHostRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AddHpHostRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector AddHpHostRequest::getHpHost()const -{ - return hpHost_; -} - -void AddHpHostRequest::setHpHost(const std::vector& hpHost) -{ - hpHost_ = hpHost; - int i = 0; - for(int i = 0; i!= hpHost.size(); i++) { - auto obj = hpHost.at(i); - std::string str ="HpHost."+ std::to_string(i); - setCoreParameter(str + ".CpuCore", std::to_string(obj.cpuCore)); - setCoreParameter(str + ".MemSize", std::to_string(obj.memSize)); - setCoreParameter(str + ".RackInfo", obj.rackInfo); - setCoreParameter(str + ".Role", obj.role); - setCoreParameter(str + ".SerialNumber", obj.serialNumber); - setCoreParameter(str + ".HostType", obj.hostType); - setCoreParameter(str + ".SecurityGroupId", obj.securityGroupId); - setCoreParameter(str + ".HpHostDisk", std::to_string(obj.hpHostDisk)); - setCoreParameter(str + ".VswitchId", obj.vswitchId); - setCoreParameter(str + ".ExternalKey", obj.externalKey); - setCoreParameter(str + ".HostName", obj.hostName); - setCoreParameter(str + ".VpcId", obj.vpcId); - setCoreParameter(str + ".InnerIp", obj.innerIp); - setCoreParameter(str + ".ExternalIp", obj.externalIp); - } -} - -std::string AddHpHostRequest::getRegionId()const -{ - return regionId_; -} - -void AddHpHostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string AddHpHostRequest::getHpBizId()const -{ - return hpBizId_; -} - -void AddHpHostRequest::setHpBizId(const std::string& hpBizId) -{ - hpBizId_ = hpBizId; - setCoreParameter("HpBizId", hpBizId); -} - -std::string AddHpHostRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AddHpHostRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/AddHpHostResult.cc b/emr/src/model/AddHpHostResult.cc deleted file mode 100644 index b944757a5..000000000 --- a/emr/src/model/AddHpHostResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -AddHpHostResult::AddHpHostResult() : - ServiceResult() -{} - -AddHpHostResult::AddHpHostResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddHpHostResult::~AddHpHostResult() -{} - -void AddHpHostResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - -} - -std::string AddHpHostResult::getBizId()const -{ - return bizId_; -} - diff --git a/emr/src/model/AddResourceToUsersRequest.cc b/emr/src/model/AddResourceToUsersRequest.cc deleted file mode 100644 index 9138ba45d..000000000 --- a/emr/src/model/AddResourceToUsersRequest.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::AddResourceToUsersRequest; - -AddResourceToUsersRequest::AddResourceToUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "AddResourceToUsers") -{} - -AddResourceToUsersRequest::~AddResourceToUsersRequest() -{} - -long AddResourceToUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AddResourceToUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AddResourceToUsersRequest::getResourceId()const -{ - return resourceId_; -} - -void AddResourceToUsersRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::vector AddResourceToUsersRequest::getUserIdList()const -{ - return userIdList_; -} - -void AddResourceToUsersRequest::setUserIdList(const std::vector& userIdList) -{ - userIdList_ = userIdList; - for(int i = 0; i!= userIdList.size(); i++) - setCoreParameter("UserIdList."+ std::to_string(i), userIdList.at(i)); -} - -std::string AddResourceToUsersRequest::getResourceType()const -{ - return resourceType_; -} - -void AddResourceToUsersRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string AddResourceToUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AddResourceToUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string AddResourceToUsersRequest::getRegionId()const -{ - return regionId_; -} - -void AddResourceToUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector AddResourceToUsersRequest::getRoleIdList()const -{ - return roleIdList_; -} - -void AddResourceToUsersRequest::setRoleIdList(const std::vector& roleIdList) -{ - roleIdList_ = roleIdList; - for(int i = 0; i!= roleIdList.size(); i++) - setCoreParameter("RoleIdList."+ std::to_string(i), std::to_string(roleIdList.at(i))); -} - diff --git a/emr/src/model/AddResourceToUsersResult.cc b/emr/src/model/AddResourceToUsersResult.cc deleted file mode 100644 index d64979a64..000000000 --- a/emr/src/model/AddResourceToUsersResult.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; - -AddResourceToUsersResult::AddResourceToUsersResult() : - ServiceResult() -{} - -AddResourceToUsersResult::AddResourceToUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddResourceToUsersResult::~AddResourceToUsersResult() -{} - -void AddResourceToUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool AddResourceToUsersResult::getPaging()const -{ - return paging_; -} - -bool AddResourceToUsersResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/AddScalingConfigItemV2Request.cc b/emr/src/model/AddScalingConfigItemV2Request.cc new file mode 100644 index 000000000..87cef0538 --- /dev/null +++ b/emr/src/model/AddScalingConfigItemV2Request.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::AddScalingConfigItemV2Request; + +AddScalingConfigItemV2Request::AddScalingConfigItemV2Request() : + RpcServiceRequest("emr", "2016-04-08", "AddScalingConfigItemV2") +{ + setMethod(HttpRequest::Method::Post); +} + +AddScalingConfigItemV2Request::~AddScalingConfigItemV2Request() +{} + +std::string AddScalingConfigItemV2Request::getConfigItemType()const +{ + return configItemType_; +} + +void AddScalingConfigItemV2Request::setConfigItemType(const std::string& configItemType) +{ + configItemType_ = configItemType; + setParameter("ConfigItemType", configItemType); +} + +long AddScalingConfigItemV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void AddScalingConfigItemV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string AddScalingConfigItemV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void AddScalingConfigItemV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string AddScalingConfigItemV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void AddScalingConfigItemV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string AddScalingConfigItemV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void AddScalingConfigItemV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string AddScalingConfigItemV2Request::getRegionId()const +{ + return regionId_; +} + +void AddScalingConfigItemV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string AddScalingConfigItemV2Request::getConfigItemInformation()const +{ + return configItemInformation_; +} + +void AddScalingConfigItemV2Request::setConfigItemInformation(const std::string& configItemInformation) +{ + configItemInformation_ = configItemInformation; + setParameter("ConfigItemInformation", configItemInformation); +} + diff --git a/emr/src/model/AddScalingConfigItemV2Result.cc b/emr/src/model/AddScalingConfigItemV2Result.cc new file mode 100644 index 000000000..3ef9f423a --- /dev/null +++ b/emr/src/model/AddScalingConfigItemV2Result.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +AddScalingConfigItemV2Result::AddScalingConfigItemV2Result() : + ServiceResult() +{} + +AddScalingConfigItemV2Result::AddScalingConfigItemV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddScalingConfigItemV2Result::~AddScalingConfigItemV2Result() +{} + +void AddScalingConfigItemV2Result::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 AddScalingConfigItemV2Result::getData()const +{ + return data_; +} + diff --git a/emr/src/model/AddUserResourceRoleRequest.cc b/emr/src/model/AddUserResourceRoleRequest.cc deleted file mode 100644 index 9f78f8fda..000000000 --- a/emr/src/model/AddUserResourceRoleRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::AddUserResourceRoleRequest; - -AddUserResourceRoleRequest::AddUserResourceRoleRequest() : - RpcServiceRequest("emr", "2016-04-08", "AddUserResourceRole") -{} - -AddUserResourceRoleRequest::~AddUserResourceRoleRequest() -{} - -long AddUserResourceRoleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AddUserResourceRoleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AddUserResourceRoleRequest::getResourceId()const -{ - return resourceId_; -} - -void AddUserResourceRoleRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -long AddUserResourceRoleRequest::getRoleId()const -{ - return roleId_; -} - -void AddUserResourceRoleRequest::setRoleId(long roleId) -{ - roleId_ = roleId; - setCoreParameter("RoleId", std::to_string(roleId)); -} - -std::string AddUserResourceRoleRequest::getResourceType()const -{ - return resourceType_; -} - -void AddUserResourceRoleRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string AddUserResourceRoleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AddUserResourceRoleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string AddUserResourceRoleRequest::getRegionId()const -{ - return regionId_; -} - -void AddUserResourceRoleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string AddUserResourceRoleRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void AddUserResourceRoleRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - diff --git a/emr/src/model/AddUserResourceRoleResult.cc b/emr/src/model/AddUserResourceRoleResult.cc deleted file mode 100644 index e3e7bc9f2..000000000 --- a/emr/src/model/AddUserResourceRoleResult.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; - -AddUserResourceRoleResult::AddUserResourceRoleResult() : - ServiceResult() -{} - -AddUserResourceRoleResult::AddUserResourceRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddUserResourceRoleResult::~AddUserResourceRoleResult() -{} - -void AddUserResourceRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool AddUserResourceRoleResult::getPaging()const -{ - return paging_; -} - -bool AddUserResourceRoleResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/AttachClusterForNoteRequest.cc b/emr/src/model/AttachClusterForNoteRequest.cc deleted file mode 100644 index 64e3c2efb..000000000 --- a/emr/src/model/AttachClusterForNoteRequest.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 - -using AlibabaCloud::Emr::Model::AttachClusterForNoteRequest; - -AttachClusterForNoteRequest::AttachClusterForNoteRequest() : - RpcServiceRequest("emr", "2016-04-08", "AttachClusterForNote") -{} - -AttachClusterForNoteRequest::~AttachClusterForNoteRequest() -{} - -long AttachClusterForNoteRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AttachClusterForNoteRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AttachClusterForNoteRequest::getRegionId()const -{ - return regionId_; -} - -void AttachClusterForNoteRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string AttachClusterForNoteRequest::getId()const -{ - return id_; -} - -void AttachClusterForNoteRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string AttachClusterForNoteRequest::getClusterId()const -{ - return clusterId_; -} - -void AttachClusterForNoteRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string AttachClusterForNoteRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AttachClusterForNoteRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/AttachClusterForNoteResult.cc b/emr/src/model/AttachClusterForNoteResult.cc deleted file mode 100644 index ec0c77994..000000000 --- a/emr/src/model/AttachClusterForNoteResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -AttachClusterForNoteResult::AttachClusterForNoteResult() : - ServiceResult() -{} - -AttachClusterForNoteResult::AttachClusterForNoteResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AttachClusterForNoteResult::~AttachClusterForNoteResult() -{} - -void AttachClusterForNoteResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/AttachPubIpRequest.cc b/emr/src/model/AttachPubIpRequest.cc deleted file mode 100644 index f77f3986e..000000000 --- a/emr/src/model/AttachPubIpRequest.cc +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::AttachPubIpRequest; - -AttachPubIpRequest::AttachPubIpRequest() : - RpcServiceRequest("emr", "2016-04-08", "AttachPubIp") -{} - -AttachPubIpRequest::~AttachPubIpRequest() -{} - -long AttachPubIpRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void AttachPubIpRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string AttachPubIpRequest::getRegionId()const -{ - return regionId_; -} - -void AttachPubIpRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector AttachPubIpRequest::getInstanceIds()const -{ - return instanceIds_; -} - -void AttachPubIpRequest::setInstanceIds(const std::vector& instanceIds) -{ - instanceIds_ = instanceIds; - for(int i = 0; i!= instanceIds.size(); i++) - setCoreParameter("InstanceIds."+ std::to_string(i), instanceIds.at(i)); -} - -std::string AttachPubIpRequest::getClusterId()const -{ - return clusterId_; -} - -void AttachPubIpRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string AttachPubIpRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void AttachPubIpRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/AttachPubIpResult.cc b/emr/src/model/AttachPubIpResult.cc deleted file mode 100644 index 0e777eeb7..000000000 --- a/emr/src/model/AttachPubIpResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -AttachPubIpResult::AttachPubIpResult() : - ServiceResult() -{} - -AttachPubIpResult::AttachPubIpResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AttachPubIpResult::~AttachPubIpResult() -{} - -void AttachPubIpResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/CancelETLJobReleaseRequest.cc b/emr/src/model/CancelETLJobReleaseRequest.cc deleted file mode 100644 index 1696576a4..000000000 --- a/emr/src/model/CancelETLJobReleaseRequest.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 - -using AlibabaCloud::Emr::Model::CancelETLJobReleaseRequest; - -CancelETLJobReleaseRequest::CancelETLJobReleaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "CancelETLJobRelease") -{} - -CancelETLJobReleaseRequest::~CancelETLJobReleaseRequest() -{} - -long CancelETLJobReleaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CancelETLJobReleaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CancelETLJobReleaseRequest::getRegionId()const -{ - return regionId_; -} - -void CancelETLJobReleaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CancelETLJobReleaseRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void CancelETLJobReleaseRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string CancelETLJobReleaseRequest::getReleaseId()const -{ - return releaseId_; -} - -void CancelETLJobReleaseRequest::setReleaseId(const std::string& releaseId) -{ - releaseId_ = releaseId; - setCoreParameter("ReleaseId", releaseId); -} - -std::string CancelETLJobReleaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CancelETLJobReleaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CancelETLJobReleaseResult.cc b/emr/src/model/CancelETLJobReleaseResult.cc deleted file mode 100644 index 36c7550df..000000000 --- a/emr/src/model/CancelETLJobReleaseResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -CancelETLJobReleaseResult::CancelETLJobReleaseResult() : - ServiceResult() -{} - -CancelETLJobReleaseResult::CancelETLJobReleaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CancelETLJobReleaseResult::~CancelETLJobReleaseResult() -{} - -void CancelETLJobReleaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/CheckDataSourceRequest.cc b/emr/src/model/CheckDataSourceRequest.cc deleted file mode 100644 index 0da1c15dc..000000000 --- a/emr/src/model/CheckDataSourceRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CheckDataSourceRequest; - -CheckDataSourceRequest::CheckDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "CheckDataSource") -{} - -CheckDataSourceRequest::~CheckDataSourceRequest() -{} - -long CheckDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CheckDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CheckDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void CheckDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CheckDataSourceRequest::getConf()const -{ - return conf_; -} - -void CheckDataSourceRequest::setConf(const std::string& conf) -{ - conf_ = conf; - setCoreParameter("Conf", conf); -} - -std::string CheckDataSourceRequest::getId()const -{ - return id_; -} - -void CheckDataSourceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string CheckDataSourceRequest::getClusterId()const -{ - return clusterId_; -} - -void CheckDataSourceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string CheckDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CheckDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CheckDataSourceResult.cc b/emr/src/model/CheckDataSourceResult.cc deleted file mode 100644 index 3cda0548c..000000000 --- a/emr/src/model/CheckDataSourceResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CheckDataSourceResult::CheckDataSourceResult() : - ServiceResult() -{} - -CheckDataSourceResult::CheckDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckDataSourceResult::~CheckDataSourceResult() -{} - -void CheckDataSourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["CommandId"].isNull()) - commandId_ = value["CommandId"].asString(); - -} - -std::string CheckDataSourceResult::getCommandId()const -{ - return commandId_; -} - diff --git a/emr/src/model/CloneDataSourceRequest.cc b/emr/src/model/CloneDataSourceRequest.cc deleted file mode 100644 index 0c1809fc6..000000000 --- a/emr/src/model/CloneDataSourceRequest.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 - -using AlibabaCloud::Emr::Model::CloneDataSourceRequest; - -CloneDataSourceRequest::CloneDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "CloneDataSource") -{} - -CloneDataSourceRequest::~CloneDataSourceRequest() -{} - -long CloneDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CloneDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CloneDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void CloneDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CloneDataSourceRequest::getName()const -{ - return name_; -} - -void CloneDataSourceRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CloneDataSourceRequest::getId()const -{ - return id_; -} - -void CloneDataSourceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string CloneDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CloneDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CloneDataSourceResult.cc b/emr/src/model/CloneDataSourceResult.cc deleted file mode 100644 index 7bfb8b50b..000000000 --- a/emr/src/model/CloneDataSourceResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CloneDataSourceResult::CloneDataSourceResult() : - ServiceResult() -{} - -CloneDataSourceResult::CloneDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CloneDataSourceResult::~CloneDataSourceResult() -{} - -void CloneDataSourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CloneDataSourceResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CloneETLJobRequest.cc b/emr/src/model/CloneETLJobRequest.cc deleted file mode 100644 index a12d439e8..000000000 --- a/emr/src/model/CloneETLJobRequest.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 - -using AlibabaCloud::Emr::Model::CloneETLJobRequest; - -CloneETLJobRequest::CloneETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "CloneETLJob") -{} - -CloneETLJobRequest::~CloneETLJobRequest() -{} - -long CloneETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CloneETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CloneETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void CloneETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CloneETLJobRequest::getName()const -{ - return name_; -} - -void CloneETLJobRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CloneETLJobRequest::getId()const -{ - return id_; -} - -void CloneETLJobRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string CloneETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CloneETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CloneETLJobResult.cc b/emr/src/model/CloneETLJobResult.cc deleted file mode 100644 index 58071333e..000000000 --- a/emr/src/model/CloneETLJobResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CloneETLJobResult::CloneETLJobResult() : - ServiceResult() -{} - -CloneETLJobResult::CloneETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CloneETLJobResult::~CloneETLJobResult() -{} - -void CloneETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CloneETLJobResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CommonApiWhiteListRequest.cc b/emr/src/model/CommonApiWhiteListRequest.cc deleted file mode 100644 index 01b701c48..000000000 --- a/emr/src/model/CommonApiWhiteListRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::CommonApiWhiteListRequest; - -CommonApiWhiteListRequest::CommonApiWhiteListRequest() : - RpcServiceRequest("emr", "2016-04-08", "CommonApiWhiteList") -{} - -CommonApiWhiteListRequest::~CommonApiWhiteListRequest() -{} - -long CommonApiWhiteListRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CommonApiWhiteListRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CommonApiWhiteListRequest::getRegionId()const -{ - return regionId_; -} - -void CommonApiWhiteListRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CommonApiWhiteListRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CommonApiWhiteListRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CommonApiWhiteListResult.cc b/emr/src/model/CommonApiWhiteListResult.cc deleted file mode 100644 index 0e2a2b823..000000000 --- a/emr/src/model/CommonApiWhiteListResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CommonApiWhiteListResult::CommonApiWhiteListResult() : - ServiceResult() -{} - -CommonApiWhiteListResult::CommonApiWhiteListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CommonApiWhiteListResult::~CommonApiWhiteListResult() -{} - -void CommonApiWhiteListResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["WhiteList"].isNull()) - whiteList_ = value["WhiteList"].asString(); - -} - -std::string CommonApiWhiteListResult::getWhiteList()const -{ - return whiteList_; -} - diff --git a/emr/src/model/ContextQueryLogRequest.cc b/emr/src/model/ContextQueryLogRequest.cc deleted file mode 100644 index 098608cad..000000000 --- a/emr/src/model/ContextQueryLogRequest.cc +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ContextQueryLogRequest; - -ContextQueryLogRequest::ContextQueryLogRequest() : - RpcServiceRequest("emr", "2016-04-08", "ContextQueryLog") -{} - -ContextQueryLogRequest::~ContextQueryLogRequest() -{} - -std::string ContextQueryLogRequest::getPackId()const -{ - return packId_; -} - -void ContextQueryLogRequest::setPackId(const std::string& packId) -{ - packId_ = packId; - setCoreParameter("PackId", packId); -} - -long ContextQueryLogRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ContextQueryLogRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ContextQueryLogRequest::getTotalOffset()const -{ - return totalOffset_; -} - -void ContextQueryLogRequest::setTotalOffset(int totalOffset) -{ - totalOffset_ = totalOffset; - setCoreParameter("TotalOffset", std::to_string(totalOffset)); -} - -int ContextQueryLogRequest::getSize()const -{ - return size_; -} - -void ContextQueryLogRequest::setSize(int size) -{ - size_ = size; - setCoreParameter("Size", std::to_string(size)); -} - -std::string ContextQueryLogRequest::getRegionId()const -{ - return regionId_; -} - -void ContextQueryLogRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ContextQueryLogRequest::getPackMeta()const -{ - return packMeta_; -} - -void ContextQueryLogRequest::setPackMeta(const std::string& packMeta) -{ - packMeta_ = packMeta; - setCoreParameter("PackMeta", packMeta); -} - -int ContextQueryLogRequest::getFrom()const -{ - return from_; -} - -void ContextQueryLogRequest::setFrom(int from) -{ - from_ = from; - setCoreParameter("From", std::to_string(from)); -} - -std::string ContextQueryLogRequest::getClusterId()const -{ - return clusterId_; -} - -void ContextQueryLogRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ContextQueryLogRequest::getTo()const -{ - return to_; -} - -void ContextQueryLogRequest::setTo(int to) -{ - to_ = to; - setCoreParameter("To", std::to_string(to)); -} - -bool ContextQueryLogRequest::getReverse()const -{ - return reverse_; -} - -void ContextQueryLogRequest::setReverse(bool reverse) -{ - reverse_ = reverse; - setCoreParameter("Reverse", reverse ? "true" : "false"); -} - -std::string ContextQueryLogRequest::getLogStore()const -{ - return logStore_; -} - -void ContextQueryLogRequest::setLogStore(const std::string& logStore) -{ - logStore_ = logStore; - setCoreParameter("LogStore", logStore); -} - -std::string ContextQueryLogRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ContextQueryLogRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ContextQueryLogResult.cc b/emr/src/model/ContextQueryLogResult.cc deleted file mode 100644 index 01c098144..000000000 --- a/emr/src/model/ContextQueryLogResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ContextQueryLogResult::ContextQueryLogResult() : - ServiceResult() -{} - -ContextQueryLogResult::ContextQueryLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ContextQueryLogResult::~ContextQueryLogResult() -{} - -void ContextQueryLogResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allLogs = value["Logs"]["Item"]; - for (auto value : allLogs) - { - Item logsObject; - if(!value["Index"].isNull()) - logsObject.index = std::stoi(value["Index"].asString()); - if(!value["Content"].isNull()) - logsObject.content = value["Content"].asString(); - logs_.push_back(logsObject); - } - if(!value["PackId"].isNull()) - packId_ = value["PackId"].asString(); - if(!value["PackMeta"].isNull()) - packMeta_ = value["PackMeta"].asString(); - if(!value["Time"].isNull()) - time_ = value["Time"].asString(); - -} - -std::string ContextQueryLogResult::getTime()const -{ - return time_; -} - -std::vector ContextQueryLogResult::getLogs()const -{ - return logs_; -} - -std::string ContextQueryLogResult::getPackMeta()const -{ - return packMeta_; -} - -std::string ContextQueryLogResult::getPackId()const -{ - return packId_; -} - diff --git a/emr/src/model/CreateAlertContactRequest.cc b/emr/src/model/CreateAlertContactRequest.cc deleted file mode 100644 index fdcef63a4..000000000 --- a/emr/src/model/CreateAlertContactRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateAlertContactRequest; - -CreateAlertContactRequest::CreateAlertContactRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateAlertContact") -{} - -CreateAlertContactRequest::~CreateAlertContactRequest() -{} - -std::string CreateAlertContactRequest::getEmailVerificationCode()const -{ - return emailVerificationCode_; -} - -void CreateAlertContactRequest::setEmailVerificationCode(const std::string& emailVerificationCode) -{ - emailVerificationCode_ = emailVerificationCode; - setCoreParameter("EmailVerificationCode", emailVerificationCode); -} - -long CreateAlertContactRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateAlertContactRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateAlertContactRequest::getRegionId()const -{ - return regionId_; -} - -void CreateAlertContactRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateAlertContactRequest::getPhoneNumberVerificationCode()const -{ - return phoneNumberVerificationCode_; -} - -void CreateAlertContactRequest::setPhoneNumberVerificationCode(const std::string& phoneNumberVerificationCode) -{ - phoneNumberVerificationCode_ = phoneNumberVerificationCode; - setCoreParameter("PhoneNumberVerificationCode", phoneNumberVerificationCode); -} - -std::string CreateAlertContactRequest::getName()const -{ - return name_; -} - -void CreateAlertContactRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateAlertContactRequest::getPhoneNumber()const -{ - return phoneNumber_; -} - -void CreateAlertContactRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setCoreParameter("PhoneNumber", phoneNumber); -} - -std::string CreateAlertContactRequest::getEmail()const -{ - return email_; -} - -void CreateAlertContactRequest::setEmail(const std::string& email) -{ - email_ = email; - setCoreParameter("Email", email); -} - -std::string CreateAlertContactRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateAlertContactRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateAlertContactResult.cc b/emr/src/model/CreateAlertContactResult.cc deleted file mode 100644 index 6568f4664..000000000 --- a/emr/src/model/CreateAlertContactResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateAlertContactResult::CreateAlertContactResult() : - ServiceResult() -{} - -CreateAlertContactResult::CreateAlertContactResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateAlertContactResult::~CreateAlertContactResult() -{} - -void CreateAlertContactResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = std::stol(value["Id"].asString()); - -} - -long CreateAlertContactResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateAlertDingDingGroupRequest.cc b/emr/src/model/CreateAlertDingDingGroupRequest.cc deleted file mode 100644 index 882d70da0..000000000 --- a/emr/src/model/CreateAlertDingDingGroupRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateAlertDingDingGroupRequest; - -CreateAlertDingDingGroupRequest::CreateAlertDingDingGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateAlertDingDingGroup") -{} - -CreateAlertDingDingGroupRequest::~CreateAlertDingDingGroupRequest() -{} - -long CreateAlertDingDingGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateAlertDingDingGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateAlertDingDingGroupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateAlertDingDingGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateAlertDingDingGroupRequest::getName()const -{ - return name_; -} - -void CreateAlertDingDingGroupRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateAlertDingDingGroupRequest::getDescription()const -{ - return description_; -} - -void CreateAlertDingDingGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateAlertDingDingGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateAlertDingDingGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateAlertDingDingGroupRequest::getWebHookUrl()const -{ - return webHookUrl_; -} - -void CreateAlertDingDingGroupRequest::setWebHookUrl(const std::string& webHookUrl) -{ - webHookUrl_ = webHookUrl; - setCoreParameter("WebHookUrl", webHookUrl); -} - diff --git a/emr/src/model/CreateAlertDingDingGroupResult.cc b/emr/src/model/CreateAlertDingDingGroupResult.cc deleted file mode 100644 index fcd98b9ab..000000000 --- a/emr/src/model/CreateAlertDingDingGroupResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateAlertDingDingGroupResult::CreateAlertDingDingGroupResult() : - ServiceResult() -{} - -CreateAlertDingDingGroupResult::CreateAlertDingDingGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateAlertDingDingGroupResult::~CreateAlertDingDingGroupResult() -{} - -void CreateAlertDingDingGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = std::stol(value["Id"].asString()); - -} - -long CreateAlertDingDingGroupResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateAlertUserGroupRequest.cc b/emr/src/model/CreateAlertUserGroupRequest.cc deleted file mode 100644 index 58fcbfbcf..000000000 --- a/emr/src/model/CreateAlertUserGroupRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateAlertUserGroupRequest; - -CreateAlertUserGroupRequest::CreateAlertUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateAlertUserGroup") -{} - -CreateAlertUserGroupRequest::~CreateAlertUserGroupRequest() -{} - -std::string CreateAlertUserGroupRequest::getUserList()const -{ - return userList_; -} - -void CreateAlertUserGroupRequest::setUserList(const std::string& userList) -{ - userList_ = userList; - setCoreParameter("UserList", userList); -} - -long CreateAlertUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateAlertUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateAlertUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateAlertUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateAlertUserGroupRequest::getName()const -{ - return name_; -} - -void CreateAlertUserGroupRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateAlertUserGroupRequest::getDescription()const -{ - return description_; -} - -void CreateAlertUserGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateAlertUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateAlertUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateAlertUserGroupResult.cc b/emr/src/model/CreateAlertUserGroupResult.cc deleted file mode 100644 index e03c34930..000000000 --- a/emr/src/model/CreateAlertUserGroupResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateAlertUserGroupResult::CreateAlertUserGroupResult() : - ServiceResult() -{} - -CreateAlertUserGroupResult::CreateAlertUserGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateAlertUserGroupResult::~CreateAlertUserGroupResult() -{} - -void CreateAlertUserGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = std::stol(value["Id"].asString()); - -} - -long CreateAlertUserGroupResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateBackupRuleRequest.cc b/emr/src/model/CreateBackupRuleRequest.cc deleted file mode 100644 index 3bacb8e9d..000000000 --- a/emr/src/model/CreateBackupRuleRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateBackupRuleRequest; - -CreateBackupRuleRequest::CreateBackupRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateBackupRule") -{} - -CreateBackupRuleRequest::~CreateBackupRuleRequest() -{} - -long CreateBackupRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateBackupRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateBackupRuleRequest::getBackupMethodType()const -{ - return backupMethodType_; -} - -void CreateBackupRuleRequest::setBackupMethodType(const std::string& backupMethodType) -{ - backupMethodType_ = backupMethodType; - setCoreParameter("BackupMethodType", backupMethodType); -} - -std::string CreateBackupRuleRequest::getDescription()const -{ - return description_; -} - -void CreateBackupRuleRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateBackupRuleRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void CreateBackupRuleRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setCoreParameter("BackupPlanId", backupPlanId); -} - -std::string CreateBackupRuleRequest::getMetadataType()const -{ - return metadataType_; -} - -void CreateBackupRuleRequest::setMetadataType(const std::string& metadataType) -{ - metadataType_ = metadataType; - setCoreParameter("MetadataType", metadataType); -} - -std::string CreateBackupRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateBackupRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateBackupRuleRequest::getRegionId()const -{ - return regionId_; -} - -void CreateBackupRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateBackupRuleRequest::getName()const -{ - return name_; -} - -void CreateBackupRuleRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - diff --git a/emr/src/model/CreateBackupRuleResult.cc b/emr/src/model/CreateBackupRuleResult.cc deleted file mode 100644 index 92671e94c..000000000 --- a/emr/src/model/CreateBackupRuleResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateBackupRuleResult::CreateBackupRuleResult() : - ServiceResult() -{} - -CreateBackupRuleResult::CreateBackupRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBackupRuleResult::~CreateBackupRuleResult() -{} - -void CreateBackupRuleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["MetadataType"].isNull()) - metadataType_ = value["MetadataType"].asString(); - if(!value["BackupMethodType"].isNull()) - backupMethodType_ = value["BackupMethodType"].asString(); - if(!value["BackupPlanId"].isNull()) - backupPlanId_ = value["BackupPlanId"].asString(); - -} - -std::string CreateBackupRuleResult::getDescription()const -{ - return description_; -} - -std::string CreateBackupRuleResult::getMetadataType()const -{ - return metadataType_; -} - -std::string CreateBackupRuleResult::getBackupPlanId()const -{ - return backupPlanId_; -} - -std::string CreateBackupRuleResult::getId()const -{ - return id_; -} - -std::string CreateBackupRuleResult::getBackupMethodType()const -{ - return backupMethodType_; -} - -std::string CreateBackupRuleResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/CreateBatchUsersRequest.cc b/emr/src/model/CreateBatchUsersRequest.cc deleted file mode 100644 index dea6c7eb8..000000000 --- a/emr/src/model/CreateBatchUsersRequest.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 - -using AlibabaCloud::Emr::Model::CreateBatchUsersRequest; - -CreateBatchUsersRequest::CreateBatchUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateBatchUsers") -{} - -CreateBatchUsersRequest::~CreateBatchUsersRequest() -{} - -long CreateBatchUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateBatchUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector CreateBatchUsersRequest::getUserBaseParamList()const -{ - return userBaseParamList_; -} - -void CreateBatchUsersRequest::setUserBaseParamList(const std::vector& userBaseParamList) -{ - userBaseParamList_ = userBaseParamList; - int i = 0; - for(int i = 0; i!= userBaseParamList.size(); i++) { - auto obj = userBaseParamList.at(i); - std::string str ="UserBaseParamList."+ std::to_string(i); - setCoreParameter(str + ".AliyunUserId", obj.aliyunUserId); - setCoreParameter(str + ".UserName", obj.userName); - setCoreParameter(str + ".UserType", obj.userType); - setCoreParameter(str + ".IsSuperAdmin", obj.isSuperAdmin); - } -} - -std::vector CreateBatchUsersRequest::getRoleId()const -{ - return roleId_; -} - -void CreateBatchUsersRequest::setRoleId(const std::vector& roleId) -{ - roleId_ = roleId; - for(int i = 0; i!= roleId.size(); i++) - setCoreParameter("RoleId."+ std::to_string(i), std::to_string(roleId.at(i))); -} - -std::vector CreateBatchUsersRequest::getGroupId()const -{ - return groupId_; -} - -void CreateBatchUsersRequest::setGroupId(const std::vector& groupId) -{ - groupId_ = groupId; - for(int i = 0; i!= groupId.size(); i++) - setCoreParameter("GroupId."+ std::to_string(i), std::to_string(groupId.at(i))); -} - -std::string CreateBatchUsersRequest::getDescription()const -{ - return description_; -} - -void CreateBatchUsersRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateBatchUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateBatchUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateBatchUsersRequest::getRegionId()const -{ - return regionId_; -} - -void CreateBatchUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/CreateBatchUsersResult.cc b/emr/src/model/CreateBatchUsersResult.cc deleted file mode 100644 index 45777e978..000000000 --- a/emr/src/model/CreateBatchUsersResult.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; - -CreateBatchUsersResult::CreateBatchUsersResult() : - ServiceResult() -{} - -CreateBatchUsersResult::CreateBatchUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBatchUsersResult::~CreateBatchUsersResult() -{} - -void CreateBatchUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool CreateBatchUsersResult::getPaging()const -{ - return paging_; -} - -bool CreateBatchUsersResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/CreateClusterBootstrapActionRequest.cc b/emr/src/model/CreateClusterBootstrapActionRequest.cc new file mode 100644 index 000000000..1970f62fd --- /dev/null +++ b/emr/src/model/CreateClusterBootstrapActionRequest.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::CreateClusterBootstrapActionRequest; + +CreateClusterBootstrapActionRequest::CreateClusterBootstrapActionRequest() : + RpcServiceRequest("emr", "2016-04-08", "CreateClusterBootstrapAction") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateClusterBootstrapActionRequest::~CreateClusterBootstrapActionRequest() +{} + +long CreateClusterBootstrapActionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateClusterBootstrapActionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateClusterBootstrapActionRequest::getClusterId()const +{ + return clusterId_; +} + +void CreateClusterBootstrapActionRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string CreateClusterBootstrapActionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateClusterBootstrapActionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::vector CreateClusterBootstrapActionRequest::getBootstrapAction()const +{ + return bootstrapAction_; +} + +void CreateClusterBootstrapActionRequest::setBootstrapAction(const std::vector& bootstrapAction) +{ + bootstrapAction_ = bootstrapAction; + for(int dep1 = 0; dep1!= bootstrapAction.size(); dep1++) { + auto bootstrapActionObj = bootstrapAction.at(dep1); + std::string bootstrapActionObjStr = "BootstrapAction." + std::to_string(dep1 + 1); + setParameter(bootstrapActionObjStr + ".Path", bootstrapActionObj.path); + setParameter(bootstrapActionObjStr + ".ExecutionTarget", bootstrapActionObj.executionTarget); + setParameter(bootstrapActionObjStr + ".ExecutionMoment", bootstrapActionObj.executionMoment); + setParameter(bootstrapActionObjStr + ".Arg", bootstrapActionObj.arg); + setParameter(bootstrapActionObjStr + ".Name", bootstrapActionObj.name); + setParameter(bootstrapActionObjStr + ".ExecutionFailStrategy", bootstrapActionObj.executionFailStrategy); + } +} + +std::string CreateClusterBootstrapActionRequest::getRegionId()const +{ + return regionId_; +} + +void CreateClusterBootstrapActionRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/emr/src/model/CreateClusterBootstrapActionResult.cc b/emr/src/model/CreateClusterBootstrapActionResult.cc new file mode 100644 index 000000000..5c0c68338 --- /dev/null +++ b/emr/src/model/CreateClusterBootstrapActionResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +CreateClusterBootstrapActionResult::CreateClusterBootstrapActionResult() : + ServiceResult() +{} + +CreateClusterBootstrapActionResult::CreateClusterBootstrapActionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateClusterBootstrapActionResult::~CreateClusterBootstrapActionResult() +{} + +void CreateClusterBootstrapActionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/emr/src/model/CreateClusterHostGroupRequest.cc b/emr/src/model/CreateClusterHostGroupRequest.cc deleted file mode 100644 index 2819cf253..000000000 --- a/emr/src/model/CreateClusterHostGroupRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateClusterHostGroupRequest; - -CreateClusterHostGroupRequest::CreateClusterHostGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateClusterHostGroup") -{} - -CreateClusterHostGroupRequest::~CreateClusterHostGroupRequest() -{} - -long CreateClusterHostGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateClusterHostGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateClusterHostGroupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateClusterHostGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateClusterHostGroupRequest::getComment()const -{ - return comment_; -} - -void CreateClusterHostGroupRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setCoreParameter("Comment", comment); -} - -std::string CreateClusterHostGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateClusterHostGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string CreateClusterHostGroupRequest::getHostGroupName()const -{ - return hostGroupName_; -} - -void CreateClusterHostGroupRequest::setHostGroupName(const std::string& hostGroupName) -{ - hostGroupName_ = hostGroupName; - setCoreParameter("HostGroupName", hostGroupName); -} - -std::string CreateClusterHostGroupRequest::getHostGroupType()const -{ - return hostGroupType_; -} - -void CreateClusterHostGroupRequest::setHostGroupType(const std::string& hostGroupType) -{ - hostGroupType_ = hostGroupType; - setCoreParameter("HostGroupType", hostGroupType); -} - -std::string CreateClusterHostGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateClusterHostGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateClusterHostGroupResult.cc b/emr/src/model/CreateClusterHostGroupResult.cc deleted file mode 100644 index 6c26b4781..000000000 --- a/emr/src/model/CreateClusterHostGroupResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateClusterHostGroupResult::CreateClusterHostGroupResult() : - ServiceResult() -{} - -CreateClusterHostGroupResult::CreateClusterHostGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateClusterHostGroupResult::~CreateClusterHostGroupResult() -{} - -void CreateClusterHostGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["HostGroupId"].isNull()) - hostGroupId_ = value["HostGroupId"].asString(); - -} - -std::string CreateClusterHostGroupResult::getHostGroupId()const -{ - return hostGroupId_; -} - -std::string CreateClusterHostGroupResult::getClusterId()const -{ - return clusterId_; -} - diff --git a/emr/src/model/CreateClusterScriptRequest.cc b/emr/src/model/CreateClusterScriptRequest.cc deleted file mode 100644 index 946ea5e64..000000000 --- a/emr/src/model/CreateClusterScriptRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateClusterScriptRequest; - -CreateClusterScriptRequest::CreateClusterScriptRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateClusterScript") -{} - -CreateClusterScriptRequest::~CreateClusterScriptRequest() -{} - -std::string CreateClusterScriptRequest::getArgs()const -{ - return args_; -} - -void CreateClusterScriptRequest::setArgs(const std::string& args) -{ - args_ = args; - setCoreParameter("Args", args); -} - -std::string CreateClusterScriptRequest::getPath()const -{ - return path_; -} - -void CreateClusterScriptRequest::setPath(const std::string& path) -{ - path_ = path; - setCoreParameter("Path", path); -} - -long CreateClusterScriptRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateClusterScriptRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateClusterScriptRequest::getRegionId()const -{ - return regionId_; -} - -void CreateClusterScriptRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateClusterScriptRequest::getName()const -{ - return name_; -} - -void CreateClusterScriptRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateClusterScriptRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateClusterScriptRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string CreateClusterScriptRequest::getNodeIdList()const -{ - return nodeIdList_; -} - -void CreateClusterScriptRequest::setNodeIdList(const std::string& nodeIdList) -{ - nodeIdList_ = nodeIdList; - setCoreParameter("NodeIdList", nodeIdList); -} - -std::string CreateClusterScriptRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateClusterScriptRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateClusterScriptResult.cc b/emr/src/model/CreateClusterScriptResult.cc deleted file mode 100644 index 5a365a06b..000000000 --- a/emr/src/model/CreateClusterScriptResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateClusterScriptResult::CreateClusterScriptResult() : - ServiceResult() -{} - -CreateClusterScriptResult::CreateClusterScriptResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateClusterScriptResult::~CreateClusterScriptResult() -{} - -void CreateClusterScriptResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CreateClusterScriptResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateClusterTemplateRequest.cc b/emr/src/model/CreateClusterTemplateRequest.cc index d557c66ac..399397206 100644 --- a/emr/src/model/CreateClusterTemplateRequest.cc +++ b/emr/src/model/CreateClusterTemplateRequest.cc @@ -126,6 +126,17 @@ void CreateClusterTemplateRequest::setMachineType(const std::string& machineType setParameter("MachineType", machineType); } +std::string CreateClusterTemplateRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateClusterTemplateRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::vector CreateClusterTemplateRequest::getBootstrapAction()const { return bootstrapAction_; @@ -138,8 +149,11 @@ void CreateClusterTemplateRequest::setBootstrapAction(const std::vector CreateClusterTemplateRequest::getTag()const +{ + return tag_; +} + +void CreateClusterTemplateRequest::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 + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool CreateClusterTemplateRequest::getIsOpenPublicIp()const { return isOpenPublicIp_; diff --git a/emr/src/model/CreateClusterV2Request.cc b/emr/src/model/CreateClusterV2Request.cc index 0c7564558..f70f5c676 100644 --- a/emr/src/model/CreateClusterV2Request.cc +++ b/emr/src/model/CreateClusterV2Request.cc @@ -137,6 +137,17 @@ void CreateClusterV2Request::setMachineType(const std::string& machineType) setParameter("MachineType", machineType); } +std::string CreateClusterV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateClusterV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::vector CreateClusterV2Request::getHostComponentInfo()const { return hostComponentInfo_; @@ -179,8 +190,11 @@ void CreateClusterV2Request::setBootstrapAction(const std::vector CreateClusterV2Request::getPromotionInfo()const +{ + return promotionInfo_; +} + +void CreateClusterV2Request::setPromotionInfo(const std::vector& promotionInfo) +{ + promotionInfo_ = promotionInfo; + for(int dep1 = 0; dep1!= promotionInfo.size(); dep1++) { + auto promotionInfoObj = promotionInfo.at(dep1); + std::string promotionInfoObjStr = "PromotionInfo." + std::to_string(dep1 + 1); + setParameter(promotionInfoObjStr + ".PromotionOptionCode", promotionInfoObj.promotionOptionCode); + setParameter(promotionInfoObjStr + ".ProductCode", promotionInfoObj.productCode); + setParameter(promotionInfoObjStr + ".PromotionOptionNo", promotionInfoObj.promotionOptionNo); + } +} + std::vector CreateClusterV2Request::getHostGroup()const { return hostGroup_; diff --git a/emr/src/model/CreateClusterWithHostPoolRequest.cc b/emr/src/model/CreateClusterWithHostPoolRequest.cc deleted file mode 100644 index 37e46ae94..000000000 --- a/emr/src/model/CreateClusterWithHostPoolRequest.cc +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateClusterWithHostPoolRequest; - -CreateClusterWithHostPoolRequest::CreateClusterWithHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateClusterWithHostPool") -{} - -CreateClusterWithHostPoolRequest::~CreateClusterWithHostPoolRequest() -{} - -long CreateClusterWithHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateClusterWithHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateClusterWithHostPoolRequest::getClusterName()const -{ - return clusterName_; -} - -void CreateClusterWithHostPoolRequest::setClusterName(const std::string& clusterName) -{ - clusterName_ = clusterName; - setCoreParameter("ClusterName", clusterName); -} - -bool CreateClusterWithHostPoolRequest::getEasEnable()const -{ - return easEnable_; -} - -void CreateClusterWithHostPoolRequest::setEasEnable(bool easEnable) -{ - easEnable_ = easEnable; - setCoreParameter("EasEnable", easEnable ? "true" : "false"); -} - -std::vector CreateClusterWithHostPoolRequest::getHostInfo()const -{ - return hostInfo_; -} - -void CreateClusterWithHostPoolRequest::setHostInfo(const std::vector& hostInfo) -{ - hostInfo_ = hostInfo; - int i = 0; - for(int i = 0; i!= hostInfo.size(); i++) { - auto obj = hostInfo.at(i); - std::string str ="HostInfo."+ std::to_string(i); - setCoreParameter(str + ".HpHostBizId", obj.hpHostBizId); - setCoreParameter(str + ".HostName", obj.hostName); - setCoreParameter(str + ".Role", obj.role); - setCoreParameter(str + ".GroupId", std::to_string(obj.groupId)); - setCoreParameter(str + ".PrivateIp", obj.privateIp); - setCoreParameter(str + ".ServiceComponentInfo", std::to_string(obj.serviceComponentInfo)); - setCoreParameter(str + ".HostGroupName", obj.hostGroupName); - } -} - -std::string CreateClusterWithHostPoolRequest::getRelatedClusterId()const -{ - return relatedClusterId_; -} - -void CreateClusterWithHostPoolRequest::setRelatedClusterId(const std::string& relatedClusterId) -{ - relatedClusterId_ = relatedClusterId; - setCoreParameter("RelatedClusterId", relatedClusterId); -} - -std::string CreateClusterWithHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateClusterWithHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateClusterWithHostPoolRequest::getClusterType()const -{ - return clusterType_; -} - -void CreateClusterWithHostPoolRequest::setClusterType(const std::string& clusterType) -{ - clusterType_ = clusterType; - setCoreParameter("ClusterType", clusterType); -} - -std::string CreateClusterWithHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void CreateClusterWithHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector CreateClusterWithHostPoolRequest::getHostGroup()const -{ - return hostGroup_; -} - -void CreateClusterWithHostPoolRequest::setHostGroup(const std::vector& hostGroup) -{ - hostGroup_ = hostGroup; - int i = 0; - for(int i = 0; i!= hostGroup.size(); i++) { - auto obj = hostGroup.at(i); - std::string str ="HostGroup."+ std::to_string(i); - setCoreParameter(str + ".GroupType", obj.groupType); - setCoreParameter(str + ".GroupId", std::to_string(obj.groupId)); - setCoreParameter(str + ".GroupName", obj.groupName); - } -} - -std::string CreateClusterWithHostPoolRequest::getStackName()const -{ - return stackName_; -} - -void CreateClusterWithHostPoolRequest::setStackName(const std::string& stackName) -{ - stackName_ = stackName; - setCoreParameter("StackName", stackName); -} - -std::string CreateClusterWithHostPoolRequest::getStackVersion()const -{ - return stackVersion_; -} - -void CreateClusterWithHostPoolRequest::setStackVersion(const std::string& stackVersion) -{ - stackVersion_ = stackVersion; - setCoreParameter("StackVersion", stackVersion); -} - -std::vector CreateClusterWithHostPoolRequest::getServiceInfo()const -{ - return serviceInfo_; -} - -void CreateClusterWithHostPoolRequest::setServiceInfo(const std::vector& serviceInfo) -{ - serviceInfo_ = serviceInfo; - int i = 0; - for(int i = 0; i!= serviceInfo.size(); i++) { - auto obj = serviceInfo.at(i); - std::string str ="ServiceInfo."+ std::to_string(i); - setCoreParameter(str + ".ServiceEcmVersion", obj.serviceEcmVersion); - setCoreParameter(str + ".ServiceVersion", obj.serviceVersion); - setCoreParameter(str + ".ServiceName", obj.serviceName); - } -} - -std::vector CreateClusterWithHostPoolRequest::getConfig()const -{ - return config_; -} - -void CreateClusterWithHostPoolRequest::setConfig(const std::vector& config) -{ - config_ = config; - int i = 0; - for(int i = 0; i!= config.size(); i++) { - auto obj = config.at(i); - std::string str ="Config."+ std::to_string(i); - setCoreParameter(str + ".ConfigKey", obj.configKey); - setCoreParameter(str + ".FileName", obj.fileName); - setCoreParameter(str + ".ConfigValue", obj.configValue); - setCoreParameter(str + ".ServiceName", obj.serviceName); - } -} - diff --git a/emr/src/model/CreateClusterWithHostPoolResult.cc b/emr/src/model/CreateClusterWithHostPoolResult.cc deleted file mode 100644 index 2dc09df90..000000000 --- a/emr/src/model/CreateClusterWithHostPoolResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateClusterWithHostPoolResult::CreateClusterWithHostPoolResult() : - ServiceResult() -{} - -CreateClusterWithHostPoolResult::CreateClusterWithHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateClusterWithHostPoolResult::~CreateClusterWithHostPoolResult() -{} - -void CreateClusterWithHostPoolResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["WorkFlowInstanceId"].isNull()) - workFlowInstanceId_ = value["WorkFlowInstanceId"].asString(); - if(!value["OperationId"].isNull()) - operationId_ = value["OperationId"].asString(); - -} - -std::string CreateClusterWithHostPoolResult::getWorkFlowInstanceId()const -{ - return workFlowInstanceId_; -} - -std::string CreateClusterWithHostPoolResult::getClusterId()const -{ - return clusterId_; -} - -std::string CreateClusterWithHostPoolResult::getOperationId()const -{ - return operationId_; -} - diff --git a/emr/src/model/CreateClusterWithTemplateRequest.cc b/emr/src/model/CreateClusterWithTemplateRequest.cc index a36dc3261..e0b0466be 100644 --- a/emr/src/model/CreateClusterWithTemplateRequest.cc +++ b/emr/src/model/CreateClusterWithTemplateRequest.cc @@ -71,6 +71,17 @@ void CreateClusterWithTemplateRequest::setAccessKeyId(const std::string& accessK setParameter("AccessKeyId", accessKeyId); } +std::string CreateClusterWithTemplateRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateClusterWithTemplateRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateClusterWithTemplateRequest::getTemplateBizId()const { return templateBizId_; diff --git a/emr/src/model/CreateDataSourceRequest.cc b/emr/src/model/CreateDataSourceRequest.cc index 8f30b86c2..25c264168 100644 --- a/emr/src/model/CreateDataSourceRequest.cc +++ b/emr/src/model/CreateDataSourceRequest.cc @@ -93,6 +93,17 @@ void CreateDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string CreateDataSourceRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateDataSourceRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/CreateETLJobRequest.cc b/emr/src/model/CreateETLJobRequest.cc deleted file mode 100644 index 126ff6e7c..000000000 --- a/emr/src/model/CreateETLJobRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateETLJobRequest; - -CreateETLJobRequest::CreateETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateETLJob") -{} - -CreateETLJobRequest::~CreateETLJobRequest() -{} - -long CreateETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void CreateETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateETLJobRequest::getNavParentId()const -{ - return navParentId_; -} - -void CreateETLJobRequest::setNavParentId(const std::string& navParentId) -{ - navParentId_ = navParentId; - setCoreParameter("NavParentId", navParentId); -} - -std::string CreateETLJobRequest::getName()const -{ - return name_; -} - -void CreateETLJobRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateETLJobRequest::getDescription()const -{ - return description_; -} - -void CreateETLJobRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateETLJobRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateETLJobRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string CreateETLJobRequest::getType()const -{ - return type_; -} - -void CreateETLJobRequest::setType(const std::string& type) -{ - type_ = type; - setCoreParameter("Type", type); -} - -std::string CreateETLJobRequest::getProjectId()const -{ - return projectId_; -} - -void CreateETLJobRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - -std::string CreateETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateETLJobResult.cc b/emr/src/model/CreateETLJobResult.cc deleted file mode 100644 index 26bc16b2d..000000000 --- a/emr/src/model/CreateETLJobResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateETLJobResult::CreateETLJobResult() : - ServiceResult() -{} - -CreateETLJobResult::CreateETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateETLJobResult::~CreateETLJobResult() -{} - -void CreateETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CreateETLJobResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateExecutionPlanRequest.cc b/emr/src/model/CreateExecutionPlanRequest.cc index 58139f1b9..0dc5b6855 100644 --- a/emr/src/model/CreateExecutionPlanRequest.cc +++ b/emr/src/model/CreateExecutionPlanRequest.cc @@ -116,8 +116,11 @@ void CreateExecutionPlanRequest::setBootstrapAction(const std::vector - -using AlibabaCloud::Emr::Model::CreateHostPoolRequest; - -CreateHostPoolRequest::CreateHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateHostPool") -{} - -CreateHostPoolRequest::~CreateHostPoolRequest() -{} - -long CreateHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void CreateHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateHostPoolRequest::getName()const -{ - return name_; -} - -void CreateHostPoolRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateHostPoolRequest::getDescription()const -{ - return description_; -} - -void CreateHostPoolRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::vector CreateHostPoolRequest::getKubeClusterInfo()const -{ - return kubeClusterInfo_; -} - -void CreateHostPoolRequest::setKubeClusterInfo(const std::vector& kubeClusterInfo) -{ - kubeClusterInfo_ = kubeClusterInfo; - int i = 0; - for(int i = 0; i!= kubeClusterInfo.size(); i++) { - auto obj = kubeClusterInfo.at(i); - std::string str ="KubeClusterInfo."+ std::to_string(i); - setCoreParameter(str + ".ExternalKey", obj.externalKey); - setCoreParameter(str + ".InternalConfig", obj.internalConfig); - setCoreParameter(str + ".PublicConfig", obj.publicConfig); - setCoreParameter(str + ".SshConfig", obj.sshConfig); - } -} - -std::string CreateHostPoolRequest::getType()const -{ - return type_; -} - -void CreateHostPoolRequest::setType(const std::string& type) -{ - type_ = type; - setCoreParameter("Type", type); -} - -std::string CreateHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateHostPoolResult.cc b/emr/src/model/CreateHostPoolResult.cc deleted file mode 100644 index 1b009e9a4..000000000 --- a/emr/src/model/CreateHostPoolResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateHostPoolResult::CreateHostPoolResult() : - ServiceResult() -{} - -CreateHostPoolResult::CreateHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateHostPoolResult::~CreateHostPoolResult() -{} - -void CreateHostPoolResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - -} - -std::string CreateHostPoolResult::getBizId()const -{ - return bizId_; -} - diff --git a/emr/src/model/CreateJobRequest.cc b/emr/src/model/CreateJobRequest.cc index 6916a35c1..2a4e9547d 100644 --- a/emr/src/model/CreateJobRequest.cc +++ b/emr/src/model/CreateJobRequest.cc @@ -93,6 +93,17 @@ void CreateJobRequest::setRetryInterval(int retryInterval) setParameter("RetryInterval", std::to_string(retryInterval)); } +std::string CreateJobRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateJobRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateJobRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/CreateLibraryRequest.cc b/emr/src/model/CreateLibraryRequest.cc new file mode 100644 index 000000000..db8c28322 --- /dev/null +++ b/emr/src/model/CreateLibraryRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::CreateLibraryRequest; + +CreateLibraryRequest::CreateLibraryRequest() : + RpcServiceRequest("emr", "2016-04-08", "CreateLibrary") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateLibraryRequest::~CreateLibraryRequest() +{} + +long CreateLibraryRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateLibraryRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateLibraryRequest::getLibraryVersion()const +{ + return libraryVersion_; +} + +void CreateLibraryRequest::setLibraryVersion(const std::string& libraryVersion) +{ + libraryVersion_ = libraryVersion; + setParameter("LibraryVersion", libraryVersion); +} + +std::string CreateLibraryRequest::getType()const +{ + return type_; +} + +void CreateLibraryRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string CreateLibraryRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateLibraryRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateLibraryRequest::getRegionId()const +{ + return regionId_; +} + +void CreateLibraryRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string CreateLibraryRequest::getScope()const +{ + return scope_; +} + +void CreateLibraryRequest::setScope(const std::string& scope) +{ + scope_ = scope; + setParameter("Scope", scope); +} + +std::string CreateLibraryRequest::getName()const +{ + return name_; +} + +void CreateLibraryRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateLibraryRequest::getSourceType()const +{ + return sourceType_; +} + +void CreateLibraryRequest::setSourceType(const std::string& sourceType) +{ + sourceType_ = sourceType; + setParameter("SourceType", sourceType); +} + +std::string CreateLibraryRequest::getProperties()const +{ + return properties_; +} + +void CreateLibraryRequest::setProperties(const std::string& properties) +{ + properties_ = properties; + setParameter("Properties", properties); +} + +std::string CreateLibraryRequest::getSourceLocation()const +{ + return sourceLocation_; +} + +void CreateLibraryRequest::setSourceLocation(const std::string& sourceLocation) +{ + sourceLocation_ = sourceLocation; + setParameter("SourceLocation", sourceLocation); +} + diff --git a/emr/src/model/ModifyHpHostResult.cc b/emr/src/model/CreateLibraryResult.cc similarity index 69% rename from emr/src/model/ModifyHpHostResult.cc rename to emr/src/model/CreateLibraryResult.cc index aad55ca9b..ba4818418 100644 --- a/emr/src/model/ModifyHpHostResult.cc +++ b/emr/src/model/CreateLibraryResult.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ModifyHpHostResult::ModifyHpHostResult() : +CreateLibraryResult::CreateLibraryResult() : ServiceResult() {} -ModifyHpHostResult::ModifyHpHostResult(const std::string &payload) : +CreateLibraryResult::CreateLibraryResult(const std::string &payload) : ServiceResult() { parse(payload); } -ModifyHpHostResult::~ModifyHpHostResult() +CreateLibraryResult::~CreateLibraryResult() {} -void ModifyHpHostResult::parse(const std::string &payload) +void CreateLibraryResult::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["Data"].isNull()) + data_ = value["Data"].asString(); } -std::string ModifyHpHostResult::getBizId()const +std::string CreateLibraryResult::getData()const { - return bizId_; + return data_; } diff --git a/emr/src/model/CreateMetaTablePreviewTaskRequest.cc b/emr/src/model/CreateMetaTablePreviewTaskRequest.cc index 8afb586b6..f05709a81 100644 --- a/emr/src/model/CreateMetaTablePreviewTaskRequest.cc +++ b/emr/src/model/CreateMetaTablePreviewTaskRequest.cc @@ -60,6 +60,17 @@ void CreateMetaTablePreviewTaskRequest::setAccessKeyId(const std::string& access setParameter("AccessKeyId", accessKeyId); } +std::string CreateMetaTablePreviewTaskRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateMetaTablePreviewTaskRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateMetaTablePreviewTaskRequest::getPassword()const { return password_; diff --git a/emr/src/model/CreateNavNodeRequest.cc b/emr/src/model/CreateNavNodeRequest.cc deleted file mode 100644 index 341c93d17..000000000 --- a/emr/src/model/CreateNavNodeRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateNavNodeRequest; - -CreateNavNodeRequest::CreateNavNodeRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateNavNode") -{} - -CreateNavNodeRequest::~CreateNavNodeRequest() -{} - -long CreateNavNodeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateNavNodeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateNavNodeRequest::getRegionId()const -{ - return regionId_; -} - -void CreateNavNodeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateNavNodeRequest::getName()const -{ - return name_; -} - -void CreateNavNodeRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string CreateNavNodeRequest::getType()const -{ - return type_; -} - -void CreateNavNodeRequest::setType(const std::string& type) -{ - type_ = type; - setCoreParameter("Type", type); -} - -std::string CreateNavNodeRequest::getProjectId()const -{ - return projectId_; -} - -void CreateNavNodeRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - -std::string CreateNavNodeRequest::getCategoryType()const -{ - return categoryType_; -} - -void CreateNavNodeRequest::setCategoryType(const std::string& categoryType) -{ - categoryType_ = categoryType; - setCoreParameter("CategoryType", categoryType); -} - -std::string CreateNavNodeRequest::getObjectId()const -{ - return objectId_; -} - -void CreateNavNodeRequest::setObjectId(const std::string& objectId) -{ - objectId_ = objectId; - setCoreParameter("ObjectId", objectId); -} - -std::string CreateNavNodeRequest::getParentId()const -{ - return parentId_; -} - -void CreateNavNodeRequest::setParentId(const std::string& parentId) -{ - parentId_ = parentId; - setCoreParameter("ParentId", parentId); -} - -std::string CreateNavNodeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateNavNodeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateNavNodeResult.cc b/emr/src/model/CreateNavNodeResult.cc deleted file mode 100644 index d63b648e8..000000000 --- a/emr/src/model/CreateNavNodeResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateNavNodeResult::CreateNavNodeResult() : - ServiceResult() -{} - -CreateNavNodeResult::CreateNavNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateNavNodeResult::~CreateNavNodeResult() -{} - -void CreateNavNodeResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string CreateNavNodeResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/CreateNoteRequest.cc b/emr/src/model/CreateNoteRequest.cc index 6ce96787d..2ab74635a 100644 --- a/emr/src/model/CreateNoteRequest.cc +++ b/emr/src/model/CreateNoteRequest.cc @@ -71,6 +71,17 @@ void CreateNoteRequest::setAccessKeyId(const std::string& 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_; diff --git a/emr/src/model/CreateScalingGroupV2Request.cc b/emr/src/model/CreateScalingGroupV2Request.cc new file mode 100644 index 000000000..7f072b44a --- /dev/null +++ b/emr/src/model/CreateScalingGroupV2Request.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::CreateScalingGroupV2Request; + +CreateScalingGroupV2Request::CreateScalingGroupV2Request() : + RpcServiceRequest("emr", "2016-04-08", "CreateScalingGroupV2") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateScalingGroupV2Request::~CreateScalingGroupV2Request() +{} + +long CreateScalingGroupV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateScalingGroupV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateScalingGroupV2Request::getDescription()const +{ + return description_; +} + +void CreateScalingGroupV2Request::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string CreateScalingGroupV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateScalingGroupV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateScalingGroupV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateScalingGroupV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string CreateScalingGroupV2Request::getRegionId()const +{ + return regionId_; +} + +void CreateScalingGroupV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string CreateScalingGroupV2Request::getHostGroupId()const +{ + return hostGroupId_; +} + +void CreateScalingGroupV2Request::setHostGroupId(const std::string& hostGroupId) +{ + hostGroupId_ = hostGroupId; + setParameter("HostGroupId", hostGroupId); +} + +std::string CreateScalingGroupV2Request::getName()const +{ + return name_; +} + +void CreateScalingGroupV2Request::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/emr/src/model/ModifyAlertUserGroupResult.cc b/emr/src/model/CreateScalingGroupV2Result.cc similarity index 68% rename from emr/src/model/ModifyAlertUserGroupResult.cc rename to emr/src/model/CreateScalingGroupV2Result.cc index a53f98fe1..0cc23e2cf 100644 --- a/emr/src/model/ModifyAlertUserGroupResult.cc +++ b/emr/src/model/CreateScalingGroupV2Result.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ModifyAlertUserGroupResult::ModifyAlertUserGroupResult() : +CreateScalingGroupV2Result::CreateScalingGroupV2Result() : ServiceResult() {} -ModifyAlertUserGroupResult::ModifyAlertUserGroupResult(const std::string &payload) : +CreateScalingGroupV2Result::CreateScalingGroupV2Result(const std::string &payload) : ServiceResult() { parse(payload); } -ModifyAlertUserGroupResult::~ModifyAlertUserGroupResult() +CreateScalingGroupV2Result::~CreateScalingGroupV2Result() {} -void ModifyAlertUserGroupResult::parse(const std::string &payload) +void CreateScalingGroupV2Result::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Done"].isNull()) - done_ = value["Done"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); } -bool ModifyAlertUserGroupResult::getDone()const +std::string CreateScalingGroupV2Result::getData()const { - return done_; + return data_; } diff --git a/emr/src/model/CreateScalingRuleRequest.cc b/emr/src/model/CreateScalingRuleRequest.cc index 10756f51b..97ee34f77 100644 --- a/emr/src/model/CreateScalingRuleRequest.cc +++ b/emr/src/model/CreateScalingRuleRequest.cc @@ -91,6 +91,17 @@ void CreateScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +long CreateScalingRuleRequest::getTimeoutWithGrace()const +{ + return timeoutWithGrace_; +} + +void CreateScalingRuleRequest::setTimeoutWithGrace(long timeoutWithGrace) +{ + timeoutWithGrace_ = timeoutWithGrace; + setParameter("TimeoutWithGrace", std::to_string(timeoutWithGrace)); +} + std::string CreateScalingRuleRequest::getRegionId()const { return regionId_; @@ -124,6 +135,17 @@ void CreateScalingRuleRequest::setLaunchTime(const std::string& launchTime) setParameter("LaunchTime", launchTime); } +bool CreateScalingRuleRequest::getWithGrace()const +{ + return withGrace_; +} + +void CreateScalingRuleRequest::setWithGrace(bool withGrace) +{ + withGrace_ = withGrace; + setParameter("WithGrace", withGrace ? "true" : "false"); +} + std::string CreateScalingRuleRequest::getRuleCategory()const { return ruleCategory_; diff --git a/emr/src/model/CreateScalingTaskGroupRequest.cc b/emr/src/model/CreateScalingTaskGroupRequest.cc deleted file mode 100644 index 28bcabb69..000000000 --- a/emr/src/model/CreateScalingTaskGroupRequest.cc +++ /dev/null @@ -1,226 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateScalingTaskGroupRequest; - -CreateScalingTaskGroupRequest::CreateScalingTaskGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateScalingTaskGroup") -{} - -CreateScalingTaskGroupRequest::~CreateScalingTaskGroupRequest() -{} - -long CreateScalingTaskGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateScalingTaskGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateScalingTaskGroupRequest::getDataDiskCategory()const -{ - return dataDiskCategory_; -} - -void CreateScalingTaskGroupRequest::setDataDiskCategory(const std::string& dataDiskCategory) -{ - dataDiskCategory_ = dataDiskCategory; - setCoreParameter("DataDiskCategory", dataDiskCategory); -} - -std::string CreateScalingTaskGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateScalingTaskGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int CreateScalingTaskGroupRequest::getMinSize()const -{ - return minSize_; -} - -void CreateScalingTaskGroupRequest::setMinSize(int minSize) -{ - minSize_ = minSize; - setCoreParameter("MinSize", std::to_string(minSize)); -} - -std::string CreateScalingTaskGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateScalingTaskGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateScalingTaskGroupRequest::getSpotStrategy()const -{ - return spotStrategy_; -} - -void CreateScalingTaskGroupRequest::setSpotStrategy(const std::string& spotStrategy) -{ - spotStrategy_ = spotStrategy; - setCoreParameter("SpotStrategy", spotStrategy); -} - -int CreateScalingTaskGroupRequest::getDataDiskSize()const -{ - return dataDiskSize_; -} - -void CreateScalingTaskGroupRequest::setDataDiskSize(int dataDiskSize) -{ - dataDiskSize_ = dataDiskSize; - setCoreParameter("DataDiskSize", std::to_string(dataDiskSize)); -} - -std::vector CreateScalingTaskGroupRequest::getSpotPriceLimits()const -{ - return spotPriceLimits_; -} - -void CreateScalingTaskGroupRequest::setSpotPriceLimits(const std::vector& spotPriceLimits) -{ - spotPriceLimits_ = spotPriceLimits; - int i = 0; - for(int i = 0; i!= spotPriceLimits.size(); i++) { - auto obj = spotPriceLimits.at(i); - std::string str ="SpotPriceLimits."+ std::to_string(i); - setCoreParameter(str + ".InstanceType", obj.instanceType); - setCoreParameter(str + ".PriceLimit", std::to_string(obj.priceLimit)); - } -} - -std::string CreateScalingTaskGroupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateScalingTaskGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector CreateScalingTaskGroupRequest::getScalingRule()const -{ - return scalingRule_; -} - -void CreateScalingTaskGroupRequest::setScalingRule(const std::vector& scalingRule) -{ - scalingRule_ = scalingRule; - int i = 0; - for(int i = 0; i!= scalingRule.size(); i++) { - auto obj = scalingRule.at(i); - std::string str ="ScalingRule."+ std::to_string(i); - setCoreParameter(str + ".LaunchTime", obj.launchTime); - setCoreParameter(str + ".RuleCategory", obj.ruleCategory); - setCoreParameter(str + ".AdjustmentValue", std::to_string(obj.adjustmentValue)); - setCoreParameter(str + ".SchedulerTrigger", std::to_string(obj.schedulerTrigger)); - setCoreParameter(str + ".AdjustmentType", obj.adjustmentType); - setCoreParameter(str + ".Cooldown", std::to_string(obj.cooldown)); - setCoreParameter(str + ".RuleName", obj.ruleName); - setCoreParameter(str + ".LaunchExpirationTime", std::to_string(obj.launchExpirationTime)); - setCoreParameter(str + ".RecurrenceValue", obj.recurrenceValue); - setCoreParameter(str + ".RecurrenceEndTime", obj.recurrenceEndTime); - setCoreParameter(str + ".CloudWatchTrigger", std::to_string(obj.cloudWatchTrigger)); - setCoreParameter(str + ".RecurrenceType", obj.recurrenceType); - } -} - -std::string CreateScalingTaskGroupRequest::getActiveRuleCategory()const -{ - return activeRuleCategory_; -} - -void CreateScalingTaskGroupRequest::setActiveRuleCategory(const std::string& activeRuleCategory) -{ - activeRuleCategory_ = activeRuleCategory; - setCoreParameter("ActiveRuleCategory", activeRuleCategory); -} - -int CreateScalingTaskGroupRequest::getMaxSize()const -{ - return maxSize_; -} - -void CreateScalingTaskGroupRequest::setMaxSize(int maxSize) -{ - maxSize_ = maxSize; - setCoreParameter("MaxSize", std::to_string(maxSize)); -} - -int CreateScalingTaskGroupRequest::getDataDiskCount()const -{ - return dataDiskCount_; -} - -void CreateScalingTaskGroupRequest::setDataDiskCount(int dataDiskCount) -{ - dataDiskCount_ = dataDiskCount; - setCoreParameter("DataDiskCount", std::to_string(dataDiskCount)); -} - -int CreateScalingTaskGroupRequest::getDefaultCooldown()const -{ - return defaultCooldown_; -} - -void CreateScalingTaskGroupRequest::setDefaultCooldown(int defaultCooldown) -{ - defaultCooldown_ = defaultCooldown; - setCoreParameter("DefaultCooldown", std::to_string(defaultCooldown)); -} - -std::string CreateScalingTaskGroupRequest::getPayType()const -{ - return payType_; -} - -void CreateScalingTaskGroupRequest::setPayType(const std::string& payType) -{ - payType_ = payType; - setCoreParameter("PayType", payType); -} - -std::vector CreateScalingTaskGroupRequest::getInstanceTypeList()const -{ - return instanceTypeList_; -} - -void CreateScalingTaskGroupRequest::setInstanceTypeList(const std::vector& instanceTypeList) -{ - instanceTypeList_ = instanceTypeList; - for(int i = 0; i!= instanceTypeList.size(); i++) - setCoreParameter("InstanceTypeList."+ std::to_string(i), instanceTypeList.at(i)); -} - diff --git a/emr/src/model/CreateScalingTaskGroupResult.cc b/emr/src/model/CreateScalingTaskGroupResult.cc deleted file mode 100644 index 4b54c02aa..000000000 --- a/emr/src/model/CreateScalingTaskGroupResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateScalingTaskGroupResult::CreateScalingTaskGroupResult() : - ServiceResult() -{} - -CreateScalingTaskGroupResult::CreateScalingTaskGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateScalingTaskGroupResult::~CreateScalingTaskGroupResult() -{} - -void CreateScalingTaskGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["HostGroupId"].isNull()) - hostGroupId_ = value["HostGroupId"].asString(); - -} - -std::string CreateScalingTaskGroupResult::getHostGroupId()const -{ - return hostGroupId_; -} - diff --git a/emr/src/model/CreateUserGroupRequest.cc b/emr/src/model/CreateUserGroupRequest.cc deleted file mode 100644 index 7f2e9a510..000000000 --- a/emr/src/model/CreateUserGroupRequest.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateUserGroupRequest; - -CreateUserGroupRequest::CreateUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateUserGroup") -{} - -CreateUserGroupRequest::~CreateUserGroupRequest() -{} - -long CreateUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateUserGroupRequest::getDescription()const -{ - return description_; -} - -void CreateUserGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string CreateUserGroupRequest::getType()const -{ - return type_; -} - -void CreateUserGroupRequest::setType(const std::string& type) -{ - type_ = type; - setCoreParameter("Type", type); -} - -std::string CreateUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void CreateUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateUserGroupRequest::getName()const -{ - return name_; -} - -void CreateUserGroupRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::vector CreateUserGroupRequest::getRoleIdList()const -{ - return roleIdList_; -} - -void CreateUserGroupRequest::setRoleIdList(const std::vector& roleIdList) -{ - roleIdList_ = roleIdList; - for(int i = 0; i!= roleIdList.size(); i++) - setCoreParameter("RoleIdList."+ std::to_string(i), std::to_string(roleIdList.at(i))); -} - diff --git a/emr/src/model/CreateUserPasswordRequest.cc b/emr/src/model/CreateUserPasswordRequest.cc deleted file mode 100644 index f8b218be4..000000000 --- a/emr/src/model/CreateUserPasswordRequest.cc +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::CreateUserPasswordRequest; - -CreateUserPasswordRequest::CreateUserPasswordRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateUserPassword") -{} - -CreateUserPasswordRequest::~CreateUserPasswordRequest() -{} - -long CreateUserPasswordRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateUserPasswordRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateUserPasswordRequest::getPassword()const -{ - return password_; -} - -void CreateUserPasswordRequest::setPassword(const std::string& password) -{ - password_ = password; - setCoreParameter("Password", password); -} - -std::string CreateUserPasswordRequest::getRegionId()const -{ - return regionId_; -} - -void CreateUserPasswordRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateUserPasswordRequest::getClusterId()const -{ - return clusterId_; -} - -void CreateUserPasswordRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::vector CreateUserPasswordRequest::getUserInfo()const -{ - return userInfo_; -} - -void CreateUserPasswordRequest::setUserInfo(const std::vector& userInfo) -{ - userInfo_ = userInfo; - int i = 0; - for(int i = 0; i!= userInfo.size(); i++) { - auto obj = userInfo.at(i); - std::string str ="UserInfo."+ std::to_string(i); - setCoreParameter(str + ".Type", obj.type); - setCoreParameter(str + ".GroupName", obj.groupName); - setCoreParameter(str + ".UserId", obj.userId); - setCoreParameter(str + ".UserName", obj.userName); - } -} - -std::string CreateUserPasswordRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateUserPasswordRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateUserPasswordResult.cc b/emr/src/model/CreateUserPasswordResult.cc deleted file mode 100644 index 4c27f8d23..000000000 --- a/emr/src/model/CreateUserPasswordResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -CreateUserPasswordResult::CreateUserPasswordResult() : - ServiceResult() -{} - -CreateUserPasswordResult::CreateUserPasswordResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUserPasswordResult::~CreateUserPasswordResult() -{} - -void CreateUserPasswordResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/CreateUserStatisticsRequest.cc b/emr/src/model/CreateUserStatisticsRequest.cc deleted file mode 100644 index 6d00ff45b..000000000 --- a/emr/src/model/CreateUserStatisticsRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::CreateUserStatisticsRequest; - -CreateUserStatisticsRequest::CreateUserStatisticsRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateUserStatistics") -{} - -CreateUserStatisticsRequest::~CreateUserStatisticsRequest() -{} - -long CreateUserStatisticsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateUserStatisticsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateUserStatisticsRequest::getRegionId()const -{ - return regionId_; -} - -void CreateUserStatisticsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateUserStatisticsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateUserStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/CreateUserStatisticsResult.cc b/emr/src/model/CreateUserStatisticsResult.cc deleted file mode 100644 index a5bbcda2a..000000000 --- a/emr/src/model/CreateUserStatisticsResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -CreateUserStatisticsResult::CreateUserStatisticsResult() : - ServiceResult() -{} - -CreateUserStatisticsResult::CreateUserStatisticsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUserStatisticsResult::~CreateUserStatisticsResult() -{} - -void CreateUserStatisticsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/CreateVerificationCodeRequest.cc b/emr/src/model/CreateVerificationCodeRequest.cc deleted file mode 100644 index 5c5c3ea09..000000000 --- a/emr/src/model/CreateVerificationCodeRequest.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 - -using AlibabaCloud::Emr::Model::CreateVerificationCodeRequest; - -CreateVerificationCodeRequest::CreateVerificationCodeRequest() : - RpcServiceRequest("emr", "2016-04-08", "CreateVerificationCode") -{} - -CreateVerificationCodeRequest::~CreateVerificationCodeRequest() -{} - -std::string CreateVerificationCodeRequest::getMode()const -{ - return mode_; -} - -void CreateVerificationCodeRequest::setMode(const std::string& mode) -{ - mode_ = mode; - setCoreParameter("Mode", mode); -} - -long CreateVerificationCodeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void CreateVerificationCodeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string CreateVerificationCodeRequest::getRegionId()const -{ - return regionId_; -} - -void CreateVerificationCodeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string CreateVerificationCodeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateVerificationCodeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string CreateVerificationCodeRequest::getTarget()const -{ - return target_; -} - -void CreateVerificationCodeRequest::setTarget(const std::string& target) -{ - target_ = target; - setCoreParameter("Target", target); -} - diff --git a/emr/src/model/CreateVerificationCodeResult.cc b/emr/src/model/CreateVerificationCodeResult.cc deleted file mode 100644 index 008d992e7..000000000 --- a/emr/src/model/CreateVerificationCodeResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -CreateVerificationCodeResult::CreateVerificationCodeResult() : - ServiceResult() -{} - -CreateVerificationCodeResult::CreateVerificationCodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateVerificationCodeResult::~CreateVerificationCodeResult() -{} - -void CreateVerificationCodeResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Status"].isNull()) - status_ = std::stol(value["Status"].asString()); - -} - -long CreateVerificationCodeResult::getStatus()const -{ - return status_; -} - diff --git a/emr/src/model/DecommissionHostComponentRequest.cc b/emr/src/model/DecommissionHostComponentRequest.cc new file mode 100644 index 000000000..0d06dbdbe --- /dev/null +++ b/emr/src/model/DecommissionHostComponentRequest.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::DecommissionHostComponentRequest; + +DecommissionHostComponentRequest::DecommissionHostComponentRequest() : + RpcServiceRequest("emr", "2016-04-08", "DecommissionHostComponent") +{ + setMethod(HttpRequest::Method::Post); +} + +DecommissionHostComponentRequest::~DecommissionHostComponentRequest() +{} + +long DecommissionHostComponentRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DecommissionHostComponentRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DecommissionHostComponentRequest::getHostInstanceId()const +{ + return hostInstanceId_; +} + +void DecommissionHostComponentRequest::setHostInstanceId(const std::string& hostInstanceId) +{ + hostInstanceId_ = hostInstanceId; + setParameter("HostInstanceId", hostInstanceId); +} + +std::string DecommissionHostComponentRequest::getComponentName()const +{ + return componentName_; +} + +void DecommissionHostComponentRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); +} + +std::string DecommissionHostComponentRequest::getClusterId()const +{ + return clusterId_; +} + +void DecommissionHostComponentRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DecommissionHostComponentRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DecommissionHostComponentRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +long DecommissionHostComponentRequest::getTimeoutSeconds()const +{ + return timeoutSeconds_; +} + +void DecommissionHostComponentRequest::setTimeoutSeconds(long timeoutSeconds) +{ + timeoutSeconds_ = timeoutSeconds; + setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +} + +std::string DecommissionHostComponentRequest::getRegionId()const +{ + return regionId_; +} + +void DecommissionHostComponentRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DecommissionHostComponentRequest::getServiceName()const +{ + return serviceName_; +} + +void DecommissionHostComponentRequest::setServiceName(const std::string& serviceName) +{ + serviceName_ = serviceName; + setParameter("ServiceName", serviceName); +} + diff --git a/emr/src/model/AddClusterServiceForAdminResult.cc b/emr/src/model/DecommissionHostComponentResult.cc similarity index 75% rename from emr/src/model/AddClusterServiceForAdminResult.cc rename to emr/src/model/DecommissionHostComponentResult.cc index b32259b40..d233fbffa 100644 --- a/emr/src/model/AddClusterServiceForAdminResult.cc +++ b/emr/src/model/DecommissionHostComponentResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -AddClusterServiceForAdminResult::AddClusterServiceForAdminResult() : +DecommissionHostComponentResult::DecommissionHostComponentResult() : ServiceResult() {} -AddClusterServiceForAdminResult::AddClusterServiceForAdminResult(const std::string &payload) : +DecommissionHostComponentResult::DecommissionHostComponentResult(const std::string &payload) : ServiceResult() { parse(payload); } -AddClusterServiceForAdminResult::~AddClusterServiceForAdminResult() +DecommissionHostComponentResult::~DecommissionHostComponentResult() {} -void AddClusterServiceForAdminResult::parse(const std::string &payload) +void DecommissionHostComponentResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/emr/src/model/DeleteAlertContactsRequest.cc b/emr/src/model/DeleteAlertContactsRequest.cc deleted file mode 100644 index c91ab1388..000000000 --- a/emr/src/model/DeleteAlertContactsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteAlertContactsRequest; - -DeleteAlertContactsRequest::DeleteAlertContactsRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteAlertContacts") -{} - -DeleteAlertContactsRequest::~DeleteAlertContactsRequest() -{} - -long DeleteAlertContactsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteAlertContactsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteAlertContactsRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteAlertContactsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteAlertContactsRequest::getIds()const -{ - return ids_; -} - -void DeleteAlertContactsRequest::setIds(const std::string& ids) -{ - ids_ = ids; - setCoreParameter("Ids", ids); -} - -std::string DeleteAlertContactsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteAlertContactsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteAlertContactsResult.cc b/emr/src/model/DeleteAlertContactsResult.cc deleted file mode 100644 index b8ad2c62e..000000000 --- a/emr/src/model/DeleteAlertContactsResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteAlertContactsResult::DeleteAlertContactsResult() : - ServiceResult() -{} - -DeleteAlertContactsResult::DeleteAlertContactsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteAlertContactsResult::~DeleteAlertContactsResult() -{} - -void DeleteAlertContactsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Done"].isNull()) - done_ = value["Done"].asString() == "true"; - -} - -bool DeleteAlertContactsResult::getDone()const -{ - return done_; -} - diff --git a/emr/src/model/DeleteAlertDingDingGroupsRequest.cc b/emr/src/model/DeleteAlertDingDingGroupsRequest.cc deleted file mode 100644 index 8582a6bfd..000000000 --- a/emr/src/model/DeleteAlertDingDingGroupsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteAlertDingDingGroupsRequest; - -DeleteAlertDingDingGroupsRequest::DeleteAlertDingDingGroupsRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteAlertDingDingGroups") -{} - -DeleteAlertDingDingGroupsRequest::~DeleteAlertDingDingGroupsRequest() -{} - -long DeleteAlertDingDingGroupsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteAlertDingDingGroupsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteAlertDingDingGroupsRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteAlertDingDingGroupsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteAlertDingDingGroupsRequest::getIds()const -{ - return ids_; -} - -void DeleteAlertDingDingGroupsRequest::setIds(const std::string& ids) -{ - ids_ = ids; - setCoreParameter("Ids", ids); -} - -std::string DeleteAlertDingDingGroupsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteAlertDingDingGroupsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteAlertDingDingGroupsResult.cc b/emr/src/model/DeleteAlertDingDingGroupsResult.cc deleted file mode 100644 index 668c399e4..000000000 --- a/emr/src/model/DeleteAlertDingDingGroupsResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteAlertDingDingGroupsResult::DeleteAlertDingDingGroupsResult() : - ServiceResult() -{} - -DeleteAlertDingDingGroupsResult::DeleteAlertDingDingGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteAlertDingDingGroupsResult::~DeleteAlertDingDingGroupsResult() -{} - -void DeleteAlertDingDingGroupsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Done"].isNull()) - done_ = value["Done"].asString() == "true"; - -} - -bool DeleteAlertDingDingGroupsResult::getDone()const -{ - return done_; -} - diff --git a/emr/src/model/DeleteAlertUserGroupsRequest.cc b/emr/src/model/DeleteAlertUserGroupsRequest.cc deleted file mode 100644 index d03d7fe6c..000000000 --- a/emr/src/model/DeleteAlertUserGroupsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteAlertUserGroupsRequest; - -DeleteAlertUserGroupsRequest::DeleteAlertUserGroupsRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteAlertUserGroups") -{} - -DeleteAlertUserGroupsRequest::~DeleteAlertUserGroupsRequest() -{} - -long DeleteAlertUserGroupsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteAlertUserGroupsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteAlertUserGroupsRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteAlertUserGroupsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteAlertUserGroupsRequest::getIds()const -{ - return ids_; -} - -void DeleteAlertUserGroupsRequest::setIds(const std::string& ids) -{ - ids_ = ids; - setCoreParameter("Ids", ids); -} - -std::string DeleteAlertUserGroupsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteAlertUserGroupsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteAlertUserGroupsResult.cc b/emr/src/model/DeleteAlertUserGroupsResult.cc deleted file mode 100644 index 85d5b937e..000000000 --- a/emr/src/model/DeleteAlertUserGroupsResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteAlertUserGroupsResult::DeleteAlertUserGroupsResult() : - ServiceResult() -{} - -DeleteAlertUserGroupsResult::DeleteAlertUserGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteAlertUserGroupsResult::~DeleteAlertUserGroupsResult() -{} - -void DeleteAlertUserGroupsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Done"].isNull()) - done_ = value["Done"].asString() == "true"; - -} - -bool DeleteAlertUserGroupsResult::getDone()const -{ - return done_; -} - diff --git a/emr/src/model/DeleteBatchResourceUsersRequest.cc b/emr/src/model/DeleteBatchResourceUsersRequest.cc deleted file mode 100644 index 81e1c1c1f..000000000 --- a/emr/src/model/DeleteBatchResourceUsersRequest.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteBatchResourceUsersRequest; - -DeleteBatchResourceUsersRequest::DeleteBatchResourceUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteBatchResourceUsers") -{} - -DeleteBatchResourceUsersRequest::~DeleteBatchResourceUsersRequest() -{} - -long DeleteBatchResourceUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteBatchResourceUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteBatchResourceUsersRequest::getResourceId()const -{ - return resourceId_; -} - -void DeleteBatchResourceUsersRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::vector DeleteBatchResourceUsersRequest::getUserIdList()const -{ - return userIdList_; -} - -void DeleteBatchResourceUsersRequest::setUserIdList(const std::vector& userIdList) -{ - userIdList_ = userIdList; - for(int i = 0; i!= userIdList.size(); i++) - setCoreParameter("UserIdList."+ std::to_string(i), userIdList.at(i)); -} - -std::string DeleteBatchResourceUsersRequest::getResourceType()const -{ - return resourceType_; -} - -void DeleteBatchResourceUsersRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string DeleteBatchResourceUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteBatchResourceUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteBatchResourceUsersRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteBatchResourceUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DeleteBatchResourceUsersResult.cc b/emr/src/model/DeleteBatchResourceUsersResult.cc deleted file mode 100644 index c20cda242..000000000 --- a/emr/src/model/DeleteBatchResourceUsersResult.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; - -DeleteBatchResourceUsersResult::DeleteBatchResourceUsersResult() : - ServiceResult() -{} - -DeleteBatchResourceUsersResult::DeleteBatchResourceUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteBatchResourceUsersResult::~DeleteBatchResourceUsersResult() -{} - -void DeleteBatchResourceUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteBatchResourceUsersResult::getPaging()const -{ - return paging_; -} - -bool DeleteBatchResourceUsersResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteClusterHostGroupRequest.cc b/emr/src/model/DeleteClusterHostGroupRequest.cc deleted file mode 100644 index 6c83e4fce..000000000 --- a/emr/src/model/DeleteClusterHostGroupRequest.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 - -using AlibabaCloud::Emr::Model::DeleteClusterHostGroupRequest; - -DeleteClusterHostGroupRequest::DeleteClusterHostGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteClusterHostGroup") -{} - -DeleteClusterHostGroupRequest::~DeleteClusterHostGroupRequest() -{} - -long DeleteClusterHostGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteClusterHostGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteClusterHostGroupRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteClusterHostGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteClusterHostGroupRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void DeleteClusterHostGroupRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -std::string DeleteClusterHostGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void DeleteClusterHostGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DeleteClusterHostGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteClusterHostGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteClusterHostGroupResult.cc b/emr/src/model/DeleteClusterHostGroupResult.cc deleted file mode 100644 index ab558f47b..000000000 --- a/emr/src/model/DeleteClusterHostGroupResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteClusterHostGroupResult::DeleteClusterHostGroupResult() : - ServiceResult() -{} - -DeleteClusterHostGroupResult::DeleteClusterHostGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteClusterHostGroupResult::~DeleteClusterHostGroupResult() -{} - -void DeleteClusterHostGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteClusterScriptRequest.cc b/emr/src/model/DeleteClusterScriptRequest.cc deleted file mode 100644 index 89ecf3f3a..000000000 --- a/emr/src/model/DeleteClusterScriptRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteClusterScriptRequest; - -DeleteClusterScriptRequest::DeleteClusterScriptRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteClusterScript") -{} - -DeleteClusterScriptRequest::~DeleteClusterScriptRequest() -{} - -long DeleteClusterScriptRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteClusterScriptRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteClusterScriptRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteClusterScriptRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteClusterScriptRequest::getId()const -{ - return id_; -} - -void DeleteClusterScriptRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DeleteClusterScriptRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteClusterScriptRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteClusterScriptResult.cc b/emr/src/model/DeleteClusterScriptResult.cc deleted file mode 100644 index 0174b616e..000000000 --- a/emr/src/model/DeleteClusterScriptResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteClusterScriptResult::DeleteClusterScriptResult() : - ServiceResult() -{} - -DeleteClusterScriptResult::DeleteClusterScriptResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteClusterScriptResult::~DeleteClusterScriptResult() -{} - -void DeleteClusterScriptResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteClusterTemplateRequest.cc b/emr/src/model/DeleteClusterTemplateRequest.cc index 1d7a1b208..1127248ea 100644 --- a/emr/src/model/DeleteClusterTemplateRequest.cc +++ b/emr/src/model/DeleteClusterTemplateRequest.cc @@ -49,6 +49,17 @@ void DeleteClusterTemplateRequest::setAccessKeyId(const std::string& accessKeyId setParameter("AccessKeyId", accessKeyId); } +std::string DeleteClusterTemplateRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DeleteClusterTemplateRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DeleteClusterTemplateRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DeleteDataSourceRequest.cc b/emr/src/model/DeleteDataSourceRequest.cc deleted file mode 100644 index 9896fddcd..000000000 --- a/emr/src/model/DeleteDataSourceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteDataSourceRequest; - -DeleteDataSourceRequest::DeleteDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteDataSource") -{} - -DeleteDataSourceRequest::~DeleteDataSourceRequest() -{} - -long DeleteDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteDataSourceRequest::getId()const -{ - return id_; -} - -void DeleteDataSourceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DeleteDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteDataSourceResult.cc b/emr/src/model/DeleteDataSourceResult.cc deleted file mode 100644 index 402441c65..000000000 --- a/emr/src/model/DeleteDataSourceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteDataSourceResult::DeleteDataSourceResult() : - ServiceResult() -{} - -DeleteDataSourceResult::DeleteDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDataSourceResult::~DeleteDataSourceResult() -{} - -void DeleteDataSourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteETLJobRequest.cc b/emr/src/model/DeleteETLJobRequest.cc deleted file mode 100644 index 32ee27d8f..000000000 --- a/emr/src/model/DeleteETLJobRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteETLJobRequest; - -DeleteETLJobRequest::DeleteETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteETLJob") -{} - -DeleteETLJobRequest::~DeleteETLJobRequest() -{} - -long DeleteETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteETLJobRequest::getId()const -{ - return id_; -} - -void DeleteETLJobRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DeleteETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteETLJobResult.cc b/emr/src/model/DeleteETLJobResult.cc deleted file mode 100644 index ac1e4ae1b..000000000 --- a/emr/src/model/DeleteETLJobResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteETLJobResult::DeleteETLJobResult() : - ServiceResult() -{} - -DeleteETLJobResult::DeleteETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteETLJobResult::~DeleteETLJobResult() -{} - -void DeleteETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteFlowProjectByIdRequest.cc b/emr/src/model/DeleteFlowProjectByIdRequest.cc deleted file mode 100644 index b4b4ba885..000000000 --- a/emr/src/model/DeleteFlowProjectByIdRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteFlowProjectByIdRequest; - -DeleteFlowProjectByIdRequest::DeleteFlowProjectByIdRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteFlowProjectById") -{} - -DeleteFlowProjectByIdRequest::~DeleteFlowProjectByIdRequest() -{} - -std::string DeleteFlowProjectByIdRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteFlowProjectByIdRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteFlowProjectByIdRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteFlowProjectByIdRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - diff --git a/emr/src/model/DeleteFlowProjectByIdResult.cc b/emr/src/model/DeleteFlowProjectByIdResult.cc deleted file mode 100644 index efa49a70d..000000000 --- a/emr/src/model/DeleteFlowProjectByIdResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteFlowProjectByIdResult::DeleteFlowProjectByIdResult() : - ServiceResult() -{} - -DeleteFlowProjectByIdResult::DeleteFlowProjectByIdResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFlowProjectByIdResult::~DeleteFlowProjectByIdResult() -{} - -void DeleteFlowProjectByIdResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteFlowProjectByIdResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteHostPoolRequest.cc b/emr/src/model/DeleteHostPoolRequest.cc deleted file mode 100644 index 251752534..000000000 --- a/emr/src/model/DeleteHostPoolRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteHostPoolRequest; - -DeleteHostPoolRequest::DeleteHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteHostPool") -{} - -DeleteHostPoolRequest::~DeleteHostPoolRequest() -{} - -long DeleteHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteHostPoolRequest::getBizId()const -{ - return bizId_; -} - -void DeleteHostPoolRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string DeleteHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteHostPoolResult.cc b/emr/src/model/DeleteHostPoolResult.cc deleted file mode 100644 index 147922232..000000000 --- a/emr/src/model/DeleteHostPoolResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteHostPoolResult::DeleteHostPoolResult() : - ServiceResult() -{} - -DeleteHostPoolResult::DeleteHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteHostPoolResult::~DeleteHostPoolResult() -{} - -void DeleteHostPoolResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteJobRequest.cc b/emr/src/model/DeleteJobRequest.cc index 295f6886b..b8eccfea1 100644 --- a/emr/src/model/DeleteJobRequest.cc +++ b/emr/src/model/DeleteJobRequest.cc @@ -49,6 +49,17 @@ void DeleteJobRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string DeleteJobRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DeleteJobRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DeleteJobRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DeleteLibrariesRequest.cc b/emr/src/model/DeleteLibrariesRequest.cc new file mode 100644 index 000000000..dcff17ead --- /dev/null +++ b/emr/src/model/DeleteLibrariesRequest.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::DeleteLibrariesRequest; + +DeleteLibrariesRequest::DeleteLibrariesRequest() : + RpcServiceRequest("emr", "2016-04-08", "DeleteLibraries") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteLibrariesRequest::~DeleteLibrariesRequest() +{} + +long DeleteLibrariesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteLibrariesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteLibrariesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DeleteLibrariesRequest::getRegionId()const +{ + return regionId_; +} + +void DeleteLibrariesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::vector DeleteLibrariesRequest::getLibraryBizIdList()const +{ + return libraryBizIdList_; +} + +void DeleteLibrariesRequest::setLibraryBizIdList(const std::vector& libraryBizIdList) +{ + libraryBizIdList_ = libraryBizIdList; + for(int dep1 = 0; dep1!= libraryBizIdList.size(); dep1++) { + setParameter("LibraryBizIdList."+ std::to_string(dep1), libraryBizIdList.at(dep1)); + } +} + diff --git a/emr/src/model/RemoveBackupRuleResult.cc b/emr/src/model/DeleteLibrariesResult.cc similarity index 74% rename from emr/src/model/RemoveBackupRuleResult.cc rename to emr/src/model/DeleteLibrariesResult.cc index 5958afa5d..83d5141be 100644 --- a/emr/src/model/RemoveBackupRuleResult.cc +++ b/emr/src/model/DeleteLibrariesResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -RemoveBackupRuleResult::RemoveBackupRuleResult() : +DeleteLibrariesResult::DeleteLibrariesResult() : ServiceResult() {} -RemoveBackupRuleResult::RemoveBackupRuleResult(const std::string &payload) : +DeleteLibrariesResult::DeleteLibrariesResult(const std::string &payload) : ServiceResult() { parse(payload); } -RemoveBackupRuleResult::~RemoveBackupRuleResult() +DeleteLibrariesResult::~DeleteLibrariesResult() {} -void RemoveBackupRuleResult::parse(const std::string &payload) +void DeleteLibrariesResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -44,7 +44,7 @@ void RemoveBackupRuleResult::parse(const std::string &payload) } -bool RemoveBackupRuleResult::getData()const +bool DeleteLibrariesResult::getData()const { return data_; } diff --git a/emr/src/model/DeleteNavNodeRequest.cc b/emr/src/model/DeleteNavNodeRequest.cc deleted file mode 100644 index 200e13f17..000000000 --- a/emr/src/model/DeleteNavNodeRequest.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 - -using AlibabaCloud::Emr::Model::DeleteNavNodeRequest; - -DeleteNavNodeRequest::DeleteNavNodeRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteNavNode") -{} - -DeleteNavNodeRequest::~DeleteNavNodeRequest() -{} - -long DeleteNavNodeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteNavNodeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteNavNodeRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteNavNodeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteNavNodeRequest::getId()const -{ - return id_; -} - -void DeleteNavNodeRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DeleteNavNodeRequest::getProjectId()const -{ - return projectId_; -} - -void DeleteNavNodeRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - -std::string DeleteNavNodeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteNavNodeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteNavNodeResult.cc b/emr/src/model/DeleteNavNodeResult.cc deleted file mode 100644 index 32585f3ee..000000000 --- a/emr/src/model/DeleteNavNodeResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteNavNodeResult::DeleteNavNodeResult() : - ServiceResult() -{} - -DeleteNavNodeResult::DeleteNavNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteNavNodeResult::~DeleteNavNodeResult() -{} - -void DeleteNavNodeResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteNoteRequest.cc b/emr/src/model/DeleteNoteRequest.cc index 6feff20c2..88fee720f 100644 --- a/emr/src/model/DeleteNoteRequest.cc +++ b/emr/src/model/DeleteNoteRequest.cc @@ -49,6 +49,17 @@ void DeleteNoteRequest::setAccessKeyId(const std::string& 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_; diff --git a/emr/src/model/DeleteParagraphRequest.cc b/emr/src/model/DeleteParagraphRequest.cc deleted file mode 100644 index 5ce9c6fd4..000000000 --- a/emr/src/model/DeleteParagraphRequest.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 - -using AlibabaCloud::Emr::Model::DeleteParagraphRequest; - -DeleteParagraphRequest::DeleteParagraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteParagraph") -{} - -DeleteParagraphRequest::~DeleteParagraphRequest() -{} - -long DeleteParagraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteParagraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteParagraphRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteParagraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteParagraphRequest::getNoteId()const -{ - return noteId_; -} - -void DeleteParagraphRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setCoreParameter("NoteId", noteId); -} - -std::string DeleteParagraphRequest::getId()const -{ - return id_; -} - -void DeleteParagraphRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DeleteParagraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteParagraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteParagraphResult.cc b/emr/src/model/DeleteParagraphResult.cc deleted file mode 100644 index 45378805f..000000000 --- a/emr/src/model/DeleteParagraphResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DeleteParagraphResult::DeleteParagraphResult() : - ServiceResult() -{} - -DeleteParagraphResult::DeleteParagraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteParagraphResult::~DeleteParagraphResult() -{} - -void DeleteParagraphResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/DeleteResourceUserRequest.cc b/emr/src/model/DeleteResourceUserRequest.cc deleted file mode 100644 index 6e713ae53..000000000 --- a/emr/src/model/DeleteResourceUserRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteResourceUserRequest; - -DeleteResourceUserRequest::DeleteResourceUserRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteResourceUser") -{} - -DeleteResourceUserRequest::~DeleteResourceUserRequest() -{} - -long DeleteResourceUserRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteResourceUserRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteResourceUserRequest::getResourceId()const -{ - return resourceId_; -} - -void DeleteResourceUserRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::string DeleteResourceUserRequest::getResourceType()const -{ - return resourceType_; -} - -void DeleteResourceUserRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string DeleteResourceUserRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteResourceUserRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteResourceUserRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteResourceUserRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteResourceUserRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void DeleteResourceUserRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - diff --git a/emr/src/model/DeleteResourceUserResult.cc b/emr/src/model/DeleteResourceUserResult.cc deleted file mode 100644 index bed34fde8..000000000 --- a/emr/src/model/DeleteResourceUserResult.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; - -DeleteResourceUserResult::DeleteResourceUserResult() : - ServiceResult() -{} - -DeleteResourceUserResult::DeleteResourceUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteResourceUserResult::~DeleteResourceUserResult() -{} - -void DeleteResourceUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteResourceUserResult::getPaging()const -{ - return paging_; -} - -bool DeleteResourceUserResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteScalingTaskGroupRequest.cc b/emr/src/model/DeleteScalingTaskGroupRequest.cc deleted file mode 100644 index 7d2ca164d..000000000 --- a/emr/src/model/DeleteScalingTaskGroupRequest.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 - -using AlibabaCloud::Emr::Model::DeleteScalingTaskGroupRequest; - -DeleteScalingTaskGroupRequest::DeleteScalingTaskGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteScalingTaskGroup") -{} - -DeleteScalingTaskGroupRequest::~DeleteScalingTaskGroupRequest() -{} - -long DeleteScalingTaskGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteScalingTaskGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteScalingTaskGroupRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteScalingTaskGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteScalingTaskGroupRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void DeleteScalingTaskGroupRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -std::string DeleteScalingTaskGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void DeleteScalingTaskGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DeleteScalingTaskGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteScalingTaskGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DeleteScalingTaskGroupResult.cc b/emr/src/model/DeleteScalingTaskGroupResult.cc deleted file mode 100644 index ae4c7146a..000000000 --- a/emr/src/model/DeleteScalingTaskGroupResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DeleteScalingTaskGroupResult::DeleteScalingTaskGroupResult() : - ServiceResult() -{} - -DeleteScalingTaskGroupResult::DeleteScalingTaskGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteScalingTaskGroupResult::~DeleteScalingTaskGroupResult() -{} - -void DeleteScalingTaskGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteScalingTaskGroupResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DeleteUserGroupRequest.cc b/emr/src/model/DeleteUserGroupRequest.cc deleted file mode 100644 index a795f726d..000000000 --- a/emr/src/model/DeleteUserGroupRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteUserGroupRequest; - -DeleteUserGroupRequest::DeleteUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteUserGroup") -{} - -DeleteUserGroupRequest::~DeleteUserGroupRequest() -{} - -long DeleteUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long DeleteUserGroupRequest::getGroupId()const -{ - return groupId_; -} - -void DeleteUserGroupRequest::setGroupId(long groupId) -{ - groupId_ = groupId; - setCoreParameter("GroupId", std::to_string(groupId)); -} - diff --git a/emr/src/model/DeleteUserResourceRoleRequest.cc b/emr/src/model/DeleteUserResourceRoleRequest.cc deleted file mode 100644 index 395268477..000000000 --- a/emr/src/model/DeleteUserResourceRoleRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DeleteUserResourceRoleRequest; - -DeleteUserResourceRoleRequest::DeleteUserResourceRoleRequest() : - RpcServiceRequest("emr", "2016-04-08", "DeleteUserResourceRole") -{} - -DeleteUserResourceRoleRequest::~DeleteUserResourceRoleRequest() -{} - -long DeleteUserResourceRoleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DeleteUserResourceRoleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DeleteUserResourceRoleRequest::getResourceId()const -{ - return resourceId_; -} - -void DeleteUserResourceRoleRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -long DeleteUserResourceRoleRequest::getRoleId()const -{ - return roleId_; -} - -void DeleteUserResourceRoleRequest::setRoleId(long roleId) -{ - roleId_ = roleId; - setCoreParameter("RoleId", std::to_string(roleId)); -} - -std::string DeleteUserResourceRoleRequest::getResourceType()const -{ - return resourceType_; -} - -void DeleteUserResourceRoleRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string DeleteUserResourceRoleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DeleteUserResourceRoleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DeleteUserResourceRoleRequest::getRegionId()const -{ - return regionId_; -} - -void DeleteUserResourceRoleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DeleteUserResourceRoleRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void DeleteUserResourceRoleRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - diff --git a/emr/src/model/DeleteUserResourceRoleResult.cc b/emr/src/model/DeleteUserResourceRoleResult.cc deleted file mode 100644 index c938bd849..000000000 --- a/emr/src/model/DeleteUserResourceRoleResult.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; - -DeleteUserResourceRoleResult::DeleteUserResourceRoleResult() : - ServiceResult() -{} - -DeleteUserResourceRoleResult::DeleteUserResourceRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteUserResourceRoleResult::~DeleteUserResourceRoleResult() -{} - -void DeleteUserResourceRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool DeleteUserResourceRoleResult::getPaging()const -{ - return paging_; -} - -bool DeleteUserResourceRoleResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/DescribeAvailableInstanceTypeRequest.cc b/emr/src/model/DescribeAvailableInstanceTypeRequest.cc deleted file mode 100644 index 2e67aea3a..000000000 --- a/emr/src/model/DescribeAvailableInstanceTypeRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeAvailableInstanceTypeRequest; - -DescribeAvailableInstanceTypeRequest::DescribeAvailableInstanceTypeRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeAvailableInstanceType") -{} - -DescribeAvailableInstanceTypeRequest::~DescribeAvailableInstanceTypeRequest() -{} - -long DescribeAvailableInstanceTypeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeAvailableInstanceTypeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeAvailableInstanceTypeRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeAvailableInstanceTypeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeAvailableInstanceTypeRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeAvailableInstanceTypeRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeAvailableInstanceTypeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeAvailableInstanceTypeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeAvailableInstanceTypeResult.cc b/emr/src/model/DescribeAvailableInstanceTypeResult.cc deleted file mode 100644 index 2e90bf17d..000000000 --- a/emr/src/model/DescribeAvailableInstanceTypeResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeAvailableInstanceTypeResult::DescribeAvailableInstanceTypeResult() : - ServiceResult() -{} - -DescribeAvailableInstanceTypeResult::DescribeAvailableInstanceTypeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeAvailableInstanceTypeResult::~DescribeAvailableInstanceTypeResult() -{} - -void DescribeAvailableInstanceTypeResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allEmrSupportedInstanceTypeList = value["EmrSupportedInstanceTypeList"]["EmrSupportInstanceType"]; - for (auto value : allEmrSupportedInstanceTypeList) - { - EmrSupportInstanceType emrSupportedInstanceTypeListObject; - if(!value["ClusterType"].isNull()) - emrSupportedInstanceTypeListObject.clusterType = value["ClusterType"].asString(); - auto allNodeTypeSupportInfoList = value["NodeTypeSupportInfoList"]["ClusterNodeTypeSupportInfo"]; - for (auto value : allNodeTypeSupportInfoList) - { - EmrSupportInstanceType::ClusterNodeTypeSupportInfo nodeTypeSupportInfoListObject; - if(!value["ClusterNodeType"].isNull()) - nodeTypeSupportInfoListObject.clusterNodeType = value["ClusterNodeType"].asString(); - auto allSupportInstanceTypeList = value["SupportInstanceTypeList"]["InstanceType"]; - for (auto value : allSupportInstanceTypeList) - nodeTypeSupportInfoListObject.supportInstanceTypeList.push_back(value.asString()); - emrSupportedInstanceTypeListObject.nodeTypeSupportInfoList.push_back(nodeTypeSupportInfoListObject); - } - emrSupportedInstanceTypeList_.push_back(emrSupportedInstanceTypeListObject); - } - -} - -std::vector DescribeAvailableInstanceTypeResult::getEmrSupportedInstanceTypeList()const -{ - return emrSupportedInstanceTypeList_; -} - diff --git a/emr/src/model/DescribeClusterBasicInfoResult.cc b/emr/src/model/DescribeClusterBasicInfoResult.cc index 168fb61c1..9da990fa7 100644 --- a/emr/src/model/DescribeClusterBasicInfoResult.cc +++ b/emr/src/model/DescribeClusterBasicInfoResult.cc @@ -52,6 +52,8 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload) clusterInfo_.zoneId = clusterInfoNode["ZoneId"].asString(); if(!clusterInfoNode["Name"].isNull()) clusterInfo_.name = clusterInfoNode["Name"].asString(); + if(!clusterInfoNode["ExtraInfo"].isNull()) + clusterInfo_.extraInfo = clusterInfoNode["ExtraInfo"].asString(); if(!clusterInfoNode["RelateClusterId"].isNull()) clusterInfo_.relateClusterId = clusterInfoNode["RelateClusterId"].asString(); if(!clusterInfoNode["GatewayClusterIds"].isNull()) @@ -122,6 +124,8 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload) clusterInfo_.configurations = clusterInfoNode["Configurations"].asString(); if(!clusterInfoNode["EasEnable"].isNull()) clusterInfo_.easEnable = clusterInfoNode["EasEnable"].asString() == "true"; + if(!clusterInfoNode["AutoScalingVersion"].isNull()) + clusterInfo_.autoScalingVersion = clusterInfoNode["AutoScalingVersion"].asString(); if(!clusterInfoNode["AutoScalingEnable"].isNull()) clusterInfo_.autoScalingEnable = clusterInfoNode["AutoScalingEnable"].asString() == "true"; if(!clusterInfoNode["AutoScalingAllowed"].isNull()) @@ -130,10 +134,16 @@ void DescribeClusterBasicInfoResult::parse(const std::string &payload) clusterInfo_.autoScalingSpotWithLimitAllowed = clusterInfoNode["AutoScalingSpotWithLimitAllowed"].asString() == "true"; if(!clusterInfoNode["AutoScalingByLoadAllowed"].isNull()) clusterInfo_.autoScalingByLoadAllowed = clusterInfoNode["AutoScalingByLoadAllowed"].asString() == "true"; + if(!clusterInfoNode["AutoScalingWithGraceAllowed"].isNull()) + clusterInfo_.autoScalingWithGraceAllowed = clusterInfoNode["AutoScalingWithGraceAllowed"].asString() == "true"; if(!clusterInfoNode["ResizeDiskEnable"].isNull()) clusterInfo_.resizeDiskEnable = clusterInfoNode["ResizeDiskEnable"].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(); auto allGatewayClusterInfoListNode = clusterInfoNode["GatewayClusterInfoList"]["GatewayClusterInfo"]; for (auto clusterInfoNodeGatewayClusterInfoListGatewayClusterInfo : allGatewayClusterInfoListNode) { diff --git a/emr/src/model/DescribeClusterOpLogRequest.cc b/emr/src/model/DescribeClusterOpLogRequest.cc deleted file mode 100644 index 840fe7c88..000000000 --- a/emr/src/model/DescribeClusterOpLogRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeClusterOpLogRequest; - -DescribeClusterOpLogRequest::DescribeClusterOpLogRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterOpLog") -{} - -DescribeClusterOpLogRequest::~DescribeClusterOpLogRequest() -{} - -long DescribeClusterOpLogRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterOpLogRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterOpLogRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterOpLogRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long DescribeClusterOpLogRequest::getEndTime()const -{ - return endTime_; -} - -void DescribeClusterOpLogRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setCoreParameter("EndTime", std::to_string(endTime)); -} - -std::string DescribeClusterOpLogRequest::getId()const -{ - return id_; -} - -void DescribeClusterOpLogRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -long DescribeClusterOpLogRequest::getStartTime()const -{ - return startTime_; -} - -void DescribeClusterOpLogRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setCoreParameter("StartTime", std::to_string(startTime)); -} - -std::string DescribeClusterOpLogRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterOpLogRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeClusterOpLogResult.cc b/emr/src/model/DescribeClusterOpLogResult.cc deleted file mode 100644 index 8a58e5d82..000000000 --- a/emr/src/model/DescribeClusterOpLogResult.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; - -DescribeClusterOpLogResult::DescribeClusterOpLogResult() : - ServiceResult() -{} - -DescribeClusterOpLogResult::DescribeClusterOpLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterOpLogResult::~DescribeClusterOpLogResult() -{} - -void DescribeClusterOpLogResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allChangeLogList = value["ChangeLogList"]["ChangeLog"]; - for (auto value : allChangeLogList) - { - ChangeLog changeLogListObject; - if(!value["Id"].isNull()) - changeLogListObject.id = std::stol(value["Id"].asString()); - if(!value["GmtCreate"].isNull()) - changeLogListObject.gmtCreate = value["GmtCreate"].asString(); - if(!value["GmtModified"].isNull()) - changeLogListObject.gmtModified = value["GmtModified"].asString(); - if(!value["TargetKey"].isNull()) - changeLogListObject.targetKey = value["TargetKey"].asString(); - if(!value["Status"].isNull()) - changeLogListObject.status = value["Status"].asString(); - if(!value["ChangeType"].isNull()) - changeLogListObject.changeType = value["ChangeType"].asString(); - if(!value["Message"].isNull()) - changeLogListObject.message = value["Message"].asString(); - if(!value["TargetType"].isNull()) - changeLogListObject.targetType = value["TargetType"].asString(); - changeLogList_.push_back(changeLogListObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = value["PageNumber"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = value["PageSize"].asString(); - if(!value["Total"].isNull()) - total_ = value["Total"].asString(); - -} - -std::string DescribeClusterOpLogResult::getPageSize()const -{ - return pageSize_; -} - -std::string DescribeClusterOpLogResult::getPageNumber()const -{ - return pageNumber_; -} - -std::string DescribeClusterOpLogResult::getTotal()const -{ - return total_; -} - -std::vector DescribeClusterOpLogResult::getChangeLogList()const -{ - return changeLogList_; -} - diff --git a/emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.cc b/emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.cc deleted file mode 100644 index a04648934..000000000 --- a/emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminRequest.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 - -using AlibabaCloud::Emr::Model::DescribeClusterResourcePoolSchedulerTypeForAdminRequest; - -DescribeClusterResourcePoolSchedulerTypeForAdminRequest::DescribeClusterResourcePoolSchedulerTypeForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterResourcePoolSchedulerTypeForAdmin") -{} - -DescribeClusterResourcePoolSchedulerTypeForAdminRequest::~DescribeClusterResourcePoolSchedulerTypeForAdminRequest() -{} - -long DescribeClusterResourcePoolSchedulerTypeForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterResourcePoolSchedulerTypeForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeClusterResourcePoolSchedulerTypeForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminRequest::getUserId()const -{ - return userId_; -} - -void DescribeClusterResourcePoolSchedulerTypeForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterResourcePoolSchedulerTypeForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterResourcePoolSchedulerTypeForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.cc b/emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.cc deleted file mode 100644 index 076d8a0f4..000000000 --- a/emr/src/model/DescribeClusterResourcePoolSchedulerTypeForAdminResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeClusterResourcePoolSchedulerTypeForAdminResult::DescribeClusterResourcePoolSchedulerTypeForAdminResult() : - ServiceResult() -{} - -DescribeClusterResourcePoolSchedulerTypeForAdminResult::DescribeClusterResourcePoolSchedulerTypeForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterResourcePoolSchedulerTypeForAdminResult::~DescribeClusterResourcePoolSchedulerTypeForAdminResult() -{} - -void DescribeClusterResourcePoolSchedulerTypeForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["CurrentSchedulerType"].isNull()) - currentSchedulerType_ = value["CurrentSchedulerType"].asString(); - if(!value["SupportSchedulerType"].isNull()) - supportSchedulerType_ = value["SupportSchedulerType"].asString(); - if(!value["DefaultSchedulerType"].isNull()) - defaultSchedulerType_ = value["DefaultSchedulerType"].asString(); - -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminResult::getCurrentSchedulerType()const -{ - return currentSchedulerType_; -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminResult::getSupportSchedulerType()const -{ - return supportSchedulerType_; -} - -std::string DescribeClusterResourcePoolSchedulerTypeForAdminResult::getDefaultSchedulerType()const -{ - return defaultSchedulerType_; -} - diff --git a/emr/src/model/DescribeClusterScriptRequest.cc b/emr/src/model/DescribeClusterScriptRequest.cc deleted file mode 100644 index c9a9575bd..000000000 --- a/emr/src/model/DescribeClusterScriptRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeClusterScriptRequest; - -DescribeClusterScriptRequest::DescribeClusterScriptRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterScript") -{} - -DescribeClusterScriptRequest::~DescribeClusterScriptRequest() -{} - -long DescribeClusterScriptRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterScriptRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterScriptRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterScriptRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeClusterScriptRequest::getId()const -{ - return id_; -} - -void DescribeClusterScriptRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DescribeClusterScriptRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterScriptRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeClusterScriptResult.cc b/emr/src/model/DescribeClusterScriptResult.cc deleted file mode 100644 index 9a20e4d1b..000000000 --- a/emr/src/model/DescribeClusterScriptResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeClusterScriptResult::DescribeClusterScriptResult() : - ServiceResult() -{} - -DescribeClusterScriptResult::DescribeClusterScriptResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterScriptResult::~DescribeClusterScriptResult() -{} - -void DescribeClusterScriptResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allScriptNodeInstances = value["ScriptNodeInstances"]["ScriptNodeInstance"]; - for (auto value : allScriptNodeInstances) - { - ScriptNodeInstance scriptNodeInstancesObject; - if(!value["NodeId"].isNull()) - scriptNodeInstancesObject.nodeId = value["NodeId"].asString(); - if(!value["NodeIp"].isNull()) - scriptNodeInstancesObject.nodeIp = value["NodeIp"].asString(); - if(!value["StartTime"].isNull()) - scriptNodeInstancesObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - scriptNodeInstancesObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["Status"].isNull()) - scriptNodeInstancesObject.status = value["Status"].asString(); - scriptNodeInstances_.push_back(scriptNodeInstancesObject); - } - -} - -std::vector DescribeClusterScriptResult::getScriptNodeInstances()const -{ - return scriptNodeInstances_; -} - diff --git a/emr/src/model/DescribeClusterServiceConfigForAdminRequest.cc b/emr/src/model/DescribeClusterServiceConfigForAdminRequest.cc deleted file mode 100644 index 3c6f9d2f6..000000000 --- a/emr/src/model/DescribeClusterServiceConfigForAdminRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::DescribeClusterServiceConfigForAdminRequest; - -DescribeClusterServiceConfigForAdminRequest::DescribeClusterServiceConfigForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterServiceConfigForAdmin") -{} - -DescribeClusterServiceConfigForAdminRequest::~DescribeClusterServiceConfigForAdminRequest() -{} - -long DescribeClusterServiceConfigForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getHostInstanceId()const -{ - return hostInstanceId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setHostInstanceId(const std::string& hostInstanceId) -{ - hostInstanceId_ = hostInstanceId; - setCoreParameter("HostInstanceId", hostInstanceId); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getTagValue()const -{ - return tagValue_; -} - -void DescribeClusterServiceConfigForAdminRequest::setTagValue(const std::string& tagValue) -{ - tagValue_ = tagValue; - setCoreParameter("TagValue", tagValue); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getGroupId()const -{ - return groupId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setCoreParameter("GroupId", groupId); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getUserId()const -{ - return userId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getConfigVersion()const -{ - return configVersion_; -} - -void DescribeClusterServiceConfigForAdminRequest::setConfigVersion(const std::string& configVersion) -{ - configVersion_ = configVersion; - setCoreParameter("ConfigVersion", configVersion); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterServiceConfigForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeClusterServiceConfigForAdminRequest::getServiceName()const -{ - return serviceName_; -} - -void DescribeClusterServiceConfigForAdminRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/DescribeClusterServiceConfigForAdminResult.cc b/emr/src/model/DescribeClusterServiceConfigForAdminResult.cc deleted file mode 100644 index 66b66b66a..000000000 --- a/emr/src/model/DescribeClusterServiceConfigForAdminResult.cc +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeClusterServiceConfigForAdminResult::DescribeClusterServiceConfigForAdminResult() : - ServiceResult() -{} - -DescribeClusterServiceConfigForAdminResult::DescribeClusterServiceConfigForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterServiceConfigForAdminResult::~DescribeClusterServiceConfigForAdminResult() -{} - -void DescribeClusterServiceConfigForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto configNode = value["Config"]; - if(!configNode["ServiceName"].isNull()) - config_.serviceName = configNode["ServiceName"].asString(); - if(!configNode["ConfigVersion"].isNull()) - config_.configVersion = configNode["ConfigVersion"].asString(); - if(!configNode["Applied"].isNull()) - config_.applied = configNode["Applied"].asString(); - if(!configNode["CreateTime"].isNull()) - config_.createTime = configNode["CreateTime"].asString(); - if(!configNode["Author"].isNull()) - config_.author = configNode["Author"].asString(); - if(!configNode["Comment"].isNull()) - config_.comment = configNode["Comment"].asString(); - auto allConfigValueListNode = configNode["ConfigValueList"]["ConfigValue"]; - for (auto configNodeConfigValueListConfigValue : allConfigValueListNode) - { - Config::ConfigValue configValueObject; - if(!configNodeConfigValueListConfigValue["ConfigName"].isNull()) - configValueObject.configName = configNodeConfigValueListConfigValue["ConfigName"].asString(); - if(!configNodeConfigValueListConfigValue["AllowCustom"].isNull()) - configValueObject.allowCustom = configNodeConfigValueListConfigValue["AllowCustom"].asString() == "true"; - auto allConfigItemValueListNode = allConfigValueListNode["ConfigItemValueList"]["ConfigItemValue"]; - for (auto allConfigValueListNodeConfigItemValueListConfigItemValue : allConfigItemValueListNode) - { - Config::ConfigValue::ConfigItemValue configItemValueListObject; - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["ItemName"].isNull()) - configItemValueListObject.itemName = allConfigValueListNodeConfigItemValueListConfigItemValue["ItemName"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["Value"].isNull()) - configItemValueListObject.value = allConfigValueListNodeConfigItemValueListConfigItemValue["Value"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["IsCustom"].isNull()) - configItemValueListObject.isCustom = allConfigValueListNodeConfigItemValueListConfigItemValue["IsCustom"].asString() == "true"; - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["Description"].isNull()) - configItemValueListObject.description = allConfigValueListNodeConfigItemValueListConfigItemValue["Description"].asString(); - configValueObject.configItemValueList.push_back(configItemValueListObject); - } - config_.configValueList.push_back(configValueObject); - } - auto allPropertyInfoListNode = configNode["PropertyInfoList"]["PropertyInfo"]; - for (auto configNodePropertyInfoListPropertyInfo : allPropertyInfoListNode) - { - Config::PropertyInfo propertyInfoObject; - if(!configNodePropertyInfoListPropertyInfo["Name"].isNull()) - propertyInfoObject.name = configNodePropertyInfoListPropertyInfo["Name"].asString(); - if(!configNodePropertyInfoListPropertyInfo["Value"].isNull()) - propertyInfoObject.value = configNodePropertyInfoListPropertyInfo["Value"].asString(); - if(!configNodePropertyInfoListPropertyInfo["Description"].isNull()) - propertyInfoObject.description = configNodePropertyInfoListPropertyInfo["Description"].asString(); - if(!configNodePropertyInfoListPropertyInfo["FileName"].isNull()) - propertyInfoObject.fileName = configNodePropertyInfoListPropertyInfo["FileName"].asString(); - if(!configNodePropertyInfoListPropertyInfo["DisplayName"].isNull()) - propertyInfoObject.displayName = configNodePropertyInfoListPropertyInfo["DisplayName"].asString(); - if(!configNodePropertyInfoListPropertyInfo["ServiceName"].isNull()) - propertyInfoObject.serviceName = configNodePropertyInfoListPropertyInfo["ServiceName"].asString(); - if(!configNodePropertyInfoListPropertyInfo["Component"].isNull()) - propertyInfoObject.component = configNodePropertyInfoListPropertyInfo["Component"].asString(); - auto propertyValueAttributesNode = value["PropertyValueAttributes"]; - if(!propertyValueAttributesNode["Type"].isNull()) - propertyInfoObject.propertyValueAttributes.type = propertyValueAttributesNode["Type"].asString(); - if(!propertyValueAttributesNode["Maximum"].isNull()) - propertyInfoObject.propertyValueAttributes.maximum = propertyValueAttributesNode["Maximum"].asString(); - if(!propertyValueAttributesNode["Mimimum"].isNull()) - propertyInfoObject.propertyValueAttributes.mimimum = propertyValueAttributesNode["Mimimum"].asString(); - if(!propertyValueAttributesNode["Unit"].isNull()) - propertyInfoObject.propertyValueAttributes.unit = propertyValueAttributesNode["Unit"].asString(); - if(!propertyValueAttributesNode["ReadOnly"].isNull()) - propertyInfoObject.propertyValueAttributes.readOnly = propertyValueAttributesNode["ReadOnly"].asString() == "true"; - if(!propertyValueAttributesNode["Hidden"].isNull()) - propertyInfoObject.propertyValueAttributes.hidden = propertyValueAttributesNode["Hidden"].asString() == "true"; - if(!propertyValueAttributesNode["IncrememtStep"].isNull()) - propertyInfoObject.propertyValueAttributes.incrememtStep = propertyValueAttributesNode["IncrememtStep"].asString(); - auto allEntriesNode = propertyValueAttributesNode["Entries"]["ValueEntryInfo"]; - for (auto propertyValueAttributesNodeEntriesValueEntryInfo : allEntriesNode) - { - Config::PropertyInfo::PropertyValueAttributes::ValueEntryInfo valueEntryInfoObject; - if(!propertyValueAttributesNodeEntriesValueEntryInfo["Value"].isNull()) - valueEntryInfoObject.value = propertyValueAttributesNodeEntriesValueEntryInfo["Value"].asString(); - if(!propertyValueAttributesNodeEntriesValueEntryInfo["Label"].isNull()) - valueEntryInfoObject.label = propertyValueAttributesNodeEntriesValueEntryInfo["Label"].asString(); - if(!propertyValueAttributesNodeEntriesValueEntryInfo["Description"].isNull()) - valueEntryInfoObject.description = propertyValueAttributesNodeEntriesValueEntryInfo["Description"].asString(); - propertyInfoObject.propertyValueAttributes.entries.push_back(valueEntryInfoObject); - } - auto effectWayNode = value["EffectWay"]; - if(!effectWayNode["EffectType"].isNull()) - propertyInfoObject.effectWay.effectType = effectWayNode["EffectType"].asString(); - if(!effectWayNode["InvokeServiceName"].isNull()) - propertyInfoObject.effectWay.invokeServiceName = effectWayNode["InvokeServiceName"].asString(); - auto allPropertyTypes = value["PropertyTypes"]["propertyType"]; - for (auto value : allPropertyTypes) - propertyInfoObject.propertyTypes.push_back(value.asString()); - config_.propertyInfoList.push_back(propertyInfoObject); - } - -} - -DescribeClusterServiceConfigForAdminResult::Config DescribeClusterServiceConfigForAdminResult::getConfig()const -{ - return config_; -} - diff --git a/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc b/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc index 59a407819..3b2cd59fd 100644 --- a/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc +++ b/emr/src/model/DescribeClusterServiceConfigHistoryResult.cc @@ -58,18 +58,18 @@ void DescribeClusterServiceConfigHistoryResult::parse(const std::string &payload Config::ConfigValue configValueObject; if(!configNodeConfigValueListConfigValue["ConfigName"].isNull()) configValueObject.configName = configNodeConfigValueListConfigValue["ConfigName"].asString(); - auto allConfigItemValueListNode = allConfigValueListNode["ConfigItemValueList"]["ConfigItemValue"]; - for (auto allConfigValueListNodeConfigItemValueListConfigItemValue : allConfigItemValueListNode) + auto allConfigItemValueListNode = configNodeConfigValueListConfigValue["ConfigItemValueList"]["ConfigItemValue"]; + for (auto configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue : allConfigItemValueListNode) { Config::ConfigValue::ConfigItemValue configItemValueListObject; - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["ItemName"].isNull()) - configItemValueListObject.itemName = allConfigValueListNodeConfigItemValueListConfigItemValue["ItemName"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["Value"].isNull()) - configItemValueListObject.value = allConfigValueListNodeConfigItemValueListConfigItemValue["Value"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["OldValue"].isNull()) - configItemValueListObject.oldValue = allConfigValueListNodeConfigItemValueListConfigItemValue["OldValue"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["ChangeType"].isNull()) - configItemValueListObject.changeType = allConfigValueListNodeConfigItemValueListConfigItemValue["ChangeType"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ItemName"].isNull()) + configItemValueListObject.itemName = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ItemName"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Value"].isNull()) + configItemValueListObject.value = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Value"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["OldValue"].isNull()) + configItemValueListObject.oldValue = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["OldValue"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ChangeType"].isNull()) + configItemValueListObject.changeType = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ChangeType"].asString(); configValueObject.configItemValueList.push_back(configItemValueListObject); } config_.configValueList.push_back(configValueObject); diff --git a/emr/src/model/DescribeClusterServiceConfigResult.cc b/emr/src/model/DescribeClusterServiceConfigResult.cc index 949000de9..6a10c3a40 100644 --- a/emr/src/model/DescribeClusterServiceConfigResult.cc +++ b/emr/src/model/DescribeClusterServiceConfigResult.cc @@ -60,18 +60,22 @@ void DescribeClusterServiceConfigResult::parse(const std::string &payload) configValueObject.configName = configNodeConfigValueListConfigValue["ConfigName"].asString(); if(!configNodeConfigValueListConfigValue["AllowCustom"].isNull()) configValueObject.allowCustom = configNodeConfigValueListConfigValue["AllowCustom"].asString() == "true"; - auto allConfigItemValueListNode = allConfigValueListNode["ConfigItemValueList"]["ConfigItemValue"]; - for (auto allConfigValueListNodeConfigItemValueListConfigItemValue : allConfigItemValueListNode) + if(!configNodeConfigValueListConfigValue["Scope"].isNull()) + configValueObject.scope = configNodeConfigValueListConfigValue["Scope"].asString(); + if(!configNodeConfigValueListConfigValue["ScopeId"].isNull()) + configValueObject.scopeId = std::stol(configNodeConfigValueListConfigValue["ScopeId"].asString()); + auto allConfigItemValueListNode = configNodeConfigValueListConfigValue["ConfigItemValueList"]["ConfigItemValue"]; + for (auto configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue : allConfigItemValueListNode) { Config::ConfigValue::ConfigItemValue configItemValueListObject; - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["ItemName"].isNull()) - configItemValueListObject.itemName = allConfigValueListNodeConfigItemValueListConfigItemValue["ItemName"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["Value"].isNull()) - configItemValueListObject.value = allConfigValueListNodeConfigItemValueListConfigItemValue["Value"].asString(); - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["IsCustom"].isNull()) - configItemValueListObject.isCustom = allConfigValueListNodeConfigItemValueListConfigItemValue["IsCustom"].asString() == "true"; - if(!allConfigValueListNodeConfigItemValueListConfigItemValue["Description"].isNull()) - configItemValueListObject.description = allConfigValueListNodeConfigItemValueListConfigItemValue["Description"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ItemName"].isNull()) + configItemValueListObject.itemName = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["ItemName"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Value"].isNull()) + configItemValueListObject.value = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Value"].asString(); + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["IsCustom"].isNull()) + configItemValueListObject.isCustom = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["IsCustom"].asString() == "true"; + if(!configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Description"].isNull()) + configItemValueListObject.description = configNodeConfigValueListConfigValueConfigItemValueListConfigItemValue["Description"].asString(); configValueObject.configItemValueList.push_back(configItemValueListObject); } config_.configValueList.push_back(configValueObject); diff --git a/emr/src/model/DescribeClusterServiceConfigTagForAdminRequest.cc b/emr/src/model/DescribeClusterServiceConfigTagForAdminRequest.cc deleted file mode 100644 index 42bbe81b0..000000000 --- a/emr/src/model/DescribeClusterServiceConfigTagForAdminRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeClusterServiceConfigTagForAdminRequest; - -DescribeClusterServiceConfigTagForAdminRequest::DescribeClusterServiceConfigTagForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterServiceConfigTagForAdmin") -{} - -DescribeClusterServiceConfigTagForAdminRequest::~DescribeClusterServiceConfigTagForAdminRequest() -{} - -long DescribeClusterServiceConfigTagForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterServiceConfigTagForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeClusterServiceConfigTagForAdminRequest::getUserId()const -{ - return userId_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string DescribeClusterServiceConfigTagForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeClusterServiceConfigTagForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeClusterServiceConfigTagForAdminRequest::getConfigTag()const -{ - return configTag_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setConfigTag(const std::string& configTag) -{ - configTag_ = configTag; - setCoreParameter("ConfigTag", configTag); -} - -std::string DescribeClusterServiceConfigTagForAdminRequest::getServiceName()const -{ - return serviceName_; -} - -void DescribeClusterServiceConfigTagForAdminRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/DescribeClusterServiceConfigTagForAdminResult.cc b/emr/src/model/DescribeClusterServiceConfigTagForAdminResult.cc deleted file mode 100644 index f859d6d4c..000000000 --- a/emr/src/model/DescribeClusterServiceConfigTagForAdminResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeClusterServiceConfigTagForAdminResult::DescribeClusterServiceConfigTagForAdminResult() : - ServiceResult() -{} - -DescribeClusterServiceConfigTagForAdminResult::DescribeClusterServiceConfigTagForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterServiceConfigTagForAdminResult::~DescribeClusterServiceConfigTagForAdminResult() -{} - -void DescribeClusterServiceConfigTagForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allConfigTagListNode = value["ConfigTagList"]["ConfigTag"]; - for (auto valueConfigTagListConfigTag : allConfigTagListNode) - { - ConfigTag configTagListObject; - if(!valueConfigTagListConfigTag["Tag"].isNull()) - configTagListObject.tag = valueConfigTagListConfigTag["Tag"].asString(); - if(!valueConfigTagListConfigTag["TagDesc"].isNull()) - configTagListObject.tagDesc = valueConfigTagListConfigTag["TagDesc"].asString(); - auto allValueListNode = allConfigTagListNode["ValueList"]["Value"]; - for (auto allConfigTagListNodeValueListValue : allValueListNode) - { - ConfigTag::Value valueListObject; - if(!allConfigTagListNodeValueListValue["Value"].isNull()) - valueListObject.value = allConfigTagListNodeValueListValue["Value"].asString(); - if(!allConfigTagListNodeValueListValue["ValueDesc"].isNull()) - valueListObject.valueDesc = allConfigTagListNodeValueListValue["ValueDesc"].asString(); - configTagListObject.valueList.push_back(valueListObject); - } - configTagList_.push_back(configTagListObject); - } - -} - -std::vector DescribeClusterServiceConfigTagForAdminResult::getConfigTagList()const -{ - return configTagList_; -} - diff --git a/emr/src/model/DescribeClusterServiceConfigTagResult.cc b/emr/src/model/DescribeClusterServiceConfigTagResult.cc index bc368276e..0f637228c 100644 --- a/emr/src/model/DescribeClusterServiceConfigTagResult.cc +++ b/emr/src/model/DescribeClusterServiceConfigTagResult.cc @@ -47,14 +47,14 @@ void DescribeClusterServiceConfigTagResult::parse(const std::string &payload) configTagListObject.tag = valueConfigTagListConfigTag["Tag"].asString(); if(!valueConfigTagListConfigTag["TagDesc"].isNull()) configTagListObject.tagDesc = valueConfigTagListConfigTag["TagDesc"].asString(); - auto allValueListNode = allConfigTagListNode["ValueList"]["Value"]; - for (auto allConfigTagListNodeValueListValue : allValueListNode) + auto allValueListNode = valueConfigTagListConfigTag["ValueList"]["Value"]; + for (auto valueConfigTagListConfigTagValueListValue : allValueListNode) { ConfigTag::Value valueListObject; - if(!allConfigTagListNodeValueListValue["Value"].isNull()) - valueListObject.value = allConfigTagListNodeValueListValue["Value"].asString(); - if(!allConfigTagListNodeValueListValue["ValueDesc"].isNull()) - valueListObject.valueDesc = allConfigTagListNodeValueListValue["ValueDesc"].asString(); + if(!valueConfigTagListConfigTagValueListValue["Value"].isNull()) + valueListObject.value = valueConfigTagListConfigTagValueListValue["Value"].asString(); + if(!valueConfigTagListConfigTagValueListValue["ValueDesc"].isNull()) + valueListObject.valueDesc = valueConfigTagListConfigTagValueListValue["ValueDesc"].asString(); configTagListObject.valueList.push_back(valueListObject); } configTagList_.push_back(configTagListObject); diff --git a/emr/src/model/DescribeClusterStatisticsRequest.cc b/emr/src/model/DescribeClusterStatisticsRequest.cc deleted file mode 100644 index 6bc9aec66..000000000 --- a/emr/src/model/DescribeClusterStatisticsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeClusterStatisticsRequest; - -DescribeClusterStatisticsRequest::DescribeClusterStatisticsRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeClusterStatistics") -{} - -DescribeClusterStatisticsRequest::~DescribeClusterStatisticsRequest() -{} - -long DescribeClusterStatisticsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeClusterStatisticsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeClusterStatisticsRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeClusterStatisticsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeClusterStatisticsRequest::getStrategy()const -{ - return strategy_; -} - -void DescribeClusterStatisticsRequest::setStrategy(const std::string& strategy) -{ - strategy_ = strategy; - setCoreParameter("Strategy", strategy); -} - -std::string DescribeClusterStatisticsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeClusterStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeClusterStatisticsResult.cc b/emr/src/model/DescribeClusterStatisticsResult.cc deleted file mode 100644 index b25afab72..000000000 --- a/emr/src/model/DescribeClusterStatisticsResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeClusterStatisticsResult::DescribeClusterStatisticsResult() : - ServiceResult() -{} - -DescribeClusterStatisticsResult::DescribeClusterStatisticsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeClusterStatisticsResult::~DescribeClusterStatisticsResult() -{} - -void DescribeClusterStatisticsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allClusterStatisticsList = value["ClusterStatisticsList"]["ClusterStatistics"]; - for (auto value : allClusterStatisticsList) - { - ClusterStatistics clusterStatisticsListObject; - if(!value["ClusterType"].isNull()) - clusterStatisticsListObject.clusterType = value["ClusterType"].asString(); - if(!value["Count"].isNull()) - clusterStatisticsListObject.count = std::stoi(value["Count"].asString()); - if(!value["ClusterStatus"].isNull()) - clusterStatisticsListObject.clusterStatus = value["ClusterStatus"].asString(); - clusterStatisticsList_.push_back(clusterStatisticsListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int DescribeClusterStatisticsResult::getTotalCount()const -{ - return totalCount_; -} - -std::vector DescribeClusterStatisticsResult::getClusterStatisticsList()const -{ - return clusterStatisticsList_; -} - diff --git a/emr/src/model/DescribeClusterTemplateRequest.cc b/emr/src/model/DescribeClusterTemplateRequest.cc index c6b191abd..d8c352efd 100644 --- a/emr/src/model/DescribeClusterTemplateRequest.cc +++ b/emr/src/model/DescribeClusterTemplateRequest.cc @@ -49,6 +49,17 @@ void DescribeClusterTemplateRequest::setAccessKeyId(const std::string& accessKey setParameter("AccessKeyId", accessKeyId); } +std::string DescribeClusterTemplateRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeClusterTemplateRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeClusterTemplateRequest::getBizId()const { return bizId_; diff --git a/emr/src/model/DescribeClusterTemplateResult.cc b/emr/src/model/DescribeClusterTemplateResult.cc index 9ba70b48c..33f4d0a19 100644 --- a/emr/src/model/DescribeClusterTemplateResult.cc +++ b/emr/src/model/DescribeClusterTemplateResult.cc @@ -171,6 +171,16 @@ void DescribeClusterTemplateResult::parse(const std::string &payload) if(!templateInfoNodeConfigListConfig["Replace"].isNull()) configObject.replace = templateInfoNodeConfigListConfig["Replace"].asString(); templateInfo_.configList.push_back(configObject); + } + auto allTagsNode = templateInfoNode["Tags"]["Tag"]; + for (auto templateInfoNodeTagsTag : allTagsNode) + { + TemplateInfo::Tag tagObject; + if(!templateInfoNodeTagsTag["TagKey"].isNull()) + tagObject.tagKey = templateInfoNodeTagsTag["TagKey"].asString(); + if(!templateInfoNodeTagsTag["TagValue"].isNull()) + tagObject.tagValue = templateInfoNodeTagsTag["TagValue"].asString(); + templateInfo_.tags.push_back(tagObject); } auto allSoftwareInfoList = templateInfoNode["SoftwareInfoList"]["SoftwareInfo"]; for (auto value : allSoftwareInfoList) diff --git a/emr/src/model/DescribeClusterV2Result.cc b/emr/src/model/DescribeClusterV2Result.cc index 4b8175397..11c55866e 100644 --- a/emr/src/model/DescribeClusterV2Result.cc +++ b/emr/src/model/DescribeClusterV2Result.cc @@ -52,6 +52,8 @@ void DescribeClusterV2Result::parse(const std::string &payload) clusterInfo_.zoneId = clusterInfoNode["ZoneId"].asString(); if(!clusterInfoNode["Name"].isNull()) clusterInfo_.name = clusterInfoNode["Name"].asString(); + if(!clusterInfoNode["ExtraInfo"].isNull()) + clusterInfo_.extraInfo = clusterInfoNode["ExtraInfo"].asString(); if(!clusterInfoNode["RelateClusterId"].isNull()) clusterInfo_.relateClusterId = clusterInfoNode["RelateClusterId"].asString(); if(!clusterInfoNode["GatewayClusterIds"].isNull()) @@ -122,6 +124,8 @@ void DescribeClusterV2Result::parse(const std::string &payload) clusterInfo_.configurations = clusterInfoNode["Configurations"].asString(); if(!clusterInfoNode["EasEnable"].isNull()) clusterInfo_.easEnable = clusterInfoNode["EasEnable"].asString() == "true"; + if(!clusterInfoNode["AutoScalingVersion"].isNull()) + clusterInfo_.autoScalingVersion = clusterInfoNode["AutoScalingVersion"].asString(); if(!clusterInfoNode["AutoScalingEnable"].isNull()) clusterInfo_.autoScalingEnable = clusterInfoNode["AutoScalingEnable"].asString() == "true"; if(!clusterInfoNode["AutoScalingAllowed"].isNull()) @@ -130,10 +134,14 @@ void DescribeClusterV2Result::parse(const std::string &payload) clusterInfo_.autoScalingSpotWithLimitAllowed = clusterInfoNode["AutoScalingSpotWithLimitAllowed"].asString() == "true"; if(!clusterInfoNode["AutoScalingByLoadAllowed"].isNull()) clusterInfo_.autoScalingByLoadAllowed = clusterInfoNode["AutoScalingByLoadAllowed"].asString() == "true"; + if(!clusterInfoNode["AutoScalingWithGraceAllowed"].isNull()) + clusterInfo_.autoScalingWithGraceAllowed = clusterInfoNode["AutoScalingWithGraceAllowed"].asString() == "true"; if(!clusterInfoNode["ResizeDiskEnable"].isNull()) clusterInfo_.resizeDiskEnable = clusterInfoNode["ResizeDiskEnable"].asString() == "true"; if(!clusterInfoNode["MetaStoreType"].isNull()) clusterInfo_.metaStoreType = clusterInfoNode["MetaStoreType"].asString(); + if(!clusterInfoNode["K8sClusterId"].isNull()) + clusterInfo_.k8sClusterId = clusterInfoNode["K8sClusterId"].asString(); auto allGatewayClusterInfoListNode = clusterInfoNode["GatewayClusterInfoList"]["GatewayClusterInfo"]; for (auto clusterInfoNodeGatewayClusterInfoListGatewayClusterInfo : allGatewayClusterInfoListNode) { @@ -186,50 +194,50 @@ void DescribeClusterV2Result::parse(const std::string &payload) hostGroupObject.lockType = clusterInfoNodeHostGroupListHostGroup["LockType"].asString(); if(!clusterInfoNodeHostGroupListHostGroup["LockReason"].isNull()) hostGroupObject.lockReason = clusterInfoNodeHostGroupListHostGroup["LockReason"].asString(); - auto allNodesNode = allHostGroupListNode["Nodes"]["Node"]; - for (auto allHostGroupListNodeNodesNode : allNodesNode) + auto allNodesNode = clusterInfoNodeHostGroupListHostGroup["Nodes"]["Node"]; + for (auto clusterInfoNodeHostGroupListHostGroupNodesNode : allNodesNode) { ClusterInfo::HostGroup::Node nodesObject; - if(!allHostGroupListNodeNodesNode["ZoneId"].isNull()) - nodesObject.zoneId = allHostGroupListNodeNodesNode["ZoneId"].asString(); - if(!allHostGroupListNodeNodesNode["InstanceId"].isNull()) - nodesObject.instanceId = allHostGroupListNodeNodesNode["InstanceId"].asString(); - if(!allHostGroupListNodeNodesNode["Status"].isNull()) - nodesObject.status = allHostGroupListNodeNodesNode["Status"].asString(); - if(!allHostGroupListNodeNodesNode["PubIp"].isNull()) - nodesObject.pubIp = allHostGroupListNodeNodesNode["PubIp"].asString(); - if(!allHostGroupListNodeNodesNode["InnerIp"].isNull()) - nodesObject.innerIp = allHostGroupListNodeNodesNode["InnerIp"].asString(); - if(!allHostGroupListNodeNodesNode["ExpiredTime"].isNull()) - nodesObject.expiredTime = allHostGroupListNodeNodesNode["ExpiredTime"].asString(); - if(!allHostGroupListNodeNodesNode["CreateTime"].isNull()) - nodesObject.createTime = allHostGroupListNodeNodesNode["CreateTime"].asString(); - if(!allHostGroupListNodeNodesNode["EmrExpiredTime"].isNull()) - nodesObject.emrExpiredTime = allHostGroupListNodeNodesNode["EmrExpiredTime"].asString(); - if(!allHostGroupListNodeNodesNode["SupportIpV6"].isNull()) - nodesObject.supportIpV6 = allHostGroupListNodeNodesNode["SupportIpV6"].asString() == "true"; - auto allDaemonInfosNode = allNodesNode["DaemonInfos"]["DaemonInfo"]; - for (auto allNodesNodeDaemonInfosDaemonInfo : allDaemonInfosNode) + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["ZoneId"].isNull()) + nodesObject.zoneId = clusterInfoNodeHostGroupListHostGroupNodesNode["ZoneId"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["InstanceId"].isNull()) + nodesObject.instanceId = clusterInfoNodeHostGroupListHostGroupNodesNode["InstanceId"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["Status"].isNull()) + nodesObject.status = clusterInfoNodeHostGroupListHostGroupNodesNode["Status"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["PubIp"].isNull()) + nodesObject.pubIp = clusterInfoNodeHostGroupListHostGroupNodesNode["PubIp"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["InnerIp"].isNull()) + nodesObject.innerIp = clusterInfoNodeHostGroupListHostGroupNodesNode["InnerIp"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["ExpiredTime"].isNull()) + nodesObject.expiredTime = clusterInfoNodeHostGroupListHostGroupNodesNode["ExpiredTime"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["CreateTime"].isNull()) + nodesObject.createTime = clusterInfoNodeHostGroupListHostGroupNodesNode["CreateTime"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["EmrExpiredTime"].isNull()) + nodesObject.emrExpiredTime = clusterInfoNodeHostGroupListHostGroupNodesNode["EmrExpiredTime"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNode["SupportIpV6"].isNull()) + nodesObject.supportIpV6 = clusterInfoNodeHostGroupListHostGroupNodesNode["SupportIpV6"].asString() == "true"; + auto allDaemonInfosNode = clusterInfoNodeHostGroupListHostGroupNodesNode["DaemonInfos"]["DaemonInfo"]; + for (auto clusterInfoNodeHostGroupListHostGroupNodesNodeDaemonInfosDaemonInfo : allDaemonInfosNode) { ClusterInfo::HostGroup::Node::DaemonInfo daemonInfosObject; - if(!allNodesNodeDaemonInfosDaemonInfo["Name"].isNull()) - daemonInfosObject.name = allNodesNodeDaemonInfosDaemonInfo["Name"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNodeDaemonInfosDaemonInfo["Name"].isNull()) + daemonInfosObject.name = clusterInfoNodeHostGroupListHostGroupNodesNodeDaemonInfosDaemonInfo["Name"].asString(); nodesObject.daemonInfos.push_back(daemonInfosObject); } - auto allDiskInfosNode = allNodesNode["DiskInfos"]["DiskInfo"]; - for (auto allNodesNodeDiskInfosDiskInfo : allDiskInfosNode) + auto allDiskInfosNode = clusterInfoNodeHostGroupListHostGroupNodesNode["DiskInfos"]["DiskInfo"]; + for (auto clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo : allDiskInfosNode) { ClusterInfo::HostGroup::Node::DiskInfo diskInfosObject; - if(!allNodesNodeDiskInfosDiskInfo["Device"].isNull()) - diskInfosObject.device = allNodesNodeDiskInfosDiskInfo["Device"].asString(); - if(!allNodesNodeDiskInfosDiskInfo["DiskName"].isNull()) - diskInfosObject.diskName = allNodesNodeDiskInfosDiskInfo["DiskName"].asString(); - if(!allNodesNodeDiskInfosDiskInfo["DiskId"].isNull()) - diskInfosObject.diskId = allNodesNodeDiskInfosDiskInfo["DiskId"].asString(); - if(!allNodesNodeDiskInfosDiskInfo["Type"].isNull()) - diskInfosObject.type = allNodesNodeDiskInfosDiskInfo["Type"].asString(); - if(!allNodesNodeDiskInfosDiskInfo["Size"].isNull()) - diskInfosObject.size = std::stoi(allNodesNodeDiskInfosDiskInfo["Size"].asString()); + if(!clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["Device"].isNull()) + diskInfosObject.device = clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["Device"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["DiskName"].isNull()) + diskInfosObject.diskName = clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["DiskName"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["DiskId"].isNull()) + diskInfosObject.diskId = clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["DiskId"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["Type"].isNull()) + diskInfosObject.type = clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["Type"].asString(); + if(!clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["Size"].isNull()) + diskInfosObject.size = std::stoi(clusterInfoNodeHostGroupListHostGroupNodesNodeDiskInfosDiskInfo["Size"].asString()); nodesObject.diskInfos.push_back(diskInfosObject); } hostGroupObject.nodes.push_back(nodesObject); diff --git a/emr/src/model/DescribeDataSourceCommandRequest.cc b/emr/src/model/DescribeDataSourceCommandRequest.cc deleted file mode 100644 index 70e5ae5a6..000000000 --- a/emr/src/model/DescribeDataSourceCommandRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeDataSourceCommandRequest; - -DescribeDataSourceCommandRequest::DescribeDataSourceCommandRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeDataSourceCommand") -{} - -DescribeDataSourceCommandRequest::~DescribeDataSourceCommandRequest() -{} - -long DescribeDataSourceCommandRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeDataSourceCommandRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeDataSourceCommandRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDataSourceCommandRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeDataSourceCommandRequest::getId()const -{ - return id_; -} - -void DescribeDataSourceCommandRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DescribeDataSourceCommandRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeDataSourceCommandRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeDataSourceCommandResult.cc b/emr/src/model/DescribeDataSourceCommandResult.cc deleted file mode 100644 index fe027eb70..000000000 --- a/emr/src/model/DescribeDataSourceCommandResult.cc +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeDataSourceCommandResult::DescribeDataSourceCommandResult() : - ServiceResult() -{} - -DescribeDataSourceCommandResult::DescribeDataSourceCommandResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDataSourceCommandResult::~DescribeDataSourceCommandResult() -{} - -void DescribeDataSourceCommandResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allHostList = value["HostList"]["Host"]; - for (auto value : allHostList) - { - Host hostListObject; - if(!value["HostName"].isNull()) - hostListObject.hostName = value["HostName"].asString(); - if(!value["State"].isNull()) - hostListObject.state = value["State"].asString(); - if(!value["StartTime"].isNull()) - hostListObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - hostListObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["Message"].isNull()) - hostListObject.message = value["Message"].asString(); - if(!value["Data"].isNull()) - hostListObject.data = value["Data"].asString(); - hostList_.push_back(hostListObject); - } - if(!value["CommandId"].isNull()) - commandId_ = value["CommandId"].asString(); - if(!value["HostName"].isNull()) - hostName_ = value["HostName"].asString(); - if(!value["State"].isNull()) - state_ = value["State"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -long DescribeDataSourceCommandResult::getEndTime()const -{ - return endTime_; -} - -std::string DescribeDataSourceCommandResult::getMessage()const -{ - return message_; -} - -std::string DescribeDataSourceCommandResult::getState()const -{ - return state_; -} - -long DescribeDataSourceCommandResult::getStartTime()const -{ - return startTime_; -} - -std::vector DescribeDataSourceCommandResult::getHostList()const -{ - return hostList_; -} - -std::string DescribeDataSourceCommandResult::getData()const -{ - return data_; -} - -std::string DescribeDataSourceCommandResult::getCommandId()const -{ - return commandId_; -} - -std::string DescribeDataSourceCommandResult::getHostName()const -{ - return hostName_; -} - diff --git a/emr/src/model/DescribeDataSourceRequest.cc b/emr/src/model/DescribeDataSourceRequest.cc index 6e1a1b423..7239a022e 100644 --- a/emr/src/model/DescribeDataSourceRequest.cc +++ b/emr/src/model/DescribeDataSourceRequest.cc @@ -49,6 +49,17 @@ void DescribeDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string DescribeDataSourceRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeDataSourceRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DescribeDataSourceSchemaDatabaseRequest.cc b/emr/src/model/DescribeDataSourceSchemaDatabaseRequest.cc deleted file mode 100644 index 020460b92..000000000 --- a/emr/src/model/DescribeDataSourceSchemaDatabaseRequest.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 - -using AlibabaCloud::Emr::Model::DescribeDataSourceSchemaDatabaseRequest; - -DescribeDataSourceSchemaDatabaseRequest::DescribeDataSourceSchemaDatabaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeDataSourceSchemaDatabase") -{} - -DescribeDataSourceSchemaDatabaseRequest::~DescribeDataSourceSchemaDatabaseRequest() -{} - -long DescribeDataSourceSchemaDatabaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeDataSourceSchemaDatabaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeDataSourceSchemaDatabaseRequest::getDbName()const -{ - return dbName_; -} - -void DescribeDataSourceSchemaDatabaseRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string DescribeDataSourceSchemaDatabaseRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDataSourceSchemaDatabaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeDataSourceSchemaDatabaseRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void DescribeDataSourceSchemaDatabaseRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string DescribeDataSourceSchemaDatabaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeDataSourceSchemaDatabaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeDataSourceSchemaDatabaseResult.cc b/emr/src/model/DescribeDataSourceSchemaDatabaseResult.cc deleted file mode 100644 index c9cdcc6ab..000000000 --- a/emr/src/model/DescribeDataSourceSchemaDatabaseResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeDataSourceSchemaDatabaseResult::DescribeDataSourceSchemaDatabaseResult() : - ServiceResult() -{} - -DescribeDataSourceSchemaDatabaseResult::DescribeDataSourceSchemaDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDataSourceSchemaDatabaseResult::~DescribeDataSourceSchemaDatabaseResult() -{} - -void DescribeDataSourceSchemaDatabaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto schemaNode = value["Schema"]; - if(!schemaNode["DbName"].isNull()) - schema_.dbName = schemaNode["DbName"].asString(); - if(!schemaNode["DbVersion"].isNull()) - schema_.dbVersion = schemaNode["DbVersion"].asString(); - if(!schemaNode["DbType"].isNull()) - schema_.dbType = schemaNode["DbType"].asString(); - if(!value["DataSourceId"].isNull()) - dataSourceId_ = value["DataSourceId"].asString(); - -} - -DescribeDataSourceSchemaDatabaseResult::Schema DescribeDataSourceSchemaDatabaseResult::getSchema()const -{ - return schema_; -} - -std::string DescribeDataSourceSchemaDatabaseResult::getDataSourceId()const -{ - return dataSourceId_; -} - diff --git a/emr/src/model/DescribeDataSourceSchemaTableRequest.cc b/emr/src/model/DescribeDataSourceSchemaTableRequest.cc deleted file mode 100644 index 48c6cba25..000000000 --- a/emr/src/model/DescribeDataSourceSchemaTableRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeDataSourceSchemaTableRequest; - -DescribeDataSourceSchemaTableRequest::DescribeDataSourceSchemaTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeDataSourceSchemaTable") -{} - -DescribeDataSourceSchemaTableRequest::~DescribeDataSourceSchemaTableRequest() -{} - -long DescribeDataSourceSchemaTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeDataSourceSchemaTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeDataSourceSchemaTableRequest::getDbName()const -{ - return dbName_; -} - -void DescribeDataSourceSchemaTableRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string DescribeDataSourceSchemaTableRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDataSourceSchemaTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeDataSourceSchemaTableRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void DescribeDataSourceSchemaTableRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string DescribeDataSourceSchemaTableRequest::getTableName()const -{ - return tableName_; -} - -void DescribeDataSourceSchemaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string DescribeDataSourceSchemaTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeDataSourceSchemaTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeDataSourceSchemaTableResult.cc b/emr/src/model/DescribeDataSourceSchemaTableResult.cc deleted file mode 100644 index 4aafe522a..000000000 --- a/emr/src/model/DescribeDataSourceSchemaTableResult.cc +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeDataSourceSchemaTableResult::DescribeDataSourceSchemaTableResult() : - ServiceResult() -{} - -DescribeDataSourceSchemaTableResult::DescribeDataSourceSchemaTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDataSourceSchemaTableResult::~DescribeDataSourceSchemaTableResult() -{} - -void DescribeDataSourceSchemaTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto schemaNode = value["Schema"]; - if(!schemaNode["DbType"].isNull()) - schema_.dbType = schemaNode["DbType"].asString(); - if(!schemaNode["DbVersion"].isNull()) - schema_.dbVersion = schemaNode["DbVersion"].asString(); - if(!schemaNode["DbName"].isNull()) - schema_.dbName = schemaNode["DbName"].asString(); - if(!schemaNode["TableName"].isNull()) - schema_.tableName = schemaNode["TableName"].asString(); - auto allFields = value["Fields"]["Field"]; - for (auto value : allFields) - { - Schema::Field fieldObject; - if(!value["Type"].isNull()) - fieldObject.type = value["Type"].asString(); - if(!value["Length"].isNull()) - fieldObject.length = value["Length"].asString(); - if(!value["Name"].isNull()) - fieldObject.name = value["Name"].asString(); - if(!value["Index"].isNull()) - fieldObject.index = std::stoi(value["Index"].asString()); - if(!value["RawType"].isNull()) - fieldObject.rawType = value["RawType"].asString(); - if(!value["AssignType"].isNull()) - fieldObject.assignType = value["AssignType"].asString(); - if(!value["AssignValue"].isNull()) - fieldObject.assignValue = value["AssignValue"].asString(); - if(!value["PartitionKey"].isNull()) - fieldObject.partitionKey = value["PartitionKey"].asString() == "true"; - schema_.fields.push_back(fieldObject); - } - if(!value["DataSourceId"].isNull()) - dataSourceId_ = value["DataSourceId"].asString(); - -} - -DescribeDataSourceSchemaTableResult::Schema DescribeDataSourceSchemaTableResult::getSchema()const -{ - return schema_; -} - -std::string DescribeDataSourceSchemaTableResult::getDataSourceId()const -{ - return dataSourceId_; -} - diff --git a/emr/src/model/DescribeETLJobInstanceRequest.cc b/emr/src/model/DescribeETLJobInstanceRequest.cc deleted file mode 100644 index 16742a33b..000000000 --- a/emr/src/model/DescribeETLJobInstanceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeETLJobInstanceRequest; - -DescribeETLJobInstanceRequest::DescribeETLJobInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeETLJobInstance") -{} - -DescribeETLJobInstanceRequest::~DescribeETLJobInstanceRequest() -{} - -long DescribeETLJobInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeETLJobInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeETLJobInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeETLJobInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeETLJobInstanceRequest::getId()const -{ - return id_; -} - -void DescribeETLJobInstanceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DescribeETLJobInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeETLJobInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeETLJobInstanceResult.cc b/emr/src/model/DescribeETLJobInstanceResult.cc deleted file mode 100644 index 2b169837f..000000000 --- a/emr/src/model/DescribeETLJobInstanceResult.cc +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeETLJobInstanceResult::DescribeETLJobInstanceResult() : - ServiceResult() -{} - -DescribeETLJobInstanceResult::DescribeETLJobInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeETLJobInstanceResult::~DescribeETLJobInstanceResult() -{} - -void DescribeETLJobInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allFlowRelationList = value["FlowRelationList"]["FlowRelation"]; - for (auto value : allFlowRelationList) - { - FlowRelation flowRelationListObject; - if(!value["FlowJobId"].isNull()) - flowRelationListObject.flowJobId = value["FlowJobId"].asString(); - if(!value["FlowJobInstanceId"].isNull()) - flowRelationListObject.flowJobInstanceId = value["FlowJobInstanceId"].asString(); - flowRelationList_.push_back(flowRelationListObject); - } - auto allStageInstanceList = value["StageInstanceList"]["StageInstance"]; - for (auto value : allStageInstanceList) - { - StageInstance stageInstanceListObject; - if(!value["Id"].isNull()) - stageInstanceListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - stageInstanceListObject.name = value["Name"].asString(); - if(!value["StageStartTime"].isNull()) - stageInstanceListObject.stageStartTime = std::stol(value["StageStartTime"].asString()); - if(!value["StageEndTime"].isNull()) - stageInstanceListObject.stageEndTime = std::stol(value["StageEndTime"].asString()); - stageInstanceList_.push_back(stageInstanceListObject); - } - auto triggerHistoryNode = value["TriggerHistory"]; - if(!triggerHistoryNode["HistoryId"].isNull()) - triggerHistory_.historyId = triggerHistoryNode["HistoryId"].asString(); - if(!triggerHistoryNode["TriggerId"].isNull()) - triggerHistory_.triggerId = triggerHistoryNode["TriggerId"].asString(); - if(!triggerHistoryNode["TriggerType"].isNull()) - triggerHistory_.triggerType = triggerHistoryNode["TriggerType"].asString(); - if(!triggerHistoryNode["FireState"].isNull()) - triggerHistory_.fireState = triggerHistoryNode["FireState"].asString(); - if(!triggerHistoryNode["FireTime"].isNull()) - triggerHistory_.fireTime = std::stol(triggerHistoryNode["FireTime"].asString()); - auto argumentsNode = value["Arguments"]; - if(!argumentsNode["Key"].isNull()) - arguments_.key = argumentsNode["Key"].asString(); - if(!argumentsNode["Value"].isNull()) - arguments_.value = argumentsNode["Value"].asString(); - auto metricsNode = value["Metrics"]; - if(!metricsNode["TotalTime"].isNull()) - metrics_.totalTime = std::stol(metricsNode["TotalTime"].asString()); - if(!metricsNode["RecordsIn"].isNull()) - metrics_.recordsIn = std::stol(metricsNode["RecordsIn"].asString()); - if(!metricsNode["RecordsOut"].isNull()) - metrics_.recordsOut = std::stol(metricsNode["RecordsOut"].asString()); - if(!metricsNode["RecordsError"].isNull()) - metrics_.recordsError = std::stol(metricsNode["RecordsError"].asString()); - if(!metricsNode["RecordsRate"].isNull()) - metrics_.recordsRate = metricsNode["RecordsRate"].asString(); - if(!metricsNode["Vcores"].isNull()) - metrics_.vcores = std::stol(metricsNode["Vcores"].asString()); - if(!metricsNode["MemSize"].isNull()) - metrics_.memSize = std::stol(metricsNode["MemSize"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["EtlJobId"].isNull()) - etlJobId_ = value["EtlJobId"].asString(); - if(!value["InstanceStatus"].isNull()) - instanceStatus_ = value["InstanceStatus"].asString(); - if(!value["TriggerUser"].isNull()) - triggerUser_ = value["TriggerUser"].asString(); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - -} - -std::string DescribeETLJobInstanceResult::getTriggerUser()const -{ - return triggerUser_; -} - -DescribeETLJobInstanceResult::Metrics DescribeETLJobInstanceResult::getMetrics()const -{ - return metrics_; -} - -long DescribeETLJobInstanceResult::getEndTime()const -{ - return endTime_; -} - -DescribeETLJobInstanceResult::TriggerHistory DescribeETLJobInstanceResult::getTriggerHistory()const -{ - return triggerHistory_; -} - -std::string DescribeETLJobInstanceResult::getInstanceStatus()const -{ - return instanceStatus_; -} - -DescribeETLJobInstanceResult::Arguments DescribeETLJobInstanceResult::getArguments()const -{ - return arguments_; -} - -long DescribeETLJobInstanceResult::getStartTime()const -{ - return startTime_; -} - -std::string DescribeETLJobInstanceResult::getId()const -{ - return id_; -} - -std::vector DescribeETLJobInstanceResult::getFlowRelationList()const -{ - return flowRelationList_; -} - -std::vector DescribeETLJobInstanceResult::getStageInstanceList()const -{ - return stageInstanceList_; -} - -std::string DescribeETLJobInstanceResult::getEtlJobId()const -{ - return etlJobId_; -} - diff --git a/emr/src/model/DescribeETLJobRequest.cc b/emr/src/model/DescribeETLJobRequest.cc deleted file mode 100644 index 6a9014616..000000000 --- a/emr/src/model/DescribeETLJobRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeETLJobRequest; - -DescribeETLJobRequest::DescribeETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeETLJob") -{} - -DescribeETLJobRequest::~DescribeETLJobRequest() -{} - -long DescribeETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeETLJobRequest::getId()const -{ - return id_; -} - -void DescribeETLJobRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DescribeETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeETLJobResult.cc b/emr/src/model/DescribeETLJobResult.cc deleted file mode 100644 index dbb5fb7fe..000000000 --- a/emr/src/model/DescribeETLJobResult.cc +++ /dev/null @@ -1,188 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeETLJobResult::DescribeETLJobResult() : - ServiceResult() -{} - -DescribeETLJobResult::DescribeETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeETLJobResult::~DescribeETLJobResult() -{} - -void DescribeETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTriggerRuleList = value["TriggerRuleList"]["TriggerRule"]; - for (auto value : allTriggerRuleList) - { - TriggerRule triggerRuleListObject; - if(!value["Enabled"].isNull()) - triggerRuleListObject.enabled = value["Enabled"].asString() == "true"; - if(!value["StartTime"].isNull()) - triggerRuleListObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - triggerRuleListObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["CronExpr"].isNull()) - triggerRuleListObject.cronExpr = value["CronExpr"].asString(); - triggerRuleList_.push_back(triggerRuleListObject); - } - auto allStageList = value["StageList"]["Stage"]; - for (auto value : allStageList) - { - Stage stageListObject; - if(!value["StageName"].isNull()) - stageListObject.stageName = value["StageName"].asString(); - if(!value["StageType"].isNull()) - stageListObject.stageType = value["StageType"].asString(); - if(!value["StagePlugin"].isNull()) - stageListObject.stagePlugin = value["StagePlugin"].asString(); - if(!value["StageConf"].isNull()) - stageListObject.stageConf = value["StageConf"].asString(); - stageList_.push_back(stageListObject); - } - auto allStageConnectionList = value["StageConnectionList"]["StageConnection"]; - for (auto value : allStageConnectionList) - { - StageConnection stageConnectionListObject; - if(!value["From"].isNull()) - stageConnectionListObject.from = value["From"].asString(); - if(!value["To"].isNull()) - stageConnectionListObject.to = value["To"].asString(); - if(!value["Port"].isNull()) - stageConnectionListObject.port = value["Port"].asString(); - stageConnectionList_.push_back(stageConnectionListObject); - } - auto clusterConfigNode = value["ClusterConfig"]; - if(!clusterConfigNode["IsOnDemand"].isNull()) - clusterConfig_.isOnDemand = clusterConfigNode["IsOnDemand"].asString() == "true"; - if(!clusterConfigNode["ClusterId"].isNull()) - clusterConfig_.clusterId = clusterConfigNode["ClusterId"].asString(); - if(!clusterConfigNode["Queue"].isNull()) - clusterConfig_.queue = clusterConfigNode["Queue"].asString(); - if(!clusterConfigNode["UserName"].isNull()) - clusterConfig_.userName = clusterConfigNode["UserName"].asString(); - if(!clusterConfigNode["RecordRate"].isNull()) - clusterConfig_.recordRate = std::stol(clusterConfigNode["RecordRate"].asString()); - if(!clusterConfigNode["SizeRate"].isNull()) - clusterConfig_.sizeRate = std::stol(clusterConfigNode["SizeRate"].asString()); - auto driverResourceNode = clusterConfigNode["DriverResource"]; - if(!driverResourceNode["Vcores"].isNull()) - clusterConfig_.driverResource.vcores = std::stoi(driverResourceNode["Vcores"].asString()); - if(!driverResourceNode["MemSize"].isNull()) - clusterConfig_.driverResource.memSize = std::stoi(driverResourceNode["MemSize"].asString()); - auto executorResourceNode = clusterConfigNode["ExecutorResource"]; - if(!executorResourceNode["Vcores"].isNull()) - clusterConfig_.executorResource.vcores = std::stoi(executorResourceNode["Vcores"].asString()); - if(!executorResourceNode["MemSize"].isNull()) - clusterConfig_.executorResource.memSize = std::stoi(executorResourceNode["MemSize"].asString()); - auto alertConfigNode = value["AlertConfig"]; - auto allItems = value["Items"]["Item"]; - for (auto value : allItems) - { - AlertConfig::Item itemObject; - if(!value["Enable"].isNull()) - itemObject.enable = value["Enable"].asString() == "true"; - if(!value["EventId"].isNull()) - itemObject.eventId = value["EventId"].asString(); - auto allAlertUserGroupIdList = value["AlertUserGroupIdList"]["AlertUserGroupId"]; - for (auto value : allAlertUserGroupIdList) - itemObject.alertUserGroupIdList.push_back(value.asString()); - auto allAlertDingDingGroupList = value["AlertDingDingGroupList"]["AlertDingDingGroup"]; - for (auto value : allAlertDingDingGroupList) - itemObject.alertDingDingGroupList.push_back(value.asString()); - alertConfig_.items.push_back(itemObject); - } - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["CategoryId"].isNull()) - categoryId_ = value["CategoryId"].asString(); - if(!value["Graph"].isNull()) - graph_ = value["Graph"].asString(); - -} - -std::string DescribeETLJobResult::getCategoryId()const -{ - return categoryId_; -} - -std::string DescribeETLJobResult::getDescription()const -{ - return description_; -} - -std::string DescribeETLJobResult::getGraph()const -{ - return graph_; -} - -DescribeETLJobResult::AlertConfig DescribeETLJobResult::getAlertConfig()const -{ - return alertConfig_; -} - -std::vector DescribeETLJobResult::getStageConnectionList()const -{ - return stageConnectionList_; -} - -std::vector DescribeETLJobResult::getStageList()const -{ - return stageList_; -} - -std::vector DescribeETLJobResult::getTriggerRuleList()const -{ - return triggerRuleList_; -} - -std::string DescribeETLJobResult::getId()const -{ - return id_; -} - -DescribeETLJobResult::ClusterConfig DescribeETLJobResult::getClusterConfig()const -{ - return clusterConfig_; -} - -std::string DescribeETLJobResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/DescribeETLJobSqlSchemaRequest.cc b/emr/src/model/DescribeETLJobSqlSchemaRequest.cc deleted file mode 100644 index 59ad6c7bd..000000000 --- a/emr/src/model/DescribeETLJobSqlSchemaRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeETLJobSqlSchemaRequest; - -DescribeETLJobSqlSchemaRequest::DescribeETLJobSqlSchemaRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeETLJobSqlSchema") -{} - -DescribeETLJobSqlSchemaRequest::~DescribeETLJobSqlSchemaRequest() -{} - -long DescribeETLJobSqlSchemaRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeETLJobSqlSchemaRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeETLJobSqlSchemaRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeETLJobSqlSchemaRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeETLJobSqlSchemaRequest::getResolveId()const -{ - return resolveId_; -} - -void DescribeETLJobSqlSchemaRequest::setResolveId(const std::string& resolveId) -{ - resolveId_ = resolveId; - setCoreParameter("ResolveId", resolveId); -} - -std::string DescribeETLJobSqlSchemaRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeETLJobSqlSchemaRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeETLJobSqlSchemaResult.cc b/emr/src/model/DescribeETLJobSqlSchemaResult.cc deleted file mode 100644 index 69f6ad0b3..000000000 --- a/emr/src/model/DescribeETLJobSqlSchemaResult.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeETLJobSqlSchemaResult::DescribeETLJobSqlSchemaResult() : - ServiceResult() -{} - -DescribeETLJobSqlSchemaResult::DescribeETLJobSqlSchemaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeETLJobSqlSchemaResult::~DescribeETLJobSqlSchemaResult() -{} - -void DescribeETLJobSqlSchemaResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto schemaNode = value["Schema"]; - if(!schemaNode["Name"].isNull()) - schema_.name = schemaNode["Name"].asString(); - auto allFields = value["Fields"]["Field"]; - for (auto value : allFields) - { - Schema::Field fieldObject; - if(!value["Type"].isNull()) - fieldObject.type = value["Type"].asString(); - if(!value["Length"].isNull()) - fieldObject.length = value["Length"].asString(); - if(!value["Name"].isNull()) - fieldObject.name = value["Name"].asString(); - if(!value["Index"].isNull()) - fieldObject.index = std::stoi(value["Index"].asString()); - if(!value["RawType"].isNull()) - fieldObject.rawType = value["RawType"].asString(); - if(!value["AssignType"].isNull()) - fieldObject.assignType = value["AssignType"].asString(); - if(!value["AssignValue"].isNull()) - fieldObject.assignValue = value["AssignValue"].asString(); - if(!value["PartitionKey"].isNull()) - fieldObject.partitionKey = value["PartitionKey"].asString() == "true"; - schema_.fields.push_back(fieldObject); - } - -} - -DescribeETLJobSqlSchemaResult::Schema DescribeETLJobSqlSchemaResult::getSchema()const -{ - return schema_; -} - diff --git a/emr/src/model/DescribeETLJobStageOutputSchemaRequest.cc b/emr/src/model/DescribeETLJobStageOutputSchemaRequest.cc deleted file mode 100644 index 6e11e5fb3..000000000 --- a/emr/src/model/DescribeETLJobStageOutputSchemaRequest.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 - -using AlibabaCloud::Emr::Model::DescribeETLJobStageOutputSchemaRequest; - -DescribeETLJobStageOutputSchemaRequest::DescribeETLJobStageOutputSchemaRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeETLJobStageOutputSchema") -{} - -DescribeETLJobStageOutputSchemaRequest::~DescribeETLJobStageOutputSchemaRequest() -{} - -std::string DescribeETLJobStageOutputSchemaRequest::getStageName()const -{ - return stageName_; -} - -void DescribeETLJobStageOutputSchemaRequest::setStageName(const std::string& stageName) -{ - stageName_ = stageName; - setCoreParameter("StageName", stageName); -} - -long DescribeETLJobStageOutputSchemaRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeETLJobStageOutputSchemaRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeETLJobStageOutputSchemaRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeETLJobStageOutputSchemaRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeETLJobStageOutputSchemaRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void DescribeETLJobStageOutputSchemaRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string DescribeETLJobStageOutputSchemaRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeETLJobStageOutputSchemaRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeETLJobStageOutputSchemaResult.cc b/emr/src/model/DescribeETLJobStageOutputSchemaResult.cc deleted file mode 100644 index 972354b90..000000000 --- a/emr/src/model/DescribeETLJobStageOutputSchemaResult.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeETLJobStageOutputSchemaResult::DescribeETLJobStageOutputSchemaResult() : - ServiceResult() -{} - -DescribeETLJobStageOutputSchemaResult::DescribeETLJobStageOutputSchemaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeETLJobStageOutputSchemaResult::~DescribeETLJobStageOutputSchemaResult() -{} - -void DescribeETLJobStageOutputSchemaResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto schemaNode = value["Schema"]; - if(!schemaNode["Name"].isNull()) - schema_.name = schemaNode["Name"].asString(); - auto allFields = value["Fields"]["Field"]; - for (auto value : allFields) - { - Schema::Field fieldObject; - if(!value["Type"].isNull()) - fieldObject.type = value["Type"].asString(); - if(!value["Length"].isNull()) - fieldObject.length = value["Length"].asString(); - if(!value["Name"].isNull()) - fieldObject.name = value["Name"].asString(); - if(!value["Index"].isNull()) - fieldObject.index = std::stoi(value["Index"].asString()); - if(!value["RawType"].isNull()) - fieldObject.rawType = value["RawType"].asString(); - if(!value["AssignType"].isNull()) - fieldObject.assignType = value["AssignType"].asString(); - if(!value["AssignValue"].isNull()) - fieldObject.assignValue = value["AssignValue"].asString(); - if(!value["PartitionKey"].isNull()) - fieldObject.partitionKey = value["PartitionKey"].asString() == "true"; - schema_.fields.push_back(fieldObject); - } - -} - -DescribeETLJobStageOutputSchemaResult::Schema DescribeETLJobStageOutputSchemaResult::getSchema()const -{ - return schema_; -} - diff --git a/emr/src/model/DescribeEmrMainVersionRequest.cc b/emr/src/model/DescribeEmrMainVersionRequest.cc deleted file mode 100644 index 31ba3449d..000000000 --- a/emr/src/model/DescribeEmrMainVersionRequest.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeEmrMainVersionRequest; - -DescribeEmrMainVersionRequest::DescribeEmrMainVersionRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeEmrMainVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeEmrMainVersionRequest::~DescribeEmrMainVersionRequest() -{} - -long DescribeEmrMainVersionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeEmrMainVersionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeEmrMainVersionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeEmrMainVersionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeEmrMainVersionRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeEmrMainVersionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string DescribeEmrMainVersionRequest::getEmrVersion()const -{ - return emrVersion_; -} - -void DescribeEmrMainVersionRequest::setEmrVersion(const std::string& emrVersion) -{ - emrVersion_ = emrVersion; - setParameter("EmrVersion", emrVersion); -} - diff --git a/emr/src/model/DescribeEmrMainVersionResult.cc b/emr/src/model/DescribeEmrMainVersionResult.cc deleted file mode 100644 index 5187b1a82..000000000 --- a/emr/src/model/DescribeEmrMainVersionResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -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(); - auto allClusterTypeInfoListNode = emrMainVersionNode["ClusterTypeInfoList"]["ClusterTypeInfo"]; - for (auto emrMainVersionNodeClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode) - { - EmrMainVersion::ClusterTypeInfo clusterTypeInfoObject; - if(!emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull()) - clusterTypeInfoObject.clusterType = emrMainVersionNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].asString(); - auto allServiceInfoListNode = allClusterTypeInfoListNode["ServiceInfoList"]["ServiceInfo"]; - for (auto allClusterTypeInfoListNodeServiceInfoListServiceInfo : allServiceInfoListNode) - { - EmrMainVersion::ClusterTypeInfo::ServiceInfo serviceInfoListObject; - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceName"].isNull()) - serviceInfoListObject.serviceName = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceName"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayName"].isNull()) - serviceInfoListObject.serviceDisplayName = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayName"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceVersion"].isNull()) - serviceInfoListObject.serviceVersion = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceVersion"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayVersion"].isNull()) - serviceInfoListObject.serviceDisplayVersion = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayVersion"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["Mandatory"].isNull()) - serviceInfoListObject.mandatory = allClusterTypeInfoListNodeServiceInfoListServiceInfo["Mandatory"].asString() == "true"; - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["Display"].isNull()) - serviceInfoListObject.display = allClusterTypeInfoListNodeServiceInfoListServiceInfo["Display"].asString() == "true"; - clusterTypeInfoObject.serviceInfoList.push_back(serviceInfoListObject); - } - emrMainVersion_.clusterTypeInfoList.push_back(clusterTypeInfoObject); - } - 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 new file mode 100644 index 000000000..c3320b763 --- /dev/null +++ b/emr/src/model/DescribeFlowAgentTokenRequest.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::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/DescribeFlowAgentTokenResult.cc b/emr/src/model/DescribeFlowAgentTokenResult.cc new file mode 100644 index 000000000..c09fa1bd4 --- /dev/null +++ b/emr/src/model/DescribeFlowAgentTokenResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +DescribeFlowAgentTokenResult::DescribeFlowAgentTokenResult() : + ServiceResult() +{} + +DescribeFlowAgentTokenResult::DescribeFlowAgentTokenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeFlowAgentTokenResult::~DescribeFlowAgentTokenResult() +{} + +void DescribeFlowAgentTokenResult::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 DescribeFlowAgentTokenResult::getData()const +{ + return data_; +} + diff --git a/emr/src/model/DescribeFlowAgentUserRequest.cc b/emr/src/model/DescribeFlowAgentUserRequest.cc new file mode 100644 index 000000000..dd508faeb --- /dev/null +++ b/emr/src/model/DescribeFlowAgentUserRequest.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::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 new file mode 100644 index 000000000..dc215c25c --- /dev/null +++ b/emr/src/model/DescribeFlowAgentUserResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#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/DescribeFlowInstanceResult.cc b/emr/src/model/DescribeFlowInstanceResult.cc index 59d9a4b27..c4d7bb278 100644 --- a/emr/src/model/DescribeFlowInstanceResult.cc +++ b/emr/src/model/DescribeFlowInstanceResult.cc @@ -129,6 +129,12 @@ void DescribeFlowInstanceResult::parse(const std::string &payload) status_ = value["Status"].asString(); if(!value["ClusterId"].isNull()) clusterId_ = value["ClusterId"].asString(); + if(!value["Namespace"].isNull()) + _namespace_ = value["Namespace"].asString(); + if(!value["LogArchiveLocation"].isNull()) + logArchiveLocation_ = value["LogArchiveLocation"].asString(); + if(!value["Lifecycle"].isNull()) + lifecycle_ = value["Lifecycle"].asString(); if(!value["StartTime"].isNull()) startTime_ = std::stol(value["StartTime"].asString()); if(!value["EndTime"].isNull()) @@ -166,6 +172,11 @@ std::string DescribeFlowInstanceResult::getClusterId()const return clusterId_; } +std::string DescribeFlowInstanceResult::getLifecycle()const +{ + return lifecycle_; +} + long DescribeFlowInstanceResult::getGmtModified()const { return gmtModified_; @@ -181,6 +192,11 @@ long DescribeFlowInstanceResult::getStartTime()const return startTime_; } +std::string DescribeFlowInstanceResult::get_Namespace()const +{ + return _namespace_; +} + long DescribeFlowInstanceResult::getDuration()const { return duration_; @@ -216,6 +232,11 @@ std::string DescribeFlowInstanceResult::getId()const return id_; } +std::string DescribeFlowInstanceResult::getLogArchiveLocation()const +{ + return logArchiveLocation_; +} + std::string DescribeFlowInstanceResult::getCronExpression()const { return cronExpression_; diff --git a/emr/src/model/DescribeFlowJobResult.cc b/emr/src/model/DescribeFlowJobResult.cc index 1f3040a1a..b594cb65b 100644 --- a/emr/src/model/DescribeFlowJobResult.cc +++ b/emr/src/model/DescribeFlowJobResult.cc @@ -67,6 +67,8 @@ void DescribeFlowJobResult::parse(const std::string &payload) maxRetry_ = std::stoi(value["MaxRetry"].asString()); if(!value["RetryInterval"].isNull()) retryInterval_ = std::stol(value["RetryInterval"].asString()); + if(!value["RetryPolicy"].isNull()) + retryPolicy_ = value["RetryPolicy"].asString(); if(!value["Params"].isNull()) params_ = value["Params"].asString(); if(!value["ParamConf"].isNull()) @@ -201,6 +203,11 @@ std::string DescribeFlowJobResult::getRunConf()const return runConf_; } +std::string DescribeFlowJobResult::getRetryPolicy()const +{ + return retryPolicy_; +} + std::string DescribeFlowJobResult::getCustomVariables()const { return customVariables_; diff --git a/emr/src/model/DescribeFlowJobStatisticRequest.cc b/emr/src/model/DescribeFlowJobStatisticRequest.cc deleted file mode 100644 index 45e70bcaf..000000000 --- a/emr/src/model/DescribeFlowJobStatisticRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeFlowJobStatisticRequest; - -DescribeFlowJobStatisticRequest::DescribeFlowJobStatisticRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeFlowJobStatistic") -{} - -DescribeFlowJobStatisticRequest::~DescribeFlowJobStatisticRequest() -{} - -std::string DescribeFlowJobStatisticRequest::getFromApp()const -{ - return fromApp_; -} - -void DescribeFlowJobStatisticRequest::setFromApp(const std::string& fromApp) -{ - fromApp_ = fromApp; - setCoreParameter("FromApp", fromApp); -} - -std::string DescribeFlowJobStatisticRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeFlowJobStatisticRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeFlowJobStatisticRequest::getProjectId()const -{ - return projectId_; -} - -void DescribeFlowJobStatisticRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - diff --git a/emr/src/model/DescribeFlowJobStatisticResult.cc b/emr/src/model/DescribeFlowJobStatisticResult.cc deleted file mode 100644 index 7076c5e7d..000000000 --- a/emr/src/model/DescribeFlowJobStatisticResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeFlowJobStatisticResult::DescribeFlowJobStatisticResult() : - ServiceResult() -{} - -DescribeFlowJobStatisticResult::DescribeFlowJobStatisticResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeFlowJobStatisticResult::~DescribeFlowJobStatisticResult() -{} - -void DescribeFlowJobStatisticResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["StatisticInfo"].isNull()) - statisticInfo_ = value["StatisticInfo"].asString(); - -} - -std::string DescribeFlowJobStatisticResult::getStatisticInfo()const -{ - return statisticInfo_; -} - diff --git a/emr/src/model/DescribeFlowNodeInstanceResult.cc b/emr/src/model/DescribeFlowNodeInstanceResult.cc index b8da2f53c..303963ec2 100644 --- a/emr/src/model/DescribeFlowNodeInstanceResult.cc +++ b/emr/src/model/DescribeFlowNodeInstanceResult.cc @@ -63,6 +63,8 @@ void DescribeFlowNodeInstanceResult::parse(const std::string &payload) maxRetry_ = value["MaxRetry"].asString(); if(!value["RetryInterval"].isNull()) retryInterval_ = value["RetryInterval"].asString(); + if(!value["RetryPolicy"].isNull()) + retryPolicy_ = value["RetryPolicy"].asString(); if(!value["NodeName"].isNull()) nodeName_ = value["NodeName"].asString(); if(!value["FlowId"].isNull()) @@ -282,6 +284,11 @@ std::string DescribeFlowNodeInstanceResult::getRunConf()const return runConf_; } +std::string DescribeFlowNodeInstanceResult::getRetryPolicy()const +{ + return retryPolicy_; +} + bool DescribeFlowNodeInstanceResult::getPending()const { return pending_; diff --git a/emr/src/model/DescribeFlowProjectClusterSettingResult.cc b/emr/src/model/DescribeFlowProjectClusterSettingResult.cc index ab8926cc7..a5b9f90e2 100644 --- a/emr/src/model/DescribeFlowProjectClusterSettingResult.cc +++ b/emr/src/model/DescribeFlowProjectClusterSettingResult.cc @@ -56,6 +56,8 @@ void DescribeFlowProjectClusterSettingResult::parse(const std::string &payload) projectId_ = value["ProjectId"].asString(); if(!value["ClusterId"].isNull()) clusterId_ = value["ClusterId"].asString(); + if(!value["K8sClusterId"].isNull()) + k8sClusterId_ = value["K8sClusterId"].asString(); if(!value["DefaultUser"].isNull()) defaultUser_ = value["DefaultUser"].asString(); if(!value["DefaultQueue"].isNull()) @@ -103,6 +105,11 @@ std::vector DescribeFlowProjectClusterSettingResult::getUserList()c return userList_; } +std::string DescribeFlowProjectClusterSettingResult::getK8sClusterId()const +{ + return k8sClusterId_; +} + std::vector DescribeFlowProjectClusterSettingResult::getQueueList()const { return queueList_; diff --git a/emr/src/model/DescribeFlowResult.cc b/emr/src/model/DescribeFlowResult.cc index 2cc7b3201..5940f89b7 100644 --- a/emr/src/model/DescribeFlowResult.cc +++ b/emr/src/model/DescribeFlowResult.cc @@ -81,6 +81,12 @@ void DescribeFlowResult::parse(const std::string &payload) clusterId_ = value["ClusterId"].asString(); if(!value["HostName"].isNull()) hostName_ = value["HostName"].asString(); + if(!value["Namespace"].isNull()) + _namespace_ = value["Namespace"].asString(); + if(!value["LogArchiveLocation"].isNull()) + logArchiveLocation_ = value["LogArchiveLocation"].asString(); + if(!value["Lifecycle"].isNull()) + lifecycle_ = value["Lifecycle"].asString(); if(!value["Graph"].isNull()) graph_ = value["Graph"].asString(); if(!value["CategoryId"].isNull()) @@ -98,16 +104,6 @@ void DescribeFlowResult::parse(const std::string &payload) } -std::string DescribeFlowResult::getStatus()const -{ - return status_; -} - -long DescribeFlowResult::getStartSchedule()const -{ - return startSchedule_; -} - std::string DescribeFlowResult::getCategoryId()const { return categoryId_; @@ -118,11 +114,6 @@ std::string DescribeFlowResult::getDescription()const return description_; } -std::string DescribeFlowResult::getClusterId()const -{ - return clusterId_; -} - long DescribeFlowResult::getGmtModified()const { return gmtModified_; @@ -138,11 +129,6 @@ std::string DescribeFlowResult::getCronExpr()const return cronExpr_; } -std::string DescribeFlowResult::getEditLockDetail()const -{ - return editLockDetail_; -} - std::string DescribeFlowResult::getName()const { return name_; @@ -158,6 +144,51 @@ std::string DescribeFlowResult::getAlertUserGroupBizId()const return alertUserGroupBizId_; } +std::string DescribeFlowResult::getLogArchiveLocation()const +{ + return logArchiveLocation_; +} + +long DescribeFlowResult::getEndSchedule()const +{ + return endSchedule_; +} + +std::string DescribeFlowResult::getHostName()const +{ + return hostName_; +} + +std::string DescribeFlowResult::getStatus()const +{ + return status_; +} + +long DescribeFlowResult::getStartSchedule()const +{ + return startSchedule_; +} + +std::string DescribeFlowResult::getClusterId()const +{ + return clusterId_; +} + +std::string DescribeFlowResult::getLifecycle()const +{ + return lifecycle_; +} + +std::string DescribeFlowResult::get_Namespace()const +{ + return _namespace_; +} + +std::string DescribeFlowResult::getEditLockDetail()const +{ + return editLockDetail_; +} + long DescribeFlowResult::getGmtCreate()const { return gmtCreate_; @@ -178,21 +209,11 @@ std::string DescribeFlowResult::getId()const return id_; } -long DescribeFlowResult::getEndSchedule()const -{ - return endSchedule_; -} - std::string DescribeFlowResult::getApplication()const { return application_; } -std::string DescribeFlowResult::getHostName()const -{ - return hostName_; -} - std::vector DescribeFlowResult::getParentFlowList()const { return parentFlowList_; diff --git a/emr/src/model/DescribeFlowVariableCollectionRequest.cc b/emr/src/model/DescribeFlowVariableCollectionRequest.cc deleted file mode 100644 index 2157fc1ef..000000000 --- a/emr/src/model/DescribeFlowVariableCollectionRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeFlowVariableCollectionRequest; - -DescribeFlowVariableCollectionRequest::DescribeFlowVariableCollectionRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeFlowVariableCollection") -{} - -DescribeFlowVariableCollectionRequest::~DescribeFlowVariableCollectionRequest() -{} - -std::string DescribeFlowVariableCollectionRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeFlowVariableCollectionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeFlowVariableCollectionRequest::getEntityId()const -{ - return entityId_; -} - -void DescribeFlowVariableCollectionRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", entityId); -} - diff --git a/emr/src/model/DescribeFlowVariableCollectionResult.cc b/emr/src/model/DescribeFlowVariableCollectionResult.cc deleted file mode 100644 index 6bfe018d0..000000000 --- a/emr/src/model/DescribeFlowVariableCollectionResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeFlowVariableCollectionResult::DescribeFlowVariableCollectionResult() : - ServiceResult() -{} - -DescribeFlowVariableCollectionResult::DescribeFlowVariableCollectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeFlowVariableCollectionResult::~DescribeFlowVariableCollectionResult() -{} - -void DescribeFlowVariableCollectionResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Result"].isNull()) - result_ = value["Result"].asString(); - -} - -std::string DescribeFlowVariableCollectionResult::getResult()const -{ - return result_; -} - diff --git a/emr/src/model/DescribeHostPoolRequest.cc b/emr/src/model/DescribeHostPoolRequest.cc deleted file mode 100644 index 68f0630d9..000000000 --- a/emr/src/model/DescribeHostPoolRequest.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 - -using AlibabaCloud::Emr::Model::DescribeHostPoolRequest; - -DescribeHostPoolRequest::DescribeHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeHostPool") -{} - -DescribeHostPoolRequest::~DescribeHostPoolRequest() -{} - -long DescribeHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeHostPoolRequest::getBizId()const -{ - return bizId_; -} - -void DescribeHostPoolRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string DescribeHostPoolRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeHostPoolRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeHostPoolResult.cc b/emr/src/model/DescribeHostPoolResult.cc deleted file mode 100644 index d7afac040..000000000 --- a/emr/src/model/DescribeHostPoolResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeHostPoolResult::DescribeHostPoolResult() : - ServiceResult() -{} - -DescribeHostPoolResult::DescribeHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeHostPoolResult::~DescribeHostPoolResult() -{} - -void DescribeHostPoolResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["HostCount"].isNull()) - hostCount_ = std::stoi(value["HostCount"].asString()); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = std::stol(value["GmtCreate"].asString()); - -} - -std::string DescribeHostPoolResult::getStatus()const -{ - return status_; -} - -std::string DescribeHostPoolResult::getType()const -{ - return type_; -} - -long DescribeHostPoolResult::getGmtCreate()const -{ - return gmtCreate_; -} - -std::string DescribeHostPoolResult::getDescription()const -{ - return description_; -} - -int DescribeHostPoolResult::getHostCount()const -{ - return hostCount_; -} - -std::string DescribeHostPoolResult::getBizId()const -{ - return bizId_; -} - -std::string DescribeHostPoolResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/DescribeHpHostRequest.cc b/emr/src/model/DescribeHpHostRequest.cc deleted file mode 100644 index 826dda055..000000000 --- a/emr/src/model/DescribeHpHostRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeHpHostRequest; - -DescribeHpHostRequest::DescribeHpHostRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeHpHost") -{} - -DescribeHpHostRequest::~DescribeHpHostRequest() -{} - -long DescribeHpHostRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeHpHostRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeHpHostRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeHpHostRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeHpHostRequest::getHpHostBizId()const -{ - return hpHostBizId_; -} - -void DescribeHpHostRequest::setHpHostBizId(const std::string& hpHostBizId) -{ - hpHostBizId_ = hpHostBizId; - setCoreParameter("HpHostBizId", hpHostBizId); -} - -std::string DescribeHpHostRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeHpHostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/DescribeHpHostResult.cc b/emr/src/model/DescribeHpHostResult.cc deleted file mode 100644 index 93f257223..000000000 --- a/emr/src/model/DescribeHpHostResult.cc +++ /dev/null @@ -1,153 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeHpHostResult::DescribeHpHostResult() : - ServiceResult() -{} - -DescribeHpHostResult::DescribeHpHostResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeHpHostResult::~DescribeHpHostResult() -{} - -void DescribeHpHostResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDiskListNode = value["DiskList"]["Disk"]; - for (auto valueDiskListDisk : allDiskListNode) - { - Disk diskListObject; - if(!valueDiskListDisk["DiskDevice"].isNull()) - diskListObject.diskDevice = valueDiskListDisk["DiskDevice"].asString(); - if(!valueDiskListDisk["DiskSize"].isNull()) - diskListObject.diskSize = std::stoi(valueDiskListDisk["DiskSize"].asString()); - if(!valueDiskListDisk["MountPath"].isNull()) - diskListObject.mountPath = valueDiskListDisk["MountPath"].asString(); - diskList_.push_back(diskListObject); - } - auto allInstalledComponents = value["InstalledComponents"]["InstalledComponent"]; - for (const auto &item : allInstalledComponents) - installedComponents_.push_back(item.asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - if(!value["HostName"].isNull()) - hostName_ = value["HostName"].asString(); - if(!value["InnerIp"].isNull()) - innerIp_ = value["InnerIp"].asString(); - if(!value["Role"].isNull()) - role_ = value["Role"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["CpuCore"].isNull()) - cpuCore_ = std::stoi(value["CpuCore"].asString()); - if(!value["MemSize"].isNull()) - memSize_ = std::stoi(value["MemSize"].asString()); - if(!value["VpcId"].isNull()) - vpcId_ = value["VpcId"].asString(); - if(!value["VswitchId"].isNull()) - vswitchId_ = value["VswitchId"].asString(); - if(!value["SecurityGroupId"].isNull()) - securityGroupId_ = value["SecurityGroupId"].asString(); - if(!value["ExternalIp"].isNull()) - externalIp_ = value["ExternalIp"].asString(); - if(!value["ExternalKey"].isNull()) - externalKey_ = value["ExternalKey"].asString(); - -} - -std::string DescribeHpHostResult::getStatus()const -{ - return status_; -} - -std::string DescribeHpHostResult::getInnerIp()const -{ - return innerIp_; -} - -std::string DescribeHpHostResult::getSecurityGroupId()const -{ - return securityGroupId_; -} - -std::vector DescribeHpHostResult::getInstalledComponents()const -{ - return installedComponents_; -} - -std::string DescribeHpHostResult::getVswitchId()const -{ - return vswitchId_; -} - -std::string DescribeHpHostResult::getRole()const -{ - return role_; -} - -std::string DescribeHpHostResult::getExternalIp()const -{ - return externalIp_; -} - -std::string DescribeHpHostResult::getVpcId()const -{ - return vpcId_; -} - -int DescribeHpHostResult::getCpuCore()const -{ - return cpuCore_; -} - -int DescribeHpHostResult::getMemSize()const -{ - return memSize_; -} - -std::vector DescribeHpHostResult::getDiskList()const -{ - return diskList_; -} - -std::string DescribeHpHostResult::getExternalKey()const -{ - return externalKey_; -} - -std::string DescribeHpHostResult::getBizId()const -{ - return bizId_; -} - -std::string DescribeHpHostResult::getHostName()const -{ - return hostName_; -} - diff --git a/emr/src/model/DescribeJobRequest.cc b/emr/src/model/DescribeJobRequest.cc index d984e3750..50c4da691 100644 --- a/emr/src/model/DescribeJobRequest.cc +++ b/emr/src/model/DescribeJobRequest.cc @@ -49,6 +49,17 @@ void DescribeJobRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string DescribeJobRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeJobRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeJobRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DescribeKafkaBrokerRequest.cc b/emr/src/model/DescribeKafkaBrokerRequest.cc deleted file mode 100644 index 062d67105..000000000 --- a/emr/src/model/DescribeKafkaBrokerRequest.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 - -using AlibabaCloud::Emr::Model::DescribeKafkaBrokerRequest; - -DescribeKafkaBrokerRequest::DescribeKafkaBrokerRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeKafkaBroker") -{} - -DescribeKafkaBrokerRequest::~DescribeKafkaBrokerRequest() -{} - -long DescribeKafkaBrokerRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeKafkaBrokerRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeKafkaBrokerRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeKafkaBrokerRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeKafkaBrokerRequest::getHostId()const -{ - return hostId_; -} - -void DescribeKafkaBrokerRequest::setHostId(const std::string& hostId) -{ - hostId_ = hostId; - setCoreParameter("HostId", hostId); -} - -std::string DescribeKafkaBrokerRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeKafkaBrokerRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeKafkaBrokerRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeKafkaBrokerRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeKafkaBrokerResult.cc b/emr/src/model/DescribeKafkaBrokerResult.cc deleted file mode 100644 index 25790f597..000000000 --- a/emr/src/model/DescribeKafkaBrokerResult.cc +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeKafkaBrokerResult::DescribeKafkaBrokerResult() : - ServiceResult() -{} - -DescribeKafkaBrokerResult::DescribeKafkaBrokerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeKafkaBrokerResult::~DescribeKafkaBrokerResult() -{} - -void DescribeKafkaBrokerResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTopicList = value["TopicList"]["Topic"]; - for (auto value : allTopicList) - { - Topic topicListObject; - if(!value["TopicId"].isNull()) - topicListObject.topicId = value["TopicId"].asString(); - if(!value["TopicName"].isNull()) - topicListObject.topicName = value["TopicName"].asString(); - if(!value["NumPartitions"].isNull()) - topicListObject.numPartitions = std::stoi(value["NumPartitions"].asString()); - if(!value["ReplicationFactor"].isNull()) - topicListObject.replicationFactor = std::stoi(value["ReplicationFactor"].asString()); - if(!value["BrokerNumPartitions"].isNull()) - topicListObject.brokerNumPartitions = std::stoi(value["BrokerNumPartitions"].asString()); - if(!value["LeaderCount"].isNull()) - topicListObject.leaderCount = std::stoi(value["LeaderCount"].asString()); - auto allPartitionList = value["partitionList"]["Partition"]; - for (auto value : allPartitionList) - topicListObject.partitionList.push_back(value.asString()); - topicList_.push_back(topicListObject); - } - if(!value["BrokerId"].isNull()) - brokerId_ = std::stoi(value["BrokerId"].asString()); - if(!value["HostId"].isNull()) - hostId_ = value["HostId"].asString(); - if(!value["HostName"].isNull()) - hostName_ = value["HostName"].asString(); - if(!value["HostIp"].isNull()) - hostIp_ = value["HostIp"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["PartitionCount"].isNull()) - partitionCount_ = std::stoi(value["PartitionCount"].asString()); - if(!value["LeaderCount"].isNull()) - leaderCount_ = std::stoi(value["LeaderCount"].asString()); - if(!value["TopicCount"].isNull()) - topicCount_ = std::stoi(value["TopicCount"].asString()); - if(!value["DiskUnbalanceRate"].isNull()) - diskUnbalanceRate_ = value["DiskUnbalanceRate"].asString(); - if(!value["DiskUsageMean"].isNull()) - diskUsageMean_ = value["DiskUsageMean"].asString(); - if(!value["DiskUsageMax"].isNull()) - diskUsageMax_ = value["DiskUsageMax"].asString(); - if(!value["DiskCapacity"].isNull()) - diskCapacity_ = std::stoi(value["DiskCapacity"].asString()); - if(!value["Traffic"].isNull()) - traffic_ = value["Traffic"].asString(); - -} - -std::string DescribeKafkaBrokerResult::getHostIp()const -{ - return hostIp_; -} - -std::string DescribeKafkaBrokerResult::getStatus()const -{ - return status_; -} - -int DescribeKafkaBrokerResult::getLeaderCount()const -{ - return leaderCount_; -} - -int DescribeKafkaBrokerResult::getBrokerId()const -{ - return brokerId_; -} - -std::string DescribeKafkaBrokerResult::getDiskUsageMean()const -{ - return diskUsageMean_; -} - -std::string DescribeKafkaBrokerResult::getDiskUsageMax()const -{ - return diskUsageMax_; -} - -std::string DescribeKafkaBrokerResult::getTraffic()const -{ - return traffic_; -} - -int DescribeKafkaBrokerResult::getTopicCount()const -{ - return topicCount_; -} - -std::string DescribeKafkaBrokerResult::getHostId()const -{ - return hostId_; -} - -int DescribeKafkaBrokerResult::getDiskCapacity()const -{ - return diskCapacity_; -} - -std::string DescribeKafkaBrokerResult::getDiskUnbalanceRate()const -{ - return diskUnbalanceRate_; -} - -std::vector DescribeKafkaBrokerResult::getTopicList()const -{ - return topicList_; -} - -std::string DescribeKafkaBrokerResult::getHostName()const -{ - return hostName_; -} - -int DescribeKafkaBrokerResult::getPartitionCount()const -{ - return partitionCount_; -} - diff --git a/emr/src/model/DescribeKafkaReassignRequest.cc b/emr/src/model/DescribeKafkaReassignRequest.cc deleted file mode 100644 index 23385c9bc..000000000 --- a/emr/src/model/DescribeKafkaReassignRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeKafkaReassignRequest; - -DescribeKafkaReassignRequest::DescribeKafkaReassignRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeKafkaReassign") -{} - -DescribeKafkaReassignRequest::~DescribeKafkaReassignRequest() -{} - -long DescribeKafkaReassignRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeKafkaReassignRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeKafkaReassignRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeKafkaReassignRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeKafkaReassignRequest::getReassignId()const -{ - return reassignId_; -} - -void DescribeKafkaReassignRequest::setReassignId(const std::string& reassignId) -{ - reassignId_ = reassignId; - setCoreParameter("ReassignId", reassignId); -} - -std::string DescribeKafkaReassignRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeKafkaReassignRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeKafkaReassignResult.cc b/emr/src/model/DescribeKafkaReassignResult.cc deleted file mode 100644 index 28cdee838..000000000 --- a/emr/src/model/DescribeKafkaReassignResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeKafkaReassignResult::DescribeKafkaReassignResult() : - ServiceResult() -{} - -DescribeKafkaReassignResult::DescribeKafkaReassignResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeKafkaReassignResult::~DescribeKafkaReassignResult() -{} - -void DescribeKafkaReassignResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["AssignProcess"].isNull()) - assignProcess_ = std::stoi(value["AssignProcess"].asString()); - if(!value["StartTime"].isNull()) - startTime_ = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - endTime_ = std::stol(value["EndTime"].asString()); - if(!value["TopicCount"].isNull()) - topicCount_ = std::stoi(value["TopicCount"].asString()); - if(!value["PartitionCount"].isNull()) - partitionCount_ = std::stoi(value["PartitionCount"].asString()); - if(!value["Throttle"].isNull()) - throttle_ = std::stol(value["Throttle"].asString()); - -} - -std::string DescribeKafkaReassignResult::getStatus()const -{ - return status_; -} - -long DescribeKafkaReassignResult::getEndTime()const -{ - return endTime_; -} - -long DescribeKafkaReassignResult::getStartTime()const -{ - return startTime_; -} - -std::string DescribeKafkaReassignResult::getId()const -{ - return id_; -} - -int DescribeKafkaReassignResult::getTopicCount()const -{ - return topicCount_; -} - -int DescribeKafkaReassignResult::getAssignProcess()const -{ - return assignProcess_; -} - -int DescribeKafkaReassignResult::getPartitionCount()const -{ - return partitionCount_; -} - -long DescribeKafkaReassignResult::getThrottle()const -{ - return throttle_; -} - diff --git a/emr/src/model/DescribeLibraryDetailRequest.cc b/emr/src/model/DescribeLibraryDetailRequest.cc new file mode 100644 index 000000000..c18ae8efb --- /dev/null +++ b/emr/src/model/DescribeLibraryDetailRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::DescribeLibraryDetailRequest; + +DescribeLibraryDetailRequest::DescribeLibraryDetailRequest() : + RpcServiceRequest("emr", "2016-04-08", "DescribeLibraryDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLibraryDetailRequest::~DescribeLibraryDetailRequest() +{} + +long DescribeLibraryDetailRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeLibraryDetailRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeLibraryDetailRequest::getLibraryBizId()const +{ + return libraryBizId_; +} + +void DescribeLibraryDetailRequest::setLibraryBizId(const std::string& libraryBizId) +{ + libraryBizId_ = libraryBizId; + setParameter("LibraryBizId", libraryBizId); +} + +std::string DescribeLibraryDetailRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLibraryDetailRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLibraryDetailRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLibraryDetailRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/emr/src/model/DescribeLibraryDetailResult.cc b/emr/src/model/DescribeLibraryDetailResult.cc new file mode 100644 index 000000000..d8604142c --- /dev/null +++ b/emr/src/model/DescribeLibraryDetailResult.cc @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +DescribeLibraryDetailResult::DescribeLibraryDetailResult() : + ServiceResult() +{} + +DescribeLibraryDetailResult::DescribeLibraryDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLibraryDetailResult::~DescribeLibraryDetailResult() +{} + +void DescribeLibraryDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["BizId"].isNull()) + bizId_ = value["BizId"].asString(); + if(!value["CreateTime"].isNull()) + createTime_ = std::stol(value["CreateTime"].asString()); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["LibraryVersion"].isNull()) + libraryVersion_ = value["LibraryVersion"].asString(); + if(!value["SourceType"].isNull()) + sourceType_ = value["SourceType"].asString(); + if(!value["SourceLocation"].isNull()) + sourceLocation_ = value["SourceLocation"].asString(); + if(!value["Scope"].isNull()) + scope_ = value["Scope"].asString(); + if(!value["Properties"].isNull()) + properties_ = value["Properties"].asString(); + if(!value["UserId"].isNull()) + userId_ = value["UserId"].asString(); + +} + +std::string DescribeLibraryDetailResult::getSourceLocation()const +{ + return sourceLocation_; +} + +std::string DescribeLibraryDetailResult::getType()const +{ + return type_; +} + +std::string DescribeLibraryDetailResult::getScope()const +{ + return scope_; +} + +std::string DescribeLibraryDetailResult::getUserId()const +{ + return userId_; +} + +long DescribeLibraryDetailResult::getCreateTime()const +{ + return createTime_; +} + +std::string DescribeLibraryDetailResult::getSourceType()const +{ + return sourceType_; +} + +std::string DescribeLibraryDetailResult::getLibraryVersion()const +{ + return libraryVersion_; +} + +std::string DescribeLibraryDetailResult::getProperties()const +{ + return properties_; +} + +std::string DescribeLibraryDetailResult::getBizId()const +{ + return bizId_; +} + +std::string DescribeLibraryDetailResult::getName()const +{ + return name_; +} + diff --git a/emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc b/emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc new file mode 100644 index 000000000..69ae09955 --- /dev/null +++ b/emr/src/model/DescribeLibraryInstallTaskDetailRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::DescribeLibraryInstallTaskDetailRequest; + +DescribeLibraryInstallTaskDetailRequest::DescribeLibraryInstallTaskDetailRequest() : + RpcServiceRequest("emr", "2016-04-08", "DescribeLibraryInstallTaskDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLibraryInstallTaskDetailRequest::~DescribeLibraryInstallTaskDetailRequest() +{} + +long DescribeLibraryInstallTaskDetailRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeLibraryInstallTaskDetailRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeLibraryInstallTaskDetailRequest::getTaskBizId()const +{ + return taskBizId_; +} + +void DescribeLibraryInstallTaskDetailRequest::setTaskBizId(const std::string& taskBizId) +{ + taskBizId_ = taskBizId; + setParameter("TaskBizId", taskBizId); +} + +std::string DescribeLibraryInstallTaskDetailRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLibraryInstallTaskDetailRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeLibraryInstallTaskDetailRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeLibraryInstallTaskDetailRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/emr/src/model/DescribeLibraryInstallTaskDetailResult.cc b/emr/src/model/DescribeLibraryInstallTaskDetailResult.cc new file mode 100644 index 000000000..2a1acd495 --- /dev/null +++ b/emr/src/model/DescribeLibraryInstallTaskDetailResult.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 +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +DescribeLibraryInstallTaskDetailResult::DescribeLibraryInstallTaskDetailResult() : + ServiceResult() +{} + +DescribeLibraryInstallTaskDetailResult::DescribeLibraryInstallTaskDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLibraryInstallTaskDetailResult::~DescribeLibraryInstallTaskDetailResult() +{} + +void DescribeLibraryInstallTaskDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["LibraryBizId"].isNull()) + libraryBizId_ = value["LibraryBizId"].asString(); + if(!value["TaskGroupId"].isNull()) + taskGroupId_ = value["TaskGroupId"].asString(); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + if(!value["TaskStatus"].isNull()) + taskStatus_ = value["TaskStatus"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = std::stol(value["StartTime"].asString()); + if(!value["EndTime"].isNull()) + endTime_ = std::stol(value["EndTime"].asString()); + if(!value["ExecuteTime"].isNull()) + executeTime_ = std::stol(value["ExecuteTime"].asString()); + if(!value["TaskProcess"].isNull()) + taskProcess_ = std::stoi(value["TaskProcess"].asString()); + if(!value["TaskType"].isNull()) + taskType_ = value["TaskType"].asString(); + if(!value["Detail"].isNull()) + detail_ = value["Detail"].asString(); + if(!value["ClusterBizId"].isNull()) + clusterBizId_ = value["ClusterBizId"].asString(); + if(!value["Hostname"].isNull()) + hostname_ = value["Hostname"].asString(); + +} + +std::string DescribeLibraryInstallTaskDetailResult::getTaskId()const +{ + return taskId_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getLibraryBizId()const +{ + return libraryBizId_; +} + +long DescribeLibraryInstallTaskDetailResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getTaskGroupId()const +{ + return taskGroupId_; +} + +long DescribeLibraryInstallTaskDetailResult::getExecuteTime()const +{ + return executeTime_; +} + +int DescribeLibraryInstallTaskDetailResult::getTaskProcess()const +{ + return taskProcess_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getClusterBizId()const +{ + return clusterBizId_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getTaskType()const +{ + return taskType_; +} + +long DescribeLibraryInstallTaskDetailResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getHostname()const +{ + return hostname_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getTaskStatus()const +{ + return taskStatus_; +} + +std::string DescribeLibraryInstallTaskDetailResult::getDetail()const +{ + return detail_; +} + diff --git a/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc b/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc index a9e43808e..6e7c9a6c5 100644 --- a/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc +++ b/emr/src/model/DescribeMetaTablePreviewTaskRequest.cc @@ -49,6 +49,17 @@ void DescribeMetaTablePreviewTaskRequest::setAccessKeyId(const std::string& acce setParameter("AccessKeyId", accessKeyId); } +std::string DescribeMetaTablePreviewTaskRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeMetaTablePreviewTaskRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeMetaTablePreviewTaskRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DescribeNoteRequest.cc b/emr/src/model/DescribeNoteRequest.cc deleted file mode 100644 index a62d863e4..000000000 --- a/emr/src/model/DescribeNoteRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeNoteRequest; - -DescribeNoteRequest::DescribeNoteRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeNote") -{} - -DescribeNoteRequest::~DescribeNoteRequest() -{} - -long DescribeNoteRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeNoteRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeNoteRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeNoteRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeNoteRequest::getId()const -{ - return id_; -} - -void DescribeNoteRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DescribeNoteRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeNoteRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeNoteResult.cc b/emr/src/model/DescribeNoteResult.cc deleted file mode 100644 index 9e040f2c6..000000000 --- a/emr/src/model/DescribeNoteResult.cc +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeNoteResult::DescribeNoteResult() : - ServiceResult() -{} - -DescribeNoteResult::DescribeNoteResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeNoteResult::~DescribeNoteResult() -{} - -void DescribeNoteResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["Paragraphs"].isNull()) - paragraphs_ = value["Paragraphs"].asString(); - -} - -std::string DescribeNoteResult::getType()const -{ - return type_; -} - -std::string DescribeNoteResult::getClusterId()const -{ - return clusterId_; -} - -std::string DescribeNoteResult::getId()const -{ - return id_; -} - -std::string DescribeNoteResult::getParagraphs()const -{ - return paragraphs_; -} - -std::string DescribeNoteResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/DescribeParagraphRequest.cc b/emr/src/model/DescribeParagraphRequest.cc deleted file mode 100644 index d358103f4..000000000 --- a/emr/src/model/DescribeParagraphRequest.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 - -using AlibabaCloud::Emr::Model::DescribeParagraphRequest; - -DescribeParagraphRequest::DescribeParagraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeParagraph") -{} - -DescribeParagraphRequest::~DescribeParagraphRequest() -{} - -long DescribeParagraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeParagraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeParagraphRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeParagraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeParagraphRequest::getNoteId()const -{ - return noteId_; -} - -void DescribeParagraphRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setCoreParameter("NoteId", noteId); -} - -std::string DescribeParagraphRequest::getId()const -{ - return id_; -} - -void DescribeParagraphRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DescribeParagraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeParagraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeParagraphResult.cc b/emr/src/model/DescribeParagraphResult.cc deleted file mode 100644 index 6df3a9e79..000000000 --- a/emr/src/model/DescribeParagraphResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeParagraphResult::DescribeParagraphResult() : - ServiceResult() -{} - -DescribeParagraphResult::DescribeParagraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeParagraphResult::~DescribeParagraphResult() -{} - -void DescribeParagraphResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Paragraph"].isNull()) - paragraph_ = value["Paragraph"].asString(); - -} - -std::string DescribeParagraphResult::getParagraph()const -{ - return paragraph_; -} - diff --git a/emr/src/model/DescribeScalingCommonConfigRequest.cc b/emr/src/model/DescribeScalingCommonConfigRequest.cc index 5d93c565b..187817c84 100644 --- a/emr/src/model/DescribeScalingCommonConfigRequest.cc +++ b/emr/src/model/DescribeScalingCommonConfigRequest.cc @@ -49,6 +49,17 @@ void DescribeScalingCommonConfigRequest::setAccessKeyId(const std::string& acces setParameter("AccessKeyId", accessKeyId); } +std::string DescribeScalingCommonConfigRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeScalingCommonConfigRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeScalingCommonConfigRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DescribeScalingCommonConfigResult.cc b/emr/src/model/DescribeScalingCommonConfigResult.cc index 182128f75..a370e57fb 100644 --- a/emr/src/model/DescribeScalingCommonConfigResult.cc +++ b/emr/src/model/DescribeScalingCommonConfigResult.cc @@ -39,13 +39,76 @@ void DescribeScalingCommonConfigResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["AutoScalingHookHeartbeatDefaultTime"].isNull()) + autoScalingHookHeartbeatDefaultTime_ = std::stoi(value["AutoScalingHookHeartbeatDefaultTime"].asString()); + if(!value["AutoScalingCoolDownTime"].isNull()) + autoScalingCoolDownTime_ = std::stoi(value["AutoScalingCoolDownTime"].asString()); + if(!value["AutoScalingMNSScalingThreadSleepTime"].isNull()) + autoScalingMNSScalingThreadSleepTime_ = std::stol(value["AutoScalingMNSScalingThreadSleepTime"].asString()); + if(!value["AutoScalingGroupMinSizeLimit"].isNull()) + autoScalingGroupMinSizeLimit_ = std::stoi(value["AutoScalingGroupMinSizeLimit"].asString()); + if(!value["AutoScalingGroupMaxSizeLimit"].isNull()) + autoScalingGroupMaxSizeLimit_ = std::stoi(value["AutoScalingGroupMaxSizeLimit"].asString()); if(!value["AutoScalingRuleMinDelayLimit"].isNull()) autoScalingRuleMinDelayLimit_ = std::stoi(value["AutoScalingRuleMinDelayLimit"].asString()); + if(!value["AutoScalingRuleAlarmDelayLimit"].isNull()) + autoScalingRuleAlarmDelayLimit_ = std::stoi(value["AutoScalingRuleAlarmDelayLimit"].asString()); + if(!value["AutoScalingRuleAlarmSilentTime"].isNull()) + autoScalingRuleAlarmSilentTime_ = std::stoi(value["AutoScalingRuleAlarmSilentTime"].asString()); + if(!value["AutoScalingConfigSystemDiskSize"].isNull()) + autoScalingConfigSystemDiskSize_ = std::stoi(value["AutoScalingConfigSystemDiskSize"].asString()); + if(!value["AutoScalingConfigDecommissionQueryInterval"].isNull()) + autoScalingConfigDecommissionQueryInterval_ = std::stol(value["AutoScalingConfigDecommissionQueryInterval"].asString()); } +int DescribeScalingCommonConfigResult::getAutoScalingHookHeartbeatDefaultTime()const +{ + return autoScalingHookHeartbeatDefaultTime_; +} + +int DescribeScalingCommonConfigResult::getAutoScalingRuleAlarmDelayLimit()const +{ + return autoScalingRuleAlarmDelayLimit_; +} + +int DescribeScalingCommonConfigResult::getAutoScalingGroupMaxSizeLimit()const +{ + return autoScalingGroupMaxSizeLimit_; +} + +long DescribeScalingCommonConfigResult::getAutoScalingMNSScalingThreadSleepTime()const +{ + return autoScalingMNSScalingThreadSleepTime_; +} + +int DescribeScalingCommonConfigResult::getAutoScalingCoolDownTime()const +{ + return autoScalingCoolDownTime_; +} + int DescribeScalingCommonConfigResult::getAutoScalingRuleMinDelayLimit()const { return autoScalingRuleMinDelayLimit_; } +long DescribeScalingCommonConfigResult::getAutoScalingConfigDecommissionQueryInterval()const +{ + return autoScalingConfigDecommissionQueryInterval_; +} + +int DescribeScalingCommonConfigResult::getAutoScalingRuleAlarmSilentTime()const +{ + return autoScalingRuleAlarmSilentTime_; +} + +int DescribeScalingCommonConfigResult::getAutoScalingGroupMinSizeLimit()const +{ + return autoScalingGroupMinSizeLimit_; +} + +int DescribeScalingCommonConfigResult::getAutoScalingConfigSystemDiskSize()const +{ + return autoScalingConfigSystemDiskSize_; +} + diff --git a/emr/src/model/DescribeScalingConfigItemV2Request.cc b/emr/src/model/DescribeScalingConfigItemV2Request.cc new file mode 100644 index 000000000..63c87312e --- /dev/null +++ b/emr/src/model/DescribeScalingConfigItemV2Request.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::DescribeScalingConfigItemV2Request; + +DescribeScalingConfigItemV2Request::DescribeScalingConfigItemV2Request() : + RpcServiceRequest("emr", "2016-04-08", "DescribeScalingConfigItemV2") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeScalingConfigItemV2Request::~DescribeScalingConfigItemV2Request() +{} + +std::string DescribeScalingConfigItemV2Request::getConfigItemType()const +{ + return configItemType_; +} + +void DescribeScalingConfigItemV2Request::setConfigItemType(const std::string& configItemType) +{ + configItemType_ = configItemType; + setParameter("ConfigItemType", configItemType); +} + +long DescribeScalingConfigItemV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeScalingConfigItemV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeScalingConfigItemV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeScalingConfigItemV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeScalingConfigItemV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void DescribeScalingConfigItemV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string DescribeScalingConfigItemV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeScalingConfigItemV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string DescribeScalingConfigItemV2Request::getRegionId()const +{ + return regionId_; +} + +void DescribeScalingConfigItemV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeScalingConfigItemV2Request::getScalingConfigItemId()const +{ + return scalingConfigItemId_; +} + +void DescribeScalingConfigItemV2Request::setScalingConfigItemId(const std::string& scalingConfigItemId) +{ + scalingConfigItemId_ = scalingConfigItemId; + setParameter("ScalingConfigItemId", scalingConfigItemId); +} + diff --git a/emr/src/model/DescribeScalingConfigItemV2Result.cc b/emr/src/model/DescribeScalingConfigItemV2Result.cc new file mode 100644 index 000000000..a804418c6 --- /dev/null +++ b/emr/src/model/DescribeScalingConfigItemV2Result.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +DescribeScalingConfigItemV2Result::DescribeScalingConfigItemV2Result() : + ServiceResult() +{} + +DescribeScalingConfigItemV2Result::DescribeScalingConfigItemV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScalingConfigItemV2Result::~DescribeScalingConfigItemV2Result() +{} + +void DescribeScalingConfigItemV2Result::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ConfigItemType"].isNull()) + configItemType_ = value["ConfigItemType"].asString(); + if(!value["ScalingGroupBizId"].isNull()) + scalingGroupBizId_ = value["ScalingGroupBizId"].asString(); + if(!value["ScalingConfigItemBizId"].isNull()) + scalingConfigItemBizId_ = value["ScalingConfigItemBizId"].asString(); + if(!value["ConfigItemInformation"].isNull()) + configItemInformation_ = value["ConfigItemInformation"].asString(); + +} + +std::string DescribeScalingConfigItemV2Result::getScalingConfigItemBizId()const +{ + return scalingConfigItemBizId_; +} + +std::string DescribeScalingConfigItemV2Result::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +std::string DescribeScalingConfigItemV2Result::getConfigItemInformation()const +{ + return configItemInformation_; +} + +std::string DescribeScalingConfigItemV2Result::getConfigItemType()const +{ + return configItemType_; +} + diff --git a/emr/src/model/DescribeScalingGroupInstanceV2Request.cc b/emr/src/model/DescribeScalingGroupInstanceV2Request.cc new file mode 100644 index 000000000..c2c6128bc --- /dev/null +++ b/emr/src/model/DescribeScalingGroupInstanceV2Request.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::DescribeScalingGroupInstanceV2Request; + +DescribeScalingGroupInstanceV2Request::DescribeScalingGroupInstanceV2Request() : + RpcServiceRequest("emr", "2016-04-08", "DescribeScalingGroupInstanceV2") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeScalingGroupInstanceV2Request::~DescribeScalingGroupInstanceV2Request() +{} + +long DescribeScalingGroupInstanceV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeScalingGroupInstanceV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeScalingGroupInstanceV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeScalingGroupInstanceV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeScalingGroupInstanceV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void DescribeScalingGroupInstanceV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string DescribeScalingGroupInstanceV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeScalingGroupInstanceV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string DescribeScalingGroupInstanceV2Request::getRegionId()const +{ + return regionId_; +} + +void DescribeScalingGroupInstanceV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeScalingGroupInstanceV2Request::getHostGroupBizId()const +{ + return hostGroupBizId_; +} + +void DescribeScalingGroupInstanceV2Request::setHostGroupBizId(const std::string& hostGroupBizId) +{ + hostGroupBizId_ = hostGroupBizId; + setParameter("HostGroupBizId", hostGroupBizId); +} + diff --git a/emr/src/model/DescribeScalingGroupInstanceV2Result.cc b/emr/src/model/DescribeScalingGroupInstanceV2Result.cc new file mode 100644 index 000000000..3fac78206 --- /dev/null +++ b/emr/src/model/DescribeScalingGroupInstanceV2Result.cc @@ -0,0 +1,216 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +DescribeScalingGroupInstanceV2Result::DescribeScalingGroupInstanceV2Result() : + ServiceResult() +{} + +DescribeScalingGroupInstanceV2Result::DescribeScalingGroupInstanceV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScalingGroupInstanceV2Result::~DescribeScalingGroupInstanceV2Result() +{} + +void DescribeScalingGroupInstanceV2Result::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allScalingRuleListNode = value["ScalingRuleList"]["ScalingRule"]; + for (auto valueScalingRuleListScalingRule : allScalingRuleListNode) + { + ScalingRule scalingRuleListObject; + if(!valueScalingRuleListScalingRule["RuleCategory"].isNull()) + scalingRuleListObject.ruleCategory = valueScalingRuleListScalingRule["RuleCategory"].asString(); + if(!valueScalingRuleListScalingRule["EssScalingRuleId"].isNull()) + scalingRuleListObject.essScalingRuleId = valueScalingRuleListScalingRule["EssScalingRuleId"].asString(); + if(!valueScalingRuleListScalingRule["ScalingGroupId"].isNull()) + scalingRuleListObject.scalingGroupId = std::stol(valueScalingRuleListScalingRule["ScalingGroupId"].asString()); + if(!valueScalingRuleListScalingRule["RuleName"].isNull()) + scalingRuleListObject.ruleName = valueScalingRuleListScalingRule["RuleName"].asString(); + if(!valueScalingRuleListScalingRule["AdjustmentType"].isNull()) + scalingRuleListObject.adjustmentType = valueScalingRuleListScalingRule["AdjustmentType"].asString(); + if(!valueScalingRuleListScalingRule["AdjustmentValue"].isNull()) + scalingRuleListObject.adjustmentValue = std::stoi(valueScalingRuleListScalingRule["AdjustmentValue"].asString()); + if(!valueScalingRuleListScalingRule["Cooldown"].isNull()) + scalingRuleListObject.cooldown = std::stoi(valueScalingRuleListScalingRule["Cooldown"].asString()); + if(!valueScalingRuleListScalingRule["Status"].isNull()) + scalingRuleListObject.status = valueScalingRuleListScalingRule["Status"].asString(); + if(!valueScalingRuleListScalingRule["LaunchTime"].isNull()) + scalingRuleListObject.launchTime = valueScalingRuleListScalingRule["LaunchTime"].asString(); + if(!valueScalingRuleListScalingRule["LaunchExpirationTime"].isNull()) + scalingRuleListObject.launchExpirationTime = std::stoi(valueScalingRuleListScalingRule["LaunchExpirationTime"].asString()); + if(!valueScalingRuleListScalingRule["RecurrenceType"].isNull()) + scalingRuleListObject.recurrenceType = valueScalingRuleListScalingRule["RecurrenceType"].asString(); + if(!valueScalingRuleListScalingRule["RecurrenceValue"].isNull()) + scalingRuleListObject.recurrenceValue = valueScalingRuleListScalingRule["RecurrenceValue"].asString(); + if(!valueScalingRuleListScalingRule["RecurrenceEndTime"].isNull()) + scalingRuleListObject.recurrenceEndTime = valueScalingRuleListScalingRule["RecurrenceEndTime"].asString(); + if(!valueScalingRuleListScalingRule["WithGrace"].isNull()) + scalingRuleListObject.withGrace = valueScalingRuleListScalingRule["WithGrace"].asString() == "true"; + if(!valueScalingRuleListScalingRule["TimeoutWithGrace"].isNull()) + scalingRuleListObject.timeoutWithGrace = std::stol(valueScalingRuleListScalingRule["TimeoutWithGrace"].asString()); + auto schedulerTriggerNode = value["SchedulerTrigger"]; + if(!schedulerTriggerNode["LaunchTime"].isNull()) + scalingRuleListObject.schedulerTrigger.launchTime = std::stol(schedulerTriggerNode["LaunchTime"].asString()); + if(!schedulerTriggerNode["LaunchExpirationTime"].isNull()) + scalingRuleListObject.schedulerTrigger.launchExpirationTime = std::stoi(schedulerTriggerNode["LaunchExpirationTime"].asString()); + if(!schedulerTriggerNode["RecurrenceType"].isNull()) + scalingRuleListObject.schedulerTrigger.recurrenceType = schedulerTriggerNode["RecurrenceType"].asString(); + if(!schedulerTriggerNode["RecurrenceValue"].isNull()) + scalingRuleListObject.schedulerTrigger.recurrenceValue = schedulerTriggerNode["RecurrenceValue"].asString(); + if(!schedulerTriggerNode["RecurrenceEndTime"].isNull()) + scalingRuleListObject.schedulerTrigger.recurrenceEndTime = std::stol(schedulerTriggerNode["RecurrenceEndTime"].asString()); + auto cloudWatchTriggerNode = value["CloudWatchTrigger"]; + if(!cloudWatchTriggerNode["MetricName"].isNull()) + scalingRuleListObject.cloudWatchTrigger.metricName = cloudWatchTriggerNode["MetricName"].asString(); + if(!cloudWatchTriggerNode["Period"].isNull()) + scalingRuleListObject.cloudWatchTrigger.period = std::stoi(cloudWatchTriggerNode["Period"].asString()); + if(!cloudWatchTriggerNode["Statistics"].isNull()) + scalingRuleListObject.cloudWatchTrigger.statistics = cloudWatchTriggerNode["Statistics"].asString(); + if(!cloudWatchTriggerNode["ComparisonOperator"].isNull()) + scalingRuleListObject.cloudWatchTrigger.comparisonOperator = cloudWatchTriggerNode["ComparisonOperator"].asString(); + if(!cloudWatchTriggerNode["Threshold"].isNull()) + scalingRuleListObject.cloudWatchTrigger.threshold = cloudWatchTriggerNode["Threshold"].asString(); + if(!cloudWatchTriggerNode["EvaluationCount"].isNull()) + scalingRuleListObject.cloudWatchTrigger.evaluationCount = cloudWatchTriggerNode["EvaluationCount"].asString(); + if(!cloudWatchTriggerNode["Unit"].isNull()) + scalingRuleListObject.cloudWatchTrigger.unit = cloudWatchTriggerNode["Unit"].asString(); + if(!cloudWatchTriggerNode["MetricDisplayName"].isNull()) + scalingRuleListObject.cloudWatchTrigger.metricDisplayName = cloudWatchTriggerNode["MetricDisplayName"].asString(); + scalingRuleList_.push_back(scalingRuleListObject); + } + auto scalingConfigNode = value["ScalingConfig"]; + if(!scalingConfigNode["SpotStrategy"].isNull()) + scalingConfig_.spotStrategy = scalingConfigNode["SpotStrategy"].asString(); + if(!scalingConfigNode["PayType"].isNull()) + scalingConfig_.payType = scalingConfigNode["PayType"].asString(); + if(!scalingConfigNode["DataDiskCategory"].isNull()) + scalingConfig_.dataDiskCategory = scalingConfigNode["DataDiskCategory"].asString(); + if(!scalingConfigNode["DataDiskSize"].isNull()) + scalingConfig_.dataDiskSize = std::stoi(scalingConfigNode["DataDiskSize"].asString()); + if(!scalingConfigNode["DataDiskCount"].isNull()) + scalingConfig_.dataDiskCount = std::stoi(scalingConfigNode["DataDiskCount"].asString()); + if(!scalingConfigNode["SysDiskCategory"].isNull()) + scalingConfig_.sysDiskCategory = scalingConfigNode["SysDiskCategory"].asString(); + if(!scalingConfigNode["SysDiskSize"].isNull()) + scalingConfig_.sysDiskSize = std::stoi(scalingConfigNode["SysDiskSize"].asString()); + auto allSpotPriceLimitsNode = scalingConfigNode["SpotPriceLimits"]["SpotPriceLimit"]; + for (auto scalingConfigNodeSpotPriceLimitsSpotPriceLimit : allSpotPriceLimitsNode) + { + ScalingConfig::SpotPriceLimit spotPriceLimitObject; + if(!scalingConfigNodeSpotPriceLimitsSpotPriceLimit["InstanceType"].isNull()) + spotPriceLimitObject.instanceType = scalingConfigNodeSpotPriceLimitsSpotPriceLimit["InstanceType"].asString(); + if(!scalingConfigNodeSpotPriceLimitsSpotPriceLimit["PriceLimit"].isNull()) + spotPriceLimitObject.priceLimit = std::stof(scalingConfigNodeSpotPriceLimitsSpotPriceLimit["PriceLimit"].asString()); + scalingConfig_.spotPriceLimits.push_back(spotPriceLimitObject); + } + auto allInstanceTypeList = scalingConfigNode["InstanceTypeList"]["InstanceType"]; + for (auto value : allInstanceTypeList) + scalingConfig_.instanceTypeList.push_back(value.asString()); + if(!value["HostGroupId"].isNull()) + hostGroupId_ = value["HostGroupId"].asString(); + if(!value["ScalingGroupId"].isNull()) + scalingGroupId_ = value["ScalingGroupId"].asString(); + if(!value["MinSize"].isNull()) + minSize_ = std::stoi(value["MinSize"].asString()); + if(!value["MaxSize"].isNull()) + maxSize_ = std::stoi(value["MaxSize"].asString()); + if(!value["DefaultCooldown"].isNull()) + defaultCooldown_ = std::stoi(value["DefaultCooldown"].asString()); + if(!value["ActiveRuleCategory"].isNull()) + activeRuleCategory_ = value["ActiveRuleCategory"].asString(); + if(!value["WithGrace"].isNull()) + withGrace_ = value["WithGrace"].asString() == "true"; + if(!value["TimeoutWithGrace"].isNull()) + timeoutWithGrace_ = std::stol(value["TimeoutWithGrace"].asString()); + if(!value["MultiAvailablePolicy"].isNull()) + multiAvailablePolicy_ = value["MultiAvailablePolicy"].asString(); + if(!value["MultiAvailablePolicyParam"].isNull()) + multiAvailablePolicyParam_ = value["MultiAvailablePolicyParam"].asString(); + +} + +int DescribeScalingGroupInstanceV2Result::getMinSize()const +{ + return minSize_; +} + +int DescribeScalingGroupInstanceV2Result::getDefaultCooldown()const +{ + return defaultCooldown_; +} + +DescribeScalingGroupInstanceV2Result::ScalingConfig DescribeScalingGroupInstanceV2Result::getScalingConfig()const +{ + return scalingConfig_; +} + +std::string DescribeScalingGroupInstanceV2Result::getHostGroupId()const +{ + return hostGroupId_; +} + +std::string DescribeScalingGroupInstanceV2Result::getActiveRuleCategory()const +{ + return activeRuleCategory_; +} + +long DescribeScalingGroupInstanceV2Result::getTimeoutWithGrace()const +{ + return timeoutWithGrace_; +} + +std::string DescribeScalingGroupInstanceV2Result::getScalingGroupId()const +{ + return scalingGroupId_; +} + +bool DescribeScalingGroupInstanceV2Result::getWithGrace()const +{ + return withGrace_; +} + +std::vector DescribeScalingGroupInstanceV2Result::getScalingRuleList()const +{ + return scalingRuleList_; +} + +int DescribeScalingGroupInstanceV2Result::getMaxSize()const +{ + return maxSize_; +} + +std::string DescribeScalingGroupInstanceV2Result::getMultiAvailablePolicy()const +{ + return multiAvailablePolicy_; +} + +std::string DescribeScalingGroupInstanceV2Result::getMultiAvailablePolicyParam()const +{ + return multiAvailablePolicyParam_; +} + diff --git a/emr/src/model/DescribeScalingGroupV2Request.cc b/emr/src/model/DescribeScalingGroupV2Request.cc new file mode 100644 index 000000000..2f3660be3 --- /dev/null +++ b/emr/src/model/DescribeScalingGroupV2Request.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::DescribeScalingGroupV2Request; + +DescribeScalingGroupV2Request::DescribeScalingGroupV2Request() : + RpcServiceRequest("emr", "2016-04-08", "DescribeScalingGroupV2") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeScalingGroupV2Request::~DescribeScalingGroupV2Request() +{} + +long DescribeScalingGroupV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeScalingGroupV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeScalingGroupV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeScalingGroupV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeScalingGroupV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void DescribeScalingGroupV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string DescribeScalingGroupV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeScalingGroupV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string DescribeScalingGroupV2Request::getRegionId()const +{ + return regionId_; +} + +void DescribeScalingGroupV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeScalingGroupV2Request::getHostGroupBizId()const +{ + return hostGroupBizId_; +} + +void DescribeScalingGroupV2Request::setHostGroupBizId(const std::string& hostGroupBizId) +{ + hostGroupBizId_ = hostGroupBizId; + setParameter("HostGroupBizId", hostGroupBizId); +} + diff --git a/emr/src/model/DescribeScalingGroupV2Result.cc b/emr/src/model/DescribeScalingGroupV2Result.cc new file mode 100644 index 000000000..a9a21279b --- /dev/null +++ b/emr/src/model/DescribeScalingGroupV2Result.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +DescribeScalingGroupV2Result::DescribeScalingGroupV2Result() : + ServiceResult() +{} + +DescribeScalingGroupV2Result::DescribeScalingGroupV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeScalingGroupV2Result::~DescribeScalingGroupV2Result() +{} + +void DescribeScalingGroupV2Result::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ScalingGroupId"].isNull()) + scalingGroupId_ = value["ScalingGroupId"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["ActiveStatus"].isNull()) + activeStatus_ = value["ActiveStatus"].asString(); + if(!value["HostGroupBizId"].isNull()) + hostGroupBizId_ = value["HostGroupBizId"].asString(); + if(!value["ScalingInMode"].isNull()) + scalingInMode_ = value["ScalingInMode"].asString(); + if(!value["ScalingMinSize"].isNull()) + scalingMinSize_ = std::stoi(value["ScalingMinSize"].asString()); + if(!value["ScalingMaxSize"].isNull()) + scalingMaxSize_ = std::stoi(value["ScalingMaxSize"].asString()); + if(!value["ConfigState"].isNull()) + configState_ = value["ConfigState"].asString(); + +} + +std::string DescribeScalingGroupV2Result::getDescription()const +{ + return description_; +} + +std::string DescribeScalingGroupV2Result::getHostGroupBizId()const +{ + return hostGroupBizId_; +} + +std::string DescribeScalingGroupV2Result::getConfigState()const +{ + return configState_; +} + +std::string DescribeScalingGroupV2Result::getScalingInMode()const +{ + return scalingInMode_; +} + +std::string DescribeScalingGroupV2Result::getScalingGroupId()const +{ + return scalingGroupId_; +} + +int DescribeScalingGroupV2Result::getScalingMaxSize()const +{ + return scalingMaxSize_; +} + +int DescribeScalingGroupV2Result::getScalingMinSize()const +{ + return scalingMinSize_; +} + +std::string DescribeScalingGroupV2Result::getName()const +{ + return name_; +} + +std::string DescribeScalingGroupV2Result::getActiveStatus()const +{ + return activeStatus_; +} + diff --git a/emr/src/model/DescribeScalingRuleResult.cc b/emr/src/model/DescribeScalingRuleResult.cc index c4bbdbf55..1055c49ed 100644 --- a/emr/src/model/DescribeScalingRuleResult.cc +++ b/emr/src/model/DescribeScalingRuleResult.cc @@ -85,6 +85,10 @@ void DescribeScalingRuleResult::parse(const std::string &payload) cooldown_ = std::stoi(value["Cooldown"].asString()); if(!value["Status"].isNull()) status_ = value["Status"].asString(); + if(!value["WithGrace"].isNull()) + withGrace_ = value["WithGrace"].asString() == "true"; + if(!value["TimeoutWithGrace"].isNull()) + timeoutWithGrace_ = std::stol(value["TimeoutWithGrace"].asString()); } @@ -93,19 +97,9 @@ std::string DescribeScalingRuleResult::getStatus()const return status_; } -std::string DescribeScalingRuleResult::getGmtCreate()const +long DescribeScalingRuleResult::getTimeoutWithGrace()const { - return gmtCreate_; -} - -int DescribeScalingRuleResult::getAdjustmentValue()const -{ - return adjustmentValue_; -} - -DescribeScalingRuleResult::SchedulerTrigger DescribeScalingRuleResult::getSchedulerTrigger()const -{ - return schedulerTrigger_; + return timeoutWithGrace_; } DescribeScalingRuleResult::CloudWatchTrigger DescribeScalingRuleResult::getCloudWatchTrigger()const @@ -123,6 +117,31 @@ std::string DescribeScalingRuleResult::getGmtModified()const return gmtModified_; } +std::string DescribeScalingRuleResult::getAdjustmentType()const +{ + return adjustmentType_; +} + +std::string DescribeScalingRuleResult::getGmtCreate()const +{ + return gmtCreate_; +} + +int DescribeScalingRuleResult::getAdjustmentValue()const +{ + return adjustmentValue_; +} + +DescribeScalingRuleResult::SchedulerTrigger DescribeScalingRuleResult::getSchedulerTrigger()const +{ + return schedulerTrigger_; +} + +bool DescribeScalingRuleResult::getWithGrace()const +{ + return withGrace_; +} + std::string DescribeScalingRuleResult::getId()const { return id_; @@ -138,8 +157,3 @@ std::string DescribeScalingRuleResult::getRuleCategory()const return ruleCategory_; } -std::string DescribeScalingRuleResult::getAdjustmentType()const -{ - return adjustmentType_; -} - diff --git a/emr/src/model/DescribeScalingTaskGroupRequest.cc b/emr/src/model/DescribeScalingTaskGroupRequest.cc deleted file mode 100644 index 27f459152..000000000 --- a/emr/src/model/DescribeScalingTaskGroupRequest.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 - -using AlibabaCloud::Emr::Model::DescribeScalingTaskGroupRequest; - -DescribeScalingTaskGroupRequest::DescribeScalingTaskGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeScalingTaskGroup") -{} - -DescribeScalingTaskGroupRequest::~DescribeScalingTaskGroupRequest() -{} - -long DescribeScalingTaskGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeScalingTaskGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeScalingTaskGroupRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeScalingTaskGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeScalingTaskGroupRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void DescribeScalingTaskGroupRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -std::string DescribeScalingTaskGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void DescribeScalingTaskGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string DescribeScalingTaskGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeScalingTaskGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeScalingTaskGroupResult.cc b/emr/src/model/DescribeScalingTaskGroupResult.cc deleted file mode 100644 index 77c252980..000000000 --- a/emr/src/model/DescribeScalingTaskGroupResult.cc +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeScalingTaskGroupResult::DescribeScalingTaskGroupResult() : - ServiceResult() -{} - -DescribeScalingTaskGroupResult::DescribeScalingTaskGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeScalingTaskGroupResult::~DescribeScalingTaskGroupResult() -{} - -void DescribeScalingTaskGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto scalingConfigNode = value["ScalingConfig"]; - if(!scalingConfigNode["PayType"].isNull()) - scalingConfig_.payType = scalingConfigNode["PayType"].asString(); - if(!scalingConfigNode["DataDiskCategory"].isNull()) - scalingConfig_.dataDiskCategory = scalingConfigNode["DataDiskCategory"].asString(); - if(!scalingConfigNode["DataDiskSize"].isNull()) - scalingConfig_.dataDiskSize = std::stoi(scalingConfigNode["DataDiskSize"].asString()); - if(!scalingConfigNode["DataDiskCount"].isNull()) - scalingConfig_.dataDiskCount = std::stoi(scalingConfigNode["DataDiskCount"].asString()); - if(!scalingConfigNode["SysDiskCategory"].isNull()) - scalingConfig_.sysDiskCategory = scalingConfigNode["SysDiskCategory"].asString(); - if(!scalingConfigNode["SysDiskSize"].isNull()) - scalingConfig_.sysDiskSize = std::stoi(scalingConfigNode["SysDiskSize"].asString()); - if(!scalingConfigNode["CpuCount"].isNull()) - scalingConfig_.cpuCount = std::stoi(scalingConfigNode["CpuCount"].asString()); - if(!scalingConfigNode["MemSize"].isNull()) - scalingConfig_.memSize = std::stoi(scalingConfigNode["MemSize"].asString()); - if(!scalingConfigNode["SpotStrategy"].isNull()) - scalingConfig_.spotStrategy = scalingConfigNode["SpotStrategy"].asString(); - auto allSpotPriceLimits = value["SpotPriceLimits"]["SpotPriceLimit"]; - for (auto value : allSpotPriceLimits) - { - ScalingConfig::SpotPriceLimit spotPriceLimitObject; - if(!value["InstanceType"].isNull()) - spotPriceLimitObject.instanceType = value["InstanceType"].asString(); - if(!value["PriceLimit"].isNull()) - spotPriceLimitObject.priceLimit = std::stof(value["PriceLimit"].asString()); - scalingConfig_.spotPriceLimits.push_back(spotPriceLimitObject); - } - auto allInstanceTypeList = scalingConfigNode["InstanceTypeList"]["InstanceType"]; - for (auto value : allInstanceTypeList) - scalingConfig_.instanceTypeList.push_back(value.asString()); - if(!value["ScalingGroupId"].isNull()) - scalingGroupId_ = value["ScalingGroupId"].asString(); - if(!value["HostGroupId"].isNull()) - hostGroupId_ = value["HostGroupId"].asString(); - if(!value["MinSize"].isNull()) - minSize_ = std::stoi(value["MinSize"].asString()); - if(!value["MaxSize"].isNull()) - maxSize_ = std::stoi(value["MaxSize"].asString()); - if(!value["DefaultCooldown"].isNull()) - defaultCooldown_ = std::stoi(value["DefaultCooldown"].asString()); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["ActiveRuleCategory"].isNull()) - activeRuleCategory_ = value["ActiveRuleCategory"].asString(); - -} - -std::string DescribeScalingTaskGroupResult::getStatus()const -{ - return status_; -} - -int DescribeScalingTaskGroupResult::getMinSize()const -{ - return minSize_; -} - -int DescribeScalingTaskGroupResult::getDefaultCooldown()const -{ - return defaultCooldown_; -} - -DescribeScalingTaskGroupResult::ScalingConfig DescribeScalingTaskGroupResult::getScalingConfig()const -{ - return scalingConfig_; -} - -std::string DescribeScalingTaskGroupResult::getHostGroupId()const -{ - return hostGroupId_; -} - -std::string DescribeScalingTaskGroupResult::getActiveRuleCategory()const -{ - return activeRuleCategory_; -} - -std::string DescribeScalingTaskGroupResult::getScalingGroupId()const -{ - return scalingGroupId_; -} - -int DescribeScalingTaskGroupResult::getMaxSize()const -{ - return maxSize_; -} - diff --git a/emr/src/model/DescribeSecurityGroupAttributeRequest.cc b/emr/src/model/DescribeSecurityGroupAttributeRequest.cc index bcdc28009..f02aa6f26 100644 --- a/emr/src/model/DescribeSecurityGroupAttributeRequest.cc +++ b/emr/src/model/DescribeSecurityGroupAttributeRequest.cc @@ -60,6 +60,17 @@ void DescribeSecurityGroupAttributeRequest::setAccessKeyId(const std::string& ac setParameter("AccessKeyId", accessKeyId); } +std::string DescribeSecurityGroupAttributeRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeSecurityGroupAttributeRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeSecurityGroupAttributeRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/DescribeUserGroupRequest.cc b/emr/src/model/DescribeUserGroupRequest.cc deleted file mode 100644 index 5bffbfef0..000000000 --- a/emr/src/model/DescribeUserGroupRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeUserGroupRequest; - -DescribeUserGroupRequest::DescribeUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeUserGroup") -{} - -DescribeUserGroupRequest::~DescribeUserGroupRequest() -{} - -long DescribeUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long DescribeUserGroupRequest::getGroupId()const -{ - return groupId_; -} - -void DescribeUserGroupRequest::setGroupId(long groupId) -{ - groupId_ = groupId; - setCoreParameter("GroupId", std::to_string(groupId)); -} - diff --git a/emr/src/model/DescribeUserGroupResult.cc b/emr/src/model/DescribeUserGroupResult.cc deleted file mode 100644 index c1a9c2455..000000000 --- a/emr/src/model/DescribeUserGroupResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeUserGroupResult::DescribeUserGroupResult() : - ServiceResult() -{} - -DescribeUserGroupResult::DescribeUserGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUserGroupResult::~DescribeUserGroupResult() -{} - -void DescribeUserGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRoleDTOListNode = value["RoleDTOList"]["RoleDTO"]; - for (auto valueRoleDTOListRoleDTO : allRoleDTOListNode) - { - RoleDTO roleDTOListObject; - if(!valueRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(valueRoleDTOListRoleDTO["Id"].asString()); - if(!valueRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = valueRoleDTOListRoleDTO["Name"].asString(); - if(!valueRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = valueRoleDTOListRoleDTO["ResourceType"].asString(); - if(!valueRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = valueRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!valueRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = valueRoleDTOListRoleDTO["GmtModified"].asString(); - if(!valueRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = valueRoleDTOListRoleDTO["Description"].asString(); - roleDTOList_.push_back(roleDTOListObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Id"].isNull()) - id_ = std::stol(value["Id"].asString()); - if(!value["Type"].isNull()) - type_ = value["Type"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = value["GmtCreate"].asString(); - -} - -std::string DescribeUserGroupResult::getType()const -{ - return type_; -} - -std::string DescribeUserGroupResult::getGmtCreate()const -{ - return gmtCreate_; -} - -bool DescribeUserGroupResult::getPaging()const -{ - return paging_; -} - -long DescribeUserGroupResult::getId()const -{ - return id_; -} - -std::vector DescribeUserGroupResult::getRoleDTOList()const -{ - return roleDTOList_; -} - -std::string DescribeUserGroupResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/DescribeUserRequest.cc b/emr/src/model/DescribeUserRequest.cc deleted file mode 100644 index 2808fe640..000000000 --- a/emr/src/model/DescribeUserRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeUserRequest; - -DescribeUserRequest::DescribeUserRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeUser") -{} - -DescribeUserRequest::~DescribeUserRequest() -{} - -long DescribeUserRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeUserRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeUserRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeUserRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeUserRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeUserRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeUserRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void DescribeUserRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - diff --git a/emr/src/model/DescribeUserResult.cc b/emr/src/model/DescribeUserResult.cc deleted file mode 100644 index f2d9d56d8..000000000 --- a/emr/src/model/DescribeUserResult.cc +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeUserResult::DescribeUserResult() : - ServiceResult() -{} - -DescribeUserResult::DescribeUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUserResult::~DescribeUserResult() -{} - -void DescribeUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRoleDTOListNode = value["RoleDTOList"]["RoleDTO"]; - for (auto valueRoleDTOListRoleDTO : allRoleDTOListNode) - { - RoleDTO roleDTOListObject; - if(!valueRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(valueRoleDTOListRoleDTO["Id"].asString()); - if(!valueRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = valueRoleDTOListRoleDTO["Name"].asString(); - if(!valueRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = valueRoleDTOListRoleDTO["ResourceType"].asString(); - if(!valueRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = valueRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!valueRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = valueRoleDTOListRoleDTO["GmtModified"].asString(); - if(!valueRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = valueRoleDTOListRoleDTO["Description"].asString(); - roleDTOList_.push_back(roleDTOListObject); - } - auto allGroupDTOListNode = value["GroupDTOList"]["GroupDTO"]; - for (auto valueGroupDTOListGroupDTO : allGroupDTOListNode) - { - GroupDTO groupDTOListObject; - if(!valueGroupDTOListGroupDTO["Id"].isNull()) - groupDTOListObject.id = std::stol(valueGroupDTOListGroupDTO["Id"].asString()); - if(!valueGroupDTOListGroupDTO["Type"].isNull()) - groupDTOListObject.type = valueGroupDTOListGroupDTO["Type"].asString(); - if(!valueGroupDTOListGroupDTO["Name"].isNull()) - groupDTOListObject.name = valueGroupDTOListGroupDTO["Name"].asString(); - if(!valueGroupDTOListGroupDTO["GmtCreate"].isNull()) - groupDTOListObject.gmtCreate = valueGroupDTOListGroupDTO["GmtCreate"].asString(); - auto allRoleDTOList1Node = allGroupDTOListNode["RoleDTOList"]["RoleDTO"]; - for (auto allGroupDTOListNodeRoleDTOListRoleDTO : allRoleDTOList1Node) - { - GroupDTO::RoleDTO2 roleDTOList1Object; - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOList1Object.id = std::stol(allGroupDTOListNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOList1Object.name = allGroupDTOListNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOList1Object.resourceType = allGroupDTOListNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOList1Object.gmtCreate = allGroupDTOListNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOList1Object.gmtModified = allGroupDTOListNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOList1Object.description = allGroupDTOListNodeRoleDTOListRoleDTO["Description"].asString(); - groupDTOListObject.roleDTOList1.push_back(roleDTOList1Object); - } - groupDTOList_.push_back(groupDTOListObject); - } - auto allAccountDTOListNode = value["AccountDTOList"]["AccountDTO"]; - for (auto valueAccountDTOListAccountDTO : allAccountDTOListNode) - { - AccountDTO accountDTOListObject; - if(!valueAccountDTOListAccountDTO["AliyunUserId"].isNull()) - accountDTOListObject.aliyunUserId = valueAccountDTOListAccountDTO["AliyunUserId"].asString(); - if(!valueAccountDTOListAccountDTO["AccountType"].isNull()) - accountDTOListObject.accountType = valueAccountDTOListAccountDTO["AccountType"].asString(); - if(!valueAccountDTOListAccountDTO["AuthType"].isNull()) - accountDTOListObject.authType = valueAccountDTOListAccountDTO["AuthType"].asString(); - accountDTOList_.push_back(accountDTOListObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["AliyunUserId"].isNull()) - aliyunUserId_ = value["AliyunUserId"].asString(); - if(!value["UserName"].isNull()) - userName_ = value["UserName"].asString(); - if(!value["UserType"].isNull()) - userType_ = value["UserType"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["IsSuperAdmin"].isNull()) - isSuperAdmin_ = value["IsSuperAdmin"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = value["GmtCreate"].asString(); - if(!value["GmtModified"].isNull()) - gmtModified_ = value["GmtModified"].asString(); - -} - -std::string DescribeUserResult::getStatus()const -{ - return status_; -} - -std::string DescribeUserResult::getIsSuperAdmin()const -{ - return isSuperAdmin_; -} - -std::string DescribeUserResult::getGmtCreate()const -{ - return gmtCreate_; -} - -std::string DescribeUserResult::getUserName()const -{ - return userName_; -} - -std::string DescribeUserResult::getDescription()const -{ - return description_; -} - -std::vector DescribeUserResult::getGroupDTOList()const -{ - return groupDTOList_; -} - -std::vector DescribeUserResult::getAccountDTOList()const -{ - return accountDTOList_; -} - -bool DescribeUserResult::getPaging()const -{ - return paging_; -} - -std::string DescribeUserResult::getGmtModified()const -{ - return gmtModified_; -} - -std::vector DescribeUserResult::getRoleDTOList()const -{ - return roleDTOList_; -} - -std::string DescribeUserResult::getUserType()const -{ - return userType_; -} - -std::string DescribeUserResult::getAliyunUserId()const -{ - return aliyunUserId_; -} - diff --git a/emr/src/model/DescribeUserStatisticsRequest.cc b/emr/src/model/DescribeUserStatisticsRequest.cc deleted file mode 100644 index 2e71fea84..000000000 --- a/emr/src/model/DescribeUserStatisticsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeUserStatisticsRequest; - -DescribeUserStatisticsRequest::DescribeUserStatisticsRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeUserStatistics") -{} - -DescribeUserStatisticsRequest::~DescribeUserStatisticsRequest() -{} - -long DescribeUserStatisticsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeUserStatisticsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeUserStatisticsRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeUserStatisticsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeUserStatisticsRequest::getUserId()const -{ - return userId_; -} - -void DescribeUserStatisticsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string DescribeUserStatisticsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeUserStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DescribeUserStatisticsResult.cc b/emr/src/model/DescribeUserStatisticsResult.cc deleted file mode 100644 index 98fca7b0c..000000000 --- a/emr/src/model/DescribeUserStatisticsResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeUserStatisticsResult::DescribeUserStatisticsResult() : - ServiceResult() -{} - -DescribeUserStatisticsResult::DescribeUserStatisticsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeUserStatisticsResult::~DescribeUserStatisticsResult() -{} - -void DescribeUserStatisticsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = std::stol(value["Id"].asString()); - if(!value["UserId"].isNull()) - userId_ = value["UserId"].asString(); - if(!value["JobNum"].isNull()) - jobNum_ = std::stoi(value["JobNum"].asString()); - if(!value["ExecutePlanNum"].isNull()) - executePlanNum_ = std::stoi(value["ExecutePlanNum"].asString()); - if(!value["InteractionJobNum"].isNull()) - interactionJobNum_ = std::stoi(value["InteractionJobNum"].asString()); - if(!value["JobMigratedNum"].isNull()) - jobMigratedNum_ = std::stoi(value["JobMigratedNum"].asString()); - if(!value["ExecutePlanMigratedNum"].isNull()) - executePlanMigratedNum_ = std::stoi(value["ExecutePlanMigratedNum"].asString()); - if(!value["InteractionJobMigratedNum"].isNull()) - interactionJobMigratedNum_ = std::stoi(value["InteractionJobMigratedNum"].asString()); - -} - -int DescribeUserStatisticsResult::getJobMigratedNum()const -{ - return jobMigratedNum_; -} - -int DescribeUserStatisticsResult::getExecutePlanMigratedNum()const -{ - return executePlanMigratedNum_; -} - -int DescribeUserStatisticsResult::getExecutePlanNum()const -{ - return executePlanNum_; -} - -std::string DescribeUserStatisticsResult::getUserId()const -{ - return userId_; -} - -int DescribeUserStatisticsResult::getInteractionJobNum()const -{ - return interactionJobNum_; -} - -int DescribeUserStatisticsResult::getJobNum()const -{ - return jobNum_; -} - -long DescribeUserStatisticsResult::getId()const -{ - return id_; -} - -int DescribeUserStatisticsResult::getInteractionJobMigratedNum()const -{ - return interactionJobMigratedNum_; -} - diff --git a/emr/src/model/DescribeWorkspaceRepoSettingRequest.cc b/emr/src/model/DescribeWorkspaceRepoSettingRequest.cc deleted file mode 100644 index d6994e497..000000000 --- a/emr/src/model/DescribeWorkspaceRepoSettingRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeWorkspaceRepoSettingRequest; - -DescribeWorkspaceRepoSettingRequest::DescribeWorkspaceRepoSettingRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeWorkspaceRepoSetting") -{} - -DescribeWorkspaceRepoSettingRequest::~DescribeWorkspaceRepoSettingRequest() -{} - -long DescribeWorkspaceRepoSettingRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeWorkspaceRepoSettingRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeWorkspaceRepoSettingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeWorkspaceRepoSettingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeWorkspaceRepoSettingRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeWorkspaceRepoSettingRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeWorkspaceRepoSettingRequest::getWorkspaceId()const -{ - return workspaceId_; -} - -void DescribeWorkspaceRepoSettingRequest::setWorkspaceId(const std::string& workspaceId) -{ - workspaceId_ = workspaceId; - setCoreParameter("WorkspaceId", workspaceId); -} - diff --git a/emr/src/model/DescribeWorkspaceRepoSettingResult.cc b/emr/src/model/DescribeWorkspaceRepoSettingResult.cc deleted file mode 100644 index 9a82f0a17..000000000 --- a/emr/src/model/DescribeWorkspaceRepoSettingResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -DescribeWorkspaceRepoSettingResult::DescribeWorkspaceRepoSettingResult() : - ServiceResult() -{} - -DescribeWorkspaceRepoSettingResult::DescribeWorkspaceRepoSettingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeWorkspaceRepoSettingResult::~DescribeWorkspaceRepoSettingResult() -{} - -void DescribeWorkspaceRepoSettingResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto repoMavenNode = value["RepoMaven"]; - if(!repoMavenNode["GroupId"].isNull()) - repoMaven_.groupId = repoMavenNode["GroupId"].asString(); - if(!repoMavenNode["ArtifactId"].isNull()) - repoMaven_.artifactId = repoMavenNode["ArtifactId"].asString(); - if(!repoMavenNode["Version"].isNull()) - repoMaven_.version = repoMavenNode["Version"].asString(); - auto repoPipNode = value["RepoPip"]; - if(!repoPipNode["PackageName"].isNull()) - repoPip_.packageName = repoPipNode["PackageName"].asString(); - if(!repoPipNode["Version"].isNull()) - repoPip_.version = repoPipNode["Version"].asString(); - -} - -DescribeWorkspaceRepoSettingResult::RepoPip DescribeWorkspaceRepoSettingResult::getRepoPip()const -{ - return repoPip_; -} - -DescribeWorkspaceRepoSettingResult::RepoMaven DescribeWorkspaceRepoSettingResult::getRepoMaven()const -{ - return repoMaven_; -} - diff --git a/emr/src/model/DescribeWorkspaceResourceSettingRequest.cc b/emr/src/model/DescribeWorkspaceResourceSettingRequest.cc deleted file mode 100644 index 131263ec7..000000000 --- a/emr/src/model/DescribeWorkspaceResourceSettingRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DescribeWorkspaceResourceSettingRequest; - -DescribeWorkspaceResourceSettingRequest::DescribeWorkspaceResourceSettingRequest() : - RpcServiceRequest("emr", "2016-04-08", "DescribeWorkspaceResourceSetting") -{} - -DescribeWorkspaceResourceSettingRequest::~DescribeWorkspaceResourceSettingRequest() -{} - -long DescribeWorkspaceResourceSettingRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DescribeWorkspaceResourceSettingRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DescribeWorkspaceResourceSettingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DescribeWorkspaceResourceSettingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string DescribeWorkspaceResourceSettingRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeWorkspaceResourceSettingRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DescribeWorkspaceResourceSettingRequest::getWorkspaceId()const -{ - return workspaceId_; -} - -void DescribeWorkspaceResourceSettingRequest::setWorkspaceId(const std::string& workspaceId) -{ - workspaceId_ = workspaceId; - setCoreParameter("WorkspaceId", workspaceId); -} - diff --git a/emr/src/model/DescribeWorkspaceResourceSettingResult.cc b/emr/src/model/DescribeWorkspaceResourceSettingResult.cc deleted file mode 100644 index 05092659e..000000000 --- a/emr/src/model/DescribeWorkspaceResourceSettingResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DescribeWorkspaceResourceSettingResult::DescribeWorkspaceResourceSettingResult() : - ServiceResult() -{} - -DescribeWorkspaceResourceSettingResult::DescribeWorkspaceResourceSettingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeWorkspaceResourceSettingResult::~DescribeWorkspaceResourceSettingResult() -{} - -void DescribeWorkspaceResourceSettingResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto ossNode = value["Oss"]; - if(!ossNode["DefaultOssPath"].isNull()) - oss_.defaultOssPath = ossNode["DefaultOssPath"].asString(); - -} - -DescribeWorkspaceResourceSettingResult::Oss DescribeWorkspaceResourceSettingResult::getOss()const -{ - return oss_; -} - diff --git a/emr/src/model/DetachAndReleaseClusterEniRequest.cc b/emr/src/model/DetachAndReleaseClusterEniRequest.cc new file mode 100644 index 000000000..19fc8edc3 --- /dev/null +++ b/emr/src/model/DetachAndReleaseClusterEniRequest.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::DetachAndReleaseClusterEniRequest; + +DetachAndReleaseClusterEniRequest::DetachAndReleaseClusterEniRequest() : + RpcServiceRequest("emr", "2016-04-08", "DetachAndReleaseClusterEni") +{ + setMethod(HttpRequest::Method::Post); +} + +DetachAndReleaseClusterEniRequest::~DetachAndReleaseClusterEniRequest() +{} + +long DetachAndReleaseClusterEniRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DetachAndReleaseClusterEniRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DetachAndReleaseClusterEniRequest::getTargetClusterId()const +{ + return targetClusterId_; +} + +void DetachAndReleaseClusterEniRequest::setTargetClusterId(const std::string& targetClusterId) +{ + targetClusterId_ = targetClusterId; + setParameter("TargetClusterId", targetClusterId); +} + +std::string DetachAndReleaseClusterEniRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DetachAndReleaseClusterEniRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DetachAndReleaseClusterEniRequest::getVswitchId()const +{ + return vswitchId_; +} + +void DetachAndReleaseClusterEniRequest::setVswitchId(const std::string& vswitchId) +{ + vswitchId_ = vswitchId; + setParameter("VswitchId", vswitchId); +} + +std::string DetachAndReleaseClusterEniRequest::getRegionId()const +{ + return regionId_; +} + +void DetachAndReleaseClusterEniRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/emr/src/model/UpdateWorkspaceRepoSettingResult.cc b/emr/src/model/DetachAndReleaseClusterEniResult.cc similarity index 75% rename from emr/src/model/UpdateWorkspaceRepoSettingResult.cc rename to emr/src/model/DetachAndReleaseClusterEniResult.cc index b5570f1b8..c725d1f08 100644 --- a/emr/src/model/UpdateWorkspaceRepoSettingResult.cc +++ b/emr/src/model/DetachAndReleaseClusterEniResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -UpdateWorkspaceRepoSettingResult::UpdateWorkspaceRepoSettingResult() : +DetachAndReleaseClusterEniResult::DetachAndReleaseClusterEniResult() : ServiceResult() {} -UpdateWorkspaceRepoSettingResult::UpdateWorkspaceRepoSettingResult(const std::string &payload) : +DetachAndReleaseClusterEniResult::DetachAndReleaseClusterEniResult(const std::string &payload) : ServiceResult() { parse(payload); } -UpdateWorkspaceRepoSettingResult::~UpdateWorkspaceRepoSettingResult() +DetachAndReleaseClusterEniResult::~DetachAndReleaseClusterEniResult() {} -void UpdateWorkspaceRepoSettingResult::parse(const std::string &payload) +void DetachAndReleaseClusterEniResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/emr/src/model/DetachClusterForNoteRequest.cc b/emr/src/model/DetachClusterForNoteRequest.cc deleted file mode 100644 index 48f01871b..000000000 --- a/emr/src/model/DetachClusterForNoteRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::DetachClusterForNoteRequest; - -DetachClusterForNoteRequest::DetachClusterForNoteRequest() : - RpcServiceRequest("emr", "2016-04-08", "DetachClusterForNote") -{} - -DetachClusterForNoteRequest::~DetachClusterForNoteRequest() -{} - -long DetachClusterForNoteRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void DetachClusterForNoteRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string DetachClusterForNoteRequest::getRegionId()const -{ - return regionId_; -} - -void DetachClusterForNoteRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string DetachClusterForNoteRequest::getId()const -{ - return id_; -} - -void DetachClusterForNoteRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string DetachClusterForNoteRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void DetachClusterForNoteRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/DetachClusterForNoteResult.cc b/emr/src/model/DetachClusterForNoteResult.cc deleted file mode 100644 index a0fd96e42..000000000 --- a/emr/src/model/DetachClusterForNoteResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -DetachClusterForNoteResult::DetachClusterForNoteResult() : - ServiceResult() -{} - -DetachClusterForNoteResult::DetachClusterForNoteResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetachClusterForNoteResult::~DetachClusterForNoteResult() -{} - -void DetachClusterForNoteResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/GetAuditLogsRequest.cc b/emr/src/model/GetAuditLogsRequest.cc deleted file mode 100644 index 749f1b9cf..000000000 --- a/emr/src/model/GetAuditLogsRequest.cc +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetAuditLogsRequest; - -GetAuditLogsRequest::GetAuditLogsRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetAuditLogs") -{} - -GetAuditLogsRequest::~GetAuditLogsRequest() -{} - -long GetAuditLogsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetAuditLogsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int GetAuditLogsRequest::getPageCount()const -{ - return pageCount_; -} - -void GetAuditLogsRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setCoreParameter("PageCount", std::to_string(pageCount)); -} - -std::string GetAuditLogsRequest::getOrderMode()const -{ - return orderMode_; -} - -void GetAuditLogsRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setCoreParameter("OrderMode", orderMode); -} - -std::string GetAuditLogsRequest::getEntityId()const -{ - return entityId_; -} - -void GetAuditLogsRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", entityId); -} - -int GetAuditLogsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetAuditLogsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetAuditLogsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetAuditLogsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string GetAuditLogsRequest::getRegionId()const -{ - return regionId_; -} - -void GetAuditLogsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int GetAuditLogsRequest::getLimit()const -{ - return limit_; -} - -void GetAuditLogsRequest::setLimit(int limit) -{ - limit_ = limit; - setCoreParameter("Limit", std::to_string(limit)); -} - -int GetAuditLogsRequest::getPageSize()const -{ - return pageSize_; -} - -void GetAuditLogsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int GetAuditLogsRequest::getCurrentSize()const -{ - return currentSize_; -} - -void GetAuditLogsRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string GetAuditLogsRequest::getOrderField()const -{ - return orderField_; -} - -void GetAuditLogsRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setCoreParameter("OrderField", orderField); -} - -std::string GetAuditLogsRequest::getOperation()const -{ - return operation_; -} - -void GetAuditLogsRequest::setOperation(const std::string& operation) -{ - operation_ = operation; - setCoreParameter("Operation", operation); -} - diff --git a/emr/src/model/GetBackInfoRequest.cc b/emr/src/model/GetBackInfoRequest.cc deleted file mode 100644 index 42b1cafa6..000000000 --- a/emr/src/model/GetBackInfoRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::GetBackInfoRequest; - -GetBackInfoRequest::GetBackInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetBackInfo") -{} - -GetBackInfoRequest::~GetBackInfoRequest() -{} - diff --git a/emr/src/model/GetBackInfoResult.cc b/emr/src/model/GetBackInfoResult.cc deleted file mode 100644 index 53c218799..000000000 --- a/emr/src/model/GetBackInfoResult.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 -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetBackInfoResult::GetBackInfoResult() : - ServiceResult() -{} - -GetBackInfoResult::GetBackInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBackInfoResult::~GetBackInfoResult() -{} - -void GetBackInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto metadataInfoNode = value["MetadataInfo"]; - if(!metadataInfoNode["MetadataType"].isNull()) - metadataInfo_.metadataType = metadataInfoNode["MetadataType"].asString(); - if(!metadataInfoNode["Properties"].isNull()) - metadataInfo_.properties = metadataInfoNode["Properties"].asString(); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["BackupPlanId"].isNull()) - backupPlanId_ = value["BackupPlanId"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = std::stol(value["CreateTime"].asString()); - if(!value["Md5"].isNull()) - md5_ = value["Md5"].asString(); - if(!value["TarFileName"].isNull()) - tarFileName_ = value["TarFileName"].asString(); - if(!value["StorePath"].isNull()) - storePath_ = value["StorePath"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - -} - -std::string GetBackInfoResult::getStatus()const -{ - return status_; -} - -GetBackInfoResult::MetadataInfo GetBackInfoResult::getMetadataInfo()const -{ - return metadataInfo_; -} - -std::string GetBackInfoResult::getTarFileName()const -{ - return tarFileName_; -} - -std::string GetBackInfoResult::getClusterId()const -{ - return clusterId_; -} - -bool GetBackInfoResult::getPaging()const -{ - return paging_; -} - -long GetBackInfoResult::getCreateTime()const -{ - return createTime_; -} - -std::string GetBackInfoResult::getBackupPlanId()const -{ - return backupPlanId_; -} - -std::string GetBackInfoResult::getId()const -{ - return id_; -} - -std::string GetBackInfoResult::getMd5()const -{ - return md5_; -} - -std::string GetBackInfoResult::getStorePath()const -{ - return storePath_; -} - diff --git a/emr/src/model/GetBackPlanInfoRequest.cc b/emr/src/model/GetBackPlanInfoRequest.cc deleted file mode 100644 index a50a83a2a..000000000 --- a/emr/src/model/GetBackPlanInfoRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetBackPlanInfoRequest; - -GetBackPlanInfoRequest::GetBackPlanInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetBackPlanInfo") -{} - -GetBackPlanInfoRequest::~GetBackPlanInfoRequest() -{} - -long GetBackPlanInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetBackPlanInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetBackPlanInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetBackPlanInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string GetBackPlanInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetBackPlanInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetBackPlanInfoRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void GetBackPlanInfoRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setCoreParameter("BackupPlanId", backupPlanId); -} - diff --git a/emr/src/model/GetBackPlanInfoResult.cc b/emr/src/model/GetBackPlanInfoResult.cc deleted file mode 100644 index 1378fa367..000000000 --- a/emr/src/model/GetBackPlanInfoResult.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; - -GetBackPlanInfoResult::GetBackPlanInfoResult() : - ServiceResult() -{} - -GetBackPlanInfoResult::GetBackPlanInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBackPlanInfoResult::~GetBackPlanInfoResult() -{} - -void GetBackPlanInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["RootPath"].isNull()) - rootPath_ = value["RootPath"].asString(); - -} - -std::string GetBackPlanInfoResult::getRootPath()const -{ - return rootPath_; -} - -std::string GetBackPlanInfoResult::getDescription()const -{ - return description_; -} - -std::string GetBackPlanInfoResult::getClusterId()const -{ - return clusterId_; -} - -std::string GetBackPlanInfoResult::getId()const -{ - return id_; -} - -std::string GetBackPlanInfoResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/GetBackupInfoRequest.cc b/emr/src/model/GetBackupInfoRequest.cc deleted file mode 100644 index e3269cd8d..000000000 --- a/emr/src/model/GetBackupInfoRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetBackupInfoRequest; - -GetBackupInfoRequest::GetBackupInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetBackupInfo") -{} - -GetBackupInfoRequest::~GetBackupInfoRequest() -{} - -long GetBackupInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetBackupInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetBackupInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetBackupInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string GetBackupInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetBackupInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetBackupInfoRequest::getBackupId()const -{ - return backupId_; -} - -void GetBackupInfoRequest::setBackupId(const std::string& backupId) -{ - backupId_ = backupId; - setCoreParameter("BackupId", backupId); -} - diff --git a/emr/src/model/GetBackupInfoResult.cc b/emr/src/model/GetBackupInfoResult.cc deleted file mode 100644 index 0a5ee8f06..000000000 --- a/emr/src/model/GetBackupInfoResult.cc +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -GetBackupInfoResult::GetBackupInfoResult() : - ServiceResult() -{} - -GetBackupInfoResult::GetBackupInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBackupInfoResult::~GetBackupInfoResult() -{} - -void GetBackupInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto metadataInfoNode = value["MetadataInfo"]; - if(!metadataInfoNode["MetadataType"].isNull()) - metadataInfo_.metadataType = metadataInfoNode["MetadataType"].asString(); - if(!metadataInfoNode["Properties"].isNull()) - metadataInfo_.properties = metadataInfoNode["Properties"].asString(); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["BackupPlanId"].isNull()) - backupPlanId_ = value["BackupPlanId"].asString(); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = std::stol(value["CreateTime"].asString()); - if(!value["Md5"].isNull()) - md5_ = value["Md5"].asString(); - if(!value["TarFileName"].isNull()) - tarFileName_ = value["TarFileName"].asString(); - if(!value["StorePath"].isNull()) - storePath_ = value["StorePath"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - -} - -std::string GetBackupInfoResult::getStatus()const -{ - return status_; -} - -GetBackupInfoResult::MetadataInfo GetBackupInfoResult::getMetadataInfo()const -{ - return metadataInfo_; -} - -std::string GetBackupInfoResult::getTarFileName()const -{ - return tarFileName_; -} - -std::string GetBackupInfoResult::getClusterId()const -{ - return clusterId_; -} - -long GetBackupInfoResult::getCreateTime()const -{ - return createTime_; -} - -std::string GetBackupInfoResult::getBackupPlanId()const -{ - return backupPlanId_; -} - -std::string GetBackupInfoResult::getId()const -{ - return id_; -} - -std::string GetBackupInfoResult::getMd5()const -{ - return md5_; -} - -std::string GetBackupInfoResult::getStorePath()const -{ - return storePath_; -} - diff --git a/emr/src/model/GetBackupRuleInfoRequest.cc b/emr/src/model/GetBackupRuleInfoRequest.cc deleted file mode 100644 index 8a47c385e..000000000 --- a/emr/src/model/GetBackupRuleInfoRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetBackupRuleInfoRequest; - -GetBackupRuleInfoRequest::GetBackupRuleInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetBackupRuleInfo") -{} - -GetBackupRuleInfoRequest::~GetBackupRuleInfoRequest() -{} - -long GetBackupRuleInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetBackupRuleInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetBackupRuleInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetBackupRuleInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string GetBackupRuleInfoRequest::getRegionId()const -{ - return regionId_; -} - -void GetBackupRuleInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetBackupRuleInfoRequest::getBackupRuleId()const -{ - return backupRuleId_; -} - -void GetBackupRuleInfoRequest::setBackupRuleId(const std::string& backupRuleId) -{ - backupRuleId_ = backupRuleId; - setCoreParameter("BackupRuleId", backupRuleId); -} - diff --git a/emr/src/model/GetBackupRuleInfoResult.cc b/emr/src/model/GetBackupRuleInfoResult.cc deleted file mode 100644 index 2596803c5..000000000 --- a/emr/src/model/GetBackupRuleInfoResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetBackupRuleInfoResult::GetBackupRuleInfoResult() : - ServiceResult() -{} - -GetBackupRuleInfoResult::GetBackupRuleInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetBackupRuleInfoResult::~GetBackupRuleInfoResult() -{} - -void GetBackupRuleInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["MetadataType"].isNull()) - metadataType_ = value["MetadataType"].asString(); - if(!value["BackupMethodType"].isNull()) - backupMethodType_ = value["BackupMethodType"].asString(); - if(!value["BackupPlanId"].isNull()) - backupPlanId_ = value["BackupPlanId"].asString(); - -} - -std::string GetBackupRuleInfoResult::getDescription()const -{ - return description_; -} - -std::string GetBackupRuleInfoResult::getMetadataType()const -{ - return metadataType_; -} - -std::string GetBackupRuleInfoResult::getBackupPlanId()const -{ - return backupPlanId_; -} - -std::string GetBackupRuleInfoResult::getId()const -{ - return id_; -} - -std::string GetBackupRuleInfoResult::getBackupMethodType()const -{ - return backupMethodType_; -} - -std::string GetBackupRuleInfoResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/GetFlowAuditLogsRequest.cc b/emr/src/model/GetFlowAuditLogsRequest.cc deleted file mode 100644 index 17207f9fd..000000000 --- a/emr/src/model/GetFlowAuditLogsRequest.cc +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::GetFlowAuditLogsRequest; - -GetFlowAuditLogsRequest::GetFlowAuditLogsRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetFlowAuditLogs") -{} - -GetFlowAuditLogsRequest::~GetFlowAuditLogsRequest() -{} - -long GetFlowAuditLogsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetFlowAuditLogsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int GetFlowAuditLogsRequest::getPageCount()const -{ - return pageCount_; -} - -void GetFlowAuditLogsRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setCoreParameter("PageCount", std::to_string(pageCount)); -} - -std::string GetFlowAuditLogsRequest::getOrderMode()const -{ - return orderMode_; -} - -void GetFlowAuditLogsRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setCoreParameter("OrderMode", orderMode); -} - -std::string GetFlowAuditLogsRequest::getEntityId()const -{ - return entityId_; -} - -void GetFlowAuditLogsRequest::setEntityId(const std::string& entityId) -{ - entityId_ = entityId; - setCoreParameter("EntityId", entityId); -} - -int GetFlowAuditLogsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void GetFlowAuditLogsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string GetFlowAuditLogsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetFlowAuditLogsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string GetFlowAuditLogsRequest::getRegionId()const -{ - return regionId_; -} - -void GetFlowAuditLogsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int GetFlowAuditLogsRequest::getLimit()const -{ - return limit_; -} - -void GetFlowAuditLogsRequest::setLimit(int limit) -{ - limit_ = limit; - setCoreParameter("Limit", std::to_string(limit)); -} - -int GetFlowAuditLogsRequest::getPageSize()const -{ - return pageSize_; -} - -void GetFlowAuditLogsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int GetFlowAuditLogsRequest::getCurrentSize()const -{ - return currentSize_; -} - -void GetFlowAuditLogsRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string GetFlowAuditLogsRequest::getOrderField()const -{ - return orderField_; -} - -void GetFlowAuditLogsRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setCoreParameter("OrderField", orderField); -} - -std::string GetFlowAuditLogsRequest::getEntityGroupId()const -{ - return entityGroupId_; -} - -void GetFlowAuditLogsRequest::setEntityGroupId(const std::string& entityGroupId) -{ - entityGroupId_ = entityGroupId; - setCoreParameter("EntityGroupId", entityGroupId); -} - -std::string GetFlowAuditLogsRequest::getEntityType()const -{ - return entityType_; -} - -void GetFlowAuditLogsRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setCoreParameter("EntityType", entityType); -} - -std::string GetFlowAuditLogsRequest::getOperatorId()const -{ - return operatorId_; -} - -void GetFlowAuditLogsRequest::setOperatorId(const std::string& operatorId) -{ - operatorId_ = operatorId; - setCoreParameter("OperatorId", operatorId); -} - -std::string GetFlowAuditLogsRequest::getOperation()const -{ - return operation_; -} - -void GetFlowAuditLogsRequest::setOperation(const std::string& operation) -{ - operation_ = operation; - setCoreParameter("Operation", operation); -} - -std::string GetFlowAuditLogsRequest::getStatus()const -{ - return status_; -} - -void GetFlowAuditLogsRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/emr/src/model/GetFlowAuditLogsResult.cc b/emr/src/model/GetFlowAuditLogsResult.cc deleted file mode 100644 index 1ce8fffee..000000000 --- a/emr/src/model/GetFlowAuditLogsResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetFlowAuditLogsResult::GetFlowAuditLogsResult() : - ServiceResult() -{} - -GetFlowAuditLogsResult::GetFlowAuditLogsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFlowAuditLogsResult::~GetFlowAuditLogsResult() -{} - -void GetFlowAuditLogsResult::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["Ts"].isNull()) - itemsObject.ts = std::stol(valueItemsItem["Ts"].asString()); - if(!valueItemsItem["UserId"].isNull()) - itemsObject.userId = valueItemsItem["UserId"].asString(); - if(!valueItemsItem["OperatorId"].isNull()) - itemsObject.operatorId = valueItemsItem["OperatorId"].asString(); - if(!valueItemsItem["EntityId"].isNull()) - itemsObject.entityId = valueItemsItem["EntityId"].asString(); - if(!valueItemsItem["EntityType"].isNull()) - itemsObject.entityType = valueItemsItem["EntityType"].asString(); - if(!valueItemsItem["EntityGroupId"].isNull()) - itemsObject.entityGroupId = valueItemsItem["EntityGroupId"].asString(); - if(!valueItemsItem["Operation"].isNull()) - itemsObject.operation = valueItemsItem["Operation"].asString(); - if(!valueItemsItem["Status"].isNull()) - itemsObject.status = valueItemsItem["Status"].asString(); - if(!valueItemsItem["Content"].isNull()) - itemsObject.content = valueItemsItem["Content"].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 GetFlowAuditLogsResult::getTotalCount()const -{ - return totalCount_; -} - -int GetFlowAuditLogsResult::getPageSize()const -{ - return pageSize_; -} - -int GetFlowAuditLogsResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector GetFlowAuditLogsResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/GetJobMigrateResultRequest.cc b/emr/src/model/GetJobMigrateResultRequest.cc deleted file mode 100644 index f6588dba5..000000000 --- a/emr/src/model/GetJobMigrateResultRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetJobMigrateResultRequest; - -GetJobMigrateResultRequest::GetJobMigrateResultRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetJobMigrateResult") -{} - -GetJobMigrateResultRequest::~GetJobMigrateResultRequest() -{} - -long GetJobMigrateResultRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetJobMigrateResultRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetJobMigrateResultRequest::getRegionId()const -{ - return regionId_; -} - -void GetJobMigrateResultRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetJobMigrateResultRequest::getId()const -{ - return id_; -} - -void GetJobMigrateResultRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string GetJobMigrateResultRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetJobMigrateResultRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetJobMigrateResultResult.cc b/emr/src/model/GetJobMigrateResultResult.cc deleted file mode 100644 index 4c94c122e..000000000 --- a/emr/src/model/GetJobMigrateResultResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetJobMigrateResultResult::GetJobMigrateResultResult() : - ServiceResult() -{} - -GetJobMigrateResultResult::GetJobMigrateResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetJobMigrateResultResult::~GetJobMigrateResultResult() -{} - -void GetJobMigrateResultResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Result"].isNull()) - result_ = value["Result"].asString(); - -} - -std::string GetJobMigrateResultResult::getResult()const -{ - return result_; -} - diff --git a/emr/src/model/GetLogDownloadUrlRequest.cc b/emr/src/model/GetLogDownloadUrlRequest.cc deleted file mode 100644 index df058f819..000000000 --- a/emr/src/model/GetLogDownloadUrlRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetLogDownloadUrlRequest; - -GetLogDownloadUrlRequest::GetLogDownloadUrlRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetLogDownloadUrl") -{} - -GetLogDownloadUrlRequest::~GetLogDownloadUrlRequest() -{} - -long GetLogDownloadUrlRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetLogDownloadUrlRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetLogDownloadUrlRequest::getHostName()const -{ - return hostName_; -} - -void GetLogDownloadUrlRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setCoreParameter("HostName", hostName); -} - -std::string GetLogDownloadUrlRequest::getLogstoreName()const -{ - return logstoreName_; -} - -void GetLogDownloadUrlRequest::setLogstoreName(const std::string& logstoreName) -{ - logstoreName_ = logstoreName; - setCoreParameter("LogstoreName", logstoreName); -} - -std::string GetLogDownloadUrlRequest::getRegionId()const -{ - return regionId_; -} - -void GetLogDownloadUrlRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetLogDownloadUrlRequest::getClusterId()const -{ - return clusterId_; -} - -void GetLogDownloadUrlRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string GetLogDownloadUrlRequest::getLogFileName()const -{ - return logFileName_; -} - -void GetLogDownloadUrlRequest::setLogFileName(const std::string& logFileName) -{ - logFileName_ = logFileName; - setCoreParameter("LogFileName", logFileName); -} - -std::string GetLogDownloadUrlRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetLogDownloadUrlRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetLogDownloadUrlResult.cc b/emr/src/model/GetLogDownloadUrlResult.cc deleted file mode 100644 index faef761a2..000000000 --- a/emr/src/model/GetLogDownloadUrlResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetLogDownloadUrlResult::GetLogDownloadUrlResult() : - ServiceResult() -{} - -GetLogDownloadUrlResult::GetLogDownloadUrlResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetLogDownloadUrlResult::~GetLogDownloadUrlResult() -{} - -void GetLogDownloadUrlResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["DownloadUrlBase64Encoded"].isNull()) - downloadUrlBase64Encoded_ = value["DownloadUrlBase64Encoded"].asString(); - -} - -std::string GetLogDownloadUrlResult::getDownloadUrlBase64Encoded()const -{ - return downloadUrlBase64Encoded_; -} - diff --git a/emr/src/model/GetLogHistogramRequest.cc b/emr/src/model/GetLogHistogramRequest.cc deleted file mode 100644 index 8ae08b887..000000000 --- a/emr/src/model/GetLogHistogramRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::GetLogHistogramRequest; - -GetLogHistogramRequest::GetLogHistogramRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetLogHistogram") -{} - -GetLogHistogramRequest::~GetLogHistogramRequest() -{} - -long GetLogHistogramRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetLogHistogramRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetLogHistogramRequest::getHostInnerIp()const -{ - return hostInnerIp_; -} - -void GetLogHistogramRequest::setHostInnerIp(const std::string& hostInnerIp) -{ - hostInnerIp_ = hostInnerIp; - setCoreParameter("HostInnerIp", hostInnerIp); -} - -std::string GetLogHistogramRequest::getHostName()const -{ - return hostName_; -} - -void GetLogHistogramRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setCoreParameter("HostName", hostName); -} - -std::string GetLogHistogramRequest::getLogstoreName()const -{ - return logstoreName_; -} - -void GetLogHistogramRequest::setLogstoreName(const std::string& logstoreName) -{ - logstoreName_ = logstoreName; - setCoreParameter("LogstoreName", logstoreName); -} - -int GetLogHistogramRequest::getFromTimestamp()const -{ - return fromTimestamp_; -} - -void GetLogHistogramRequest::setFromTimestamp(int fromTimestamp) -{ - fromTimestamp_ = fromTimestamp; - setCoreParameter("FromTimestamp", std::to_string(fromTimestamp)); -} - -std::string GetLogHistogramRequest::getRegionId()const -{ - return regionId_; -} - -void GetLogHistogramRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int GetLogHistogramRequest::getToTimestamp()const -{ - return toTimestamp_; -} - -void GetLogHistogramRequest::setToTimestamp(int toTimestamp) -{ - toTimestamp_ = toTimestamp; - setCoreParameter("ToTimestamp", std::to_string(toTimestamp)); -} - -std::string GetLogHistogramRequest::getSlsQueryString()const -{ - return slsQueryString_; -} - -void GetLogHistogramRequest::setSlsQueryString(const std::string& slsQueryString) -{ - slsQueryString_ = slsQueryString; - setCoreParameter("SlsQueryString", slsQueryString); -} - -std::string GetLogHistogramRequest::getClusterId()const -{ - return clusterId_; -} - -void GetLogHistogramRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string GetLogHistogramRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetLogHistogramRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetLogHistogramResult.cc b/emr/src/model/GetLogHistogramResult.cc deleted file mode 100644 index b6e3931fe..000000000 --- a/emr/src/model/GetLogHistogramResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetLogHistogramResult::GetLogHistogramResult() : - ServiceResult() -{} - -GetLogHistogramResult::GetLogHistogramResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetLogHistogramResult::~GetLogHistogramResult() -{} - -void GetLogHistogramResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allSlsLogHistogramList = value["SlsLogHistogramList"]["SlsLogHistogram"]; - for (auto value : allSlsLogHistogramList) - { - SlsLogHistogram slsLogHistogramListObject; - if(!value["FromTime"].isNull()) - slsLogHistogramListObject.fromTime = std::stoi(value["FromTime"].asString()); - if(!value["ToTime"].isNull()) - slsLogHistogramListObject.toTime = std::stoi(value["ToTime"].asString()); - if(!value["Count"].isNull()) - slsLogHistogramListObject.count = std::stol(value["Count"].asString()); - if(!value["Completed"].isNull()) - slsLogHistogramListObject.completed = value["Completed"].asString() == "true"; - slsLogHistogramList_.push_back(slsLogHistogramListObject); - } - if(!value["Completed"].isNull()) - completed_ = value["Completed"].asString() == "true"; - if(!value["TotalCount"].isNull()) - totalCount_ = std::stol(value["TotalCount"].asString()); - -} - -long GetLogHistogramResult::getTotalCount()const -{ - return totalCount_; -} - -bool GetLogHistogramResult::getCompleted()const -{ - return completed_; -} - -std::vector GetLogHistogramResult::getSlsLogHistogramList()const -{ - return slsLogHistogramList_; -} - diff --git a/emr/src/model/GetMetadataTypeListRequest.cc b/emr/src/model/GetMetadataTypeListRequest.cc deleted file mode 100644 index 657995227..000000000 --- a/emr/src/model/GetMetadataTypeListRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::GetMetadataTypeListRequest; - -GetMetadataTypeListRequest::GetMetadataTypeListRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetMetadataTypeList") -{} - -GetMetadataTypeListRequest::~GetMetadataTypeListRequest() -{} - -long GetMetadataTypeListRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetMetadataTypeListRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetMetadataTypeListRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetMetadataTypeListRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string GetMetadataTypeListRequest::getRegionId()const -{ - return regionId_; -} - -void GetMetadataTypeListRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/GetMetadataTypeListResult.cc b/emr/src/model/GetMetadataTypeListResult.cc deleted file mode 100644 index a573e48d9..000000000 --- a/emr/src/model/GetMetadataTypeListResult.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; - -GetMetadataTypeListResult::GetMetadataTypeListResult() : - ServiceResult() -{} - -GetMetadataTypeListResult::GetMetadataTypeListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetMetadataTypeListResult::~GetMetadataTypeListResult() -{} - -void GetMetadataTypeListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["supportedMetadataTypeDTO"]; - for (auto valueDatasupportedMetadataTypeDTO : allDataNode) - { - SupportedMetadataTypeDTO dataObject; - auto allName = value["Name"]["Name"]; - for (auto value : allName) - dataObject.name.push_back(value.asString()); - auto allServiceName = value["ServiceName"]["ServiceName"]; - for (auto value : allServiceName) - dataObject.serviceName.push_back(value.asString()); - data_.push_back(dataObject); - } - -} - -std::vector GetMetadataTypeListResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/GetOpsCommandDetailRequest.cc b/emr/src/model/GetOpsCommandDetailRequest.cc deleted file mode 100644 index 0297a6082..000000000 --- a/emr/src/model/GetOpsCommandDetailRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetOpsCommandDetailRequest; - -GetOpsCommandDetailRequest::GetOpsCommandDetailRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetOpsCommandDetail") -{} - -GetOpsCommandDetailRequest::~GetOpsCommandDetailRequest() -{} - -long GetOpsCommandDetailRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetOpsCommandDetailRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetOpsCommandDetailRequest::getRegionId()const -{ - return regionId_; -} - -void GetOpsCommandDetailRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetOpsCommandDetailRequest::getOpsCommandName()const -{ - return opsCommandName_; -} - -void GetOpsCommandDetailRequest::setOpsCommandName(const std::string& opsCommandName) -{ - opsCommandName_ = opsCommandName; - setCoreParameter("OpsCommandName", opsCommandName); -} - -std::string GetOpsCommandDetailRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetOpsCommandDetailRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetOpsCommandDetailResult.cc b/emr/src/model/GetOpsCommandDetailResult.cc deleted file mode 100644 index 7ef162ac8..000000000 --- a/emr/src/model/GetOpsCommandDetailResult.cc +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetOpsCommandDetailResult::GetOpsCommandDetailResult() : - ServiceResult() -{} - -GetOpsCommandDetailResult::GetOpsCommandDetailResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetOpsCommandDetailResult::~GetOpsCommandDetailResult() -{} - -void GetOpsCommandDetailResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = std::stol(value["Id"].asString()); - if(!value["Name"].isNull()) - name_ = value["Name"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["TargetType"].isNull()) - targetType_ = value["TargetType"].asString(); - if(!value["ServiceName"].isNull()) - serviceName_ = value["ServiceName"].asString(); - if(!value["Category"].isNull()) - category_ = value["Category"].asString(); - if(!value["Params"].isNull()) - params_ = value["Params"].asString(); - -} - -std::string GetOpsCommandDetailResult::getDescription()const -{ - return description_; -} - -std::string GetOpsCommandDetailResult::getCategory()const -{ - return category_; -} - -std::string GetOpsCommandDetailResult::getServiceName()const -{ - return serviceName_; -} - -std::string GetOpsCommandDetailResult::getTargetType()const -{ - return targetType_; -} - -std::string GetOpsCommandDetailResult::getParams()const -{ - return params_; -} - -long GetOpsCommandDetailResult::getId()const -{ - return id_; -} - -std::string GetOpsCommandDetailResult::getName()const -{ - return name_; -} - diff --git a/emr/src/model/GetOpsCommandResultOnceRequest.cc b/emr/src/model/GetOpsCommandResultOnceRequest.cc deleted file mode 100644 index 0589dbf20..000000000 --- a/emr/src/model/GetOpsCommandResultOnceRequest.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 - -using AlibabaCloud::Emr::Model::GetOpsCommandResultOnceRequest; - -GetOpsCommandResultOnceRequest::GetOpsCommandResultOnceRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetOpsCommandResultOnce") -{} - -GetOpsCommandResultOnceRequest::~GetOpsCommandResultOnceRequest() -{} - -long GetOpsCommandResultOnceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetOpsCommandResultOnceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetOpsCommandResultOnceRequest::getRegionId()const -{ - return regionId_; -} - -void GetOpsCommandResultOnceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetOpsCommandResultOnceRequest::getClusterId()const -{ - return clusterId_; -} - -void GetOpsCommandResultOnceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -long GetOpsCommandResultOnceRequest::getTaskId()const -{ - return taskId_; -} - -void GetOpsCommandResultOnceRequest::setTaskId(long taskId) -{ - taskId_ = taskId; - setCoreParameter("TaskId", std::to_string(taskId)); -} - -std::string GetOpsCommandResultOnceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetOpsCommandResultOnceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetOpsCommandResultOnceResult.cc b/emr/src/model/GetOpsCommandResultOnceResult.cc deleted file mode 100644 index 597364919..000000000 --- a/emr/src/model/GetOpsCommandResultOnceResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetOpsCommandResultOnceResult::GetOpsCommandResultOnceResult() : - ServiceResult() -{} - -GetOpsCommandResultOnceResult::GetOpsCommandResultOnceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetOpsCommandResultOnceResult::~GetOpsCommandResultOnceResult() -{} - -void GetOpsCommandResultOnceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Content"].isNull()) - content_ = value["Content"].asString(); - -} - -std::string GetOpsCommandResultOnceResult::getContent()const -{ - return content_; -} - diff --git a/emr/src/model/GetOpsCommandResultRequest.cc b/emr/src/model/GetOpsCommandResultRequest.cc deleted file mode 100644 index 494bdb71b..000000000 --- a/emr/src/model/GetOpsCommandResultRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::GetOpsCommandResultRequest; - -GetOpsCommandResultRequest::GetOpsCommandResultRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetOpsCommandResult") -{} - -GetOpsCommandResultRequest::~GetOpsCommandResultRequest() -{} - -long GetOpsCommandResultRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetOpsCommandResultRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetOpsCommandResultRequest::getRegionId()const -{ - return regionId_; -} - -void GetOpsCommandResultRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long GetOpsCommandResultRequest::getEndCursor()const -{ - return endCursor_; -} - -void GetOpsCommandResultRequest::setEndCursor(long endCursor) -{ - endCursor_ = endCursor; - setCoreParameter("EndCursor", std::to_string(endCursor)); -} - -long GetOpsCommandResultRequest::getStartCursor()const -{ - return startCursor_; -} - -void GetOpsCommandResultRequest::setStartCursor(long startCursor) -{ - startCursor_ = startCursor; - setCoreParameter("StartCursor", std::to_string(startCursor)); -} - -std::string GetOpsCommandResultRequest::getClusterId()const -{ - return clusterId_; -} - -void GetOpsCommandResultRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -long GetOpsCommandResultRequest::getTaskId()const -{ - return taskId_; -} - -void GetOpsCommandResultRequest::setTaskId(long taskId) -{ - taskId_ = taskId; - setCoreParameter("TaskId", std::to_string(taskId)); -} - -std::string GetOpsCommandResultRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetOpsCommandResultRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetOpsCommandResultResult.cc b/emr/src/model/GetOpsCommandResultResult.cc deleted file mode 100644 index 05be7c6d1..000000000 --- a/emr/src/model/GetOpsCommandResultResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetOpsCommandResultResult::GetOpsCommandResultResult() : - ServiceResult() -{} - -GetOpsCommandResultResult::GetOpsCommandResultResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetOpsCommandResultResult::~GetOpsCommandResultResult() -{} - -void GetOpsCommandResultResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Content"].isNull()) - content_ = value["Content"].asString(); - if(!value["Cursor"].isNull()) - cursor_ = std::stol(value["Cursor"].asString()); - if(!value["Finished"].isNull()) - finished_ = value["Finished"].asString() == "true"; - -} - -bool GetOpsCommandResultResult::getFinished()const -{ - return finished_; -} - -std::string GetOpsCommandResultResult::getContent()const -{ - return content_; -} - -long GetOpsCommandResultResult::getCursor()const -{ - return cursor_; -} - diff --git a/emr/src/model/GetSupportedOpsCommandRequest.cc b/emr/src/model/GetSupportedOpsCommandRequest.cc deleted file mode 100644 index e0cb36527..000000000 --- a/emr/src/model/GetSupportedOpsCommandRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::GetSupportedOpsCommandRequest; - -GetSupportedOpsCommandRequest::GetSupportedOpsCommandRequest() : - RpcServiceRequest("emr", "2016-04-08", "GetSupportedOpsCommand") -{} - -GetSupportedOpsCommandRequest::~GetSupportedOpsCommandRequest() -{} - -long GetSupportedOpsCommandRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void GetSupportedOpsCommandRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string GetSupportedOpsCommandRequest::getRegionId()const -{ - return regionId_; -} - -void GetSupportedOpsCommandRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string GetSupportedOpsCommandRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void GetSupportedOpsCommandRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/GetSupportedOpsCommandResult.cc b/emr/src/model/GetSupportedOpsCommandResult.cc deleted file mode 100644 index 26c9aef29..000000000 --- a/emr/src/model/GetSupportedOpsCommandResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -GetSupportedOpsCommandResult::GetSupportedOpsCommandResult() : - ServiceResult() -{} - -GetSupportedOpsCommandResult::GetSupportedOpsCommandResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetSupportedOpsCommandResult::~GetSupportedOpsCommandResult() -{} - -void GetSupportedOpsCommandResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allList = value["List"]["OpsCommandCategory"]; - for (auto value : allList) - { - OpsCommandCategory listObject; - if(!value["Category"].isNull()) - listObject.category = value["Category"].asString(); - auto allCommandList = value["CommandList"]["OpsCommandInfo"]; - for (auto value : allCommandList) - { - OpsCommandCategory::OpsCommandInfo commandListObject; - if(!value["Id"].isNull()) - commandListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - commandListObject.name = value["Name"].asString(); - if(!value["Discription"].isNull()) - commandListObject.discription = value["Discription"].asString(); - if(!value["TargetType"].isNull()) - commandListObject.targetType = value["TargetType"].asString(); - if(!value["Params"].isNull()) - commandListObject.params = value["Params"].asString(); - listObject.commandList.push_back(commandListObject); - } - list_.push_back(listObject); - } - -} - -std::vector GetSupportedOpsCommandResult::getList()const -{ - return list_; -} - diff --git a/emr/src/model/InstallLibrariesRequest.cc b/emr/src/model/InstallLibrariesRequest.cc new file mode 100644 index 000000000..bfe946cf1 --- /dev/null +++ b/emr/src/model/InstallLibrariesRequest.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::InstallLibrariesRequest; + +InstallLibrariesRequest::InstallLibrariesRequest() : + RpcServiceRequest("emr", "2016-04-08", "InstallLibraries") +{ + setMethod(HttpRequest::Method::Post); +} + +InstallLibrariesRequest::~InstallLibrariesRequest() +{} + +long InstallLibrariesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void InstallLibrariesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string InstallLibrariesRequest::getLibraryBizId()const +{ + return libraryBizId_; +} + +void InstallLibrariesRequest::setLibraryBizId(const std::string& libraryBizId) +{ + libraryBizId_ = libraryBizId; + setParameter("LibraryBizId", libraryBizId); +} + +std::string InstallLibrariesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void InstallLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string InstallLibrariesRequest::getRegionId()const +{ + return regionId_; +} + +void InstallLibrariesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::vector InstallLibrariesRequest::getClusterBizIdList()const +{ + return clusterBizIdList_; +} + +void InstallLibrariesRequest::setClusterBizIdList(const std::vector& clusterBizIdList) +{ + clusterBizIdList_ = clusterBizIdList; + for(int dep1 = 0; dep1!= clusterBizIdList.size(); dep1++) { + setParameter("ClusterBizIdList."+ std::to_string(dep1), clusterBizIdList.at(dep1)); + } +} + diff --git a/emr/src/model/InstallLibrariesResult.cc b/emr/src/model/InstallLibrariesResult.cc new file mode 100644 index 000000000..0f4036ea4 --- /dev/null +++ b/emr/src/model/InstallLibrariesResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +InstallLibrariesResult::InstallLibrariesResult() : + ServiceResult() +{} + +InstallLibrariesResult::InstallLibrariesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +InstallLibrariesResult::~InstallLibrariesResult() +{} + +void InstallLibrariesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string InstallLibrariesResult::getData()const +{ + return data_; +} + diff --git a/emr/src/model/JoinResourceGroupRequest.cc b/emr/src/model/JoinResourceGroupRequest.cc new file mode 100644 index 000000000..07c8de1bc --- /dev/null +++ b/emr/src/model/JoinResourceGroupRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::JoinResourceGroupRequest; + +JoinResourceGroupRequest::JoinResourceGroupRequest() : + RpcServiceRequest("emr", "2016-04-08", "JoinResourceGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +JoinResourceGroupRequest::~JoinResourceGroupRequest() +{} + +long JoinResourceGroupRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void JoinResourceGroupRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string JoinResourceGroupRequest::getResourceId()const +{ + return resourceId_; +} + +void JoinResourceGroupRequest::setResourceId(const std::string& resourceId) +{ + resourceId_ = resourceId; + setParameter("ResourceId", resourceId); +} + +std::string JoinResourceGroupRequest::getResourceType()const +{ + return resourceType_; +} + +void JoinResourceGroupRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + +std::string JoinResourceGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void JoinResourceGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string JoinResourceGroupRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void JoinResourceGroupRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string JoinResourceGroupRequest::getRegionId()const +{ + return regionId_; +} + +void JoinResourceGroupRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/emr/src/model/RetryCreateUserPasswordResult.cc b/emr/src/model/JoinResourceGroupResult.cc similarity index 72% rename from emr/src/model/RetryCreateUserPasswordResult.cc rename to emr/src/model/JoinResourceGroupResult.cc index 8f40ebdf3..2a5fe38ff 100644 --- a/emr/src/model/RetryCreateUserPasswordResult.cc +++ b/emr/src/model/JoinResourceGroupResult.cc @@ -14,31 +14,30 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -RetryCreateUserPasswordResult::RetryCreateUserPasswordResult() : +JoinResourceGroupResult::JoinResourceGroupResult() : ServiceResult() {} -RetryCreateUserPasswordResult::RetryCreateUserPasswordResult(const std::string &payload) : +JoinResourceGroupResult::JoinResourceGroupResult(const std::string &payload) : ServiceResult() { parse(payload); } -RetryCreateUserPasswordResult::~RetryCreateUserPasswordResult() +JoinResourceGroupResult::~JoinResourceGroupResult() {} -void RetryCreateUserPasswordResult::parse(const std::string &payload) +void JoinResourceGroupResult::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/KillETLJobInstanceRequest.cc b/emr/src/model/KillETLJobInstanceRequest.cc deleted file mode 100644 index b34acdd39..000000000 --- a/emr/src/model/KillETLJobInstanceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::KillETLJobInstanceRequest; - -KillETLJobInstanceRequest::KillETLJobInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "KillETLJobInstance") -{} - -KillETLJobInstanceRequest::~KillETLJobInstanceRequest() -{} - -long KillETLJobInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void KillETLJobInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string KillETLJobInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void KillETLJobInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setCoreParameter("InstanceId", instanceId); -} - -std::string KillETLJobInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void KillETLJobInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string KillETLJobInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void KillETLJobInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/KillETLJobInstanceResult.cc b/emr/src/model/KillETLJobInstanceResult.cc deleted file mode 100644 index a7ed1bac1..000000000 --- a/emr/src/model/KillETLJobInstanceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -KillETLJobInstanceResult::KillETLJobInstanceResult() : - ServiceResult() -{} - -KillETLJobInstanceResult::KillETLJobInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -KillETLJobInstanceResult::~KillETLJobInstanceResult() -{} - -void KillETLJobInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/KillExecutionPlanInstanceRequest.cc b/emr/src/model/KillExecutionPlanInstanceRequest.cc deleted file mode 100644 index 9fa38cc1f..000000000 --- a/emr/src/model/KillExecutionPlanInstanceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::KillExecutionPlanInstanceRequest; - -KillExecutionPlanInstanceRequest::KillExecutionPlanInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "KillExecutionPlanInstance") -{} - -KillExecutionPlanInstanceRequest::~KillExecutionPlanInstanceRequest() -{} - -long KillExecutionPlanInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void KillExecutionPlanInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string KillExecutionPlanInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void KillExecutionPlanInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string KillExecutionPlanInstanceRequest::getId()const -{ - return id_; -} - -void KillExecutionPlanInstanceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string KillExecutionPlanInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void KillExecutionPlanInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/KillExecutionPlanInstanceResult.cc b/emr/src/model/KillExecutionPlanInstanceResult.cc deleted file mode 100644 index 08d00afc5..000000000 --- a/emr/src/model/KillExecutionPlanInstanceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -KillExecutionPlanInstanceResult::KillExecutionPlanInstanceResult() : - ServiceResult() -{} - -KillExecutionPlanInstanceResult::KillExecutionPlanInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -KillExecutionPlanInstanceResult::~KillExecutionPlanInstanceResult() -{} - -void KillExecutionPlanInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/KillFlowRequest.cc b/emr/src/model/KillFlowRequest.cc deleted file mode 100644 index fbc05cf68..000000000 --- a/emr/src/model/KillFlowRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::KillFlowRequest; - -KillFlowRequest::KillFlowRequest() : - RpcServiceRequest("emr", "2016-04-08", "KillFlow") -{} - -KillFlowRequest::~KillFlowRequest() -{} - -std::string KillFlowRequest::getFlowInstanceId()const -{ - return flowInstanceId_; -} - -void KillFlowRequest::setFlowInstanceId(const std::string& flowInstanceId) -{ - flowInstanceId_ = flowInstanceId; - setCoreParameter("FlowInstanceId", flowInstanceId); -} - -std::string KillFlowRequest::getRegionId()const -{ - return regionId_; -} - -void KillFlowRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string KillFlowRequest::getProjectId()const -{ - return projectId_; -} - -void KillFlowRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - diff --git a/emr/src/model/KillFlowResult.cc b/emr/src/model/KillFlowResult.cc deleted file mode 100644 index 637ce787f..000000000 --- a/emr/src/model/KillFlowResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -KillFlowResult::KillFlowResult() : - ServiceResult() -{} - -KillFlowResult::KillFlowResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -KillFlowResult::~KillFlowResult() -{} - -void KillFlowResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool KillFlowResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ListAdviceActionRequest.cc b/emr/src/model/ListAdviceActionRequest.cc new file mode 100644 index 000000000..f7e122385 --- /dev/null +++ b/emr/src/model/ListAdviceActionRequest.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::ListAdviceActionRequest; + +ListAdviceActionRequest::ListAdviceActionRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListAdviceAction") +{ + setMethod(HttpRequest::Method::Post); +} + +ListAdviceActionRequest::~ListAdviceActionRequest() +{} + +long ListAdviceActionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListAdviceActionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListAdviceActionRequest::getClusterId()const +{ + return clusterId_; +} + +void ListAdviceActionRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListAdviceActionRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListAdviceActionRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListAdviceActionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListAdviceActionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListAdviceActionRequest::getComponent()const +{ + return component_; +} + +void ListAdviceActionRequest::setComponent(const std::string& component) +{ + component_ = component; + setParameter("Component", component); +} + +std::string ListAdviceActionRequest::getRegionId()const +{ + return regionId_; +} + +void ListAdviceActionRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListAdviceActionRequest::getPageSize()const +{ + return pageSize_; +} + +void ListAdviceActionRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListAdviceActionRequest::getServiceName()const +{ + return serviceName_; +} + +void ListAdviceActionRequest::setServiceName(const std::string& serviceName) +{ + serviceName_ = serviceName; + setParameter("ServiceName", serviceName); +} + diff --git a/emr/src/model/ListStreamingSqlQueryResult.cc b/emr/src/model/ListAdviceActionResult.cc similarity index 54% rename from emr/src/model/ListStreamingSqlQueryResult.cc rename to emr/src/model/ListAdviceActionResult.cc index 1c1cee165..91e5ac198 100644 --- a/emr/src/model/ListStreamingSqlQueryResult.cc +++ b/emr/src/model/ListAdviceActionResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ListStreamingSqlQueryResult::ListStreamingSqlQueryResult() : +ListAdviceActionResult::ListAdviceActionResult() : ServiceResult() {} -ListStreamingSqlQueryResult::ListStreamingSqlQueryResult(const std::string &payload) : +ListAdviceActionResult::ListAdviceActionResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListStreamingSqlQueryResult::~ListStreamingSqlQueryResult() +ListAdviceActionResult::~ListAdviceActionResult() {} -void ListStreamingSqlQueryResult::parse(const std::string &payload) +void ListAdviceActionResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -43,22 +43,26 @@ void ListStreamingSqlQueryResult::parse(const std::string &payload) for (auto valueItemsItem : allItemsNode) { Item itemsObject; + if(!valueItemsItem["ConfigName"].isNull()) + itemsObject.configName = valueItemsItem["ConfigName"].asString(); + if(!valueItemsItem["ConfigItemKey"].isNull()) + itemsObject.configItemKey = valueItemsItem["ConfigItemKey"].asString(); + if(!valueItemsItem["Command"].isNull()) + itemsObject.command = valueItemsItem["Command"].asString(); + if(!valueItemsItem["ClusterId"].isNull()) + itemsObject.clusterId = valueItemsItem["ClusterId"].asString(); + if(!valueItemsItem["HostgroupName"].isNull()) + itemsObject.hostgroupName = valueItemsItem["HostgroupName"].asString(); + if(!valueItemsItem["ServiceName"].isNull()) + itemsObject.serviceName = valueItemsItem["ServiceName"].asString(); + if(!valueItemsItem["Component"].isNull()) + itemsObject.component = valueItemsItem["Component"].asString(); + if(!valueItemsItem["ActionType"].isNull()) + itemsObject.actionType = valueItemsItem["ActionType"].asString(); if(!valueItemsItem["GmtCreate"].isNull()) itemsObject.gmtCreate = std::stol(valueItemsItem["GmtCreate"].asString()); if(!valueItemsItem["GmtModified"].isNull()) itemsObject.gmtModified = std::stol(valueItemsItem["GmtModified"].asString()); - if(!valueItemsItem["QueryName"].isNull()) - itemsObject.queryName = valueItemsItem["QueryName"].asString(); - if(!valueItemsItem["QueryId"].isNull()) - itemsObject.queryId = valueItemsItem["QueryId"].asString(); - if(!valueItemsItem["RunId"].isNull()) - itemsObject.runId = valueItemsItem["RunId"].asString(); - if(!valueItemsItem["Status"].isNull()) - itemsObject.status = valueItemsItem["Status"].asString(); - if(!valueItemsItem["Error"].isNull()) - itemsObject.error = valueItemsItem["Error"].asString(); - if(!valueItemsItem["InstanceId"].isNull()) - itemsObject.instanceId = valueItemsItem["InstanceId"].asString(); items_.push_back(itemsObject); } if(!value["PageNumber"].isNull()) @@ -70,22 +74,22 @@ void ListStreamingSqlQueryResult::parse(const std::string &payload) } -int ListStreamingSqlQueryResult::getTotalCount()const +int ListAdviceActionResult::getTotalCount()const { return totalCount_; } -int ListStreamingSqlQueryResult::getPageSize()const +int ListAdviceActionResult::getPageSize()const { return pageSize_; } -int ListStreamingSqlQueryResult::getPageNumber()const +int ListAdviceActionResult::getPageNumber()const { return pageNumber_; } -std::vector ListStreamingSqlQueryResult::getItems()const +std::vector ListAdviceActionResult::getItems()const { return items_; } diff --git a/emr/src/model/ListAlertContactsRequest.cc b/emr/src/model/ListAlertContactsRequest.cc deleted file mode 100644 index dd83cb651..000000000 --- a/emr/src/model/ListAlertContactsRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListAlertContactsRequest; - -ListAlertContactsRequest::ListAlertContactsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListAlertContacts") -{} - -ListAlertContactsRequest::~ListAlertContactsRequest() -{} - -long ListAlertContactsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListAlertContactsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListAlertContactsRequest::getFromApp()const -{ - return fromApp_; -} - -void ListAlertContactsRequest::setFromApp(const std::string& fromApp) -{ - fromApp_ = fromApp; - setCoreParameter("FromApp", fromApp); -} - -std::string ListAlertContactsRequest::getUserId()const -{ - return userId_; -} - -void ListAlertContactsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ListAlertContactsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListAlertContactsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListAlertContactsRequest::getRegionId()const -{ - return regionId_; -} - -void ListAlertContactsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListAlertContactsRequest::getIds()const -{ - return ids_; -} - -void ListAlertContactsRequest::setIds(const std::string& ids) -{ - ids_ = ids; - setCoreParameter("Ids", ids); -} - diff --git a/emr/src/model/ListAlertContactsResult.cc b/emr/src/model/ListAlertContactsResult.cc deleted file mode 100644 index b7bd6732c..000000000 --- a/emr/src/model/ListAlertContactsResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListAlertContactsResult::ListAlertContactsResult() : - ServiceResult() -{} - -ListAlertContactsResult::ListAlertContactsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAlertContactsResult::~ListAlertContactsResult() -{} - -void ListAlertContactsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAlertContactListNode = value["AlertContactList"]["AlertContact"]; - for (auto valueAlertContactListAlertContact : allAlertContactListNode) - { - AlertContact alertContactListObject; - if(!valueAlertContactListAlertContact["Id"].isNull()) - alertContactListObject.id = std::stol(valueAlertContactListAlertContact["Id"].asString()); - if(!valueAlertContactListAlertContact["GmtCreate"].isNull()) - alertContactListObject.gmtCreate = valueAlertContactListAlertContact["GmtCreate"].asString(); - if(!valueAlertContactListAlertContact["GmtModified"].isNull()) - alertContactListObject.gmtModified = valueAlertContactListAlertContact["GmtModified"].asString(); - if(!valueAlertContactListAlertContact["BizId"].isNull()) - alertContactListObject.bizId = valueAlertContactListAlertContact["BizId"].asString(); - if(!valueAlertContactListAlertContact["Name"].isNull()) - alertContactListObject.name = valueAlertContactListAlertContact["Name"].asString(); - if(!valueAlertContactListAlertContact["Email"].isNull()) - alertContactListObject.email = valueAlertContactListAlertContact["Email"].asString(); - if(!valueAlertContactListAlertContact["PhoneNumber"].isNull()) - alertContactListObject.phoneNumber = valueAlertContactListAlertContact["PhoneNumber"].asString(); - alertContactList_.push_back(alertContactListObject); - } - -} - -std::vector ListAlertContactsResult::getAlertContactList()const -{ - return alertContactList_; -} - diff --git a/emr/src/model/ListAlertDingDingGroupRequest.cc b/emr/src/model/ListAlertDingDingGroupRequest.cc deleted file mode 100644 index 2683415d9..000000000 --- a/emr/src/model/ListAlertDingDingGroupRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListAlertDingDingGroupRequest; - -ListAlertDingDingGroupRequest::ListAlertDingDingGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListAlertDingDingGroup") -{} - -ListAlertDingDingGroupRequest::~ListAlertDingDingGroupRequest() -{} - -long ListAlertDingDingGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListAlertDingDingGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListAlertDingDingGroupRequest::getFromApp()const -{ - return fromApp_; -} - -void ListAlertDingDingGroupRequest::setFromApp(const std::string& fromApp) -{ - fromApp_ = fromApp; - setCoreParameter("FromApp", fromApp); -} - -std::string ListAlertDingDingGroupRequest::getUserId()const -{ - return userId_; -} - -void ListAlertDingDingGroupRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ListAlertDingDingGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListAlertDingDingGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListAlertDingDingGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ListAlertDingDingGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListAlertDingDingGroupRequest::getIds()const -{ - return ids_; -} - -void ListAlertDingDingGroupRequest::setIds(const std::string& ids) -{ - ids_ = ids; - setCoreParameter("Ids", ids); -} - diff --git a/emr/src/model/ListAlertDingDingGroupResult.cc b/emr/src/model/ListAlertDingDingGroupResult.cc deleted file mode 100644 index c41d0acd7..000000000 --- a/emr/src/model/ListAlertDingDingGroupResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListAlertDingDingGroupResult::ListAlertDingDingGroupResult() : - ServiceResult() -{} - -ListAlertDingDingGroupResult::ListAlertDingDingGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAlertDingDingGroupResult::~ListAlertDingDingGroupResult() -{} - -void ListAlertDingDingGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAlertDingDingGroupListNode = value["AlertDingDingGroupList"]["alertDingDingGroup"]; - for (auto valueAlertDingDingGroupListalertDingDingGroup : allAlertDingDingGroupListNode) - { - AlertDingDingGroup alertDingDingGroupListObject; - if(!valueAlertDingDingGroupListalertDingDingGroup["Id"].isNull()) - alertDingDingGroupListObject.id = std::stol(valueAlertDingDingGroupListalertDingDingGroup["Id"].asString()); - if(!valueAlertDingDingGroupListalertDingDingGroup["GmtCreate"].isNull()) - alertDingDingGroupListObject.gmtCreate = valueAlertDingDingGroupListalertDingDingGroup["GmtCreate"].asString(); - if(!valueAlertDingDingGroupListalertDingDingGroup["GmtModified"].isNull()) - alertDingDingGroupListObject.gmtModified = valueAlertDingDingGroupListalertDingDingGroup["GmtModified"].asString(); - if(!valueAlertDingDingGroupListalertDingDingGroup["BizId"].isNull()) - alertDingDingGroupListObject.bizId = valueAlertDingDingGroupListalertDingDingGroup["BizId"].asString(); - if(!valueAlertDingDingGroupListalertDingDingGroup["Name"].isNull()) - alertDingDingGroupListObject.name = valueAlertDingDingGroupListalertDingDingGroup["Name"].asString(); - if(!valueAlertDingDingGroupListalertDingDingGroup["Description"].isNull()) - alertDingDingGroupListObject.description = valueAlertDingDingGroupListalertDingDingGroup["Description"].asString(); - if(!valueAlertDingDingGroupListalertDingDingGroup["WebHookUrl"].isNull()) - alertDingDingGroupListObject.webHookUrl = valueAlertDingDingGroupListalertDingDingGroup["WebHookUrl"].asString(); - alertDingDingGroupList_.push_back(alertDingDingGroupListObject); - } - -} - -std::vector ListAlertDingDingGroupResult::getAlertDingDingGroupList()const -{ - return alertDingDingGroupList_; -} - diff --git a/emr/src/model/ListAlertUserGroupRequest.cc b/emr/src/model/ListAlertUserGroupRequest.cc deleted file mode 100644 index cfa525536..000000000 --- a/emr/src/model/ListAlertUserGroupRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListAlertUserGroupRequest; - -ListAlertUserGroupRequest::ListAlertUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListAlertUserGroup") -{} - -ListAlertUserGroupRequest::~ListAlertUserGroupRequest() -{} - -long ListAlertUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListAlertUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListAlertUserGroupRequest::getFromApp()const -{ - return fromApp_; -} - -void ListAlertUserGroupRequest::setFromApp(const std::string& fromApp) -{ - fromApp_ = fromApp; - setCoreParameter("FromApp", fromApp); -} - -std::string ListAlertUserGroupRequest::getUserId()const -{ - return userId_; -} - -void ListAlertUserGroupRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ListAlertUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListAlertUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListAlertUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ListAlertUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListAlertUserGroupRequest::getIds()const -{ - return ids_; -} - -void ListAlertUserGroupRequest::setIds(const std::string& ids) -{ - ids_ = ids; - setCoreParameter("Ids", ids); -} - diff --git a/emr/src/model/ListAlertUserGroupResult.cc b/emr/src/model/ListAlertUserGroupResult.cc deleted file mode 100644 index 213ddb399..000000000 --- a/emr/src/model/ListAlertUserGroupResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListAlertUserGroupResult::ListAlertUserGroupResult() : - ServiceResult() -{} - -ListAlertUserGroupResult::ListAlertUserGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAlertUserGroupResult::~ListAlertUserGroupResult() -{} - -void ListAlertUserGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allAlertUserGroupListNode = value["AlertUserGroupList"]["Group"]; - for (auto valueAlertUserGroupListGroup : allAlertUserGroupListNode) - { - Group alertUserGroupListObject; - if(!valueAlertUserGroupListGroup["Id"].isNull()) - alertUserGroupListObject.id = std::stol(valueAlertUserGroupListGroup["Id"].asString()); - if(!valueAlertUserGroupListGroup["GmtCreate"].isNull()) - alertUserGroupListObject.gmtCreate = valueAlertUserGroupListGroup["GmtCreate"].asString(); - if(!valueAlertUserGroupListGroup["GmtModified"].isNull()) - alertUserGroupListObject.gmtModified = valueAlertUserGroupListGroup["GmtModified"].asString(); - if(!valueAlertUserGroupListGroup["BizId"].isNull()) - alertUserGroupListObject.bizId = valueAlertUserGroupListGroup["BizId"].asString(); - if(!valueAlertUserGroupListGroup["Name"].isNull()) - alertUserGroupListObject.name = valueAlertUserGroupListGroup["Name"].asString(); - if(!valueAlertUserGroupListGroup["Description"].isNull()) - alertUserGroupListObject.description = valueAlertUserGroupListGroup["Description"].asString(); - auto allUserListNode = allAlertUserGroupListNode["UserList"]["UserInfo"]; - for (auto allAlertUserGroupListNodeUserListUserInfo : allUserListNode) - { - Group::UserInfo userListObject; - if(!allAlertUserGroupListNodeUserListUserInfo["UserId"].isNull()) - userListObject.userId = allAlertUserGroupListNodeUserListUserInfo["UserId"].asString(); - if(!allAlertUserGroupListNodeUserListUserInfo["UserName"].isNull()) - userListObject.userName = allAlertUserGroupListNodeUserListUserInfo["UserName"].asString(); - if(!allAlertUserGroupListNodeUserListUserInfo["EnableSMS"].isNull()) - userListObject.enableSMS = allAlertUserGroupListNodeUserListUserInfo["EnableSMS"].asString() == "true"; - if(!allAlertUserGroupListNodeUserListUserInfo["EnableEmail"].isNull()) - userListObject.enableEmail = allAlertUserGroupListNodeUserListUserInfo["EnableEmail"].asString() == "true"; - alertUserGroupListObject.userList.push_back(userListObject); - } - alertUserGroupList_.push_back(alertUserGroupListObject); - } - -} - -std::vector ListAlertUserGroupResult::getAlertUserGroupList()const -{ - return alertUserGroupList_; -} - diff --git a/emr/src/model/ListBackupPlansRequest.cc b/emr/src/model/ListBackupPlansRequest.cc deleted file mode 100644 index d089ed5c9..000000000 --- a/emr/src/model/ListBackupPlansRequest.cc +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListBackupPlansRequest; - -ListBackupPlansRequest::ListBackupPlansRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListBackupPlans") -{} - -ListBackupPlansRequest::~ListBackupPlansRequest() -{} - -long ListBackupPlansRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListBackupPlansRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListBackupPlansRequest::getPageCount()const -{ - return pageCount_; -} - -void ListBackupPlansRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setCoreParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListBackupPlansRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListBackupPlansRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setCoreParameter("OrderMode", orderMode); -} - -int ListBackupPlansRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBackupPlansRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListBackupPlansRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListBackupPlansRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListBackupPlansRequest::getRegionId()const -{ - return regionId_; -} - -void ListBackupPlansRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListBackupPlansRequest::getLimit()const -{ - return limit_; -} - -void ListBackupPlansRequest::setLimit(int limit) -{ - limit_ = limit; - setCoreParameter("Limit", std::to_string(limit)); -} - -int ListBackupPlansRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBackupPlansRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -long ListBackupPlansRequest::getId()const -{ - return id_; -} - -void ListBackupPlansRequest::setId(long id) -{ - id_ = id; - setCoreParameter("Id", std::to_string(id)); -} - -int ListBackupPlansRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListBackupPlansRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListBackupPlansRequest::getOrderField()const -{ - return orderField_; -} - -void ListBackupPlansRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setCoreParameter("OrderField", orderField); -} - -std::string ListBackupPlansRequest::getClusterId()const -{ - return clusterId_; -} - -void ListBackupPlansRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListBackupPlansRequest::getBizId()const -{ - return bizId_; -} - -void ListBackupPlansRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string ListBackupPlansRequest::getStatus()const -{ - return status_; -} - -void ListBackupPlansRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/emr/src/model/ListBackupRulesRequest.cc b/emr/src/model/ListBackupRulesRequest.cc deleted file mode 100644 index faaa2cc5f..000000000 --- a/emr/src/model/ListBackupRulesRequest.cc +++ /dev/null @@ -1,181 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListBackupRulesRequest; - -ListBackupRulesRequest::ListBackupRulesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListBackupRules") -{} - -ListBackupRulesRequest::~ListBackupRulesRequest() -{} - -long ListBackupRulesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListBackupRulesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListBackupRulesRequest::getPageCount()const -{ - return pageCount_; -} - -void ListBackupRulesRequest::setPageCount(int pageCount) -{ - pageCount_ = pageCount; - setCoreParameter("PageCount", std::to_string(pageCount)); -} - -std::string ListBackupRulesRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListBackupRulesRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setCoreParameter("OrderMode", orderMode); -} - -std::string ListBackupRulesRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void ListBackupRulesRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setCoreParameter("BackupPlanId", backupPlanId); -} - -int ListBackupRulesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListBackupRulesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListBackupRulesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListBackupRulesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListBackupRulesRequest::getRegionId()const -{ - return regionId_; -} - -void ListBackupRulesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListBackupRulesRequest::getLimit()const -{ - return limit_; -} - -void ListBackupRulesRequest::setLimit(int limit) -{ - limit_ = limit; - setCoreParameter("Limit", std::to_string(limit)); -} - -int ListBackupRulesRequest::getPageSize()const -{ - return pageSize_; -} - -void ListBackupRulesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -long ListBackupRulesRequest::getId()const -{ - return id_; -} - -void ListBackupRulesRequest::setId(long id) -{ - id_ = id; - setCoreParameter("Id", std::to_string(id)); -} - -int ListBackupRulesRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListBackupRulesRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListBackupRulesRequest::getOrderField()const -{ - return orderField_; -} - -void ListBackupRulesRequest::setOrderField(const std::string& orderField) -{ - orderField_ = orderField; - setCoreParameter("OrderField", orderField); -} - -std::string ListBackupRulesRequest::getBizId()const -{ - return bizId_; -} - -void ListBackupRulesRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string ListBackupRulesRequest::getStatus()const -{ - return status_; -} - -void ListBackupRulesRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/emr/src/model/ListClusterHostComponentForAdminRequest.cc b/emr/src/model/ListClusterHostComponentForAdminRequest.cc deleted file mode 100644 index c2ca0ade4..000000000 --- a/emr/src/model/ListClusterHostComponentForAdminRequest.cc +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListClusterHostComponentForAdminRequest; - -ListClusterHostComponentForAdminRequest::ListClusterHostComponentForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterHostComponentForAdmin") -{} - -ListClusterHostComponentForAdminRequest::~ListClusterHostComponentForAdminRequest() -{} - -long ListClusterHostComponentForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterHostComponentForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterHostComponentForAdminRequest::getHostInstanceId()const -{ - return hostInstanceId_; -} - -void ListClusterHostComponentForAdminRequest::setHostInstanceId(const std::string& hostInstanceId) -{ - hostInstanceId_ = hostInstanceId; - setCoreParameter("HostInstanceId", hostInstanceId); -} - -std::string ListClusterHostComponentForAdminRequest::getComponentName()const -{ - return componentName_; -} - -void ListClusterHostComponentForAdminRequest::setComponentName(const std::string& componentName) -{ - componentName_ = componentName; - setCoreParameter("ComponentName", componentName); -} - -std::string ListClusterHostComponentForAdminRequest::getUserId()const -{ - return userId_; -} - -void ListClusterHostComponentForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -int ListClusterHostComponentForAdminRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListClusterHostComponentForAdminRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListClusterHostComponentForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterHostComponentForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListClusterHostComponentForAdminRequest::getComponentStatus()const -{ - return componentStatus_; -} - -void ListClusterHostComponentForAdminRequest::setComponentStatus(const std::string& componentStatus) -{ - componentStatus_ = componentStatus; - setCoreParameter("ComponentStatus", componentStatus); -} - -std::string ListClusterHostComponentForAdminRequest::getHostName()const -{ - return hostName_; -} - -void ListClusterHostComponentForAdminRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setCoreParameter("HostName", hostName); -} - -std::string ListClusterHostComponentForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterHostComponentForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListClusterHostComponentForAdminRequest::getPageSize()const -{ - return pageSize_; -} - -void ListClusterHostComponentForAdminRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListClusterHostComponentForAdminRequest::getServiceName()const -{ - return serviceName_; -} - -void ListClusterHostComponentForAdminRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - -std::string ListClusterHostComponentForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void ListClusterHostComponentForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListClusterHostComponentForAdminRequest::getHostRole()const -{ - return hostRole_; -} - -void ListClusterHostComponentForAdminRequest::setHostRole(const std::string& hostRole) -{ - hostRole_ = hostRole; - setCoreParameter("HostRole", hostRole); -} - diff --git a/emr/src/model/ListClusterHostComponentResult.cc b/emr/src/model/ListClusterHostComponentResult.cc index 2e01aef7c..e82187f69 100644 --- a/emr/src/model/ListClusterHostComponentResult.cc +++ b/emr/src/model/ListClusterHostComponentResult.cc @@ -77,6 +77,8 @@ void ListClusterHostComponentResult::parse(const std::string &payload) componentListObject.hostInstanceId = valueComponentListComponent["HostInstanceId"].asString(); if(!valueComponentListComponent["SerialNumber"].isNull()) componentListObject.serialNumber = valueComponentListComponent["SerialNumber"].asString(); + if(!valueComponentListComponent["CommissionStatus"].isNull()) + componentListObject.commissionStatus = valueComponentListComponent["CommissionStatus"].asString(); componentList_.push_back(componentListObject); } if(!value["PageNumber"].isNull()) diff --git a/emr/src/model/ListClusterHostGroupResult.cc b/emr/src/model/ListClusterHostGroupResult.cc index 7a89774fd..5f4a11679 100644 --- a/emr/src/model/ListClusterHostGroupResult.cc +++ b/emr/src/model/ListClusterHostGroupResult.cc @@ -95,6 +95,20 @@ void ListClusterHostGroupResult::parse(const std::string &payload) hostGroupListObject.hostGroupChangeType = valueHostGroupListHostGroup["HostGroupChangeType"].asString(); if(!valueHostGroupListHostGroup["HostGroupChangeStatus"].isNull()) hostGroupListObject.hostGroupChangeStatus = valueHostGroupListHostGroup["HostGroupChangeStatus"].asString(); + if(!valueHostGroupListHostGroup["ScalingGroupBizId"].isNull()) + hostGroupListObject.scalingGroupBizId = valueHostGroupListHostGroup["ScalingGroupBizId"].asString(); + if(!valueHostGroupListHostGroup["ScalingGroupActiveStatus"].isNull()) + hostGroupListObject.scalingGroupActiveStatus = valueHostGroupListHostGroup["ScalingGroupActiveStatus"].asString(); + if(!valueHostGroupListHostGroup["ScalingInMode"].isNull()) + hostGroupListObject.scalingInMode = valueHostGroupListHostGroup["ScalingInMode"].asString(); + if(!valueHostGroupListHostGroup["ScalingGroupMinNode"].isNull()) + hostGroupListObject.scalingGroupMinNode = std::stoi(valueHostGroupListHostGroup["ScalingGroupMinNode"].asString()); + if(!valueHostGroupListHostGroup["ScalingGroupMaxNode"].isNull()) + hostGroupListObject.scalingGroupMaxNode = std::stoi(valueHostGroupListHostGroup["ScalingGroupMaxNode"].asString()); + if(!valueHostGroupListHostGroup["ScalingGroupConfigState"].isNull()) + hostGroupListObject.scalingGroupConfigState = valueHostGroupListHostGroup["ScalingGroupConfigState"].asString(); + if(!valueHostGroupListHostGroup["CostSavingPercent"].isNull()) + hostGroupListObject.costSavingPercent = std::stof(valueHostGroupListHostGroup["CostSavingPercent"].asString()); hostGroupList_.push_back(hostGroupListObject); } if(!value["PageNumber"].isNull()) diff --git a/emr/src/model/ListClusterHostResult.cc b/emr/src/model/ListClusterHostResult.cc index 4080fb496..ae6f698c7 100644 --- a/emr/src/model/ListClusterHostResult.cc +++ b/emr/src/model/ListClusterHostResult.cc @@ -81,20 +81,26 @@ void ListClusterHostResult::parse(const std::string &payload) hostListObject.emrExpiredTime = valueHostListHost["EmrExpiredTime"].asString(); if(!valueHostListHost["SupportIpV6"].isNull()) hostListObject.supportIpV6 = valueHostListHost["SupportIpV6"].asString() == "true"; - auto allDiskListNode = allHostListNode["DiskList"]["Disk"]; - for (auto allHostListNodeDiskListDisk : allDiskListNode) + auto allDiskListNode = valueHostListHost["DiskList"]["Disk"]; + for (auto valueHostListHostDiskListDisk : allDiskListNode) { Host::Disk diskListObject; - if(!allHostListNodeDiskListDisk["DiskId"].isNull()) - diskListObject.diskId = allHostListNodeDiskListDisk["DiskId"].asString(); - if(!allHostListNodeDiskListDisk["Type"].isNull()) - diskListObject.type = allHostListNodeDiskListDisk["Type"].asString(); - if(!allHostListNodeDiskListDisk["Device"].isNull()) - diskListObject.device = allHostListNodeDiskListDisk["Device"].asString(); - if(!allHostListNodeDiskListDisk["DiskType"].isNull()) - diskListObject.diskType = allHostListNodeDiskListDisk["DiskType"].asString(); - if(!allHostListNodeDiskListDisk["DiskSize"].isNull()) - diskListObject.diskSize = std::stoi(allHostListNodeDiskListDisk["DiskSize"].asString()); + if(!valueHostListHostDiskListDisk["DiskId"].isNull()) + diskListObject.diskId = valueHostListHostDiskListDisk["DiskId"].asString(); + if(!valueHostListHostDiskListDisk["Type"].isNull()) + diskListObject.type = valueHostListHostDiskListDisk["Type"].asString(); + if(!valueHostListHostDiskListDisk["Device"].isNull()) + diskListObject.device = valueHostListHostDiskListDisk["Device"].asString(); + if(!valueHostListHostDiskListDisk["DiskType"].isNull()) + diskListObject.diskType = valueHostListHostDiskListDisk["DiskType"].asString(); + if(!valueHostListHostDiskListDisk["DiskSize"].isNull()) + diskListObject.diskSize = std::stoi(valueHostListHostDiskListDisk["DiskSize"].asString()); + if(!valueHostListHostDiskListDisk["BlockMountPoint"].isNull()) + diskListObject.blockMountPoint = valueHostListHostDiskListDisk["BlockMountPoint"].asString(); + if(!valueHostListHostDiskListDisk["DiskMountPoint"].isNull()) + diskListObject.diskMountPoint = valueHostListHostDiskListDisk["DiskMountPoint"].asString(); + if(!valueHostListHostDiskListDisk["Event"].isNull()) + diskListObject.event = valueHostListHostDiskListDisk["Event"].asString(); hostListObject.diskList.push_back(diskListObject); } hostList_.push_back(hostListObject); diff --git a/emr/src/model/ListClusterInstalledServiceResult.cc b/emr/src/model/ListClusterInstalledServiceResult.cc index aba8233f2..1d3d3971b 100644 --- a/emr/src/model/ListClusterInstalledServiceResult.cc +++ b/emr/src/model/ListClusterInstalledServiceResult.cc @@ -63,20 +63,20 @@ void ListClusterInstalledServiceResult::parse(const std::string &payload) clusterInstalledServiceListObject.abnormalNum = std::stoi(valueClusterInstalledServiceListClusterInstalledService["abnormalNum"].asString()); if(!valueClusterInstalledServiceListClusterInstalledService["comment"].isNull()) clusterInstalledServiceListObject.comment = valueClusterInstalledServiceListClusterInstalledService["comment"].asString(); - auto allServiceActionListNode = allClusterInstalledServiceListNode["ServiceActionList"]["ServiceAction"]; - for (auto allClusterInstalledServiceListNodeServiceActionListServiceAction : allServiceActionListNode) + auto allServiceActionListNode = valueClusterInstalledServiceListClusterInstalledService["ServiceActionList"]["ServiceAction"]; + for (auto valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction : allServiceActionListNode) { ClusterInstalledService::ServiceAction serviceActionListObject; - if(!allClusterInstalledServiceListNodeServiceActionListServiceAction["ServiceName"].isNull()) - serviceActionListObject.serviceName = allClusterInstalledServiceListNodeServiceActionListServiceAction["ServiceName"].asString(); - if(!allClusterInstalledServiceListNodeServiceActionListServiceAction["ComponentName"].isNull()) - serviceActionListObject.componentName = allClusterInstalledServiceListNodeServiceActionListServiceAction["ComponentName"].asString(); - if(!allClusterInstalledServiceListNodeServiceActionListServiceAction["ActionName"].isNull()) - serviceActionListObject.actionName = allClusterInstalledServiceListNodeServiceActionListServiceAction["ActionName"].asString(); - if(!allClusterInstalledServiceListNodeServiceActionListServiceAction["Command"].isNull()) - serviceActionListObject.command = allClusterInstalledServiceListNodeServiceActionListServiceAction["Command"].asString(); - if(!allClusterInstalledServiceListNodeServiceActionListServiceAction["DisplayName"].isNull()) - serviceActionListObject.displayName = allClusterInstalledServiceListNodeServiceActionListServiceAction["DisplayName"].asString(); + if(!valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["ServiceName"].isNull()) + serviceActionListObject.serviceName = valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["ServiceName"].asString(); + if(!valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["ComponentName"].isNull()) + serviceActionListObject.componentName = valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["ComponentName"].asString(); + if(!valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["ActionName"].isNull()) + serviceActionListObject.actionName = valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["ActionName"].asString(); + if(!valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["Command"].isNull()) + serviceActionListObject.command = valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["Command"].asString(); + if(!valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["DisplayName"].isNull()) + serviceActionListObject.displayName = valueClusterInstalledServiceListClusterInstalledServiceServiceActionListServiceAction["DisplayName"].asString(); clusterInstalledServiceListObject.serviceActionList.push_back(serviceActionListObject); } clusterInstalledServiceList_.push_back(clusterInstalledServiceListObject); diff --git a/emr/src/model/ListClusterOperationTaskRequest.cc b/emr/src/model/ListClusterOperationTaskRequest.cc new file mode 100644 index 000000000..54be83c98 --- /dev/null +++ b/emr/src/model/ListClusterOperationTaskRequest.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::ListClusterOperationTaskRequest; + +ListClusterOperationTaskRequest::ListClusterOperationTaskRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListClusterOperationTask") +{ + setMethod(HttpRequest::Method::Post); +} + +ListClusterOperationTaskRequest::~ListClusterOperationTaskRequest() +{} + +long ListClusterOperationTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListClusterOperationTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListClusterOperationTaskRequest::getClusterId()const +{ + return clusterId_; +} + +void ListClusterOperationTaskRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListClusterOperationTaskRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListClusterOperationTaskRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListClusterOperationTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListClusterOperationTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListClusterOperationTaskRequest::getRegionId()const +{ + return regionId_; +} + +void ListClusterOperationTaskRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListClusterOperationTaskRequest::getPageSize()const +{ + return pageSize_; +} + +void ListClusterOperationTaskRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListClusterOperationTaskRequest::getOperationId()const +{ + return operationId_; +} + +void ListClusterOperationTaskRequest::setOperationId(const std::string& operationId) +{ + operationId_ = operationId; + setParameter("OperationId", operationId); +} + +std::string ListClusterOperationTaskRequest::getStatus()const +{ + return status_; +} + +void ListClusterOperationTaskRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/emr/src/model/ListClusterOperationTaskResult.cc b/emr/src/model/ListClusterOperationTaskResult.cc new file mode 100644 index 000000000..47107900b --- /dev/null +++ b/emr/src/model/ListClusterOperationTaskResult.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 +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +ListClusterOperationTaskResult::ListClusterOperationTaskResult() : + ServiceResult() +{} + +ListClusterOperationTaskResult::ListClusterOperationTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListClusterOperationTaskResult::~ListClusterOperationTaskResult() +{} + +void ListClusterOperationTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allClusterOperationTaskListNode = value["ClusterOperationTaskList"]["ClusterOperationTask"]; + for (auto valueClusterOperationTaskListClusterOperationTask : allClusterOperationTaskListNode) + { + ClusterOperationTask clusterOperationTaskListObject; + if(!valueClusterOperationTaskListClusterOperationTask["TaskId"].isNull()) + clusterOperationTaskListObject.taskId = valueClusterOperationTaskListClusterOperationTask["TaskId"].asString(); + if(!valueClusterOperationTaskListClusterOperationTask["TaskName"].isNull()) + clusterOperationTaskListObject.taskName = valueClusterOperationTaskListClusterOperationTask["TaskName"].asString(); + if(!valueClusterOperationTaskListClusterOperationTask["Status"].isNull()) + clusterOperationTaskListObject.status = valueClusterOperationTaskListClusterOperationTask["Status"].asString(); + if(!valueClusterOperationTaskListClusterOperationTask["Percentage"].isNull()) + clusterOperationTaskListObject.percentage = valueClusterOperationTaskListClusterOperationTask["Percentage"].asString(); + clusterOperationTaskList_.push_back(clusterOperationTaskListObject); + } + 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 ListClusterOperationTaskResult::getTotalCount()const +{ + return totalCount_; +} + +int ListClusterOperationTaskResult::getPageSize()const +{ + return pageSize_; +} + +std::vector ListClusterOperationTaskResult::getClusterOperationTaskList()const +{ + return clusterOperationTaskList_; +} + +int ListClusterOperationTaskResult::getPageNumber()const +{ + return pageNumber_; +} + diff --git a/emr/src/model/ListClusterScriptsRequest.cc b/emr/src/model/ListClusterScriptsRequest.cc deleted file mode 100644 index 2b7ee44ae..000000000 --- a/emr/src/model/ListClusterScriptsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListClusterScriptsRequest; - -ListClusterScriptsRequest::ListClusterScriptsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterScripts") -{} - -ListClusterScriptsRequest::~ListClusterScriptsRequest() -{} - -long ListClusterScriptsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterScriptsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterScriptsRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterScriptsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListClusterScriptsRequest::getClusterId()const -{ - return clusterId_; -} - -void ListClusterScriptsRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListClusterScriptsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterScriptsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListClusterScriptsResult.cc b/emr/src/model/ListClusterScriptsResult.cc deleted file mode 100644 index 2ac514738..000000000 --- a/emr/src/model/ListClusterScriptsResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListClusterScriptsResult::ListClusterScriptsResult() : - ServiceResult() -{} - -ListClusterScriptsResult::ListClusterScriptsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterScriptsResult::~ListClusterScriptsResult() -{} - -void ListClusterScriptsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allClusterScripts = value["ClusterScripts"]["ClusterScript"]; - for (auto value : allClusterScripts) - { - ClusterScript clusterScriptsObject; - if(!value["Id"].isNull()) - clusterScriptsObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - clusterScriptsObject.name = value["Name"].asString(); - if(!value["StartTime"].isNull()) - clusterScriptsObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - clusterScriptsObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["Path"].isNull()) - clusterScriptsObject.path = value["Path"].asString(); - if(!value["Args"].isNull()) - clusterScriptsObject.args = value["Args"].asString(); - if(!value["Status"].isNull()) - clusterScriptsObject.status = value["Status"].asString(); - clusterScripts_.push_back(clusterScriptsObject); - } - -} - -std::vector ListClusterScriptsResult::getClusterScripts()const -{ - return clusterScripts_; -} - diff --git a/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc b/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc index 593c7b2c9..5559c0215 100644 --- a/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc +++ b/emr/src/model/ListClusterServiceComponentHealthInfoResult.cc @@ -59,12 +59,14 @@ void ListClusterServiceComponentHealthInfoResult::parse(const std::string &paylo healthInfoListObject.totalNum = std::stoi(valueHealthInfoListHealthInfo["TotalNum"].asString()); if(!valueHealthInfoListHealthInfo["AgentHeartBeatLostNum"].isNull()) healthInfoListObject.agentHeartBeatLostNum = std::stoi(valueHealthInfoListHealthInfo["AgentHeartBeatLostNum"].asString()); - auto allHealthDetailListNode = allHealthInfoListNode["HealthDetailList"]["HealthDetail"]; - for (auto allHealthInfoListNodeHealthDetailListHealthDetail : allHealthDetailListNode) + if(!valueHealthInfoListHealthInfo["CreatedTime"].isNull()) + healthInfoListObject.createdTime = std::stol(valueHealthInfoListHealthInfo["CreatedTime"].asString()); + auto allHealthDetailListNode = valueHealthInfoListHealthInfo["HealthDetailList"]["HealthDetail"]; + for (auto valueHealthInfoListHealthInfoHealthDetailListHealthDetail : allHealthDetailListNode) { HealthInfo::HealthDetail healthDetailListObject; - if(!allHealthInfoListNodeHealthDetailListHealthDetail["code"].isNull()) - healthDetailListObject.code = allHealthInfoListNodeHealthDetailListHealthDetail["code"].asString(); + if(!valueHealthInfoListHealthInfoHealthDetailListHealthDetail["code"].isNull()) + healthDetailListObject.code = valueHealthInfoListHealthInfoHealthDetailListHealthDetail["code"].asString(); auto healthRuleParamNode = value["HealthRuleParam"]; if(!healthRuleParamNode["Service"].isNull()) healthDetailListObject.healthRuleParam.service = healthRuleParamNode["Service"].asString(); diff --git a/emr/src/model/ListClusterServiceComponentRequest.cc b/emr/src/model/ListClusterServiceComponentRequest.cc new file mode 100644 index 000000000..b7829a775 --- /dev/null +++ b/emr/src/model/ListClusterServiceComponentRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::ListClusterServiceComponentRequest; + +ListClusterServiceComponentRequest::ListClusterServiceComponentRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListClusterServiceComponent") +{ + setMethod(HttpRequest::Method::Post); +} + +ListClusterServiceComponentRequest::~ListClusterServiceComponentRequest() +{} + +long ListClusterServiceComponentRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListClusterServiceComponentRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ListClusterServiceComponentRequest::getPodName()const +{ + return podName_; +} + +void ListClusterServiceComponentRequest::setPodName(const std::string& podName) +{ + podName_ = podName; + setParameter("PodName", podName); +} + +std::string ListClusterServiceComponentRequest::getComponentName()const +{ + return componentName_; +} + +void ListClusterServiceComponentRequest::setComponentName(const std::string& componentName) +{ + componentName_ = componentName; + setParameter("ComponentName", componentName); +} + +std::string ListClusterServiceComponentRequest::getClusterId()const +{ + return clusterId_; +} + +void ListClusterServiceComponentRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListClusterServiceComponentRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListClusterServiceComponentRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListClusterServiceComponentRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListClusterServiceComponentRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListClusterServiceComponentRequest::getComponentStatus()const +{ + return componentStatus_; +} + +void ListClusterServiceComponentRequest::setComponentStatus(const std::string& componentStatus) +{ + componentStatus_ = componentStatus; + setParameter("ComponentStatus", componentStatus); +} + +std::string ListClusterServiceComponentRequest::getRegionId()const +{ + return regionId_; +} + +void ListClusterServiceComponentRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListClusterServiceComponentRequest::getPageSize()const +{ + return pageSize_; +} + +void ListClusterServiceComponentRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string ListClusterServiceComponentRequest::getServiceName()const +{ + return serviceName_; +} + +void ListClusterServiceComponentRequest::setServiceName(const std::string& serviceName) +{ + serviceName_ = serviceName; + setParameter("ServiceName", serviceName); +} + diff --git a/emr/src/model/ListClusterHostComponentForAdminResult.cc b/emr/src/model/ListClusterServiceComponentResult.cc similarity index 63% rename from emr/src/model/ListClusterHostComponentForAdminResult.cc rename to emr/src/model/ListClusterServiceComponentResult.cc index ef18c6884..ebdc6d736 100644 --- a/emr/src/model/ListClusterHostComponentForAdminResult.cc +++ b/emr/src/model/ListClusterServiceComponentResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ListClusterHostComponentForAdminResult::ListClusterHostComponentForAdminResult() : +ListClusterServiceComponentResult::ListClusterServiceComponentResult() : ServiceResult() {} -ListClusterHostComponentForAdminResult::ListClusterHostComponentForAdminResult(const std::string &payload) : +ListClusterServiceComponentResult::ListClusterServiceComponentResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListClusterHostComponentForAdminResult::~ListClusterHostComponentForAdminResult() +ListClusterServiceComponentResult::~ListClusterServiceComponentResult() {} -void ListClusterHostComponentForAdminResult::parse(const std::string &payload) +void ListClusterServiceComponentResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -55,28 +55,26 @@ void ListClusterHostComponentForAdminResult::parse(const std::string &payload) componentListObject.status = valueComponentListComponent["Status"].asString(); if(!valueComponentListComponent["NeedRestart"].isNull()) componentListObject.needRestart = valueComponentListComponent["NeedRestart"].asString() == "true"; - if(!valueComponentListComponent["HostId"].isNull()) - componentListObject.hostId = valueComponentListComponent["HostId"].asString(); if(!valueComponentListComponent["ServerStatus"].isNull()) componentListObject.serverStatus = valueComponentListComponent["ServerStatus"].asString(); - if(!valueComponentListComponent["HostName"].isNull()) - componentListObject.hostName = valueComponentListComponent["HostName"].asString(); + if(!valueComponentListComponent["PodName"].isNull()) + componentListObject.podName = valueComponentListComponent["PodName"].asString(); if(!valueComponentListComponent["PublicIp"].isNull()) componentListObject.publicIp = valueComponentListComponent["PublicIp"].asString(); if(!valueComponentListComponent["PrivateIp"].isNull()) componentListObject.privateIp = valueComponentListComponent["PrivateIp"].asString(); if(!valueComponentListComponent["Role"].isNull()) componentListObject.role = valueComponentListComponent["Role"].asString(); - if(!valueComponentListComponent["InstanceType"].isNull()) - componentListObject.instanceType = valueComponentListComponent["InstanceType"].asString(); - if(!valueComponentListComponent["Cpu"].isNull()) - componentListObject.cpu = std::stoi(valueComponentListComponent["Cpu"].asString()); - if(!valueComponentListComponent["Memory"].isNull()) - componentListObject.memory = std::stoi(valueComponentListComponent["Memory"].asString()); - if(!valueComponentListComponent["HostInstanceId"].isNull()) - componentListObject.hostInstanceId = valueComponentListComponent["HostInstanceId"].asString(); - if(!valueComponentListComponent["SerialNumber"].isNull()) - componentListObject.serialNumber = valueComponentListComponent["SerialNumber"].asString(); + if(!valueComponentListComponent["CommissionStatus"].isNull()) + componentListObject.commissionStatus = valueComponentListComponent["CommissionStatus"].asString(); + if(!valueComponentListComponent["DesiredCount"].isNull()) + componentListObject.desiredCount = std::stoi(valueComponentListComponent["DesiredCount"].asString()); + if(!valueComponentListComponent["Namespace"].isNull()) + componentListObject._namespace = valueComponentListComponent["Namespace"].asString(); + if(!valueComponentListComponent["WorkloadType"].isNull()) + componentListObject.workloadType = valueComponentListComponent["WorkloadType"].asString(); + if(!valueComponentListComponent["WorkloadName"].isNull()) + componentListObject.workloadName = valueComponentListComponent["WorkloadName"].asString(); componentList_.push_back(componentListObject); } if(!value["PageNumber"].isNull()) @@ -88,22 +86,22 @@ void ListClusterHostComponentForAdminResult::parse(const std::string &payload) } -int ListClusterHostComponentForAdminResult::getPageSize()const +int ListClusterServiceComponentResult::getPageSize()const { return pageSize_; } -int ListClusterHostComponentForAdminResult::getPageNumber()const +int ListClusterServiceComponentResult::getPageNumber()const { return pageNumber_; } -int ListClusterHostComponentForAdminResult::getTotal()const +int ListClusterServiceComponentResult::getTotal()const { return total_; } -std::vector ListClusterHostComponentForAdminResult::getComponentList()const +std::vector ListClusterServiceComponentResult::getComponentList()const { return componentList_; } diff --git a/emr/src/model/ListClusterServiceConfigHistoryForAdminRequest.cc b/emr/src/model/ListClusterServiceConfigHistoryForAdminRequest.cc deleted file mode 100644 index 1b18468f1..000000000 --- a/emr/src/model/ListClusterServiceConfigHistoryForAdminRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListClusterServiceConfigHistoryForAdminRequest; - -ListClusterServiceConfigHistoryForAdminRequest::ListClusterServiceConfigHistoryForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterServiceConfigHistoryForAdmin") -{} - -ListClusterServiceConfigHistoryForAdminRequest::~ListClusterServiceConfigHistoryForAdminRequest() -{} - -long ListClusterServiceConfigHistoryForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterServiceConfigHistoryForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListClusterServiceConfigHistoryForAdminRequest::getUserId()const -{ - return userId_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -int ListClusterServiceConfigHistoryForAdminRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListClusterServiceConfigHistoryForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListClusterServiceConfigHistoryForAdminRequest::getConfigVersion()const -{ - return configVersion_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setConfigVersion(const std::string& configVersion) -{ - configVersion_ = configVersion; - setCoreParameter("ConfigVersion", configVersion); -} - -std::string ListClusterServiceConfigHistoryForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListClusterServiceConfigHistoryForAdminRequest::getPageSize()const -{ - return pageSize_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListClusterServiceConfigHistoryForAdminRequest::getServiceName()const -{ - return serviceName_; -} - -void ListClusterServiceConfigHistoryForAdminRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/ListClusterServiceConfigHistoryForAdminResult.cc b/emr/src/model/ListClusterServiceConfigHistoryForAdminResult.cc deleted file mode 100644 index 9e42ae208..000000000 --- a/emr/src/model/ListClusterServiceConfigHistoryForAdminResult.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; - -ListClusterServiceConfigHistoryForAdminResult::ListClusterServiceConfigHistoryForAdminResult() : - ServiceResult() -{} - -ListClusterServiceConfigHistoryForAdminResult::ListClusterServiceConfigHistoryForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterServiceConfigHistoryForAdminResult::~ListClusterServiceConfigHistoryForAdminResult() -{} - -void ListClusterServiceConfigHistoryForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allConfigHistoryListNode = value["ConfigHistoryList"]["ConfigHistory"]; - for (auto valueConfigHistoryListConfigHistory : allConfigHistoryListNode) - { - ConfigHistory configHistoryListObject; - if(!valueConfigHistoryListConfigHistory["ServiceName"].isNull()) - configHistoryListObject.serviceName = valueConfigHistoryListConfigHistory["ServiceName"].asString(); - if(!valueConfigHistoryListConfigHistory["ConfigVersion"].isNull()) - configHistoryListObject.configVersion = valueConfigHistoryListConfigHistory["ConfigVersion"].asString(); - if(!valueConfigHistoryListConfigHistory["ConfigFileName"].isNull()) - configHistoryListObject.configFileName = valueConfigHistoryListConfigHistory["ConfigFileName"].asString(); - if(!valueConfigHistoryListConfigHistory["ConfigItemName"].isNull()) - configHistoryListObject.configItemName = valueConfigHistoryListConfigHistory["ConfigItemName"].asString(); - if(!valueConfigHistoryListConfigHistory["NewValue"].isNull()) - configHistoryListObject.newValue = valueConfigHistoryListConfigHistory["NewValue"].asString(); - if(!valueConfigHistoryListConfigHistory["OldValue"].isNull()) - configHistoryListObject.oldValue = valueConfigHistoryListConfigHistory["OldValue"].asString(); - if(!valueConfigHistoryListConfigHistory["Applied"].isNull()) - configHistoryListObject.applied = valueConfigHistoryListConfigHistory["Applied"].asString() == "true"; - if(!valueConfigHistoryListConfigHistory["CreateTime"].isNull()) - configHistoryListObject.createTime = std::stol(valueConfigHistoryListConfigHistory["CreateTime"].asString()); - if(!valueConfigHistoryListConfigHistory["Author"].isNull()) - configHistoryListObject.author = valueConfigHistoryListConfigHistory["Author"].asString(); - if(!valueConfigHistoryListConfigHistory["Comment"].isNull()) - configHistoryListObject.comment = valueConfigHistoryListConfigHistory["Comment"].asString(); - configHistoryList_.push_back(configHistoryListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -std::vector ListClusterServiceConfigHistoryForAdminResult::getConfigHistoryList()const -{ - return configHistoryList_; -} - -int ListClusterServiceConfigHistoryForAdminResult::getTotalCount()const -{ - return totalCount_; -} - -int ListClusterServiceConfigHistoryForAdminResult::getPageSize()const -{ - return pageSize_; -} - -int ListClusterServiceConfigHistoryForAdminResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/ListClusterServiceConfigHistoryResult.cc b/emr/src/model/ListClusterServiceConfigHistoryResult.cc index 4805f9155..8dd5819d6 100644 --- a/emr/src/model/ListClusterServiceConfigHistoryResult.cc +++ b/emr/src/model/ListClusterServiceConfigHistoryResult.cc @@ -65,6 +65,8 @@ void ListClusterServiceConfigHistoryResult::parse(const std::string &payload) configHistoryListObject.comment = valueConfigHistoryListConfigHistory["Comment"].asString(); if(!valueConfigHistoryListConfigHistory["HostGroupId"].isNull()) configHistoryListObject.hostGroupId = valueConfigHistoryListConfigHistory["HostGroupId"].asString(); + if(!valueConfigHistoryListConfigHistory["HostGroupName"].isNull()) + configHistoryListObject.hostGroupName = valueConfigHistoryListConfigHistory["HostGroupName"].asString(); if(!valueConfigHistoryListConfigHistory["HostInstanceId"].isNull()) configHistoryListObject.hostInstanceId = valueConfigHistoryListConfigHistory["HostInstanceId"].asString(); if(!valueConfigHistoryListConfigHistory["HostName"].isNull()) diff --git a/emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.cc b/emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.cc deleted file mode 100644 index 83d9bbf5f..000000000 --- a/emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListClusterServiceCustomActionSupportConfigForAdminRequest; - -ListClusterServiceCustomActionSupportConfigForAdminRequest::ListClusterServiceCustomActionSupportConfigForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterServiceCustomActionSupportConfigForAdmin") -{} - -ListClusterServiceCustomActionSupportConfigForAdminRequest::~ListClusterServiceCustomActionSupportConfigForAdminRequest() -{} - -long ListClusterServiceCustomActionSupportConfigForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterServiceCustomActionSupportConfigForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListClusterServiceCustomActionSupportConfigForAdminRequest::getUserId()const -{ - return userId_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ListClusterServiceCustomActionSupportConfigForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListClusterServiceCustomActionSupportConfigForAdminRequest::getServiceCustomActionName()const -{ - return serviceCustomActionName_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setServiceCustomActionName(const std::string& serviceCustomActionName) -{ - serviceCustomActionName_ = serviceCustomActionName; - setCoreParameter("ServiceCustomActionName", serviceCustomActionName); -} - -std::string ListClusterServiceCustomActionSupportConfigForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListClusterServiceCustomActionSupportConfigForAdminRequest::getServiceName()const -{ - return serviceName_; -} - -void ListClusterServiceCustomActionSupportConfigForAdminRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - diff --git a/emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminResult.cc b/emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminResult.cc deleted file mode 100644 index 74a3cbef4..000000000 --- a/emr/src/model/ListClusterServiceCustomActionSupportConfigForAdminResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListClusterServiceCustomActionSupportConfigForAdminResult::ListClusterServiceCustomActionSupportConfigForAdminResult() : - ServiceResult() -{} - -ListClusterServiceCustomActionSupportConfigForAdminResult::ListClusterServiceCustomActionSupportConfigForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterServiceCustomActionSupportConfigForAdminResult::~ListClusterServiceCustomActionSupportConfigForAdminResult() -{} - -void ListClusterServiceCustomActionSupportConfigForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSupportedConfigListNode = value["SupportedConfigList"]["SupportedConfig"]; - for (auto valueSupportedConfigListSupportedConfig : allSupportedConfigListNode) - { - SupportedConfig supportedConfigListObject; - if(!valueSupportedConfigListSupportedConfig["ConfigKey"].isNull()) - supportedConfigListObject.configKey = valueSupportedConfigListSupportedConfig["ConfigKey"].asString(); - supportedConfigList_.push_back(supportedConfigListObject); - } - -} - -std::vector ListClusterServiceCustomActionSupportConfigForAdminResult::getSupportedConfigList()const -{ - return supportedConfigList_; -} - diff --git a/emr/src/model/ListClusterServiceCustomActionSupportConfigRequest.cc b/emr/src/model/ListClusterServiceCustomActionSupportConfigRequest.cc deleted file mode 100644 index 29f74051c..000000000 --- a/emr/src/model/ListClusterServiceCustomActionSupportConfigRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListClusterServiceCustomActionSupportConfigRequest; - -ListClusterServiceCustomActionSupportConfigRequest::ListClusterServiceCustomActionSupportConfigRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterServiceCustomActionSupportConfig") -{} - -ListClusterServiceCustomActionSupportConfigRequest::~ListClusterServiceCustomActionSupportConfigRequest() -{} - -std::string ListClusterServiceCustomActionSupportConfigRequest::getServiceCustomActionName()const -{ - return serviceCustomActionName_; -} - -void ListClusterServiceCustomActionSupportConfigRequest::setServiceCustomActionName(const std::string& serviceCustomActionName) -{ - serviceCustomActionName_ = serviceCustomActionName; - setCoreParameter("ServiceCustomActionName", serviceCustomActionName); -} - -long ListClusterServiceCustomActionSupportConfigRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterServiceCustomActionSupportConfigRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterServiceCustomActionSupportConfigRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterServiceCustomActionSupportConfigRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListClusterServiceCustomActionSupportConfigRequest::getServiceName()const -{ - return serviceName_; -} - -void ListClusterServiceCustomActionSupportConfigRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - -std::string ListClusterServiceCustomActionSupportConfigRequest::getClusterId()const -{ - return clusterId_; -} - -void ListClusterServiceCustomActionSupportConfigRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListClusterServiceCustomActionSupportConfigRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterServiceCustomActionSupportConfigRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListClusterServiceCustomActionSupportConfigResult.cc b/emr/src/model/ListClusterServiceCustomActionSupportConfigResult.cc deleted file mode 100644 index d5bf840f8..000000000 --- a/emr/src/model/ListClusterServiceCustomActionSupportConfigResult.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; - -ListClusterServiceCustomActionSupportConfigResult::ListClusterServiceCustomActionSupportConfigResult() : - ServiceResult() -{} - -ListClusterServiceCustomActionSupportConfigResult::ListClusterServiceCustomActionSupportConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterServiceCustomActionSupportConfigResult::~ListClusterServiceCustomActionSupportConfigResult() -{} - -void ListClusterServiceCustomActionSupportConfigResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allSupportedConfigList = value["SupportedConfigList"]["SupportedConfig"]; - for (auto value : allSupportedConfigList) - { - SupportedConfig supportedConfigListObject; - if(!value["ConfigKey"].isNull()) - supportedConfigListObject.configKey = value["ConfigKey"].asString(); - supportedConfigList_.push_back(supportedConfigListObject); - } - -} - -std::vector ListClusterServiceCustomActionSupportConfigResult::getSupportedConfigList()const -{ - return supportedConfigList_; -} - diff --git a/emr/src/model/ListClusterServiceQuickLinkRequest.cc b/emr/src/model/ListClusterServiceQuickLinkRequest.cc index 550222145..61be2883c 100644 --- a/emr/src/model/ListClusterServiceQuickLinkRequest.cc +++ b/emr/src/model/ListClusterServiceQuickLinkRequest.cc @@ -38,6 +38,17 @@ void ListClusterServiceQuickLinkRequest::setResourceOwnerId(long resourceOwnerId setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } +bool ListClusterServiceQuickLinkRequest::getDirectType()const +{ + return directType_; +} + +void ListClusterServiceQuickLinkRequest::setDirectType(bool directType) +{ + directType_ = directType; + setParameter("DirectType", directType ? "true" : "false"); +} + std::string ListClusterServiceQuickLinkRequest::getClusterId()const { return clusterId_; diff --git a/emr/src/model/ListClusterServiceResult.cc b/emr/src/model/ListClusterServiceResult.cc index 1ab1cd954..620f2cea2 100644 --- a/emr/src/model/ListClusterServiceResult.cc +++ b/emr/src/model/ListClusterServiceResult.cc @@ -67,20 +67,20 @@ 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()); - auto allServiceActionListNode = allClusterServiceListNode["ServiceActionList"]["ServiceAction"]; - for (auto allClusterServiceListNodeServiceActionListServiceAction : allServiceActionListNode) + auto allServiceActionListNode = valueClusterServiceListClusterService["ServiceActionList"]["ServiceAction"]; + for (auto valueClusterServiceListClusterServiceServiceActionListServiceAction : allServiceActionListNode) { ClusterService::ServiceAction serviceActionListObject; - if(!allClusterServiceListNodeServiceActionListServiceAction["ServiceName"].isNull()) - serviceActionListObject.serviceName = allClusterServiceListNodeServiceActionListServiceAction["ServiceName"].asString(); - if(!allClusterServiceListNodeServiceActionListServiceAction["ComponentName"].isNull()) - serviceActionListObject.componentName = allClusterServiceListNodeServiceActionListServiceAction["ComponentName"].asString(); - if(!allClusterServiceListNodeServiceActionListServiceAction["ActionName"].isNull()) - serviceActionListObject.actionName = allClusterServiceListNodeServiceActionListServiceAction["ActionName"].asString(); - if(!allClusterServiceListNodeServiceActionListServiceAction["Command"].isNull()) - serviceActionListObject.command = allClusterServiceListNodeServiceActionListServiceAction["Command"].asString(); - if(!allClusterServiceListNodeServiceActionListServiceAction["DisplayName"].isNull()) - serviceActionListObject.displayName = allClusterServiceListNodeServiceActionListServiceAction["DisplayName"].asString(); + if(!valueClusterServiceListClusterServiceServiceActionListServiceAction["ServiceName"].isNull()) + serviceActionListObject.serviceName = valueClusterServiceListClusterServiceServiceActionListServiceAction["ServiceName"].asString(); + if(!valueClusterServiceListClusterServiceServiceActionListServiceAction["ComponentName"].isNull()) + serviceActionListObject.componentName = valueClusterServiceListClusterServiceServiceActionListServiceAction["ComponentName"].asString(); + if(!valueClusterServiceListClusterServiceServiceActionListServiceAction["ActionName"].isNull()) + serviceActionListObject.actionName = valueClusterServiceListClusterServiceServiceActionListServiceAction["ActionName"].asString(); + if(!valueClusterServiceListClusterServiceServiceActionListServiceAction["Command"].isNull()) + serviceActionListObject.command = valueClusterServiceListClusterServiceServiceActionListServiceAction["Command"].asString(); + if(!valueClusterServiceListClusterServiceServiceActionListServiceAction["DisplayName"].isNull()) + serviceActionListObject.displayName = valueClusterServiceListClusterServiceServiceActionListServiceAction["DisplayName"].asString(); clusterServiceListObject.serviceActionList.push_back(serviceActionListObject); } clusterServiceList_.push_back(clusterServiceListObject); diff --git a/emr/src/model/ListClusterSupportServiceRequest.cc b/emr/src/model/ListClusterSupportServiceRequest.cc deleted file mode 100644 index 9c76cb5f0..000000000 --- a/emr/src/model/ListClusterSupportServiceRequest.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::ListClusterSupportServiceRequest; - -ListClusterSupportServiceRequest::ListClusterSupportServiceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterSupportService") -{ - setMethod(HttpRequest::Method::Post); -} - -ListClusterSupportServiceRequest::~ListClusterSupportServiceRequest() -{} - -long ListClusterSupportServiceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterSupportServiceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterSupportServiceRequest::getClusterId()const -{ - return clusterId_; -} - -void ListClusterSupportServiceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::string ListClusterSupportServiceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterSupportServiceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - -std::string ListClusterSupportServiceRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterSupportServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListClusterSupportServiceResult.cc b/emr/src/model/ListClusterSupportServiceResult.cc deleted file mode 100644 index f663b17af..000000000 --- a/emr/src/model/ListClusterSupportServiceResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListClusterSupportServiceResult::ListClusterSupportServiceResult() : - ServiceResult() -{} - -ListClusterSupportServiceResult::ListClusterSupportServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterSupportServiceResult::~ListClusterSupportServiceResult() -{} - -void ListClusterSupportServiceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSupportServiceListNode = value["SupportServiceList"]["SupportService"]; - for (auto valueSupportServiceListSupportService : allSupportServiceListNode) - { - SupportService supportServiceListObject; - if(!valueSupportServiceListSupportService["ServiceName"].isNull()) - supportServiceListObject.serviceName = valueSupportServiceListSupportService["ServiceName"].asString(); - if(!valueSupportServiceListSupportService["ServiceDisplayName"].isNull()) - supportServiceListObject.serviceDisplayName = valueSupportServiceListSupportService["ServiceDisplayName"].asString(); - if(!valueSupportServiceListSupportService["ServiceVersion"].isNull()) - supportServiceListObject.serviceVersion = valueSupportServiceListSupportService["ServiceVersion"].asString(); - if(!valueSupportServiceListSupportService["ServiceEcmVersion"].isNull()) - supportServiceListObject.serviceEcmVersion = valueSupportServiceListSupportService["ServiceEcmVersion"].asString(); - supportServiceList_.push_back(supportServiceListObject); - } - if(!value["TotalCount"].isNull()) - totalCount_ = value["TotalCount"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = value["PageNumber"].asString(); - -} - -std::vector ListClusterSupportServiceResult::getSupportServiceList()const -{ - return supportServiceList_; -} - -std::string ListClusterSupportServiceResult::getTotalCount()const -{ - return totalCount_; -} - -std::string ListClusterSupportServiceResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/ListClusterTagForAdminRequest.cc b/emr/src/model/ListClusterTagForAdminRequest.cc deleted file mode 100644 index fe774f31f..000000000 --- a/emr/src/model/ListClusterTagForAdminRequest.cc +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListClusterTagForAdminRequest; - -ListClusterTagForAdminRequest::ListClusterTagForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterTagForAdmin") -{} - -ListClusterTagForAdminRequest::~ListClusterTagForAdminRequest() -{} - -long ListClusterTagForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterTagForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListClusterTagForAdminRequest::getUserId()const -{ - return userId_; -} - -void ListClusterTagForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ListClusterTagForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterTagForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::vector ListClusterTagForAdminRequest::getClusterIdList()const -{ - return clusterIdList_; -} - -void ListClusterTagForAdminRequest::setClusterIdList(const std::vector& clusterIdList) -{ - clusterIdList_ = clusterIdList; - for(int i = 0; i!= clusterIdList.size(); i++) - setCoreParameter("ClusterIdList."+ std::to_string(i), clusterIdList.at(i)); -} - -std::string ListClusterTagForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterTagForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListClusterTagForAdminResult.cc b/emr/src/model/ListClusterTagForAdminResult.cc deleted file mode 100644 index 6b4165d7a..000000000 --- a/emr/src/model/ListClusterTagForAdminResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListClusterTagForAdminResult::ListClusterTagForAdminResult() : - ServiceResult() -{} - -ListClusterTagForAdminResult::ListClusterTagForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterTagForAdminResult::~ListClusterTagForAdminResult() -{} - -void ListClusterTagForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allClusterTagListNode = value["ClusterTagList"]["ClusterTag"]; - for (auto valueClusterTagListClusterTag : allClusterTagListNode) - { - ClusterTag clusterTagListObject; - if(!valueClusterTagListClusterTag["ClusterId"].isNull()) - clusterTagListObject.clusterId = valueClusterTagListClusterTag["ClusterId"].asString(); - auto allTagInfoListNode = allClusterTagListNode["TagInfoList"]["TagInfo"]; - for (auto allClusterTagListNodeTagInfoListTagInfo : allTagInfoListNode) - { - ClusterTag::TagInfo tagInfoListObject; - if(!allClusterTagListNodeTagInfoListTagInfo["TagType"].isNull()) - tagInfoListObject.tagType = allClusterTagListNodeTagInfoListTagInfo["TagType"].asString(); - if(!allClusterTagListNodeTagInfoListTagInfo["TagValue"].isNull()) - tagInfoListObject.tagValue = allClusterTagListNodeTagInfoListTagInfo["TagValue"].asString(); - if(!allClusterTagListNodeTagInfoListTagInfo["TagKey"].isNull()) - tagInfoListObject.tagKey = allClusterTagListNodeTagInfoListTagInfo["TagKey"].asString(); - clusterTagListObject.tagInfoList.push_back(tagInfoListObject); - } - clusterTagList_.push_back(clusterTagListObject); - } - -} - -std::vector ListClusterTagForAdminResult::getClusterTagList()const -{ - return clusterTagList_; -} - diff --git a/emr/src/model/ListClusterTagRequest.cc b/emr/src/model/ListClusterTagRequest.cc deleted file mode 100644 index 0c72e6baa..000000000 --- a/emr/src/model/ListClusterTagRequest.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListClusterTagRequest; - -ListClusterTagRequest::ListClusterTagRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListClusterTag") -{} - -ListClusterTagRequest::~ListClusterTagRequest() -{} - -long ListClusterTagRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListClusterTagRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector ListClusterTagRequest::getClusterIdList()const -{ - return clusterIdList_; -} - -void ListClusterTagRequest::setClusterIdList(const std::vector& clusterIdList) -{ - clusterIdList_ = clusterIdList; - for(int i = 0; i!= clusterIdList.size(); i++) - setCoreParameter("ClusterIdList."+ std::to_string(i), clusterIdList.at(i)); -} - -std::string ListClusterTagRequest::getRegionId()const -{ - return regionId_; -} - -void ListClusterTagRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListClusterTagRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListClusterTagRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListClusterTagResult.cc b/emr/src/model/ListClusterTagResult.cc deleted file mode 100644 index a6dfa0406..000000000 --- a/emr/src/model/ListClusterTagResult.cc +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListClusterTagResult::ListClusterTagResult() : - ServiceResult() -{} - -ListClusterTagResult::ListClusterTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListClusterTagResult::~ListClusterTagResult() -{} - -void ListClusterTagResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allClusterTagList = value["ClusterTagList"]["ClusterTag"]; - for (auto value : allClusterTagList) - { - ClusterTag clusterTagListObject; - if(!value["ClusterId"].isNull()) - clusterTagListObject.clusterId = value["ClusterId"].asString(); - auto allTagInfoList = value["TagInfoList"]["TagInfo"]; - for (auto value : allTagInfoList) - { - ClusterTag::TagInfo tagInfoListObject; - if(!value["TagType"].isNull()) - tagInfoListObject.tagType = value["TagType"].asString(); - if(!value["TagValue"].isNull()) - tagInfoListObject.tagValue = value["TagValue"].asString(); - if(!value["TagKey"].isNull()) - tagInfoListObject.tagKey = value["TagKey"].asString(); - clusterTagListObject.tagInfoList.push_back(tagInfoListObject); - } - clusterTagList_.push_back(clusterTagListObject); - } - -} - -std::vector ListClusterTagResult::getClusterTagList()const -{ - return clusterTagList_; -} - diff --git a/emr/src/model/ListClusterTemplatesRequest.cc b/emr/src/model/ListClusterTemplatesRequest.cc index 43858e992..e201a5eb5 100644 --- a/emr/src/model/ListClusterTemplatesRequest.cc +++ b/emr/src/model/ListClusterTemplatesRequest.cc @@ -60,6 +60,28 @@ void ListClusterTemplatesRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string ListClusterTemplatesRequest::getProductType()const +{ + return productType_; +} + +void ListClusterTemplatesRequest::setProductType(const std::string& productType) +{ + productType_ = productType; + setParameter("ProductType", productType); +} + +std::string ListClusterTemplatesRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListClusterTemplatesRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListClusterTemplatesRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListClusterTemplatesResult.cc b/emr/src/model/ListClusterTemplatesResult.cc index 4f50ba077..eaf85c46d 100644 --- a/emr/src/model/ListClusterTemplatesResult.cc +++ b/emr/src/model/ListClusterTemplatesResult.cc @@ -109,66 +109,66 @@ void ListClusterTemplatesResult::parse(const std::string &payload) templateInfoListObject.metaStoreType = valueTemplateInfoListTemplateInfo["MetaStoreType"].asString(); if(!valueTemplateInfoListTemplateInfo["MetaStoreConf"].isNull()) templateInfoListObject.metaStoreConf = valueTemplateInfoListTemplateInfo["MetaStoreConf"].asString(); - auto allBootstrapActionListNode = allTemplateInfoListNode["BootstrapActionList"]["BootstrapAction"]; - for (auto allTemplateInfoListNodeBootstrapActionListBootstrapAction : allBootstrapActionListNode) + auto allBootstrapActionListNode = valueTemplateInfoListTemplateInfo["BootstrapActionList"]["BootstrapAction"]; + for (auto valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction : allBootstrapActionListNode) { TemplateInfo::BootstrapAction bootstrapActionListObject; - if(!allTemplateInfoListNodeBootstrapActionListBootstrapAction["Name"].isNull()) - bootstrapActionListObject.name = allTemplateInfoListNodeBootstrapActionListBootstrapAction["Name"].asString(); - if(!allTemplateInfoListNodeBootstrapActionListBootstrapAction["Path"].isNull()) - bootstrapActionListObject.path = allTemplateInfoListNodeBootstrapActionListBootstrapAction["Path"].asString(); - if(!allTemplateInfoListNodeBootstrapActionListBootstrapAction["Arg"].isNull()) - bootstrapActionListObject.arg = allTemplateInfoListNodeBootstrapActionListBootstrapAction["Arg"].asString(); + if(!valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction["Name"].isNull()) + bootstrapActionListObject.name = valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction["Name"].asString(); + if(!valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction["Path"].isNull()) + bootstrapActionListObject.path = valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction["Path"].asString(); + if(!valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction["Arg"].isNull()) + bootstrapActionListObject.arg = valueTemplateInfoListTemplateInfoBootstrapActionListBootstrapAction["Arg"].asString(); templateInfoListObject.bootstrapActionList.push_back(bootstrapActionListObject); } - auto allHostGroupListNode = allTemplateInfoListNode["HostGroupList"]["HostGroup"]; - for (auto allTemplateInfoListNodeHostGroupListHostGroup : allHostGroupListNode) + auto allHostGroupListNode = valueTemplateInfoListTemplateInfo["HostGroupList"]["HostGroup"]; + for (auto valueTemplateInfoListTemplateInfoHostGroupListHostGroup : allHostGroupListNode) { TemplateInfo::HostGroup hostGroupListObject; - if(!allTemplateInfoListNodeHostGroupListHostGroup["HostGroupId"].isNull()) - hostGroupListObject.hostGroupId = allTemplateInfoListNodeHostGroupListHostGroup["HostGroupId"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["HostGroupName"].isNull()) - hostGroupListObject.hostGroupName = allTemplateInfoListNodeHostGroupListHostGroup["HostGroupName"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["HostGroupType"].isNull()) - hostGroupListObject.hostGroupType = allTemplateInfoListNodeHostGroupListHostGroup["HostGroupType"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["ChargeType"].isNull()) - hostGroupListObject.chargeType = allTemplateInfoListNodeHostGroupListHostGroup["ChargeType"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["Period"].isNull()) - hostGroupListObject.period = allTemplateInfoListNodeHostGroupListHostGroup["Period"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["NodeCount"].isNull()) - hostGroupListObject.nodeCount = std::stoi(allTemplateInfoListNodeHostGroupListHostGroup["NodeCount"].asString()); - if(!allTemplateInfoListNodeHostGroupListHostGroup["InstanceType"].isNull()) - hostGroupListObject.instanceType = allTemplateInfoListNodeHostGroupListHostGroup["InstanceType"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["DiskType"].isNull()) - hostGroupListObject.diskType = allTemplateInfoListNodeHostGroupListHostGroup["DiskType"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["DiskCapacity"].isNull()) - hostGroupListObject.diskCapacity = std::stoi(allTemplateInfoListNodeHostGroupListHostGroup["DiskCapacity"].asString()); - if(!allTemplateInfoListNodeHostGroupListHostGroup["DiskCount"].isNull()) - hostGroupListObject.diskCount = std::stoi(allTemplateInfoListNodeHostGroupListHostGroup["DiskCount"].asString()); - if(!allTemplateInfoListNodeHostGroupListHostGroup["SysDiskType"].isNull()) - hostGroupListObject.sysDiskType = allTemplateInfoListNodeHostGroupListHostGroup["SysDiskType"].asString(); - if(!allTemplateInfoListNodeHostGroupListHostGroup["SysDiskCapacity"].isNull()) - hostGroupListObject.sysDiskCapacity = std::stoi(allTemplateInfoListNodeHostGroupListHostGroup["SysDiskCapacity"].asString()); - if(!allTemplateInfoListNodeHostGroupListHostGroup["MultiInstanceTypes"].isNull()) - hostGroupListObject.multiInstanceTypes = allTemplateInfoListNodeHostGroupListHostGroup["MultiInstanceTypes"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["HostGroupId"].isNull()) + hostGroupListObject.hostGroupId = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["HostGroupId"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["HostGroupName"].isNull()) + hostGroupListObject.hostGroupName = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["HostGroupName"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["HostGroupType"].isNull()) + hostGroupListObject.hostGroupType = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["HostGroupType"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["ChargeType"].isNull()) + hostGroupListObject.chargeType = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["ChargeType"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["Period"].isNull()) + hostGroupListObject.period = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["Period"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["NodeCount"].isNull()) + hostGroupListObject.nodeCount = std::stoi(valueTemplateInfoListTemplateInfoHostGroupListHostGroup["NodeCount"].asString()); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["InstanceType"].isNull()) + hostGroupListObject.instanceType = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["InstanceType"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["DiskType"].isNull()) + hostGroupListObject.diskType = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["DiskType"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["DiskCapacity"].isNull()) + hostGroupListObject.diskCapacity = std::stoi(valueTemplateInfoListTemplateInfoHostGroupListHostGroup["DiskCapacity"].asString()); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["DiskCount"].isNull()) + hostGroupListObject.diskCount = std::stoi(valueTemplateInfoListTemplateInfoHostGroupListHostGroup["DiskCount"].asString()); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["SysDiskType"].isNull()) + hostGroupListObject.sysDiskType = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["SysDiskType"].asString(); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["SysDiskCapacity"].isNull()) + hostGroupListObject.sysDiskCapacity = std::stoi(valueTemplateInfoListTemplateInfoHostGroupListHostGroup["SysDiskCapacity"].asString()); + if(!valueTemplateInfoListTemplateInfoHostGroupListHostGroup["MultiInstanceTypes"].isNull()) + hostGroupListObject.multiInstanceTypes = valueTemplateInfoListTemplateInfoHostGroupListHostGroup["MultiInstanceTypes"].asString(); templateInfoListObject.hostGroupList.push_back(hostGroupListObject); } - auto allConfigListNode = allTemplateInfoListNode["ConfigList"]["Config"]; - for (auto allTemplateInfoListNodeConfigListConfig : allConfigListNode) + auto allConfigListNode = valueTemplateInfoListTemplateInfo["ConfigList"]["Config"]; + for (auto valueTemplateInfoListTemplateInfoConfigListConfig : allConfigListNode) { TemplateInfo::Config configListObject; - if(!allTemplateInfoListNodeConfigListConfig["ServiceName"].isNull()) - configListObject.serviceName = allTemplateInfoListNodeConfigListConfig["ServiceName"].asString(); - if(!allTemplateInfoListNodeConfigListConfig["FileName"].isNull()) - configListObject.fileName = allTemplateInfoListNodeConfigListConfig["FileName"].asString(); - if(!allTemplateInfoListNodeConfigListConfig["ConfigKey"].isNull()) - configListObject.configKey = allTemplateInfoListNodeConfigListConfig["ConfigKey"].asString(); - if(!allTemplateInfoListNodeConfigListConfig["ConfigValue"].isNull()) - configListObject.configValue = allTemplateInfoListNodeConfigListConfig["ConfigValue"].asString(); - if(!allTemplateInfoListNodeConfigListConfig["Encrypt"].isNull()) - configListObject.encrypt = allTemplateInfoListNodeConfigListConfig["Encrypt"].asString(); - if(!allTemplateInfoListNodeConfigListConfig["Replace"].isNull()) - configListObject.replace = allTemplateInfoListNodeConfigListConfig["Replace"].asString(); + if(!valueTemplateInfoListTemplateInfoConfigListConfig["ServiceName"].isNull()) + configListObject.serviceName = valueTemplateInfoListTemplateInfoConfigListConfig["ServiceName"].asString(); + if(!valueTemplateInfoListTemplateInfoConfigListConfig["FileName"].isNull()) + configListObject.fileName = valueTemplateInfoListTemplateInfoConfigListConfig["FileName"].asString(); + if(!valueTemplateInfoListTemplateInfoConfigListConfig["ConfigKey"].isNull()) + configListObject.configKey = valueTemplateInfoListTemplateInfoConfigListConfig["ConfigKey"].asString(); + if(!valueTemplateInfoListTemplateInfoConfigListConfig["ConfigValue"].isNull()) + configListObject.configValue = valueTemplateInfoListTemplateInfoConfigListConfig["ConfigValue"].asString(); + if(!valueTemplateInfoListTemplateInfoConfigListConfig["Encrypt"].isNull()) + configListObject.encrypt = valueTemplateInfoListTemplateInfoConfigListConfig["Encrypt"].asString(); + if(!valueTemplateInfoListTemplateInfoConfigListConfig["Replace"].isNull()) + configListObject.replace = valueTemplateInfoListTemplateInfoConfigListConfig["Replace"].asString(); templateInfoListObject.configList.push_back(configListObject); } auto allSoftwareInfoList = value["SoftwareInfoList"]["SoftwareInfo"]; diff --git a/emr/src/model/ListClustersRequest.cc b/emr/src/model/ListClustersRequest.cc index 667e60b8c..df18d8123 100644 --- a/emr/src/model/ListClustersRequest.cc +++ b/emr/src/model/ListClustersRequest.cc @@ -106,6 +106,17 @@ void ListClustersRequest::setMachineType(const std::string& machineType) setParameter("MachineType", machineType); } +std::string ListClustersRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListClustersRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListClustersRequest::getRegionId()const { return regionId_; @@ -155,6 +166,19 @@ void ListClustersRequest::setCreateType(const std::string& createType) setParameter("CreateType", createType); } +std::vector ListClustersRequest::getExpiredTagList()const +{ + return expiredTagList_; +} + +void ListClustersRequest::setExpiredTagList(const std::vector& expiredTagList) +{ + expiredTagList_ = expiredTagList; + for(int dep1 = 0; dep1!= expiredTagList.size(); dep1++) { + setParameter("ExpiredTagList."+ std::to_string(dep1), expiredTagList.at(dep1)); + } +} + bool ListClustersRequest::getDefaultStatus()const { return defaultStatus_; diff --git a/emr/src/model/ListClustersResult.cc b/emr/src/model/ListClustersResult.cc index 3037f06f5..e28d57517 100644 --- a/emr/src/model/ListClustersResult.cc +++ b/emr/src/model/ListClustersResult.cc @@ -73,6 +73,20 @@ void ListClustersResult::parse(const std::string &payload) clustersObject.depositType = valueClustersClusterInfo["DepositType"].asString(); if(!valueClustersClusterInfo["MetaStoreType"].isNull()) clustersObject.metaStoreType = valueClustersClusterInfo["MetaStoreType"].asString(); + if(!valueClustersClusterInfo["K8sClusterId"].isNull()) + clustersObject.k8sClusterId = valueClustersClusterInfo["K8sClusterId"].asString(); + if(!valueClustersClusterInfo["OperationId"].isNull()) + clustersObject.operationId = std::stol(valueClustersClusterInfo["OperationId"].asString()); + auto allTagsNode = valueClustersClusterInfo["Tags"]["Tag"]; + for (auto valueClustersClusterInfoTagsTag : allTagsNode) + { + ClusterInfo::Tag tagsObject; + if(!valueClustersClusterInfoTagsTag["TagKey"].isNull()) + tagsObject.tagKey = valueClustersClusterInfoTagsTag["TagKey"].asString(); + if(!valueClustersClusterInfoTagsTag["TagValue"].isNull()) + tagsObject.tagValue = valueClustersClusterInfoTagsTag["TagValue"].asString(); + clustersObject.tags.push_back(tagsObject); + } auto orderTaskInfoNode = value["OrderTaskInfo"]; if(!orderTaskInfoNode["TargetCount"].isNull()) clustersObject.orderTaskInfo.targetCount = std::stoi(orderTaskInfoNode["TargetCount"].asString()); diff --git a/emr/src/model/ListDataSourceRequest.cc b/emr/src/model/ListDataSourceRequest.cc index 1a69a9d62..267b9a0e6 100644 --- a/emr/src/model/ListDataSourceRequest.cc +++ b/emr/src/model/ListDataSourceRequest.cc @@ -71,6 +71,17 @@ void ListDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string ListDataSourceRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListDataSourceRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListDataSourceSchemaDatabaseRequest.cc b/emr/src/model/ListDataSourceSchemaDatabaseRequest.cc deleted file mode 100644 index 13b50aa93..000000000 --- a/emr/src/model/ListDataSourceSchemaDatabaseRequest.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 - -using AlibabaCloud::Emr::Model::ListDataSourceSchemaDatabaseRequest; - -ListDataSourceSchemaDatabaseRequest::ListDataSourceSchemaDatabaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListDataSourceSchemaDatabase") -{} - -ListDataSourceSchemaDatabaseRequest::~ListDataSourceSchemaDatabaseRequest() -{} - -long ListDataSourceSchemaDatabaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListDataSourceSchemaDatabaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListDataSourceSchemaDatabaseRequest::getDbName()const -{ - return dbName_; -} - -void ListDataSourceSchemaDatabaseRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string ListDataSourceSchemaDatabaseRequest::getRegionId()const -{ - return regionId_; -} - -void ListDataSourceSchemaDatabaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListDataSourceSchemaDatabaseRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void ListDataSourceSchemaDatabaseRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string ListDataSourceSchemaDatabaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListDataSourceSchemaDatabaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListDataSourceSchemaDatabaseResult.cc b/emr/src/model/ListDataSourceSchemaDatabaseResult.cc deleted file mode 100644 index 60682d068..000000000 --- a/emr/src/model/ListDataSourceSchemaDatabaseResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListDataSourceSchemaDatabaseResult::ListDataSourceSchemaDatabaseResult() : - ServiceResult() -{} - -ListDataSourceSchemaDatabaseResult::ListDataSourceSchemaDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataSourceSchemaDatabaseResult::~ListDataSourceSchemaDatabaseResult() -{} - -void ListDataSourceSchemaDatabaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allSchemaList = value["SchemaList"]["Schema"]; - for (auto value : allSchemaList) - { - Schema schemaListObject; - if(!value["DbName"].isNull()) - schemaListObject.dbName = value["DbName"].asString(); - if(!value["DbVersion"].isNull()) - schemaListObject.dbVersion = value["DbVersion"].asString(); - if(!value["DbType"].isNull()) - schemaListObject.dbType = value["DbType"].asString(); - schemaList_.push_back(schemaListObject); - } - if(!value["DataSourceId"].isNull()) - dataSourceId_ = value["DataSourceId"].asString(); - -} - -std::vector ListDataSourceSchemaDatabaseResult::getSchemaList()const -{ - return schemaList_; -} - -std::string ListDataSourceSchemaDatabaseResult::getDataSourceId()const -{ - return dataSourceId_; -} - diff --git a/emr/src/model/ListDataSourceSchemaTableRequest.cc b/emr/src/model/ListDataSourceSchemaTableRequest.cc deleted file mode 100644 index 9d5a11465..000000000 --- a/emr/src/model/ListDataSourceSchemaTableRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListDataSourceSchemaTableRequest; - -ListDataSourceSchemaTableRequest::ListDataSourceSchemaTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListDataSourceSchemaTable") -{} - -ListDataSourceSchemaTableRequest::~ListDataSourceSchemaTableRequest() -{} - -long ListDataSourceSchemaTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListDataSourceSchemaTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListDataSourceSchemaTableRequest::getDbName()const -{ - return dbName_; -} - -void ListDataSourceSchemaTableRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string ListDataSourceSchemaTableRequest::getRegionId()const -{ - return regionId_; -} - -void ListDataSourceSchemaTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListDataSourceSchemaTableRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void ListDataSourceSchemaTableRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string ListDataSourceSchemaTableRequest::getTableName()const -{ - return tableName_; -} - -void ListDataSourceSchemaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string ListDataSourceSchemaTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListDataSourceSchemaTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListDataSourceSchemaTableResult.cc b/emr/src/model/ListDataSourceSchemaTableResult.cc deleted file mode 100644 index 396c38109..000000000 --- a/emr/src/model/ListDataSourceSchemaTableResult.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; - -ListDataSourceSchemaTableResult::ListDataSourceSchemaTableResult() : - ServiceResult() -{} - -ListDataSourceSchemaTableResult::ListDataSourceSchemaTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDataSourceSchemaTableResult::~ListDataSourceSchemaTableResult() -{} - -void ListDataSourceSchemaTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allSchemaList = value["SchemaList"]["Schema"]; - for (auto value : allSchemaList) - { - Schema schemaListObject; - if(!value["DbType"].isNull()) - schemaListObject.dbType = value["DbType"].asString(); - if(!value["DbVersion"].isNull()) - schemaListObject.dbVersion = value["DbVersion"].asString(); - if(!value["DbName"].isNull()) - schemaListObject.dbName = value["DbName"].asString(); - if(!value["TableName"].isNull()) - schemaListObject.tableName = value["TableName"].asString(); - auto allFields = value["Fields"]["Field"]; - for (auto value : allFields) - { - Schema::Field fieldsObject; - if(!value["Type"].isNull()) - fieldsObject.type = value["Type"].asString(); - if(!value["Length"].isNull()) - fieldsObject.length = value["Length"].asString(); - if(!value["Name"].isNull()) - fieldsObject.name = value["Name"].asString(); - if(!value["Index"].isNull()) - fieldsObject.index = std::stoi(value["Index"].asString()); - if(!value["RawType"].isNull()) - fieldsObject.rawType = value["RawType"].asString(); - if(!value["AssignType"].isNull()) - fieldsObject.assignType = value["AssignType"].asString(); - if(!value["AssignValue"].isNull()) - fieldsObject.assignValue = value["AssignValue"].asString(); - if(!value["PartitionKey"].isNull()) - fieldsObject.partitionKey = value["PartitionKey"].asString() == "true"; - schemaListObject.fields.push_back(fieldsObject); - } - schemaList_.push_back(schemaListObject); - } - if(!value["DataSourceId"].isNull()) - dataSourceId_ = value["DataSourceId"].asString(); - -} - -std::vector ListDataSourceSchemaTableResult::getSchemaList()const -{ - return schemaList_; -} - -std::string ListDataSourceSchemaTableResult::getDataSourceId()const -{ - return dataSourceId_; -} - diff --git a/emr/src/model/ListDependedServiceRequest.cc b/emr/src/model/ListDependedServiceRequest.cc deleted file mode 100644 index 9afb78444..000000000 --- a/emr/src/model/ListDependedServiceRequest.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 - -using AlibabaCloud::Emr::Model::ListDependedServiceRequest; - -ListDependedServiceRequest::ListDependedServiceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListDependedService") -{} - -ListDependedServiceRequest::~ListDependedServiceRequest() -{} - -long ListDependedServiceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListDependedServiceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListDependedServiceRequest::getRegionId()const -{ - return regionId_; -} - -void ListDependedServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListDependedServiceRequest::getServiceName()const -{ - return serviceName_; -} - -void ListDependedServiceRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - -std::string ListDependedServiceRequest::getClusterId()const -{ - return clusterId_; -} - -void ListDependedServiceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListDependedServiceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListDependedServiceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListDependedServiceResult.cc b/emr/src/model/ListDependedServiceResult.cc deleted file mode 100644 index 4d99a108c..000000000 --- a/emr/src/model/ListDependedServiceResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListDependedServiceResult::ListDependedServiceResult() : - ServiceResult() -{} - -ListDependedServiceResult::ListDependedServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListDependedServiceResult::~ListDependedServiceResult() -{} - -void ListDependedServiceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allServiceList = value["ServiceList"]["Service"]; - for (auto value : allServiceList) - { - Service serviceListObject; - if(!value["ServiceName"].isNull()) - serviceListObject.serviceName = value["ServiceName"].asString(); - if(!value["ServiceDisplayName"].isNull()) - serviceListObject.serviceDisplayName = value["ServiceDisplayName"].asString(); - serviceList_.push_back(serviceListObject); - } - if(!value["ExistServices"].isNull()) - existServices_ = value["ExistServices"].asString() == "true"; - -} - -std::vector ListDependedServiceResult::getServiceList()const -{ - return serviceList_; -} - -bool ListDependedServiceResult::getExistServices()const -{ - return existServices_; -} - diff --git a/emr/src/model/ListETLJobInstanceRequest.cc b/emr/src/model/ListETLJobInstanceRequest.cc deleted file mode 100644 index 3502e23bb..000000000 --- a/emr/src/model/ListETLJobInstanceRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListETLJobInstanceRequest; - -ListETLJobInstanceRequest::ListETLJobInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListETLJobInstance") -{} - -ListETLJobInstanceRequest::~ListETLJobInstanceRequest() -{} - -long ListETLJobInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListETLJobInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListETLJobInstanceRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListETLJobInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setCoreParameter("InstanceId", instanceId); -} - -std::string ListETLJobInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void ListETLJobInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListETLJobInstanceRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void ListETLJobInstanceRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -int ListETLJobInstanceRequest::getPageSize()const -{ - return pageSize_; -} - -void ListETLJobInstanceRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int ListETLJobInstanceRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListETLJobInstanceRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListETLJobInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListETLJobInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListETLJobInstanceRequest::getStatus()const -{ - return status_; -} - -void ListETLJobInstanceRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/emr/src/model/ListETLJobInstanceResult.cc b/emr/src/model/ListETLJobInstanceResult.cc deleted file mode 100644 index 779b2fb5a..000000000 --- a/emr/src/model/ListETLJobInstanceResult.cc +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListETLJobInstanceResult::ListETLJobInstanceResult() : - ServiceResult() -{} - -ListETLJobInstanceResult::ListETLJobInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListETLJobInstanceResult::~ListETLJobInstanceResult() -{} - -void ListETLJobInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allInstanceList = value["InstanceList"]["Instance"]; - for (auto value : allInstanceList) - { - Instance instanceListObject; - if(!value["Id"].isNull()) - instanceListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - instanceListObject.name = value["Name"].asString(); - if(!value["EtlJobId"].isNull()) - instanceListObject.etlJobId = value["EtlJobId"].asString(); - if(!value["InstanceStatus"].isNull()) - instanceListObject.instanceStatus = value["InstanceStatus"].asString(); - if(!value["TriggerType"].isNull()) - instanceListObject.triggerType = value["TriggerType"].asString(); - if(!value["TriggerUser"].isNull()) - instanceListObject.triggerUser = value["TriggerUser"].asString(); - if(!value["StartTime"].isNull()) - instanceListObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - instanceListObject.endTime = std::stol(value["EndTime"].asString()); - auto allFlowRelationList = value["FlowRelationList"]["FlowRelation"]; - for (auto value : allFlowRelationList) - { - Instance::FlowRelation flowRelationListObject; - if(!value["FlowJobId"].isNull()) - flowRelationListObject.flowJobId = value["FlowJobId"].asString(); - if(!value["FlowJobInstanceId"].isNull()) - flowRelationListObject.flowJobInstanceId = value["FlowJobInstanceId"].asString(); - instanceListObject.flowRelationList.push_back(flowRelationListObject); - } - auto allStageInstanceList = value["StageInstanceList"]["StageInstance"]; - for (auto value : allStageInstanceList) - { - Instance::StageInstance stageInstanceListObject; - if(!value["Id"].isNull()) - stageInstanceListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - stageInstanceListObject.name = value["Name"].asString(); - if(!value["StageStartTime"].isNull()) - stageInstanceListObject.stageStartTime = std::stol(value["StageStartTime"].asString()); - if(!value["StageEndTime"].isNull()) - stageInstanceListObject.stageEndTime = std::stol(value["StageEndTime"].asString()); - instanceListObject.stageInstanceList.push_back(stageInstanceListObject); - } - auto argumentsNode = value["Arguments"]; - if(!argumentsNode["Key"].isNull()) - instanceListObject.arguments.key = argumentsNode["Key"].asString(); - if(!argumentsNode["Value"].isNull()) - instanceListObject.arguments.value = argumentsNode["Value"].asString(); - auto metricsNode = value["Metrics"]; - if(!metricsNode["TotalTime"].isNull()) - instanceListObject.metrics.totalTime = std::stol(metricsNode["TotalTime"].asString()); - if(!metricsNode["RecordsIn"].isNull()) - instanceListObject.metrics.recordsIn = std::stol(metricsNode["RecordsIn"].asString()); - if(!metricsNode["RecordsOut"].isNull()) - instanceListObject.metrics.recordsOut = std::stol(metricsNode["RecordsOut"].asString()); - if(!metricsNode["RecordsError"].isNull()) - instanceListObject.metrics.recordsError = std::stol(metricsNode["RecordsError"].asString()); - if(!metricsNode["RecordsRate"].isNull()) - instanceListObject.metrics.recordsRate = metricsNode["RecordsRate"].asString(); - if(!metricsNode["Vcores"].isNull()) - instanceListObject.metrics.vcores = std::stol(metricsNode["Vcores"].asString()); - if(!metricsNode["MemSize"].isNull()) - instanceListObject.metrics.memSize = std::stol(metricsNode["MemSize"].asString()); - instanceList_.push_back(instanceListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int ListETLJobInstanceResult::getPageSize()const -{ - return pageSize_; -} - -int ListETLJobInstanceResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListETLJobInstanceResult::getTotal()const -{ - return total_; -} - -std::vector ListETLJobInstanceResult::getInstanceList()const -{ - return instanceList_; -} - diff --git a/emr/src/model/ListETLJobReleaseRequest.cc b/emr/src/model/ListETLJobReleaseRequest.cc deleted file mode 100644 index d098d4e69..000000000 --- a/emr/src/model/ListETLJobReleaseRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListETLJobReleaseRequest; - -ListETLJobReleaseRequest::ListETLJobReleaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListETLJobRelease") -{} - -ListETLJobReleaseRequest::~ListETLJobReleaseRequest() -{} - -long ListETLJobReleaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListETLJobReleaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListETLJobReleaseRequest::getRegionId()const -{ - return regionId_; -} - -void ListETLJobReleaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListETLJobReleaseRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void ListETLJobReleaseRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string ListETLJobReleaseRequest::getReleaseId()const -{ - return releaseId_; -} - -void ListETLJobReleaseRequest::setReleaseId(const std::string& releaseId) -{ - releaseId_ = releaseId; - setCoreParameter("ReleaseId", releaseId); -} - -int ListETLJobReleaseRequest::getPageSize()const -{ - return pageSize_; -} - -void ListETLJobReleaseRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int ListETLJobReleaseRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListETLJobReleaseRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -int ListETLJobReleaseRequest::getReleaseVersion()const -{ - return releaseVersion_; -} - -void ListETLJobReleaseRequest::setReleaseVersion(int releaseVersion) -{ - releaseVersion_ = releaseVersion; - setCoreParameter("ReleaseVersion", std::to_string(releaseVersion)); -} - -std::string ListETLJobReleaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListETLJobReleaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListETLJobReleaseRequest::getStatus()const -{ - return status_; -} - -void ListETLJobReleaseRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/emr/src/model/ListETLJobReleaseResult.cc b/emr/src/model/ListETLJobReleaseResult.cc deleted file mode 100644 index ad6d29438..000000000 --- a/emr/src/model/ListETLJobReleaseResult.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; - -ListETLJobReleaseResult::ListETLJobReleaseResult() : - ServiceResult() -{} - -ListETLJobReleaseResult::ListETLJobReleaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListETLJobReleaseResult::~ListETLJobReleaseResult() -{} - -void ListETLJobReleaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allReleaseList = value["ReleaseList"]["Release"]; - for (auto value : allReleaseList) - { - Release releaseListObject; - if(!value["EtlJobId"].isNull()) - releaseListObject.etlJobId = value["EtlJobId"].asString(); - if(!value["Id"].isNull()) - releaseListObject.id = value["Id"].asString(); - if(!value["ReleaseVersion"].isNull()) - releaseListObject.releaseVersion = std::stoi(value["ReleaseVersion"].asString()); - if(!value["Status"].isNull()) - releaseListObject.status = value["Status"].asString(); - if(!value["GmtCreate"].isNull()) - releaseListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - releaseListObject.gmtModified = std::stol(value["GmtModified"].asString()); - releaseList_.push_back(releaseListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int ListETLJobReleaseResult::getPageSize()const -{ - return pageSize_; -} - -int ListETLJobReleaseResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListETLJobReleaseResult::getTotal()const -{ - return total_; -} - -std::vector ListETLJobReleaseResult::getReleaseList()const -{ - return releaseList_; -} - diff --git a/emr/src/model/ListETLJobTriggerEntityRequest.cc b/emr/src/model/ListETLJobTriggerEntityRequest.cc deleted file mode 100644 index 7fc2d12e1..000000000 --- a/emr/src/model/ListETLJobTriggerEntityRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListETLJobTriggerEntityRequest; - -ListETLJobTriggerEntityRequest::ListETLJobTriggerEntityRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListETLJobTriggerEntity") -{} - -ListETLJobTriggerEntityRequest::~ListETLJobTriggerEntityRequest() -{} - -long ListETLJobTriggerEntityRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListETLJobTriggerEntityRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListETLJobTriggerEntityRequest::getEntityType()const -{ - return entityType_; -} - -void ListETLJobTriggerEntityRequest::setEntityType(const std::string& entityType) -{ - entityType_ = entityType; - setCoreParameter("EntityType", entityType); -} - -std::string ListETLJobTriggerEntityRequest::getRegionId()const -{ - return regionId_; -} - -void ListETLJobTriggerEntityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListETLJobTriggerEntityRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListETLJobTriggerEntityRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListETLJobTriggerEntityResult.cc b/emr/src/model/ListETLJobTriggerEntityResult.cc deleted file mode 100644 index cae25fd0f..000000000 --- a/emr/src/model/ListETLJobTriggerEntityResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListETLJobTriggerEntityResult::ListETLJobTriggerEntityResult() : - ServiceResult() -{} - -ListETLJobTriggerEntityResult::ListETLJobTriggerEntityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListETLJobTriggerEntityResult::~ListETLJobTriggerEntityResult() -{} - -void ListETLJobTriggerEntityResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTriggerEntityList = value["TriggerEntityList"]["TriggerEntity"]; - for (auto value : allTriggerEntityList) - { - TriggerEntity triggerEntityListObject; - if(!value["EntityType"].isNull()) - triggerEntityListObject.entityType = value["EntityType"].asString(); - if(!value["Id"].isNull()) - triggerEntityListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - triggerEntityListObject.name = value["Name"].asString(); - triggerEntityList_.push_back(triggerEntityListObject); - } - -} - -std::vector ListETLJobTriggerEntityResult::getTriggerEntityList()const -{ - return triggerEntityList_; -} - diff --git a/emr/src/model/ListEmrAvailableConfigRequest.cc b/emr/src/model/ListEmrAvailableConfigRequest.cc index ffd32b102..70d1fdcc4 100644 --- a/emr/src/model/ListEmrAvailableConfigRequest.cc +++ b/emr/src/model/ListEmrAvailableConfigRequest.cc @@ -49,6 +49,17 @@ void ListEmrAvailableConfigRequest::setAccessKeyId(const std::string& accessKeyI setParameter("AccessKeyId", accessKeyId); } +std::string ListEmrAvailableConfigRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListEmrAvailableConfigRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListEmrAvailableConfigRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListEmrAvailableConfigResult.cc b/emr/src/model/ListEmrAvailableConfigResult.cc index 44e754687..0836bc93f 100644 --- a/emr/src/model/ListEmrAvailableConfigResult.cc +++ b/emr/src/model/ListEmrAvailableConfigResult.cc @@ -53,24 +53,30 @@ void ListEmrAvailableConfigResult::parse(const std::string &payload) emrMainVersionListObject.stackName = valueEmrMainVersionListEmrMainVersion["StackName"].asString(); if(!valueEmrMainVersionListEmrMainVersion["StackVersion"].isNull()) emrMainVersionListObject.stackVersion = valueEmrMainVersionListEmrMainVersion["StackVersion"].asString(); - auto allClusterTypeInfoListNode = allEmrMainVersionListNode["ClusterTypeInfoList"]["ClusterTypeInfo"]; - for (auto allEmrMainVersionListNodeClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode) + if(!valueEmrMainVersionListEmrMainVersion["ExtraInfo"].isNull()) + emrMainVersionListObject.extraInfo = valueEmrMainVersionListEmrMainVersion["ExtraInfo"].asString(); + if(!valueEmrMainVersionListEmrMainVersion["OnCloudNative"].isNull()) + emrMainVersionListObject.onCloudNative = valueEmrMainVersionListEmrMainVersion["OnCloudNative"].asString() == "true"; + if(!valueEmrMainVersionListEmrMainVersion["PublishType"].isNull()) + emrMainVersionListObject.publishType = valueEmrMainVersionListEmrMainVersion["PublishType"].asString(); + auto allClusterTypeInfoListNode = valueEmrMainVersionListEmrMainVersion["ClusterTypeInfoList"]["ClusterTypeInfo"]; + for (auto valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode) { EmrMainVersion::ClusterTypeInfo clusterTypeInfoListObject; - if(!allEmrMainVersionListNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull()) - clusterTypeInfoListObject.clusterType = allEmrMainVersionListNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].asString(); - auto allClusterServiceInfoListNode = allClusterTypeInfoListNode["ClusterServiceInfoList"]["ClusterServiceInfo"]; - for (auto allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo : allClusterServiceInfoListNode) + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull()) + clusterTypeInfoListObject.clusterType = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo["ClusterType"].asString(); + auto allClusterServiceInfoListNode = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo["ClusterServiceInfoList"]["ClusterServiceInfo"]; + for (auto valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo : allClusterServiceInfoListNode) { EmrMainVersion::ClusterTypeInfo::ClusterServiceInfo clusterServiceInfoListObject; - if(!allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["ServiceName"].isNull()) - clusterServiceInfoListObject.serviceName = allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["ServiceName"].asString(); - if(!allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["ServiceDisplayName"].isNull()) - clusterServiceInfoListObject.serviceDisplayName = allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["ServiceDisplayName"].asString(); - if(!allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["ServiceVersion"].isNull()) - clusterServiceInfoListObject.serviceVersion = allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["ServiceVersion"].asString(); - if(!allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["Mandatory"].isNull()) - clusterServiceInfoListObject.mandatory = allClusterTypeInfoListNodeClusterServiceInfoListClusterServiceInfo["Mandatory"].asString() == "true"; + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["ServiceName"].isNull()) + clusterServiceInfoListObject.serviceName = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["ServiceName"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["ServiceDisplayName"].isNull()) + clusterServiceInfoListObject.serviceDisplayName = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["ServiceDisplayName"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["ServiceVersion"].isNull()) + clusterServiceInfoListObject.serviceVersion = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["ServiceVersion"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["Mandatory"].isNull()) + clusterServiceInfoListObject.mandatory = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoClusterServiceInfoListClusterServiceInfo["Mandatory"].asString() == "true"; clusterTypeInfoListObject.clusterServiceInfoList.push_back(clusterServiceInfoListObject); } emrMainVersionListObject.clusterTypeInfoList.push_back(clusterTypeInfoListObject); @@ -115,26 +121,26 @@ void ListEmrAvailableConfigResult::parse(const std::string &payload) vpcInfoListObject.vRouterId = valueVpcInfoListVpcInfo["VRouterId"].asString(); if(!valueVpcInfoListVpcInfo["Description"].isNull()) vpcInfoListObject.description = valueVpcInfoListVpcInfo["Description"].asString(); - auto allVswitchInfoListNode = allVpcInfoListNode["VswitchInfoList"]["VswitchInfo"]; - for (auto allVpcInfoListNodeVswitchInfoListVswitchInfo : allVswitchInfoListNode) + auto allVswitchInfoListNode = valueVpcInfoListVpcInfo["VswitchInfoList"]["VswitchInfo"]; + for (auto valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo : allVswitchInfoListNode) { VpcInfo::VswitchInfo vswitchInfoListObject; - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["VpcId"].isNull()) - vswitchInfoListObject.vpcId = allVpcInfoListNodeVswitchInfoListVswitchInfo["VpcId"].asString(); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["VswitchId"].isNull()) - vswitchInfoListObject.vswitchId = allVpcInfoListNodeVswitchInfoListVswitchInfo["VswitchId"].asString(); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["VswitchName"].isNull()) - vswitchInfoListObject.vswitchName = allVpcInfoListNodeVswitchInfoListVswitchInfo["VswitchName"].asString(); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["ZoneId"].isNull()) - vswitchInfoListObject.zoneId = allVpcInfoListNodeVswitchInfoListVswitchInfo["ZoneId"].asString(); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["CidrBlock"].isNull()) - vswitchInfoListObject.cidrBlock = allVpcInfoListNodeVswitchInfoListVswitchInfo["CidrBlock"].asString(); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["AvailableIpAddressCount"].isNull()) - vswitchInfoListObject.availableIpAddressCount = std::stol(allVpcInfoListNodeVswitchInfoListVswitchInfo["AvailableIpAddressCount"].asString()); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["Description"].isNull()) - vswitchInfoListObject.description = allVpcInfoListNodeVswitchInfoListVswitchInfo["Description"].asString(); - if(!allVpcInfoListNodeVswitchInfoListVswitchInfo["CreationTime"].isNull()) - vswitchInfoListObject.creationTime = allVpcInfoListNodeVswitchInfoListVswitchInfo["CreationTime"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["VpcId"].isNull()) + vswitchInfoListObject.vpcId = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["VpcId"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["VswitchId"].isNull()) + vswitchInfoListObject.vswitchId = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["VswitchId"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["VswitchName"].isNull()) + vswitchInfoListObject.vswitchName = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["VswitchName"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["ZoneId"].isNull()) + vswitchInfoListObject.zoneId = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["ZoneId"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["CidrBlock"].isNull()) + vswitchInfoListObject.cidrBlock = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["CidrBlock"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["AvailableIpAddressCount"].isNull()) + vswitchInfoListObject.availableIpAddressCount = std::stol(valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["AvailableIpAddressCount"].asString()); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["Description"].isNull()) + vswitchInfoListObject.description = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["Description"].asString(); + if(!valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["CreationTime"].isNull()) + vswitchInfoListObject.creationTime = valueVpcInfoListVpcInfoVswitchInfoListVswitchInfo["CreationTime"].asString(); vpcInfoListObject.vswitchInfoList.push_back(vswitchInfoListObject); } vpcInfoList_.push_back(vpcInfoListObject); diff --git a/emr/src/model/ListEmrAvailableResourceRequest.cc b/emr/src/model/ListEmrAvailableResourceRequest.cc index e1e2855c0..a60787067 100644 --- a/emr/src/model/ListEmrAvailableResourceRequest.cc +++ b/emr/src/model/ListEmrAvailableResourceRequest.cc @@ -71,6 +71,17 @@ void ListEmrAvailableResourceRequest::setSystemDiskType(const std::string& syste setParameter("SystemDiskType", systemDiskType); } +std::string ListEmrAvailableResourceRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListEmrAvailableResourceRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListEmrAvailableResourceRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListEmrAvailableResourceResult.cc b/emr/src/model/ListEmrAvailableResourceResult.cc index 06ff0ba93..0a1cf0c7d 100644 --- a/emr/src/model/ListEmrAvailableResourceResult.cc +++ b/emr/src/model/ListEmrAvailableResourceResult.cc @@ -45,24 +45,24 @@ void ListEmrAvailableResourceResult::parse(const std::string &payload) EmrZoneInfo emrZoneInfoListObject; if(!valueEmrZoneInfoListEmrZoneInfo["ZoneId"].isNull()) emrZoneInfoListObject.zoneId = valueEmrZoneInfoListEmrZoneInfo["ZoneId"].asString(); - auto allEmrResourceInfoListNode = allEmrZoneInfoListNode["EmrResourceInfoList"]["EmrResourceInfo"]; - for (auto allEmrZoneInfoListNodeEmrResourceInfoListEmrResourceInfo : allEmrResourceInfoListNode) + auto allEmrResourceInfoListNode = valueEmrZoneInfoListEmrZoneInfo["EmrResourceInfoList"]["EmrResourceInfo"]; + for (auto valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfo : allEmrResourceInfoListNode) { EmrZoneInfo::EmrResourceInfo emrResourceInfoListObject; - if(!allEmrZoneInfoListNodeEmrResourceInfoListEmrResourceInfo["Type"].isNull()) - emrResourceInfoListObject.type = allEmrZoneInfoListNodeEmrResourceInfoListEmrResourceInfo["Type"].asString(); - auto allSupportedResourceListNode = allEmrResourceInfoListNode["SupportedResourceList"]["SupportedResource"]; - for (auto allEmrResourceInfoListNodeSupportedResourceListSupportedResource : allSupportedResourceListNode) + if(!valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfo["Type"].isNull()) + emrResourceInfoListObject.type = valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfo["Type"].asString(); + auto allSupportedResourceListNode = valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfo["SupportedResourceList"]["SupportedResource"]; + for (auto valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource : allSupportedResourceListNode) { EmrZoneInfo::EmrResourceInfo::SupportedResource supportedResourceListObject; - if(!allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Value"].isNull()) - supportedResourceListObject.value = allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Value"].asString(); - if(!allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Min"].isNull()) - supportedResourceListObject.min = std::stoi(allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Min"].asString()); - if(!allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Max"].isNull()) - supportedResourceListObject.max = std::stoi(allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Max"].asString()); - if(!allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Unit"].isNull()) - supportedResourceListObject.unit = allEmrResourceInfoListNodeSupportedResourceListSupportedResource["Unit"].asString(); + if(!valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Value"].isNull()) + supportedResourceListObject.value = valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Value"].asString(); + if(!valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Min"].isNull()) + supportedResourceListObject.min = std::stoi(valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Min"].asString()); + if(!valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Max"].isNull()) + supportedResourceListObject.max = std::stoi(valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Max"].asString()); + if(!valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Unit"].isNull()) + supportedResourceListObject.unit = valueEmrZoneInfoListEmrZoneInfoEmrResourceInfoListEmrResourceInfoSupportedResourceListSupportedResource["Unit"].asString(); auto emrInstanceTypeNode = value["EmrInstanceType"]; if(!emrInstanceTypeNode["InstanceType"].isNull()) supportedResourceListObject.emrInstanceType.instanceType = emrInstanceTypeNode["InstanceType"].asString(); diff --git a/emr/src/model/ListEmrMainVersionResult.cc b/emr/src/model/ListEmrMainVersionResult.cc index 9b255bb49..f664b06f2 100644 --- a/emr/src/model/ListEmrMainVersionResult.cc +++ b/emr/src/model/ListEmrMainVersionResult.cc @@ -57,33 +57,45 @@ void ListEmrMainVersionResult::parse(const std::string &payload) emrMainVersionListObject.stackName = valueEmrMainVersionListEmrMainVersion["StackName"].asString(); if(!valueEmrMainVersionListEmrMainVersion["StackVersion"].isNull()) emrMainVersionListObject.stackVersion = valueEmrMainVersionListEmrMainVersion["StackVersion"].asString(); - auto allClusterTypeInfoListNode = allEmrMainVersionListNode["ClusterTypeInfoList"]["ClusterTypeInfo"]; - for (auto allEmrMainVersionListNodeClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode) + if(!valueEmrMainVersionListEmrMainVersion["PublishType"].isNull()) + emrMainVersionListObject.publishType = valueEmrMainVersionListEmrMainVersion["PublishType"].asString(); + auto allClusterTypeInfoListNode = valueEmrMainVersionListEmrMainVersion["ClusterTypeInfoList"]["ClusterTypeInfo"]; + for (auto valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo : allClusterTypeInfoListNode) { EmrMainVersion::ClusterTypeInfo clusterTypeInfoListObject; - if(!allEmrMainVersionListNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull()) - clusterTypeInfoListObject.clusterType = allEmrMainVersionListNodeClusterTypeInfoListClusterTypeInfo["ClusterType"].asString(); - auto allServiceInfoListNode = allClusterTypeInfoListNode["ServiceInfoList"]["ServiceInfo"]; - for (auto allClusterTypeInfoListNodeServiceInfoListServiceInfo : allServiceInfoListNode) + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo["ClusterType"].isNull()) + clusterTypeInfoListObject.clusterType = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo["ClusterType"].asString(); + auto allServiceInfoListNode = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfo["ServiceInfoList"]["ServiceInfo"]; + for (auto valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo : allServiceInfoListNode) { EmrMainVersion::ClusterTypeInfo::ServiceInfo serviceInfoListObject; - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceName"].isNull()) - serviceInfoListObject.serviceName = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceName"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayName"].isNull()) - serviceInfoListObject.serviceDisplayName = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayName"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceVersion"].isNull()) - serviceInfoListObject.serviceVersion = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceVersion"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayVersion"].isNull()) - serviceInfoListObject.serviceDisplayVersion = allClusterTypeInfoListNodeServiceInfoListServiceInfo["ServiceDisplayVersion"].asString(); - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["Mandatory"].isNull()) - serviceInfoListObject.mandatory = allClusterTypeInfoListNodeServiceInfoListServiceInfo["Mandatory"].asString() == "true"; - if(!allClusterTypeInfoListNodeServiceInfoListServiceInfo["Display"].isNull()) - serviceInfoListObject.display = allClusterTypeInfoListNodeServiceInfoListServiceInfo["Display"].asString() == "true"; + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceName"].isNull()) + serviceInfoListObject.serviceName = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceName"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayName"].isNull()) + serviceInfoListObject.serviceDisplayName = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayName"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceVersion"].isNull()) + serviceInfoListObject.serviceVersion = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceVersion"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayVersion"].isNull()) + serviceInfoListObject.serviceDisplayVersion = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["ServiceDisplayVersion"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Mandatory"].isNull()) + serviceInfoListObject.mandatory = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Mandatory"].asString() == "true"; + if(!valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Display"].isNull()) + serviceInfoListObject.display = valueEmrMainVersionListEmrMainVersionClusterTypeInfoListClusterTypeInfoServiceInfoListServiceInfo["Display"].asString() == "true"; clusterTypeInfoListObject.serviceInfoList.push_back(serviceInfoListObject); } emrMainVersionListObject.clusterTypeInfoList.push_back(clusterTypeInfoListObject); } - auto allWhiteUserList = value["WhiteUserList"]["WwhiteUser"]; + auto allClusterTypeWhiteUserListNode = valueEmrMainVersionListEmrMainVersion["ClusterTypeWhiteUserList"]["ClusterTypeWhiteUser"]; + for (auto valueEmrMainVersionListEmrMainVersionClusterTypeWhiteUserListClusterTypeWhiteUser : allClusterTypeWhiteUserListNode) + { + EmrMainVersion::ClusterTypeWhiteUser clusterTypeWhiteUserListObject; + if(!valueEmrMainVersionListEmrMainVersionClusterTypeWhiteUserListClusterTypeWhiteUser["ClusterType"].isNull()) + clusterTypeWhiteUserListObject.clusterType = valueEmrMainVersionListEmrMainVersionClusterTypeWhiteUserListClusterTypeWhiteUser["ClusterType"].asString(); + if(!valueEmrMainVersionListEmrMainVersionClusterTypeWhiteUserListClusterTypeWhiteUser["UserId"].isNull()) + clusterTypeWhiteUserListObject.userId = valueEmrMainVersionListEmrMainVersionClusterTypeWhiteUserListClusterTypeWhiteUser["UserId"].asString(); + emrMainVersionListObject.clusterTypeWhiteUserList.push_back(clusterTypeWhiteUserListObject); + } + auto allWhiteUserList = value["WhiteUserList"]["WhiteUser"]; for (auto value : allWhiteUserList) emrMainVersionListObject.whiteUserList.push_back(value.asString()); emrMainVersionList_.push_back(emrMainVersionListObject); diff --git a/emr/src/model/ListExecutePlanMigrateInfoRequest.cc b/emr/src/model/ListExecutePlanMigrateInfoRequest.cc deleted file mode 100644 index d4a726ec9..000000000 --- a/emr/src/model/ListExecutePlanMigrateInfoRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListExecutePlanMigrateInfoRequest; - -ListExecutePlanMigrateInfoRequest::ListExecutePlanMigrateInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListExecutePlanMigrateInfo") -{} - -ListExecutePlanMigrateInfoRequest::~ListExecutePlanMigrateInfoRequest() -{} - -long ListExecutePlanMigrateInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListExecutePlanMigrateInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListExecutePlanMigrateInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ListExecutePlanMigrateInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListExecutePlanMigrateInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void ListExecutePlanMigrateInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListExecutePlanMigrateInfoRequest::getUserId()const -{ - return userId_; -} - -void ListExecutePlanMigrateInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -int ListExecutePlanMigrateInfoRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListExecutePlanMigrateInfoRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListExecutePlanMigrateInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListExecutePlanMigrateInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListExecutePlanMigrateInfoResult.cc b/emr/src/model/ListExecutePlanMigrateInfoResult.cc deleted file mode 100644 index ddfaacdb7..000000000 --- a/emr/src/model/ListExecutePlanMigrateInfoResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListExecutePlanMigrateInfoResult::ListExecutePlanMigrateInfoResult() : - ServiceResult() -{} - -ListExecutePlanMigrateInfoResult::ListExecutePlanMigrateInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListExecutePlanMigrateInfoResult::~ListExecutePlanMigrateInfoResult() -{} - -void ListExecutePlanMigrateInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allExecutePlanMigrateInfoList = value["ExecutePlanMigrateInfoList"]["ExecutePlanMigrateInfo"]; - for (auto value : allExecutePlanMigrateInfoList) - { - ExecutePlanMigrateInfo executePlanMigrateInfoListObject; - if(!value["Id"].isNull()) - executePlanMigrateInfoListObject.id = std::stol(value["Id"].asString()); - if(!value["BizId"].isNull()) - executePlanMigrateInfoListObject.bizId = value["BizId"].asString(); - if(!value["CreateTime"].isNull()) - executePlanMigrateInfoListObject.createTime = value["CreateTime"].asString(); - if(!value["Name"].isNull()) - executePlanMigrateInfoListObject.name = value["Name"].asString(); - if(!value["Status"].isNull()) - executePlanMigrateInfoListObject.status = std::stol(value["Status"].asString()); - if(!value["CronExpr"].isNull()) - executePlanMigrateInfoListObject.cronExpr = value["CronExpr"].asString(); - if(!value["StartScheduleTime"].isNull()) - executePlanMigrateInfoListObject.startScheduleTime = value["StartScheduleTime"].asString(); - if(!value["IsCycle"].isNull()) - executePlanMigrateInfoListObject.isCycle = std::stol(value["IsCycle"].asString()); - if(!value["BuildClusterCondition"].isNull()) - executePlanMigrateInfoListObject.buildClusterCondition = value["BuildClusterCondition"].asString(); - auto allJobList = value["JobList"]["JobInfo"]; - for (auto value : allJobList) - { - ExecutePlanMigrateInfo::JobInfo jobListObject; - if(!value["ClusterId"].isNull()) - jobListObject.clusterId = value["ClusterId"].asString(); - if(!value["JobId"].isNull()) - jobListObject.jobId = value["JobId"].asString(); - if(!value["Description"].isNull()) - jobListObject.description = value["Description"].asString(); - if(!value["IndexNO"].isNull()) - jobListObject.indexNO = std::stol(value["IndexNO"].asString()); - if(!value["Status"].isNull()) - jobListObject.status = std::stol(value["Status"].asString()); - executePlanMigrateInfoListObject.jobList.push_back(jobListObject); - } - executePlanMigrateInfoList_.push_back(executePlanMigrateInfoListObject); - } - if(!value["Total"].isNull()) - total_ = std::stol(value["Total"].asString()); - -} - -std::vector ListExecutePlanMigrateInfoResult::getExecutePlanMigrateInfoList()const -{ - return executePlanMigrateInfoList_; -} - -long ListExecutePlanMigrateInfoResult::getTotal()const -{ - return total_; -} - diff --git a/emr/src/model/ListExecutionPlanInstanceTrendRequest.cc b/emr/src/model/ListExecutionPlanInstanceTrendRequest.cc deleted file mode 100644 index 059408aeb..000000000 --- a/emr/src/model/ListExecutionPlanInstanceTrendRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::ListExecutionPlanInstanceTrendRequest; - -ListExecutionPlanInstanceTrendRequest::ListExecutionPlanInstanceTrendRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListExecutionPlanInstanceTrend") -{} - -ListExecutionPlanInstanceTrendRequest::~ListExecutionPlanInstanceTrendRequest() -{} - -long ListExecutionPlanInstanceTrendRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListExecutionPlanInstanceTrendRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListExecutionPlanInstanceTrendRequest::getRegionId()const -{ - return regionId_; -} - -void ListExecutionPlanInstanceTrendRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListExecutionPlanInstanceTrendRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListExecutionPlanInstanceTrendRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListExecutionPlanInstanceTrendResult.cc b/emr/src/model/ListExecutionPlanInstanceTrendResult.cc deleted file mode 100644 index 3724fb94d..000000000 --- a/emr/src/model/ListExecutionPlanInstanceTrendResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListExecutionPlanInstanceTrendResult::ListExecutionPlanInstanceTrendResult() : - ServiceResult() -{} - -ListExecutionPlanInstanceTrendResult::ListExecutionPlanInstanceTrendResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListExecutionPlanInstanceTrendResult::~ListExecutionPlanInstanceTrendResult() -{} - -void ListExecutionPlanInstanceTrendResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTrends = value["Trends"]["Trend"]; - for (auto value : allTrends) - { - Trend trendsObject; - if(!value["Day"].isNull()) - trendsObject.day = value["Day"].asString(); - if(!value["Count"].isNull()) - trendsObject.count = std::stoi(value["Count"].asString()); - if(!value["Status"].isNull()) - trendsObject.status = value["Status"].asString(); - trends_.push_back(trendsObject); - } - -} - -std::vector ListExecutionPlanInstanceTrendResult::getTrends()const -{ - return trends_; -} - diff --git a/emr/src/model/ListFailureJobExecutionInstancesRequest.cc b/emr/src/model/ListFailureJobExecutionInstancesRequest.cc deleted file mode 100644 index 88759978c..000000000 --- a/emr/src/model/ListFailureJobExecutionInstancesRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListFailureJobExecutionInstancesRequest; - -ListFailureJobExecutionInstancesRequest::ListFailureJobExecutionInstancesRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListFailureJobExecutionInstances") -{} - -ListFailureJobExecutionInstancesRequest::~ListFailureJobExecutionInstancesRequest() -{} - -long ListFailureJobExecutionInstancesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListFailureJobExecutionInstancesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListFailureJobExecutionInstancesRequest::getRegionId()const -{ - return regionId_; -} - -void ListFailureJobExecutionInstancesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListFailureJobExecutionInstancesRequest::getCount()const -{ - return count_; -} - -void ListFailureJobExecutionInstancesRequest::setCount(int count) -{ - count_ = count; - setCoreParameter("Count", std::to_string(count)); -} - -std::string ListFailureJobExecutionInstancesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListFailureJobExecutionInstancesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListFailureJobExecutionInstancesResult.cc b/emr/src/model/ListFailureJobExecutionInstancesResult.cc deleted file mode 100644 index 080ac503f..000000000 --- a/emr/src/model/ListFailureJobExecutionInstancesResult.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListFailureJobExecutionInstancesResult::ListFailureJobExecutionInstancesResult() : - ServiceResult() -{} - -ListFailureJobExecutionInstancesResult::ListFailureJobExecutionInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFailureJobExecutionInstancesResult::~ListFailureJobExecutionInstancesResult() -{} - -void ListFailureJobExecutionInstancesResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allJobInstances = value["JobInstances"]["JobInstance"]; - for (auto value : allJobInstances) - { - JobInstance jobInstancesObject; - if(!value["Id"].isNull()) - jobInstancesObject.id = value["Id"].asString(); - if(!value["JobName"].isNull()) - jobInstancesObject.jobName = value["JobName"].asString(); - if(!value["StartTime"].isNull()) - jobInstancesObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["RunTime"].isNull()) - jobInstancesObject.runTime = std::stoi(value["RunTime"].asString()); - if(!value["JobType"].isNull()) - jobInstancesObject.jobType = value["JobType"].asString(); - if(!value["JobId"].isNull()) - jobInstancesObject.jobId = value["JobId"].asString(); - if(!value["ClusterId"].isNull()) - jobInstancesObject.clusterId = value["ClusterId"].asString(); - if(!value["Status"].isNull()) - jobInstancesObject.status = value["Status"].asString(); - if(!value["RetryInfo"].isNull()) - jobInstancesObject.retryInfo = value["RetryInfo"].asString(); - jobInstances_.push_back(jobInstancesObject); - } - -} - -std::vector ListFailureJobExecutionInstancesResult::getJobInstances()const -{ - return jobInstances_; -} - diff --git a/emr/src/model/ListFlowClusterAllHostsRequest.cc b/emr/src/model/ListFlowClusterAllHostsRequest.cc index 4396b8551..8abcd67d9 100644 --- a/emr/src/model/ListFlowClusterAllHostsRequest.cc +++ b/emr/src/model/ListFlowClusterAllHostsRequest.cc @@ -38,6 +38,17 @@ void ListFlowClusterAllHostsRequest::setClusterId(const std::string& clusterId) setParameter("ClusterId", clusterId); } +std::string ListFlowClusterAllHostsRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListFlowClusterAllHostsRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListFlowClusterAllHostsRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListFlowClusterAllRequest.cc b/emr/src/model/ListFlowClusterAllRequest.cc index d434f9efb..a6fabd1de 100644 --- a/emr/src/model/ListFlowClusterAllRequest.cc +++ b/emr/src/model/ListFlowClusterAllRequest.cc @@ -27,6 +27,28 @@ ListFlowClusterAllRequest::ListFlowClusterAllRequest() : ListFlowClusterAllRequest::~ListFlowClusterAllRequest() {} +std::string ListFlowClusterAllRequest::getProductType()const +{ + return productType_; +} + +void ListFlowClusterAllRequest::setProductType(const std::string& productType) +{ + productType_ = productType; + setParameter("ProductType", productType); +} + +std::string ListFlowClusterAllRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListFlowClusterAllRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListFlowClusterAllRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListFlowClusterAllResult.cc b/emr/src/model/ListFlowClusterAllResult.cc index 07b09d11c..690b0f777 100644 --- a/emr/src/model/ListFlowClusterAllResult.cc +++ b/emr/src/model/ListFlowClusterAllResult.cc @@ -67,6 +67,8 @@ void ListFlowClusterAllResult::parse(const std::string &payload) clustersObject.orderList = valueClustersClusterInfo["OrderList"].asString(); if(!valueClustersClusterInfo["CreateResource"].isNull()) clustersObject.createResource = valueClustersClusterInfo["CreateResource"].asString(); + if(!valueClustersClusterInfo["K8sClusterId"].isNull()) + clustersObject.k8sClusterId = valueClustersClusterInfo["K8sClusterId"].asString(); auto orderTaskInfoNode = value["OrderTaskInfo"]; if(!orderTaskInfoNode["TargetCount"].isNull()) clustersObject.orderTaskInfo.targetCount = std::stoi(orderTaskInfoNode["TargetCount"].asString()); diff --git a/emr/src/model/ListFlowClusterHostRequest.cc b/emr/src/model/ListFlowClusterHostRequest.cc index 305d3f3c9..3b3ed79af 100644 --- a/emr/src/model/ListFlowClusterHostRequest.cc +++ b/emr/src/model/ListFlowClusterHostRequest.cc @@ -38,6 +38,17 @@ void ListFlowClusterHostRequest::setClusterId(const std::string& clusterId) setParameter("ClusterId", clusterId); } +std::string ListFlowClusterHostRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListFlowClusterHostRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListFlowClusterHostRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListFlowClusterRequest.cc b/emr/src/model/ListFlowClusterRequest.cc index 4ba5e3d2c..9f61f0fe2 100644 --- a/emr/src/model/ListFlowClusterRequest.cc +++ b/emr/src/model/ListFlowClusterRequest.cc @@ -38,6 +38,17 @@ void ListFlowClusterRequest::setPageNumber(int pageNumber) setParameter("PageNumber", std::to_string(pageNumber)); } +std::string ListFlowClusterRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListFlowClusterRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListFlowClusterRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListFlowClusterResult.cc b/emr/src/model/ListFlowClusterResult.cc index 4f4f871c2..0ff43e8a2 100644 --- a/emr/src/model/ListFlowClusterResult.cc +++ b/emr/src/model/ListFlowClusterResult.cc @@ -67,6 +67,8 @@ void ListFlowClusterResult::parse(const std::string &payload) clustersObject.orderList = valueClustersClusterInfo["OrderList"].asString(); if(!valueClustersClusterInfo["CreateResource"].isNull()) clustersObject.createResource = valueClustersClusterInfo["CreateResource"].asString(); + if(!valueClustersClusterInfo["K8sClusterId"].isNull()) + clustersObject.k8sClusterId = valueClustersClusterInfo["K8sClusterId"].asString(); auto orderTaskInfoNode = value["OrderTaskInfo"]; if(!orderTaskInfoNode["TargetCount"].isNull()) clustersObject.orderTaskInfo.targetCount = std::stoi(orderTaskInfoNode["TargetCount"].asString()); diff --git a/emr/src/model/ListFlowInstanceRequest.cc b/emr/src/model/ListFlowInstanceRequest.cc index 17b38b593..44eb6c6dc 100644 --- a/emr/src/model/ListFlowInstanceRequest.cc +++ b/emr/src/model/ListFlowInstanceRequest.cc @@ -40,6 +40,17 @@ void ListFlowInstanceRequest::setStatusList(const std::vector& stat } } +std::string ListFlowInstanceRequest::getNodeInstanceId()const +{ + return nodeInstanceId_; +} + +void ListFlowInstanceRequest::setNodeInstanceId(const std::string& nodeInstanceId) +{ + nodeInstanceId_ = nodeInstanceId; + setParameter("NodeInstanceId", nodeInstanceId); +} + int ListFlowInstanceRequest::getPageNumber()const { return pageNumber_; diff --git a/emr/src/model/ListFlowJobResult.cc b/emr/src/model/ListFlowJobResult.cc index e61887f0f..cf08c5964 100644 --- a/emr/src/model/ListFlowJobResult.cc +++ b/emr/src/model/ListFlowJobResult.cc @@ -83,14 +83,14 @@ void ListFlowJobResult::parse(const std::string &payload) jobListObject.alertConf = valueJobListJob["AlertConf"].asString(); if(!valueJobListJob["LastInstanceDetail"].isNull()) jobListObject.lastInstanceDetail = valueJobListJob["LastInstanceDetail"].asString(); - auto allResourceListNode = allJobListNode["ResourceList"]["Resource"]; - for (auto allJobListNodeResourceListResource : allResourceListNode) + auto allResourceListNode = valueJobListJob["ResourceList"]["Resource"]; + for (auto valueJobListJobResourceListResource : allResourceListNode) { Job::Resource resourceListObject; - if(!allJobListNodeResourceListResource["Path"].isNull()) - resourceListObject.path = allJobListNodeResourceListResource["Path"].asString(); - if(!allJobListNodeResourceListResource["Alias"].isNull()) - resourceListObject.alias = allJobListNodeResourceListResource["Alias"].asString(); + if(!valueJobListJobResourceListResource["Path"].isNull()) + resourceListObject.path = valueJobListJobResourceListResource["Path"].asString(); + if(!valueJobListJobResourceListResource["Alias"].isNull()) + resourceListObject.alias = valueJobListJobResourceListResource["Alias"].asString(); jobListObject.resourceList.push_back(resourceListObject); } jobList_.push_back(jobListObject); diff --git a/emr/src/model/ListFlowNodeInstanceRequest.cc b/emr/src/model/ListFlowNodeInstanceRequest.cc index ca9ca0ba8..0b138d3d7 100644 --- a/emr/src/model/ListFlowNodeInstanceRequest.cc +++ b/emr/src/model/ListFlowNodeInstanceRequest.cc @@ -73,6 +73,17 @@ void ListFlowNodeInstanceRequest::setPageNumber(int pageNumber) setParameter("PageNumber", std::to_string(pageNumber)); } +std::string ListFlowNodeInstanceRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListFlowNodeInstanceRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListFlowNodeInstanceRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListFlowProjectClusterSettingResult.cc b/emr/src/model/ListFlowProjectClusterSettingResult.cc index 2757a05ff..b14b6c3f3 100644 --- a/emr/src/model/ListFlowProjectClusterSettingResult.cc +++ b/emr/src/model/ListFlowProjectClusterSettingResult.cc @@ -51,6 +51,8 @@ void ListFlowProjectClusterSettingResult::parse(const std::string &payload) clusterSettingsObject.projectId = valueClusterSettingsClusterSetting["ProjectId"].asString(); if(!valueClusterSettingsClusterSetting["ClusterId"].isNull()) clusterSettingsObject.clusterId = valueClusterSettingsClusterSetting["ClusterId"].asString(); + if(!valueClusterSettingsClusterSetting["K8sClusterId"].isNull()) + clusterSettingsObject.k8sClusterId = valueClusterSettingsClusterSetting["K8sClusterId"].asString(); if(!valueClusterSettingsClusterSetting["ClusterName"].isNull()) clusterSettingsObject.clusterName = valueClusterSettingsClusterSetting["ClusterName"].asString(); if(!valueClusterSettingsClusterSetting["DefaultUser"].isNull()) diff --git a/emr/src/model/ListFlowProjectRequest.cc b/emr/src/model/ListFlowProjectRequest.cc index 83fd5f900..b6e0152c4 100644 --- a/emr/src/model/ListFlowProjectRequest.cc +++ b/emr/src/model/ListFlowProjectRequest.cc @@ -38,6 +38,28 @@ void ListFlowProjectRequest::setPageNumber(int pageNumber) setParameter("PageNumber", std::to_string(pageNumber)); } +std::string ListFlowProjectRequest::getProductType()const +{ + return productType_; +} + +void ListFlowProjectRequest::setProductType(const std::string& productType) +{ + productType_ = productType; + setParameter("ProductType", productType); +} + +std::string ListFlowProjectRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListFlowProjectRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListFlowProjectRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListHostPoolRequest.cc b/emr/src/model/ListHostPoolRequest.cc deleted file mode 100644 index 4b07e84c8..000000000 --- a/emr/src/model/ListHostPoolRequest.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 - -using AlibabaCloud::Emr::Model::ListHostPoolRequest; - -ListHostPoolRequest::ListHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListHostPool") -{} - -ListHostPoolRequest::~ListHostPoolRequest() -{} - -long ListHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void ListHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListHostPoolRequest::getPageSize()const -{ - return pageSize_; -} - -void ListHostPoolRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int ListHostPoolRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListHostPoolRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListHostPoolResult.cc b/emr/src/model/ListHostPoolResult.cc deleted file mode 100644 index ef1a62238..000000000 --- a/emr/src/model/ListHostPoolResult.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListHostPoolResult::ListHostPoolResult() : - ServiceResult() -{} - -ListHostPoolResult::ListHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListHostPoolResult::~ListHostPoolResult() -{} - -void ListHostPoolResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allHostPoolList = value["HostPoolList"]["HostPool"]; - for (auto value : allHostPoolList) - { - HostPool hostPoolListObject; - if(!value["Name"].isNull()) - hostPoolListObject.name = value["Name"].asString(); - if(!value["BizId"].isNull()) - hostPoolListObject.bizId = value["BizId"].asString(); - if(!value["Status"].isNull()) - hostPoolListObject.status = value["Status"].asString(); - if(!value["Type"].isNull()) - hostPoolListObject.type = value["Type"].asString(); - if(!value["Description"].isNull()) - hostPoolListObject.description = value["Description"].asString(); - if(!value["HostCount"].isNull()) - hostPoolListObject.hostCount = std::stoi(value["HostCount"].asString()); - if(!value["GmtCreate"].isNull()) - hostPoolListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - hostPoolList_.push_back(hostPoolListObject); - } - 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 ListHostPoolResult::getTotalCount()const -{ - return totalCount_; -} - -std::vector ListHostPoolResult::getHostPoolList()const -{ - return hostPoolList_; -} - -int ListHostPoolResult::getPageSize()const -{ - return pageSize_; -} - -int ListHostPoolResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/ListHpHostRequest.cc b/emr/src/model/ListHpHostRequest.cc deleted file mode 100644 index b6ca5f576..000000000 --- a/emr/src/model/ListHpHostRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListHpHostRequest; - -ListHpHostRequest::ListHpHostRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListHpHost") -{} - -ListHpHostRequest::~ListHpHostRequest() -{} - -long ListHpHostRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListHpHostRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListHpHostRequest::getRole()const -{ - return role_; -} - -void ListHpHostRequest::setRole(const std::string& role) -{ - role_ = role; - setCoreParameter("Role", role); -} - -std::string ListHpHostRequest::getRegionId()const -{ - return regionId_; -} - -void ListHpHostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListHpHostRequest::getPageSize()const -{ - return pageSize_; -} - -void ListHpHostRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListHpHostRequest::getHpBizId()const -{ - return hpBizId_; -} - -void ListHpHostRequest::setHpBizId(const std::string& hpBizId) -{ - hpBizId_ = hpBizId; - setCoreParameter("HpBizId", hpBizId); -} - -int ListHpHostRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListHpHostRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListHpHostRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListHpHostRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListHpHostRequest::getStatus()const -{ - return status_; -} - -void ListHpHostRequest::setStatus(const std::string& status) -{ - status_ = status; - setCoreParameter("Status", status); -} - diff --git a/emr/src/model/ListHpHostResult.cc b/emr/src/model/ListHpHostResult.cc deleted file mode 100644 index b2789e1ec..000000000 --- a/emr/src/model/ListHpHostResult.cc +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListHpHostResult::ListHpHostResult() : - ServiceResult() -{} - -ListHpHostResult::ListHpHostResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListHpHostResult::~ListHpHostResult() -{} - -void ListHpHostResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allHpHostList = value["HpHostList"]["HpHost"]; - for (auto value : allHpHostList) - { - HpHost hpHostListObject; - if(!value["BizId"].isNull()) - hpHostListObject.bizId = value["BizId"].asString(); - if(!value["HostName"].isNull()) - hpHostListObject.hostName = value["HostName"].asString(); - if(!value["InnerIp"].isNull()) - hpHostListObject.innerIp = value["InnerIp"].asString(); - if(!value["Role"].isNull()) - hpHostListObject.role = value["Role"].asString(); - if(!value["Status"].isNull()) - hpHostListObject.status = value["Status"].asString(); - if(!value["Description"].isNull()) - hpHostListObject.description = value["Description"].asString(); - if(!value["CpuCore"].isNull()) - hpHostListObject.cpuCore = std::stoi(value["CpuCore"].asString()); - if(!value["MemSize"].isNull()) - hpHostListObject.memSize = std::stoi(value["MemSize"].asString()); - if(!value["VpcId"].isNull()) - hpHostListObject.vpcId = value["VpcId"].asString(); - if(!value["VswitchId"].isNull()) - hpHostListObject.vswitchId = value["VswitchId"].asString(); - if(!value["SecurityGroupId"].isNull()) - hpHostListObject.securityGroupId = value["SecurityGroupId"].asString(); - if(!value["ExternalIp"].isNull()) - hpHostListObject.externalIp = value["ExternalIp"].asString(); - if(!value["ExternalKey"].isNull()) - hpHostListObject.externalKey = value["ExternalKey"].asString(); - auto allDiskList = value["DiskList"]["Disk"]; - for (auto value : allDiskList) - { - HpHost::Disk diskListObject; - if(!value["DiskDevice"].isNull()) - diskListObject.diskDevice = value["DiskDevice"].asString(); - if(!value["DiskSize"].isNull()) - diskListObject.diskSize = std::stoi(value["DiskSize"].asString()); - if(!value["MountPath"].isNull()) - diskListObject.mountPath = value["MountPath"].asString(); - hpHostListObject.diskList.push_back(diskListObject); - } - auto allInstalledComponents = value["InstalledComponents"]["InstalledComponent"]; - for (auto value : allInstalledComponents) - hpHostListObject.installedComponents.push_back(value.asString()); - hpHostList_.push_back(hpHostListObject); - } - 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 ListHpHostResult::getTotalCount()const -{ - return totalCount_; -} - -int ListHpHostResult::getPageSize()const -{ - return pageSize_; -} - -int ListHpHostResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListHpHostResult::getHpHostList()const -{ - return hpHostList_; -} - diff --git a/emr/src/model/ListJobExecutionInstanceTrendRequest.cc b/emr/src/model/ListJobExecutionInstanceTrendRequest.cc deleted file mode 100644 index c8bb423cc..000000000 --- a/emr/src/model/ListJobExecutionInstanceTrendRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::ListJobExecutionInstanceTrendRequest; - -ListJobExecutionInstanceTrendRequest::ListJobExecutionInstanceTrendRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobExecutionInstanceTrend") -{} - -ListJobExecutionInstanceTrendRequest::~ListJobExecutionInstanceTrendRequest() -{} - -long ListJobExecutionInstanceTrendRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListJobExecutionInstanceTrendRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListJobExecutionInstanceTrendRequest::getRegionId()const -{ - return regionId_; -} - -void ListJobExecutionInstanceTrendRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListJobExecutionInstanceTrendRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListJobExecutionInstanceTrendRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListJobExecutionInstanceTrendResult.cc b/emr/src/model/ListJobExecutionInstanceTrendResult.cc deleted file mode 100644 index 723c8aea9..000000000 --- a/emr/src/model/ListJobExecutionInstanceTrendResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListJobExecutionInstanceTrendResult::ListJobExecutionInstanceTrendResult() : - ServiceResult() -{} - -ListJobExecutionInstanceTrendResult::ListJobExecutionInstanceTrendResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobExecutionInstanceTrendResult::~ListJobExecutionInstanceTrendResult() -{} - -void ListJobExecutionInstanceTrendResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTrends = value["Trends"]["Trend"]; - for (auto value : allTrends) - { - Trend trendsObject; - if(!value["Day"].isNull()) - trendsObject.day = value["Day"].asString(); - if(!value["Count"].isNull()) - trendsObject.count = std::stoi(value["Count"].asString()); - if(!value["Status"].isNull()) - trendsObject.status = value["Status"].asString(); - trends_.push_back(trendsObject); - } - -} - -std::vector ListJobExecutionInstanceTrendResult::getTrends()const -{ - return trends_; -} - diff --git a/emr/src/model/ListJobExecutionPlanHierarchyRequest.cc b/emr/src/model/ListJobExecutionPlanHierarchyRequest.cc deleted file mode 100644 index fa09bac8b..000000000 --- a/emr/src/model/ListJobExecutionPlanHierarchyRequest.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 - -using AlibabaCloud::Emr::Model::ListJobExecutionPlanHierarchyRequest; - -ListJobExecutionPlanHierarchyRequest::ListJobExecutionPlanHierarchyRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobExecutionPlanHierarchy") -{} - -ListJobExecutionPlanHierarchyRequest::~ListJobExecutionPlanHierarchyRequest() -{} - -long ListJobExecutionPlanHierarchyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListJobExecutionPlanHierarchyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long ListJobExecutionPlanHierarchyRequest::getCurrentId()const -{ - return currentId_; -} - -void ListJobExecutionPlanHierarchyRequest::setCurrentId(long currentId) -{ - currentId_ = currentId; - setCoreParameter("CurrentId", std::to_string(currentId)); -} - -int ListJobExecutionPlanHierarchyRequest::getPageSize()const -{ - return pageSize_; -} - -void ListJobExecutionPlanHierarchyRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int ListJobExecutionPlanHierarchyRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListJobExecutionPlanHierarchyRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListJobExecutionPlanHierarchyRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListJobExecutionPlanHierarchyRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListJobExecutionPlanHierarchyResult.cc b/emr/src/model/ListJobExecutionPlanHierarchyResult.cc deleted file mode 100644 index 5cf346f7f..000000000 --- a/emr/src/model/ListJobExecutionPlanHierarchyResult.cc +++ /dev/null @@ -1,165 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListJobExecutionPlanHierarchyResult::ListJobExecutionPlanHierarchyResult() : - ServiceResult() -{} - -ListJobExecutionPlanHierarchyResult::ListJobExecutionPlanHierarchyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobExecutionPlanHierarchyResult::~ListJobExecutionPlanHierarchyResult() -{} - -void ListJobExecutionPlanHierarchyResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allHierarchyInfos = value["HierarchyInfos"]["HierarchyInfo"]; - for (auto value : allHierarchyInfos) - { - HierarchyInfo hierarchyInfosObject; - if(!value["Id"].isNull()) - hierarchyInfosObject.id = std::stol(value["Id"].asString()); - if(!value["NodeBizType"].isNull()) - hierarchyInfosObject.nodeBizType = value["NodeBizType"].asString(); - if(!value["NodeType"].isNull()) - hierarchyInfosObject.nodeType = value["NodeType"].asString(); - if(!value["RelateId"].isNull()) - hierarchyInfosObject.relateId = value["RelateId"].asString(); - if(!value["Name"].isNull()) - hierarchyInfosObject.name = value["Name"].asString(); - if(!value["ParentId"].isNull()) - hierarchyInfosObject.parentId = value["ParentId"].asString(); - if(!value["ResourceOwnerId"].isNull()) - hierarchyInfosObject.resourceOwnerId = value["ResourceOwnerId"].asString(); - if(!value["UtcCreateTimestamp"].isNull()) - hierarchyInfosObject.utcCreateTimestamp = std::stol(value["UtcCreateTimestamp"].asString()); - if(!value["UtcModifiedTimestamp"].isNull()) - hierarchyInfosObject.utcModifiedTimestamp = std::stol(value["UtcModifiedTimestamp"].asString()); - if(!value["NodeStatus"].isNull()) - hierarchyInfosObject.nodeStatus = std::stoi(value["NodeStatus"].asString()); - auto executionPlanNode = value["ExecutionPlan"]; - if(!executionPlanNode["BizId"].isNull()) - hierarchyInfosObject.executionPlan.bizId = executionPlanNode["BizId"].asString(); - if(!executionPlanNode["Name"].isNull()) - hierarchyInfosObject.executionPlan.name = executionPlanNode["Name"].asString(); - if(!executionPlanNode["Status"].isNull()) - hierarchyInfosObject.executionPlan.status = std::stoi(executionPlanNode["Status"].asString()); - if(!executionPlanNode["LastExeStatus"].isNull()) - hierarchyInfosObject.executionPlan.lastExeStatus = std::stoi(executionPlanNode["LastExeStatus"].asString()); - if(!executionPlanNode["IsCreateCluster"].isNull()) - hierarchyInfosObject.executionPlan.isCreateCluster = executionPlanNode["IsCreateCluster"].asString() == "true"; - if(!executionPlanNode["IsInterruptWhenError"].isNull()) - hierarchyInfosObject.executionPlan.isInterruptWhenError = executionPlanNode["IsInterruptWhenError"].asString() == "true"; - if(!executionPlanNode["IsCycle"].isNull()) - hierarchyInfosObject.executionPlan.isCycle = executionPlanNode["IsCycle"].asString() == "true"; - if(!executionPlanNode["ScheduleCycle"].isNull()) - hierarchyInfosObject.executionPlan.scheduleCycle = executionPlanNode["ScheduleCycle"].asString(); - if(!executionPlanNode["RegionId"].isNull()) - hierarchyInfosObject.executionPlan.regionId = executionPlanNode["RegionId"].asString(); - if(!executionPlanNode["CronExpr"].isNull()) - hierarchyInfosObject.executionPlan.cronExpr = executionPlanNode["CronExpr"].asString(); - if(!executionPlanNode["UtcCreateTimestamp"].isNull()) - hierarchyInfosObject.executionPlan.utcCreateTimestamp = std::stol(executionPlanNode["UtcCreateTimestamp"].asString()); - if(!executionPlanNode["UtcModifiedTimestamp"].isNull()) - hierarchyInfosObject.executionPlan.utcModifiedTimestamp = std::stol(executionPlanNode["UtcModifiedTimestamp"].asString()); - if(!executionPlanNode["Version"].isNull()) - hierarchyInfosObject.executionPlan.version = executionPlanNode["Version"].asString(); - if(!executionPlanNode["ClusterTemplateId"].isNull()) - hierarchyInfosObject.executionPlan.clusterTemplateId = executionPlanNode["ClusterTemplateId"].asString(); - auto jobNode = value["Job"]; - if(!jobNode["BizId"].isNull()) - hierarchyInfosObject.job.bizId = jobNode["BizId"].asString(); - if(!jobNode["Name"].isNull()) - hierarchyInfosObject.job.name = jobNode["Name"].asString(); - if(!jobNode["JobFailAct"].isNull()) - hierarchyInfosObject.job.jobFailAct = std::stoi(jobNode["JobFailAct"].asString()); - if(!jobNode["JobType"].isNull()) - hierarchyInfosObject.job.jobType = std::stoi(jobNode["JobType"].asString()); - if(!jobNode["EnvParam"].isNull()) - hierarchyInfosObject.job.envParam = jobNode["EnvParam"].asString(); - if(!jobNode["MaxRetry"].isNull()) - hierarchyInfosObject.job.maxRetry = std::stoi(jobNode["MaxRetry"].asString()); - if(!jobNode["RetryInterval"].isNull()) - hierarchyInfosObject.job.retryInterval = std::stoi(jobNode["RetryInterval"].asString()); - hierarchyInfos_.push_back(hierarchyInfosObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString(); - if(!value["ErrCode"].isNull()) - errCode_ = value["ErrCode"].asString(); - if(!value["ErrMsg"].isNull()) - errMsg_ = value["ErrMsg"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["pageSize"].isNull()) - pageSize_ = std::stoi(value["pageSize"].asString()); - if(!value["pageNumber"].isNull()) - pageNumber_ = std::stoi(value["pageNumber"].asString()); - -} - -int ListJobExecutionPlanHierarchyResult::getTotalCount()const -{ - return totalCount_; -} - -int ListJobExecutionPlanHierarchyResult::getPageSize()const -{ - return pageSize_; -} - -std::string ListJobExecutionPlanHierarchyResult::getErrMsg()const -{ - return errMsg_; -} - -int ListJobExecutionPlanHierarchyResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListJobExecutionPlanHierarchyResult::getHierarchyInfos()const -{ - return hierarchyInfos_; -} - -std::string ListJobExecutionPlanHierarchyResult::getSuccess()const -{ - return success_; -} - -std::string ListJobExecutionPlanHierarchyResult::getErrCode()const -{ - return errCode_; -} - diff --git a/emr/src/model/ListJobExecutionPlanParamsRequest.cc b/emr/src/model/ListJobExecutionPlanParamsRequest.cc deleted file mode 100644 index feeb88b26..000000000 --- a/emr/src/model/ListJobExecutionPlanParamsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListJobExecutionPlanParamsRequest; - -ListJobExecutionPlanParamsRequest::ListJobExecutionPlanParamsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobExecutionPlanParams") -{} - -ListJobExecutionPlanParamsRequest::~ListJobExecutionPlanParamsRequest() -{} - -long ListJobExecutionPlanParamsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListJobExecutionPlanParamsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListJobExecutionPlanParamsRequest::getRelateId()const -{ - return relateId_; -} - -void ListJobExecutionPlanParamsRequest::setRelateId(const std::string& relateId) -{ - relateId_ = relateId; - setCoreParameter("RelateId", relateId); -} - -std::string ListJobExecutionPlanParamsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListJobExecutionPlanParamsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListJobExecutionPlanParamsRequest::getParamBizType()const -{ - return paramBizType_; -} - -void ListJobExecutionPlanParamsRequest::setParamBizType(const std::string& paramBizType) -{ - paramBizType_ = paramBizType; - setCoreParameter("ParamBizType", paramBizType); -} - diff --git a/emr/src/model/ListJobExecutionPlanParamsResult.cc b/emr/src/model/ListJobExecutionPlanParamsResult.cc deleted file mode 100644 index 11e041d2d..000000000 --- a/emr/src/model/ListJobExecutionPlanParamsResult.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; - -ListJobExecutionPlanParamsResult::ListJobExecutionPlanParamsResult() : - ServiceResult() -{} - -ListJobExecutionPlanParamsResult::ListJobExecutionPlanParamsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobExecutionPlanParamsResult::~ListJobExecutionPlanParamsResult() -{} - -void ListJobExecutionPlanParamsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allParamInfoList = value["ParamInfoList"]["ParamInfo"]; - for (auto value : allParamInfoList) - { - ParamInfo paramInfoListObject; - if(!value["ParamBizType"].isNull()) - paramInfoListObject.paramBizType = value["ParamBizType"].asString(); - if(!value["RelateId"].isNull()) - paramInfoListObject.relateId = value["RelateId"].asString(); - if(!value["ParamName"].isNull()) - paramInfoListObject.paramName = value["ParamName"].asString(); - if(!value["ParamValue"].isNull()) - paramInfoListObject.paramValue = value["ParamValue"].asString(); - if(!value["UtcCreateTimestamp"].isNull()) - paramInfoListObject.utcCreateTimestamp = std::stol(value["UtcCreateTimestamp"].asString()); - if(!value["UtcModifiedTimestamp"].isNull()) - paramInfoListObject.utcModifiedTimestamp = std::stol(value["UtcModifiedTimestamp"].asString()); - paramInfoList_.push_back(paramInfoListObject); - } - if(!value["Success"].isNull()) - success_ = value["Success"].asString(); - if(!value["ErrCode"].isNull()) - errCode_ = value["ErrCode"].asString(); - if(!value["ErrMsg"].isNull()) - errMsg_ = value["ErrMsg"].asString(); - -} - -std::string ListJobExecutionPlanParamsResult::getErrMsg()const -{ - return errMsg_; -} - -std::vector ListJobExecutionPlanParamsResult::getParamInfoList()const -{ - return paramInfoList_; -} - -std::string ListJobExecutionPlanParamsResult::getSuccess()const -{ - return success_; -} - -std::string ListJobExecutionPlanParamsResult::getErrCode()const -{ - return errCode_; -} - diff --git a/emr/src/model/ListJobMigrateInfoRequest.cc b/emr/src/model/ListJobMigrateInfoRequest.cc deleted file mode 100644 index 396994433..000000000 --- a/emr/src/model/ListJobMigrateInfoRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListJobMigrateInfoRequest; - -ListJobMigrateInfoRequest::ListJobMigrateInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListJobMigrateInfo") -{} - -ListJobMigrateInfoRequest::~ListJobMigrateInfoRequest() -{} - -long ListJobMigrateInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListJobMigrateInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListJobMigrateInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ListJobMigrateInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListJobMigrateInfoRequest::getPageSize()const -{ - return pageSize_; -} - -void ListJobMigrateInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListJobMigrateInfoRequest::getUserId()const -{ - return userId_; -} - -void ListJobMigrateInfoRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -int ListJobMigrateInfoRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListJobMigrateInfoRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListJobMigrateInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListJobMigrateInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListJobMigrateInfoResult.cc b/emr/src/model/ListJobMigrateInfoResult.cc deleted file mode 100644 index 37fd34575..000000000 --- a/emr/src/model/ListJobMigrateInfoResult.cc +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListJobMigrateInfoResult::ListJobMigrateInfoResult() : - ServiceResult() -{} - -ListJobMigrateInfoResult::ListJobMigrateInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListJobMigrateInfoResult::~ListJobMigrateInfoResult() -{} - -void ListJobMigrateInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allJobMigrateInfoList = value["JobMigrateInfoList"]["JobMigrateInfo"]; - for (auto value : allJobMigrateInfoList) - { - JobMigrateInfo jobMigrateInfoListObject; - if(!value["Id"].isNull()) - jobMigrateInfoListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - jobMigrateInfoListObject.name = value["Name"].asString(); - if(!value["Type"].isNull()) - jobMigrateInfoListObject.type = value["Type"].asString(); - if(!value["MaxRetry"].isNull()) - jobMigrateInfoListObject.maxRetry = std::stoi(value["MaxRetry"].asString()); - if(!value["FailedAction"].isNull()) - jobMigrateInfoListObject.failedAction = value["FailedAction"].asString(); - if(!value["Params"].isNull()) - jobMigrateInfoListObject.params = value["Params"].asString(); - if(!value["NewId"].isNull()) - jobMigrateInfoListObject.newId = value["NewId"].asString(); - if(!value["PremigratedDate"].isNull()) - jobMigrateInfoListObject.premigratedDate = value["PremigratedDate"].asString(); - if(!value["MigratedDate"].isNull()) - jobMigrateInfoListObject.migratedDate = value["MigratedDate"].asString(); - if(!value["CreateTime"].isNull()) - jobMigrateInfoListObject.createTime = value["CreateTime"].asString(); - jobMigrateInfoList_.push_back(jobMigrateInfoListObject); - } - if(!value["Total"].isNull()) - total_ = std::stol(value["Total"].asString()); - -} - -long ListJobMigrateInfoResult::getTotal()const -{ - return total_; -} - -std::vector ListJobMigrateInfoResult::getJobMigrateInfoList()const -{ - return jobMigrateInfoList_; -} - diff --git a/emr/src/model/ListJobsRequest.cc b/emr/src/model/ListJobsRequest.cc index 6e07dad79..32d12b9d0 100644 --- a/emr/src/model/ListJobsRequest.cc +++ b/emr/src/model/ListJobsRequest.cc @@ -82,6 +82,17 @@ void ListJobsRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string ListJobsRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListJobsRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ListJobsRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ListKafkaBrokerRequest.cc b/emr/src/model/ListKafkaBrokerRequest.cc deleted file mode 100644 index 4754aff2b..000000000 --- a/emr/src/model/ListKafkaBrokerRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListKafkaBrokerRequest; - -ListKafkaBrokerRequest::ListKafkaBrokerRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListKafkaBroker") -{} - -ListKafkaBrokerRequest::~ListKafkaBrokerRequest() -{} - -long ListKafkaBrokerRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListKafkaBrokerRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListKafkaBrokerRequest::getRegionId()const -{ - return regionId_; -} - -void ListKafkaBrokerRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListKafkaBrokerRequest::getPageSize()const -{ - return pageSize_; -} - -void ListKafkaBrokerRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListKafkaBrokerRequest::getClusterId()const -{ - return clusterId_; -} - -void ListKafkaBrokerRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ListKafkaBrokerRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListKafkaBrokerRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListKafkaBrokerRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListKafkaBrokerRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListKafkaBrokerResult.cc b/emr/src/model/ListKafkaBrokerResult.cc deleted file mode 100644 index dd1caedbf..000000000 --- a/emr/src/model/ListKafkaBrokerResult.cc +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListKafkaBrokerResult::ListKafkaBrokerResult() : - ServiceResult() -{} - -ListKafkaBrokerResult::ListKafkaBrokerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListKafkaBrokerResult::~ListKafkaBrokerResult() -{} - -void ListKafkaBrokerResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allBrokerList = value["BrokerList"]["Broker"]; - for (auto value : allBrokerList) - { - Broker brokerListObject; - if(!value["BrokerId"].isNull()) - brokerListObject.brokerId = std::stoi(value["BrokerId"].asString()); - if(!value["HostId"].isNull()) - brokerListObject.hostId = value["HostId"].asString(); - if(!value["HostName"].isNull()) - brokerListObject.hostName = value["HostName"].asString(); - if(!value["HostIp"].isNull()) - brokerListObject.hostIp = value["HostIp"].asString(); - if(!value["Status"].isNull()) - brokerListObject.status = value["Status"].asString(); - if(!value["PartitionCount"].isNull()) - brokerListObject.partitionCount = std::stoi(value["PartitionCount"].asString()); - if(!value["LeaderCount"].isNull()) - brokerListObject.leaderCount = std::stoi(value["LeaderCount"].asString()); - if(!value["TopicCount"].isNull()) - brokerListObject.topicCount = std::stoi(value["TopicCount"].asString()); - if(!value["DiskUnbalanceRate"].isNull()) - brokerListObject.diskUnbalanceRate = value["DiskUnbalanceRate"].asString(); - if(!value["DiskUsageMean"].isNull()) - brokerListObject.diskUsageMean = value["DiskUsageMean"].asString(); - if(!value["DiskUsageMax"].isNull()) - brokerListObject.diskUsageMax = value["DiskUsageMax"].asString(); - if(!value["DiskCapacity"].isNull()) - brokerListObject.diskCapacity = std::stoi(value["DiskCapacity"].asString()); - if(!value["TrafficIn"].isNull()) - brokerListObject.trafficIn = value["TrafficIn"].asString(); - if(!value["TrafficOut"].isNull()) - brokerListObject.trafficOut = value["TrafficOut"].asString(); - brokerList_.push_back(brokerListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int ListKafkaBrokerResult::getPageSize()const -{ - return pageSize_; -} - -int ListKafkaBrokerResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListKafkaBrokerResult::getTotal()const -{ - return total_; -} - -std::vector ListKafkaBrokerResult::getBrokerList()const -{ - return brokerList_; -} - diff --git a/emr/src/model/ListKafkaReassignRequest.cc b/emr/src/model/ListKafkaReassignRequest.cc deleted file mode 100644 index 8d8de1fae..000000000 --- a/emr/src/model/ListKafkaReassignRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListKafkaReassignRequest; - -ListKafkaReassignRequest::ListKafkaReassignRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListKafkaReassign") -{} - -ListKafkaReassignRequest::~ListKafkaReassignRequest() -{} - -long ListKafkaReassignRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListKafkaReassignRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListKafkaReassignRequest::getTopicId()const -{ - return topicId_; -} - -void ListKafkaReassignRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string ListKafkaReassignRequest::getRegionId()const -{ - return regionId_; -} - -void ListKafkaReassignRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListKafkaReassignRequest::getPageSize()const -{ - return pageSize_; -} - -void ListKafkaReassignRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListKafkaReassignRequest::getClusterId()const -{ - return clusterId_; -} - -void ListKafkaReassignRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ListKafkaReassignRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListKafkaReassignRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListKafkaReassignRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListKafkaReassignRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListKafkaReassignResult.cc b/emr/src/model/ListKafkaReassignResult.cc deleted file mode 100644 index 47c86f2af..000000000 --- a/emr/src/model/ListKafkaReassignResult.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; - -ListKafkaReassignResult::ListKafkaReassignResult() : - ServiceResult() -{} - -ListKafkaReassignResult::ListKafkaReassignResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListKafkaReassignResult::~ListKafkaReassignResult() -{} - -void ListKafkaReassignResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allReassignList = value["ReassignList"]["Reassign"]; - for (auto value : allReassignList) - { - Reassign reassignListObject; - if(!value["Id"].isNull()) - reassignListObject.id = value["Id"].asString(); - if(!value["Status"].isNull()) - reassignListObject.status = value["Status"].asString(); - if(!value["AssignProcess"].isNull()) - reassignListObject.assignProcess = std::stoi(value["AssignProcess"].asString()); - if(!value["StartTime"].isNull()) - reassignListObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - reassignListObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["TopicCount"].isNull()) - reassignListObject.topicCount = std::stoi(value["TopicCount"].asString()); - if(!value["PartitionCount"].isNull()) - reassignListObject.partitionCount = std::stoi(value["PartitionCount"].asString()); - if(!value["Throttle"].isNull()) - reassignListObject.throttle = std::stol(value["Throttle"].asString()); - reassignList_.push_back(reassignListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int ListKafkaReassignResult::getPageSize()const -{ - return pageSize_; -} - -int ListKafkaReassignResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListKafkaReassignResult::getTotal()const -{ - return total_; -} - -std::vector ListKafkaReassignResult::getReassignList()const -{ - return reassignList_; -} - diff --git a/emr/src/model/ListKafkaReassignTopicRequest.cc b/emr/src/model/ListKafkaReassignTopicRequest.cc deleted file mode 100644 index bc94ace9b..000000000 --- a/emr/src/model/ListKafkaReassignTopicRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListKafkaReassignTopicRequest; - -ListKafkaReassignTopicRequest::ListKafkaReassignTopicRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListKafkaReassignTopic") -{} - -ListKafkaReassignTopicRequest::~ListKafkaReassignTopicRequest() -{} - -long ListKafkaReassignTopicRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListKafkaReassignTopicRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListKafkaReassignTopicRequest::getRegionId()const -{ - return regionId_; -} - -void ListKafkaReassignTopicRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListKafkaReassignTopicRequest::getReassignId()const -{ - return reassignId_; -} - -void ListKafkaReassignTopicRequest::setReassignId(const std::string& reassignId) -{ - reassignId_ = reassignId; - setCoreParameter("ReassignId", reassignId); -} - -int ListKafkaReassignTopicRequest::getPageSize()const -{ - return pageSize_; -} - -void ListKafkaReassignTopicRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int ListKafkaReassignTopicRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListKafkaReassignTopicRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListKafkaReassignTopicRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListKafkaReassignTopicRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListKafkaReassignTopicResult.cc b/emr/src/model/ListKafkaReassignTopicResult.cc deleted file mode 100644 index 57acc7f94..000000000 --- a/emr/src/model/ListKafkaReassignTopicResult.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; - -ListKafkaReassignTopicResult::ListKafkaReassignTopicResult() : - ServiceResult() -{} - -ListKafkaReassignTopicResult::ListKafkaReassignTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListKafkaReassignTopicResult::~ListKafkaReassignTopicResult() -{} - -void ListKafkaReassignTopicResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allReassignTopicList = value["ReassignTopicList"]["ReassignTopic"]; - for (auto value : allReassignTopicList) - { - ReassignTopic reassignTopicListObject; - if(!value["TopicId"].isNull()) - reassignTopicListObject.topicId = value["TopicId"].asString(); - if(!value["TopicName"].isNull()) - reassignTopicListObject.topicName = value["TopicName"].asString(); - if(!value["NumPartition"].isNull()) - reassignTopicListObject.numPartition = std::stoi(value["NumPartition"].asString()); - if(!value["FinishedPartition"].isNull()) - reassignTopicListObject.finishedPartition = std::stoi(value["FinishedPartition"].asString()); - if(!value["Process"].isNull()) - reassignTopicListObject.process = value["Process"].asString(); - if(!value["Status"].isNull()) - reassignTopicListObject.status = value["Status"].asString(); - reassignTopicList_.push_back(reassignTopicListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -std::vector ListKafkaReassignTopicResult::getReassignTopicList()const -{ - return reassignTopicList_; -} - -int ListKafkaReassignTopicResult::getPageSize()const -{ - return pageSize_; -} - -int ListKafkaReassignTopicResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListKafkaReassignTopicResult::getTotal()const -{ - return total_; -} - diff --git a/emr/src/model/ListKafkaTopicStatisticsRequest.cc b/emr/src/model/ListKafkaTopicStatisticsRequest.cc deleted file mode 100644 index 6f3709083..000000000 --- a/emr/src/model/ListKafkaTopicStatisticsRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListKafkaTopicStatisticsRequest; - -ListKafkaTopicStatisticsRequest::ListKafkaTopicStatisticsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListKafkaTopicStatistics") -{} - -ListKafkaTopicStatisticsRequest::~ListKafkaTopicStatisticsRequest() -{} - -long ListKafkaTopicStatisticsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListKafkaTopicStatisticsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool ListKafkaTopicStatisticsRequest::getActiveOnly()const -{ - return activeOnly_; -} - -void ListKafkaTopicStatisticsRequest::setActiveOnly(bool activeOnly) -{ - activeOnly_ = activeOnly; - setCoreParameter("ActiveOnly", activeOnly ? "true" : "false"); -} - -std::string ListKafkaTopicStatisticsRequest::getRegionId()const -{ - return regionId_; -} - -void ListKafkaTopicStatisticsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListKafkaTopicStatisticsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListKafkaTopicStatisticsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListKafkaTopicStatisticsRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void ListKafkaTopicStatisticsRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string ListKafkaTopicStatisticsRequest::getTopicName()const -{ - return topicName_; -} - -void ListKafkaTopicStatisticsRequest::setTopicName(const std::string& topicName) -{ - topicName_ = topicName; - setCoreParameter("TopicName", topicName); -} - -std::string ListKafkaTopicStatisticsRequest::getClusterId()const -{ - return clusterId_; -} - -void ListKafkaTopicStatisticsRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ListKafkaTopicStatisticsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListKafkaTopicStatisticsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListKafkaTopicStatisticsRequest::getFuzzyTopicName()const -{ - return fuzzyTopicName_; -} - -void ListKafkaTopicStatisticsRequest::setFuzzyTopicName(const std::string& fuzzyTopicName) -{ - fuzzyTopicName_ = fuzzyTopicName; - setCoreParameter("FuzzyTopicName", fuzzyTopicName); -} - -std::string ListKafkaTopicStatisticsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListKafkaTopicStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListKafkaTopicStatisticsResult.cc b/emr/src/model/ListKafkaTopicStatisticsResult.cc deleted file mode 100644 index f60c9fb3b..000000000 --- a/emr/src/model/ListKafkaTopicStatisticsResult.cc +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListKafkaTopicStatisticsResult::ListKafkaTopicStatisticsResult() : - ServiceResult() -{} - -ListKafkaTopicStatisticsResult::ListKafkaTopicStatisticsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListKafkaTopicStatisticsResult::~ListKafkaTopicStatisticsResult() -{} - -void ListKafkaTopicStatisticsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTopicList = value["TopicList"]["Topic"]; - for (auto value : allTopicList) - { - Topic topicListObject; - if(!value["DataSourceId"].isNull()) - topicListObject.dataSourceId = value["DataSourceId"].asString(); - if(!value["TopicId"].isNull()) - topicListObject.topicId = value["TopicId"].asString(); - if(!value["TopicName"].isNull()) - topicListObject.topicName = value["TopicName"].asString(); - if(!value["NumPartitions"].isNull()) - topicListObject.numPartitions = std::stoi(value["NumPartitions"].asString()); - if(!value["OffsetSum"].isNull()) - topicListObject.offsetSum = std::stol(value["OffsetSum"].asString()); - if(!value["OffsetRate"].isNull()) - topicListObject.offsetRate = value["OffsetRate"].asString(); - if(!value["UnderReplicatedPercentage"].isNull()) - topicListObject.underReplicatedPercentage = value["UnderReplicatedPercentage"].asString(); - if(!value["MessageRate"].isNull()) - topicListObject.messageRate = value["MessageRate"].asString(); - if(!value["BytesInPerSecondRate"].isNull()) - topicListObject.bytesInPerSecondRate = value["BytesInPerSecondRate"].asString(); - if(!value["BytesOutPerSecondRate"].isNull()) - topicListObject.bytesOutPerSecondRate = value["BytesOutPerSecondRate"].asString(); - auto clusterNode = value["Cluster"]; - if(!clusterNode["ClusterId"].isNull()) - topicListObject.cluster.clusterId = clusterNode["ClusterId"].asString(); - if(!clusterNode["ClusterName"].isNull()) - topicListObject.cluster.clusterName = clusterNode["ClusterName"].asString(); - if(!clusterNode["ClusterStatus"].isNull()) - topicListObject.cluster.clusterStatus = clusterNode["ClusterStatus"].asString(); - topicList_.push_back(topicListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - -} - -int ListKafkaTopicStatisticsResult::getPageSize()const -{ - return pageSize_; -} - -int ListKafkaTopicStatisticsResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListKafkaTopicStatisticsResult::getTotal()const -{ - return total_; -} - -std::vector ListKafkaTopicStatisticsResult::getTopicList()const -{ - return topicList_; -} - diff --git a/emr/src/model/ListLibrariesRequest.cc b/emr/src/model/ListLibrariesRequest.cc new file mode 100644 index 000000000..ee811cfaf --- /dev/null +++ b/emr/src/model/ListLibrariesRequest.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::ListLibrariesRequest; + +ListLibrariesRequest::ListLibrariesRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListLibraries") +{ + setMethod(HttpRequest::Method::Post); +} + +ListLibrariesRequest::~ListLibrariesRequest() +{} + +long ListLibrariesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListLibrariesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ListLibrariesRequest::getPageCount()const +{ + return pageCount_; +} + +void ListLibrariesRequest::setPageCount(int pageCount) +{ + pageCount_ = pageCount; + setParameter("PageCount", std::to_string(pageCount)); +} + +std::string ListLibrariesRequest::getOrderMode()const +{ + return orderMode_; +} + +void ListLibrariesRequest::setOrderMode(const std::string& orderMode) +{ + orderMode_ = orderMode; + setParameter("OrderMode", orderMode); +} + +std::string ListLibrariesRequest::getClusterBizId()const +{ + return clusterBizId_; +} + +void ListLibrariesRequest::setClusterBizId(const std::string& clusterBizId) +{ + clusterBizId_ = clusterBizId; + setParameter("ClusterBizId", clusterBizId); +} + +int ListLibrariesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListLibrariesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListLibrariesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListLibrariesRequest::getRegionId()const +{ + return regionId_; +} + +void ListLibrariesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListLibrariesRequest::getLimit()const +{ + return limit_; +} + +void ListLibrariesRequest::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +int ListLibrariesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListLibrariesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListLibrariesRequest::getCurrentSize()const +{ + return currentSize_; +} + +void ListLibrariesRequest::setCurrentSize(int currentSize) +{ + currentSize_ = currentSize; + setParameter("CurrentSize", std::to_string(currentSize)); +} + +std::string ListLibrariesRequest::getOrderField()const +{ + return orderField_; +} + +void ListLibrariesRequest::setOrderField(const std::string& orderField) +{ + orderField_ = orderField; + setParameter("OrderField", orderField); +} + diff --git a/emr/src/model/ListLibrariesResult.cc b/emr/src/model/ListLibrariesResult.cc new file mode 100644 index 000000000..5b586ea17 --- /dev/null +++ b/emr/src/model/ListLibrariesResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +ListLibrariesResult::ListLibrariesResult() : + ServiceResult() +{} + +ListLibrariesResult::ListLibrariesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListLibrariesResult::~ListLibrariesResult() +{} + +void ListLibrariesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["Item"]; + for (auto valueItemsItem : allItemsNode) + { + Item itemsObject; + if(!valueItemsItem["BizId"].isNull()) + itemsObject.bizId = valueItemsItem["BizId"].asString(); + if(!valueItemsItem["CreateTime"].isNull()) + itemsObject.createTime = std::stol(valueItemsItem["CreateTime"].asString()); + if(!valueItemsItem["Type"].isNull()) + itemsObject.type = valueItemsItem["Type"].asString(); + if(!valueItemsItem["Name"].isNull()) + itemsObject.name = valueItemsItem["Name"].asString(); + if(!valueItemsItem["LibraryVersion"].isNull()) + itemsObject.libraryVersion = valueItemsItem["LibraryVersion"].asString(); + if(!valueItemsItem["SourceType"].isNull()) + itemsObject.sourceType = valueItemsItem["SourceType"].asString(); + if(!valueItemsItem["SourceLocation"].isNull()) + itemsObject.sourceLocation = valueItemsItem["SourceLocation"].asString(); + if(!valueItemsItem["Scope"].isNull()) + itemsObject.scope = valueItemsItem["Scope"].asString(); + if(!valueItemsItem["Properties"].isNull()) + itemsObject.properties = valueItemsItem["Properties"].asString(); + if(!valueItemsItem["UserId"].isNull()) + itemsObject.userId = valueItemsItem["UserId"].asString(); + items_.push_back(itemsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +int ListLibrariesResult::getTotalCount()const +{ + return totalCount_; +} + +int ListLibrariesResult::getPageSize()const +{ + return pageSize_; +} + +std::string ListLibrariesResult::getNextToken()const +{ + return nextToken_; +} + +int ListLibrariesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListLibrariesResult::getItems()const +{ + return items_; +} + diff --git a/emr/src/model/ListLibraryInstallTasksRequest.cc b/emr/src/model/ListLibraryInstallTasksRequest.cc new file mode 100644 index 000000000..1ab657238 --- /dev/null +++ b/emr/src/model/ListLibraryInstallTasksRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::ListLibraryInstallTasksRequest; + +ListLibraryInstallTasksRequest::ListLibraryInstallTasksRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListLibraryInstallTasks") +{ + setMethod(HttpRequest::Method::Post); +} + +ListLibraryInstallTasksRequest::~ListLibraryInstallTasksRequest() +{} + +long ListLibraryInstallTasksRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListLibraryInstallTasksRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ListLibraryInstallTasksRequest::getPageCount()const +{ + return pageCount_; +} + +void ListLibraryInstallTasksRequest::setPageCount(int pageCount) +{ + pageCount_ = pageCount; + setParameter("PageCount", std::to_string(pageCount)); +} + +std::string ListLibraryInstallTasksRequest::getOrderMode()const +{ + return orderMode_; +} + +void ListLibraryInstallTasksRequest::setOrderMode(const std::string& orderMode) +{ + orderMode_ = orderMode; + setParameter("OrderMode", orderMode); +} + +std::string ListLibraryInstallTasksRequest::getClusterBizId()const +{ + return clusterBizId_; +} + +void ListLibraryInstallTasksRequest::setClusterBizId(const std::string& clusterBizId) +{ + clusterBizId_ = clusterBizId; + setParameter("ClusterBizId", clusterBizId); +} + +int ListLibraryInstallTasksRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListLibraryInstallTasksRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListLibraryInstallTasksRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListLibraryInstallTasksRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListLibraryInstallTasksRequest::getRegionId()const +{ + return regionId_; +} + +void ListLibraryInstallTasksRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListLibraryInstallTasksRequest::getLimit()const +{ + return limit_; +} + +void ListLibraryInstallTasksRequest::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +int ListLibraryInstallTasksRequest::getPageSize()const +{ + return pageSize_; +} + +void ListLibraryInstallTasksRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListLibraryInstallTasksRequest::getCurrentSize()const +{ + return currentSize_; +} + +void ListLibraryInstallTasksRequest::setCurrentSize(int currentSize) +{ + currentSize_ = currentSize; + setParameter("CurrentSize", std::to_string(currentSize)); +} + +std::string ListLibraryInstallTasksRequest::getOrderField()const +{ + return orderField_; +} + +void ListLibraryInstallTasksRequest::setOrderField(const std::string& orderField) +{ + orderField_ = orderField; + setParameter("OrderField", orderField); +} + +std::string ListLibraryInstallTasksRequest::getLibraryBizId()const +{ + return libraryBizId_; +} + +void ListLibraryInstallTasksRequest::setLibraryBizId(const std::string& libraryBizId) +{ + libraryBizId_ = libraryBizId; + setParameter("LibraryBizId", libraryBizId); +} + diff --git a/emr/src/model/ListLibraryInstallTasksResult.cc b/emr/src/model/ListLibraryInstallTasksResult.cc new file mode 100644 index 000000000..6be241638 --- /dev/null +++ b/emr/src/model/ListLibraryInstallTasksResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +ListLibraryInstallTasksResult::ListLibraryInstallTasksResult() : + ServiceResult() +{} + +ListLibraryInstallTasksResult::ListLibraryInstallTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListLibraryInstallTasksResult::~ListLibraryInstallTasksResult() +{} + +void ListLibraryInstallTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["Item"]; + for (auto valueItemsItem : allItemsNode) + { + Item itemsObject; + if(!valueItemsItem["LibraryBizId"].isNull()) + itemsObject.libraryBizId = valueItemsItem["LibraryBizId"].asString(); + if(!valueItemsItem["TaskGroupId"].isNull()) + itemsObject.taskGroupId = valueItemsItem["TaskGroupId"].asString(); + if(!valueItemsItem["TaskId"].isNull()) + itemsObject.taskId = valueItemsItem["TaskId"].asString(); + if(!valueItemsItem["TaskStatus"].isNull()) + itemsObject.taskStatus = valueItemsItem["TaskStatus"].asString(); + if(!valueItemsItem["StartTime"].isNull()) + itemsObject.startTime = std::stol(valueItemsItem["StartTime"].asString()); + if(!valueItemsItem["EndTime"].isNull()) + itemsObject.endTime = std::stol(valueItemsItem["EndTime"].asString()); + if(!valueItemsItem["ExecuteTime"].isNull()) + itemsObject.executeTime = std::stol(valueItemsItem["ExecuteTime"].asString()); + if(!valueItemsItem["TaskProcess"].isNull()) + itemsObject.taskProcess = std::stoi(valueItemsItem["TaskProcess"].asString()); + if(!valueItemsItem["TaskType"].isNull()) + itemsObject.taskType = valueItemsItem["TaskType"].asString(); + if(!valueItemsItem["Detail"].isNull()) + itemsObject.detail = valueItemsItem["Detail"].asString(); + if(!valueItemsItem["ClusterBizId"].isNull()) + itemsObject.clusterBizId = valueItemsItem["ClusterBizId"].asString(); + if(!valueItemsItem["Hostname"].isNull()) + itemsObject.hostname = valueItemsItem["Hostname"].asString(); + items_.push_back(itemsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +int ListLibraryInstallTasksResult::getTotalCount()const +{ + return totalCount_; +} + +int ListLibraryInstallTasksResult::getPageSize()const +{ + return pageSize_; +} + +std::string ListLibraryInstallTasksResult::getNextToken()const +{ + return nextToken_; +} + +int ListLibraryInstallTasksResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListLibraryInstallTasksResult::getItems()const +{ + return items_; +} + diff --git a/emr/src/model/ListLibraryStatusRequest.cc b/emr/src/model/ListLibraryStatusRequest.cc new file mode 100644 index 000000000..011c8fc4c --- /dev/null +++ b/emr/src/model/ListLibraryStatusRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::ListLibraryStatusRequest; + +ListLibraryStatusRequest::ListLibraryStatusRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListLibraryStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +ListLibraryStatusRequest::~ListLibraryStatusRequest() +{} + +long ListLibraryStatusRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListLibraryStatusRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ListLibraryStatusRequest::getPageCount()const +{ + return pageCount_; +} + +void ListLibraryStatusRequest::setPageCount(int pageCount) +{ + pageCount_ = pageCount; + setParameter("PageCount", std::to_string(pageCount)); +} + +std::string ListLibraryStatusRequest::getOrderMode()const +{ + return orderMode_; +} + +void ListLibraryStatusRequest::setOrderMode(const std::string& orderMode) +{ + orderMode_ = orderMode; + setParameter("OrderMode", orderMode); +} + +std::string ListLibraryStatusRequest::getClusterBizId()const +{ + return clusterBizId_; +} + +void ListLibraryStatusRequest::setClusterBizId(const std::string& clusterBizId) +{ + clusterBizId_ = clusterBizId; + setParameter("ClusterBizId", clusterBizId); +} + +int ListLibraryStatusRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListLibraryStatusRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListLibraryStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListLibraryStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListLibraryStatusRequest::getRegionId()const +{ + return regionId_; +} + +void ListLibraryStatusRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListLibraryStatusRequest::getLimit()const +{ + return limit_; +} + +void ListLibraryStatusRequest::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +int ListLibraryStatusRequest::getPageSize()const +{ + return pageSize_; +} + +void ListLibraryStatusRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListLibraryStatusRequest::getCurrentSize()const +{ + return currentSize_; +} + +void ListLibraryStatusRequest::setCurrentSize(int currentSize) +{ + currentSize_ = currentSize; + setParameter("CurrentSize", std::to_string(currentSize)); +} + +std::string ListLibraryStatusRequest::getOrderField()const +{ + return orderField_; +} + +void ListLibraryStatusRequest::setOrderField(const std::string& orderField) +{ + orderField_ = orderField; + setParameter("OrderField", orderField); +} + +std::string ListLibraryStatusRequest::getLibraryBizId()const +{ + return libraryBizId_; +} + +void ListLibraryStatusRequest::setLibraryBizId(const std::string& libraryBizId) +{ + libraryBizId_ = libraryBizId; + setParameter("LibraryBizId", libraryBizId); +} + diff --git a/emr/src/model/ListBackupRulesResult.cc b/emr/src/model/ListLibraryStatusResult.cc similarity index 53% rename from emr/src/model/ListBackupRulesResult.cc rename to emr/src/model/ListLibraryStatusResult.cc index 0d27335b8..d2202a8b0 100644 --- a/emr/src/model/ListBackupRulesResult.cc +++ b/emr/src/model/ListLibraryStatusResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ListBackupRulesResult::ListBackupRulesResult() : +ListLibraryStatusResult::ListLibraryStatusResult() : ServiceResult() {} -ListBackupRulesResult::ListBackupRulesResult(const std::string &payload) : +ListLibraryStatusResult::ListLibraryStatusResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListBackupRulesResult::~ListBackupRulesResult() +ListLibraryStatusResult::~ListLibraryStatusResult() {} -void ListBackupRulesResult::parse(const std::string &payload) +void ListLibraryStatusResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -43,18 +43,16 @@ void ListBackupRulesResult::parse(const std::string &payload) for (auto valueItemsItem : allItemsNode) { Item itemsObject; - if(!valueItemsItem["Id"].isNull()) - itemsObject.id = valueItemsItem["Id"].asString(); - if(!valueItemsItem["Name"].isNull()) - itemsObject.name = valueItemsItem["Name"].asString(); - if(!valueItemsItem["Description"].isNull()) - itemsObject.description = valueItemsItem["Description"].asString(); - if(!valueItemsItem["MetadataType"].isNull()) - itemsObject.metadataType = valueItemsItem["MetadataType"].asString(); - if(!valueItemsItem["BackupMethodType"].isNull()) - itemsObject.backupMethodType = valueItemsItem["BackupMethodType"].asString(); - if(!valueItemsItem["BackupPlanId"].isNull()) - itemsObject.backupPlanId = valueItemsItem["BackupPlanId"].asString(); + if(!valueItemsItem["LibraryBizId"].isNull()) + itemsObject.libraryBizId = valueItemsItem["LibraryBizId"].asString(); + if(!valueItemsItem["LibraryName"].isNull()) + itemsObject.libraryName = valueItemsItem["LibraryName"].asString(); + if(!valueItemsItem["ClusterBizId"].isNull()) + itemsObject.clusterBizId = valueItemsItem["ClusterBizId"].asString(); + if(!valueItemsItem["ClusterName"].isNull()) + itemsObject.clusterName = valueItemsItem["ClusterName"].asString(); + if(!valueItemsItem["Status"].isNull()) + itemsObject.status = valueItemsItem["Status"].asString(); items_.push_back(itemsObject); } if(!value["PageNumber"].isNull()) @@ -63,25 +61,32 @@ void ListBackupRulesResult::parse(const std::string &payload) pageSize_ = std::stoi(value["PageSize"].asString()); if(!value["TotalCount"].isNull()) totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); } -int ListBackupRulesResult::getTotalCount()const +int ListLibraryStatusResult::getTotalCount()const { return totalCount_; } -int ListBackupRulesResult::getPageSize()const +int ListLibraryStatusResult::getPageSize()const { return pageSize_; } -int ListBackupRulesResult::getPageNumber()const +std::string ListLibraryStatusResult::getNextToken()const +{ + return nextToken_; +} + +int ListLibraryStatusResult::getPageNumber()const { return pageNumber_; } -std::vector ListBackupRulesResult::getItems()const +std::vector ListLibraryStatusResult::getItems()const { return items_; } diff --git a/emr/src/model/ListMetaClusterRequest.cc b/emr/src/model/ListMetaClusterRequest.cc new file mode 100644 index 000000000..24cc22025 --- /dev/null +++ b/emr/src/model/ListMetaClusterRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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/ListBackupPlansResult.cc b/emr/src/model/ListMetaClusterResult.cc similarity index 66% rename from emr/src/model/ListBackupPlansResult.cc rename to emr/src/model/ListMetaClusterResult.cc index 7b6d712f2..d85a6bc71 100644 --- a/emr/src/model/ListBackupPlansResult.cc +++ b/emr/src/model/ListMetaClusterResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ListBackupPlansResult::ListBackupPlansResult() : +ListMetaClusterResult::ListMetaClusterResult() : ServiceResult() {} -ListBackupPlansResult::ListBackupPlansResult(const std::string &payload) : +ListMetaClusterResult::ListMetaClusterResult(const std::string &payload) : ServiceResult() { parse(payload); } -ListBackupPlansResult::~ListBackupPlansResult() +ListMetaClusterResult::~ListMetaClusterResult() {} -void ListBackupPlansResult::parse(const std::string &payload) +void ListMetaClusterResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -47,12 +47,11 @@ void ListBackupPlansResult::parse(const std::string &payload) itemsObject.id = valueItemsItem["Id"].asString(); if(!valueItemsItem["Name"].isNull()) itemsObject.name = valueItemsItem["Name"].asString(); - if(!valueItemsItem["Description"].isNull()) - itemsObject.description = valueItemsItem["Description"].asString(); - if(!valueItemsItem["ClusterId"].isNull()) - itemsObject.clusterId = valueItemsItem["ClusterId"].asString(); - if(!valueItemsItem["RootPath"].isNull()) - itemsObject.rootPath = valueItemsItem["RootPath"].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()) @@ -64,22 +63,22 @@ void ListBackupPlansResult::parse(const std::string &payload) } -int ListBackupPlansResult::getTotalCount()const +int ListMetaClusterResult::getTotalCount()const { return totalCount_; } -int ListBackupPlansResult::getPageSize()const +int ListMetaClusterResult::getPageSize()const { return pageSize_; } -int ListBackupPlansResult::getPageNumber()const +int ListMetaClusterResult::getPageNumber()const { return pageNumber_; } -std::vector ListBackupPlansResult::getItems()const +std::vector ListMetaClusterResult::getItems()const { return items_; } diff --git a/emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc b/emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc new file mode 100644 index 000000000..c6b9c1151 --- /dev/null +++ b/emr/src/model/ListMetaDataSourceClusterForOuterRequest.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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/GetAuditLogsResult.cc b/emr/src/model/ListMetaDataSourceClusterForOuterResult.cc similarity index 61% rename from emr/src/model/GetAuditLogsResult.cc rename to emr/src/model/ListMetaDataSourceClusterForOuterResult.cc index dac8ee510..689d18d93 100644 --- a/emr/src/model/GetAuditLogsResult.cc +++ b/emr/src/model/ListMetaDataSourceClusterForOuterResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -GetAuditLogsResult::GetAuditLogsResult() : +ListMetaDataSourceClusterForOuterResult::ListMetaDataSourceClusterForOuterResult() : ServiceResult() {} -GetAuditLogsResult::GetAuditLogsResult(const std::string &payload) : +ListMetaDataSourceClusterForOuterResult::ListMetaDataSourceClusterForOuterResult(const std::string &payload) : ServiceResult() { parse(payload); } -GetAuditLogsResult::~GetAuditLogsResult() +ListMetaDataSourceClusterForOuterResult::~ListMetaDataSourceClusterForOuterResult() {} -void GetAuditLogsResult::parse(const std::string &payload) +void ListMetaDataSourceClusterForOuterResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -43,16 +43,12 @@ void GetAuditLogsResult::parse(const std::string &payload) for (auto valueItemsItem : allItemsNode) { Item itemsObject; - if(!valueItemsItem["Ts"].isNull()) - itemsObject.ts = std::stol(valueItemsItem["Ts"].asString()); + 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(); - if(!valueItemsItem["EntityId"].isNull()) - itemsObject.entityId = valueItemsItem["EntityId"].asString(); - if(!valueItemsItem["Operation"].isNull()) - itemsObject.operation = valueItemsItem["Operation"].asString(); - if(!valueItemsItem["Content"].isNull()) - itemsObject.content = valueItemsItem["Content"].asString(); items_.push_back(itemsObject); } if(!value["PageNumber"].isNull()) @@ -64,22 +60,22 @@ void GetAuditLogsResult::parse(const std::string &payload) } -int GetAuditLogsResult::getTotalCount()const +int ListMetaDataSourceClusterForOuterResult::getTotalCount()const { return totalCount_; } -int GetAuditLogsResult::getPageSize()const +int ListMetaDataSourceClusterForOuterResult::getPageSize()const { return pageSize_; } -int GetAuditLogsResult::getPageNumber()const +int ListMetaDataSourceClusterForOuterResult::getPageNumber()const { return pageNumber_; } -std::vector GetAuditLogsResult::getItems()const +std::vector ListMetaDataSourceClusterForOuterResult::getItems()const { return items_; } diff --git a/emr/src/model/ListNavSubTreeRequest.cc b/emr/src/model/ListNavSubTreeRequest.cc deleted file mode 100644 index c57beea64..000000000 --- a/emr/src/model/ListNavSubTreeRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListNavSubTreeRequest; - -ListNavSubTreeRequest::ListNavSubTreeRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListNavSubTree") -{} - -ListNavSubTreeRequest::~ListNavSubTreeRequest() -{} - -long ListNavSubTreeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListNavSubTreeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ListNavSubTreeRequest::getDepth()const -{ - return depth_; -} - -void ListNavSubTreeRequest::setDepth(int depth) -{ - depth_ = depth; - setCoreParameter("Depth", std::to_string(depth)); -} - -std::string ListNavSubTreeRequest::getRegionId()const -{ - return regionId_; -} - -void ListNavSubTreeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListNavSubTreeRequest::getName()const -{ - return name_; -} - -void ListNavSubTreeRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -int ListNavSubTreeRequest::getPageSize()const -{ - return pageSize_; -} - -void ListNavSubTreeRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListNavSubTreeRequest::getType()const -{ - return type_; -} - -void ListNavSubTreeRequest::setType(const std::string& type) -{ - type_ = type; - setCoreParameter("Type", type); -} - -std::string ListNavSubTreeRequest::getProjectId()const -{ - return projectId_; -} - -void ListNavSubTreeRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - -std::string ListNavSubTreeRequest::getParentId()const -{ - return parentId_; -} - -void ListNavSubTreeRequest::setParentId(const std::string& parentId) -{ - parentId_ = parentId; - setCoreParameter("ParentId", parentId); -} - -int ListNavSubTreeRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListNavSubTreeRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListNavSubTreeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListNavSubTreeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListNavSubTreeResult.cc b/emr/src/model/ListNavSubTreeResult.cc deleted file mode 100644 index 8a1f12e8f..000000000 --- a/emr/src/model/ListNavSubTreeResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListNavSubTreeResult::ListNavSubTreeResult() : - ServiceResult() -{} - -ListNavSubTreeResult::ListNavSubTreeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListNavSubTreeResult::~ListNavSubTreeResult() -{} - -void ListNavSubTreeResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); - -} - -std::string ListNavSubTreeResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ListNotesRequest.cc b/emr/src/model/ListNotesRequest.cc index c3d2bbf2a..a25c23406 100644 --- a/emr/src/model/ListNotesRequest.cc +++ b/emr/src/model/ListNotesRequest.cc @@ -49,6 +49,17 @@ void ListNotesRequest::setAccessKeyId(const std::string& 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_; diff --git a/emr/src/model/ListOpsOperationRequest.cc b/emr/src/model/ListOpsOperationRequest.cc deleted file mode 100644 index f560f4d4d..000000000 --- a/emr/src/model/ListOpsOperationRequest.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 - -using AlibabaCloud::Emr::Model::ListOpsOperationRequest; - -ListOpsOperationRequest::ListOpsOperationRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListOpsOperation") -{} - -ListOpsOperationRequest::~ListOpsOperationRequest() -{} - -long ListOpsOperationRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListOpsOperationRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListOpsOperationRequest::getRegionId()const -{ - return regionId_; -} - -void ListOpsOperationRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListOpsOperationRequest::getClusterId()const -{ - return clusterId_; -} - -void ListOpsOperationRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -long ListOpsOperationRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListOpsOperationRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListOpsOperationRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListOpsOperationRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListOpsOperationResult.cc b/emr/src/model/ListOpsOperationResult.cc deleted file mode 100644 index 8c674c811..000000000 --- a/emr/src/model/ListOpsOperationResult.cc +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListOpsOperationResult::ListOpsOperationResult() : - ServiceResult() -{} - -ListOpsOperationResult::ListOpsOperationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListOpsOperationResult::~ListOpsOperationResult() -{} - -void ListOpsOperationResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allOpsOperationList = value["OpsOperationList"]["OpsOperationListItem"]; - for (auto value : allOpsOperationList) - { - OpsOperationListItem opsOperationListObject; - if(!value["Id"].isNull()) - opsOperationListObject.id = std::stol(value["Id"].asString()); - if(!value["StartTime"].isNull()) - opsOperationListObject.startTime = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - opsOperationListObject.endTime = value["EndTime"].asString(); - if(!value["OpsCommandId"].isNull()) - opsOperationListObject.opsCommandId = std::stol(value["OpsCommandId"].asString()); - if(!value["OpsCommandName"].isNull()) - opsOperationListObject.opsCommandName = value["OpsCommandName"].asString(); - if(!value["Status"].isNull()) - opsOperationListObject.status = value["Status"].asString(); - if(!value["TotalTaskNum"].isNull()) - opsOperationListObject.totalTaskNum = std::stol(value["TotalTaskNum"].asString()); - if(!value["FailedTaskNum"].isNull()) - opsOperationListObject.failedTaskNum = std::stol(value["FailedTaskNum"].asString()); - if(!value["FinishedTaskNum"].isNull()) - opsOperationListObject.finishedTaskNum = std::stol(value["FinishedTaskNum"].asString()); - if(!value["ClusterId"].isNull()) - opsOperationListObject.clusterId = value["ClusterId"].asString(); - if(!value["RegionId"].isNull()) - opsOperationListObject.regionId = value["RegionId"].asString(); - if(!value["Params"].isNull()) - opsOperationListObject.params = value["Params"].asString(); - if(!value["Remark"].isNull()) - opsOperationListObject.remark = value["Remark"].asString(); - if(!value["RunningTime"].isNull()) - opsOperationListObject.runningTime = std::stol(value["RunningTime"].asString()); - if(!value["Category"].isNull()) - opsOperationListObject.category = value["Category"].asString(); - opsOperationList_.push_back(opsOperationListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int ListOpsOperationResult::getPageSize()const -{ - return pageSize_; -} - -int ListOpsOperationResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListOpsOperationResult::getTotal()const -{ - return total_; -} - -std::vector ListOpsOperationResult::getOpsOperationList()const -{ - return opsOperationList_; -} - diff --git a/emr/src/model/ListOpsOperationTaskRequest.cc b/emr/src/model/ListOpsOperationTaskRequest.cc deleted file mode 100644 index eebaedd46..000000000 --- a/emr/src/model/ListOpsOperationTaskRequest.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 - -using AlibabaCloud::Emr::Model::ListOpsOperationTaskRequest; - -ListOpsOperationTaskRequest::ListOpsOperationTaskRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListOpsOperationTask") -{} - -ListOpsOperationTaskRequest::~ListOpsOperationTaskRequest() -{} - -long ListOpsOperationTaskRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListOpsOperationTaskRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListOpsOperationTaskRequest::getRegionId()const -{ - return regionId_; -} - -void ListOpsOperationTaskRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long ListOpsOperationTaskRequest::getOperationId()const -{ - return operationId_; -} - -void ListOpsOperationTaskRequest::setOperationId(long operationId) -{ - operationId_ = operationId; - setCoreParameter("OperationId", std::to_string(operationId)); -} - -long ListOpsOperationTaskRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListOpsOperationTaskRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListOpsOperationTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListOpsOperationTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListOpsOperationTaskResult.cc b/emr/src/model/ListOpsOperationTaskResult.cc deleted file mode 100644 index 2f02cde82..000000000 --- a/emr/src/model/ListOpsOperationTaskResult.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 -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListOpsOperationTaskResult::ListOpsOperationTaskResult() : - ServiceResult() -{} - -ListOpsOperationTaskResult::ListOpsOperationTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListOpsOperationTaskResult::~ListOpsOperationTaskResult() -{} - -void ListOpsOperationTaskResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTaskList = value["TaskList"]["TaskListItem"]; - for (auto value : allTaskList) - { - TaskListItem taskListObject; - if(!value["Id"].isNull()) - taskListObject.id = std::stol(value["Id"].asString()); - if(!value["OpsOperationId"].isNull()) - taskListObject.opsOperationId = std::stol(value["OpsOperationId"].asString()); - if(!value["TaskId"].isNull()) - taskListObject.taskId = std::stol(value["TaskId"].asString()); - if(!value["Status"].isNull()) - taskListObject.status = value["Status"].asString(); - if(!value["RegionId"].isNull()) - taskListObject.regionId = value["RegionId"].asString(); - if(!value["UserId"].isNull()) - taskListObject.userId = value["UserId"].asString(); - if(!value["ClusterId"].isNull()) - taskListObject.clusterId = std::stol(value["ClusterId"].asString()); - if(!value["ExternalClusterId"].isNull()) - taskListObject.externalClusterId = value["ExternalClusterId"].asString(); - if(!value["HostId"].isNull()) - taskListObject.hostId = std::stol(value["HostId"].asString()); - if(!value["StartTime"].isNull()) - taskListObject.startTime = value["StartTime"].asString(); - if(!value["EndTime"].isNull()) - taskListObject.endTime = value["EndTime"].asString(); - if(!value["CommandName"].isNull()) - taskListObject.commandName = value["CommandName"].asString(); - if(!value["HostName"].isNull()) - taskListObject.hostName = value["HostName"].asString(); - taskList_.push_back(taskListObject); - } - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -int ListOpsOperationTaskResult::getPageSize()const -{ - return pageSize_; -} - -int ListOpsOperationTaskResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector ListOpsOperationTaskResult::getTaskList()const -{ - return taskList_; -} - -int ListOpsOperationTaskResult::getTotal()const -{ - return total_; -} - diff --git a/emr/src/model/ListRequiredServiceRequest.cc b/emr/src/model/ListRequiredServiceRequest.cc deleted file mode 100644 index 6208b978d..000000000 --- a/emr/src/model/ListRequiredServiceRequest.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 - -using AlibabaCloud::Emr::Model::ListRequiredServiceRequest; - -ListRequiredServiceRequest::ListRequiredServiceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListRequiredService") -{} - -ListRequiredServiceRequest::~ListRequiredServiceRequest() -{} - -long ListRequiredServiceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListRequiredServiceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListRequiredServiceRequest::getRegionId()const -{ - return regionId_; -} - -void ListRequiredServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListRequiredServiceRequest::getEmrVersion()const -{ - return emrVersion_; -} - -void ListRequiredServiceRequest::setEmrVersion(const std::string& emrVersion) -{ - emrVersion_ = emrVersion; - setCoreParameter("EmrVersion", emrVersion); -} - -std::string ListRequiredServiceRequest::getServiceNameList()const -{ - return serviceNameList_; -} - -void ListRequiredServiceRequest::setServiceNameList(const std::string& serviceNameList) -{ - serviceNameList_ = serviceNameList; - setCoreParameter("ServiceNameList", serviceNameList); -} - -std::string ListRequiredServiceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListRequiredServiceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListRequiredServiceResult.cc b/emr/src/model/ListRequiredServiceResult.cc deleted file mode 100644 index 160e2a486..000000000 --- a/emr/src/model/ListRequiredServiceResult.cc +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListRequiredServiceResult::ListRequiredServiceResult() : - ServiceResult() -{} - -ListRequiredServiceResult::ListRequiredServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListRequiredServiceResult::~ListRequiredServiceResult() -{} - -void ListRequiredServiceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allServiceList = value["ServiceList"]["Service"]; - for (auto value : allServiceList) - { - Service serviceListObject; - if(!value["ServiceName"].isNull()) - serviceListObject.serviceName = value["ServiceName"].asString(); - if(!value["ServiceDisplayName"].isNull()) - serviceListObject.serviceDisplayName = value["ServiceDisplayName"].asString(); - serviceList_.push_back(serviceListObject); - } - if(!value["NeedOtherService"].isNull()) - needOtherService_ = value["NeedOtherService"].asString() == "true"; - -} - -std::vector ListRequiredServiceResult::getServiceList()const -{ - return serviceList_; -} - -bool ListRequiredServiceResult::getNeedOtherService()const -{ - return needOtherService_; -} - diff --git a/emr/src/model/ListResourcePoolForAdminRequest.cc b/emr/src/model/ListResourcePoolForAdminRequest.cc deleted file mode 100644 index b11cf25ab..000000000 --- a/emr/src/model/ListResourcePoolForAdminRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListResourcePoolForAdminRequest; - -ListResourcePoolForAdminRequest::ListResourcePoolForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListResourcePoolForAdmin") -{} - -ListResourcePoolForAdminRequest::~ListResourcePoolForAdminRequest() -{} - -long ListResourcePoolForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListResourcePoolForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListResourcePoolForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void ListResourcePoolForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListResourcePoolForAdminRequest::getUserId()const -{ - return userId_; -} - -void ListResourcePoolForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -int ListResourcePoolForAdminRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListResourcePoolForAdminRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListResourcePoolForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListResourcePoolForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListResourcePoolForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ListResourcePoolForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ListResourcePoolForAdminRequest::getPageSize()const -{ - return pageSize_; -} - -void ListResourcePoolForAdminRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListResourcePoolForAdminRequest::getPoolType()const -{ - return poolType_; -} - -void ListResourcePoolForAdminRequest::setPoolType(const std::string& poolType) -{ - poolType_ = poolType; - setCoreParameter("PoolType", poolType); -} - diff --git a/emr/src/model/ListResourcePoolForAdminResult.cc b/emr/src/model/ListResourcePoolForAdminResult.cc deleted file mode 100644 index 92939643c..000000000 --- a/emr/src/model/ListResourcePoolForAdminResult.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; - -ListResourcePoolForAdminResult::ListResourcePoolForAdminResult() : - ServiceResult() -{} - -ListResourcePoolForAdminResult::ListResourcePoolForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListResourcePoolForAdminResult::~ListResourcePoolForAdminResult() -{} - -void ListResourcePoolForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allPoolInfoListNode = value["PoolInfoList"]["PoolInfo"]; - for (auto valuePoolInfoListPoolInfo : allPoolInfoListNode) - { - PoolInfo poolInfoListObject; - auto allQueueListNode = allPoolInfoListNode["QueueList"]["Queue"]; - for (auto allPoolInfoListNodeQueueListQueue : allQueueListNode) - { - PoolInfo::Queue queueListObject; - auto allEcmResourcePoolConfigList1Node = allQueueListNode["EcmResourcePoolConfigList"]["EcmResourcePoolConfig"]; - for (auto allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig : allEcmResourcePoolConfigList1Node) - { - PoolInfo::Queue::EcmResourcePoolConfig ecmResourcePoolConfigList1Object; - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].isNull()) - ecmResourcePoolConfigList1Object.id = std::stol(allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].asString()); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].isNull()) - ecmResourcePoolConfigList1Object.configKey = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].isNull()) - ecmResourcePoolConfigList1Object.configValue = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].isNull()) - ecmResourcePoolConfigList1Object.configType = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].isNull()) - ecmResourcePoolConfigList1Object.category = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].isNull()) - ecmResourcePoolConfigList1Object.status = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].isNull()) - ecmResourcePoolConfigList1Object.note = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].asString(); - queueListObject.ecmResourcePoolConfigList1.push_back(ecmResourcePoolConfigList1Object); - } - auto ecmResourceQueueNode = value["EcmResourceQueue"]; - if(!ecmResourceQueueNode["Id"].isNull()) - queueListObject.ecmResourceQueue.id = std::stol(ecmResourceQueueNode["Id"].asString()); - if(!ecmResourceQueueNode["Name"].isNull()) - queueListObject.ecmResourceQueue.name = ecmResourceQueueNode["Name"].asString(); - if(!ecmResourceQueueNode["QualifiedName"].isNull()) - queueListObject.ecmResourceQueue.qualifiedName = ecmResourceQueueNode["QualifiedName"].asString(); - if(!ecmResourceQueueNode["QueueType"].isNull()) - queueListObject.ecmResourceQueue.queueType = ecmResourceQueueNode["QueueType"].asString(); - if(!ecmResourceQueueNode["ParentQueueId"].isNull()) - queueListObject.ecmResourceQueue.parentQueueId = std::stol(ecmResourceQueueNode["ParentQueueId"].asString()); - if(!ecmResourceQueueNode["Leaf"].isNull()) - queueListObject.ecmResourceQueue.leaf = ecmResourceQueueNode["Leaf"].asString() == "true"; - if(!ecmResourceQueueNode["Status"].isNull()) - queueListObject.ecmResourceQueue.status = ecmResourceQueueNode["Status"].asString(); - if(!ecmResourceQueueNode["UserId"].isNull()) - queueListObject.ecmResourceQueue.userId = ecmResourceQueueNode["UserId"].asString(); - if(!ecmResourceQueueNode["ResourcePoolId"].isNull()) - queueListObject.ecmResourceQueue.resourcePoolId = std::stol(ecmResourceQueueNode["ResourcePoolId"].asString()); - poolInfoListObject.queueList.push_back(queueListObject); - } - auto allEcmResourcePoolConfigListNode = allPoolInfoListNode["EcmResourcePoolConfigList"]["EcmResourcePoolConfig"]; - for (auto allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig : allEcmResourcePoolConfigListNode) - { - PoolInfo::EcmResourcePoolConfig2 ecmResourcePoolConfigListObject; - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].isNull()) - ecmResourcePoolConfigListObject.id = std::stol(allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].asString()); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].isNull()) - ecmResourcePoolConfigListObject.configKey = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].isNull()) - ecmResourcePoolConfigListObject.configValue = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].isNull()) - ecmResourcePoolConfigListObject.configType = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].isNull()) - ecmResourcePoolConfigListObject.category = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].isNull()) - ecmResourcePoolConfigListObject.status = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].isNull()) - ecmResourcePoolConfigListObject.note = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].asString(); - poolInfoListObject.ecmResourcePoolConfigList.push_back(ecmResourcePoolConfigListObject); - } - auto ecmResourcePoolNode = value["EcmResourcePool"]; - if(!ecmResourcePoolNode["Id"].isNull()) - poolInfoListObject.ecmResourcePool.id = std::stol(ecmResourcePoolNode["Id"].asString()); - if(!ecmResourcePoolNode["Name"].isNull()) - poolInfoListObject.ecmResourcePool.name = ecmResourcePoolNode["Name"].asString(); - if(!ecmResourcePoolNode["PoolType"].isNull()) - poolInfoListObject.ecmResourcePool.poolType = ecmResourcePoolNode["PoolType"].asString(); - if(!ecmResourcePoolNode["Active"].isNull()) - poolInfoListObject.ecmResourcePool.active = ecmResourcePoolNode["Active"].asString() == "true"; - if(!ecmResourcePoolNode["Note"].isNull()) - poolInfoListObject.ecmResourcePool.note = ecmResourcePoolNode["Note"].asString(); - if(!ecmResourcePoolNode["UserId"].isNull()) - poolInfoListObject.ecmResourcePool.userId = ecmResourcePoolNode["UserId"].asString(); - if(!ecmResourcePoolNode["YarnSiteConfig"].isNull()) - poolInfoListObject.ecmResourcePool.yarnSiteConfig = ecmResourcePoolNode["YarnSiteConfig"].asString(); - poolInfoList_.push_back(poolInfoListObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - -} - -int ListResourcePoolForAdminResult::getPageSize()const -{ - return pageSize_; -} - -int ListResourcePoolForAdminResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListResourcePoolForAdminResult::getTotal()const -{ - return total_; -} - -std::vector ListResourcePoolForAdminResult::getPoolInfoList()const -{ - return poolInfoList_; -} - diff --git a/emr/src/model/ListResourcePoolResult.cc b/emr/src/model/ListResourcePoolResult.cc index 6dde5facc..398d8e79a 100644 --- a/emr/src/model/ListResourcePoolResult.cc +++ b/emr/src/model/ListResourcePoolResult.cc @@ -43,28 +43,28 @@ void ListResourcePoolResult::parse(const std::string &payload) for (auto valuePoolInfoListPoolInfo : allPoolInfoListNode) { PoolInfo poolInfoListObject; - auto allQueueListNode = allPoolInfoListNode["QueueList"]["Queue"]; - for (auto allPoolInfoListNodeQueueListQueue : allQueueListNode) + auto allQueueListNode = valuePoolInfoListPoolInfo["QueueList"]["Queue"]; + for (auto valuePoolInfoListPoolInfoQueueListQueue : allQueueListNode) { PoolInfo::Queue queueListObject; - auto allEcmResourcePoolConfigList1Node = allQueueListNode["EcmResourcePoolConfigList"]["EcmResourcePoolConfig"]; - for (auto allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig : allEcmResourcePoolConfigList1Node) + auto allEcmResourcePoolConfigList1Node = valuePoolInfoListPoolInfoQueueListQueue["EcmResourcePoolConfigList"]["EcmResourcePoolConfig"]; + for (auto valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig : allEcmResourcePoolConfigList1Node) { PoolInfo::Queue::EcmResourcePoolConfig ecmResourcePoolConfigList1Object; - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].isNull()) - ecmResourcePoolConfigList1Object.id = std::stol(allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].asString()); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].isNull()) - ecmResourcePoolConfigList1Object.configKey = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].isNull()) - ecmResourcePoolConfigList1Object.configValue = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].isNull()) - ecmResourcePoolConfigList1Object.configType = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].isNull()) - ecmResourcePoolConfigList1Object.category = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].isNull()) - ecmResourcePoolConfigList1Object.status = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].asString(); - if(!allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].isNull()) - ecmResourcePoolConfigList1Object.note = allQueueListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].asString(); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].isNull()) + ecmResourcePoolConfigList1Object.id = std::stol(valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].asString()); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].isNull()) + ecmResourcePoolConfigList1Object.configKey = valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].asString(); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].isNull()) + ecmResourcePoolConfigList1Object.configValue = valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].asString(); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].isNull()) + ecmResourcePoolConfigList1Object.configType = valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].asString(); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].isNull()) + ecmResourcePoolConfigList1Object.category = valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].asString(); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].isNull()) + ecmResourcePoolConfigList1Object.status = valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].asString(); + if(!valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].isNull()) + ecmResourcePoolConfigList1Object.note = valuePoolInfoListPoolInfoQueueListQueueEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].asString(); queueListObject.ecmResourcePoolConfigList1.push_back(ecmResourcePoolConfigList1Object); } auto ecmResourceQueueNode = value["EcmResourceQueue"]; @@ -88,24 +88,24 @@ void ListResourcePoolResult::parse(const std::string &payload) queueListObject.ecmResourceQueue.resourcePoolId = std::stol(ecmResourceQueueNode["ResourcePoolId"].asString()); poolInfoListObject.queueList.push_back(queueListObject); } - auto allEcmResourcePoolConfigListNode = allPoolInfoListNode["EcmResourcePoolConfigList"]["EcmResourcePoolConfig"]; - for (auto allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig : allEcmResourcePoolConfigListNode) + auto allEcmResourcePoolConfigListNode = valuePoolInfoListPoolInfo["EcmResourcePoolConfigList"]["EcmResourcePoolConfig"]; + for (auto valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig : allEcmResourcePoolConfigListNode) { PoolInfo::EcmResourcePoolConfig2 ecmResourcePoolConfigListObject; - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].isNull()) - ecmResourcePoolConfigListObject.id = std::stol(allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].asString()); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].isNull()) - ecmResourcePoolConfigListObject.configKey = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].isNull()) - ecmResourcePoolConfigListObject.configValue = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].isNull()) - ecmResourcePoolConfigListObject.configType = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].isNull()) - ecmResourcePoolConfigListObject.category = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].isNull()) - ecmResourcePoolConfigListObject.status = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].asString(); - if(!allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].isNull()) - ecmResourcePoolConfigListObject.note = allPoolInfoListNodeEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].asString(); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].isNull()) + ecmResourcePoolConfigListObject.id = std::stol(valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Id"].asString()); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].isNull()) + ecmResourcePoolConfigListObject.configKey = valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigKey"].asString(); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].isNull()) + ecmResourcePoolConfigListObject.configValue = valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigValue"].asString(); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].isNull()) + ecmResourcePoolConfigListObject.configType = valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["ConfigType"].asString(); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].isNull()) + ecmResourcePoolConfigListObject.category = valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Category"].asString(); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].isNull()) + ecmResourcePoolConfigListObject.status = valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Status"].asString(); + if(!valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].isNull()) + ecmResourcePoolConfigListObject.note = valuePoolInfoListPoolInfoEcmResourcePoolConfigListEcmResourcePoolConfig["Note"].asString(); poolInfoListObject.ecmResourcePoolConfigList.push_back(ecmResourcePoolConfigListObject); } auto ecmResourcePoolNode = value["EcmResourcePool"]; diff --git a/emr/src/model/ListResourceQueueRequest.cc b/emr/src/model/ListResourceQueueRequest.cc deleted file mode 100644 index dd55c9739..000000000 --- a/emr/src/model/ListResourceQueueRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListResourceQueueRequest; - -ListResourceQueueRequest::ListResourceQueueRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListResourceQueue") -{} - -ListResourceQueueRequest::~ListResourceQueueRequest() -{} - -long ListResourceQueueRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListResourceQueueRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListResourceQueueRequest::getRegionId()const -{ - return regionId_; -} - -void ListResourceQueueRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -long ListResourceQueueRequest::getPoolId()const -{ - return poolId_; -} - -void ListResourceQueueRequest::setPoolId(long poolId) -{ - poolId_ = poolId; - setCoreParameter("PoolId", std::to_string(poolId)); -} - -int ListResourceQueueRequest::getPageSize()const -{ - return pageSize_; -} - -void ListResourceQueueRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListResourceQueueRequest::getClusterId()const -{ - return clusterId_; -} - -void ListResourceQueueRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ListResourceQueueRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListResourceQueueRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListResourceQueueRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListResourceQueueRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListResourceQueueRequest::getPoolType()const -{ - return poolType_; -} - -void ListResourceQueueRequest::setPoolType(const std::string& poolType) -{ - poolType_ = poolType; - setCoreParameter("PoolType", poolType); -} - diff --git a/emr/src/model/ListResourceQueueResult.cc b/emr/src/model/ListResourceQueueResult.cc deleted file mode 100644 index bbd1b7a50..000000000 --- a/emr/src/model/ListResourceQueueResult.cc +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListResourceQueueResult::ListResourceQueueResult() : - ServiceResult() -{} - -ListResourceQueueResult::ListResourceQueueResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListResourceQueueResult::~ListResourceQueueResult() -{} - -void ListResourceQueueResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allQueueList = value["QueueList"]["Queue"]; - for (auto value : allQueueList) - { - Queue queueListObject; - auto ecmResourceQueueNode = value["EcmResourceQueue"]; - if(!ecmResourceQueueNode["Id"].isNull()) - queueListObject.ecmResourceQueue.id = std::stol(ecmResourceQueueNode["Id"].asString()); - if(!ecmResourceQueueNode["Name"].isNull()) - queueListObject.ecmResourceQueue.name = ecmResourceQueueNode["Name"].asString(); - if(!ecmResourceQueueNode["QualifiedName"].isNull()) - queueListObject.ecmResourceQueue.qualifiedName = ecmResourceQueueNode["QualifiedName"].asString(); - if(!ecmResourceQueueNode["QueueType"].isNull()) - queueListObject.ecmResourceQueue.queueType = ecmResourceQueueNode["QueueType"].asString(); - if(!ecmResourceQueueNode["ParentQueueId"].isNull()) - queueListObject.ecmResourceQueue.parentQueueId = std::stol(ecmResourceQueueNode["ParentQueueId"].asString()); - if(!ecmResourceQueueNode["Leaf"].isNull()) - queueListObject.ecmResourceQueue.leaf = ecmResourceQueueNode["Leaf"].asString() == "true"; - if(!ecmResourceQueueNode["Status"].isNull()) - queueListObject.ecmResourceQueue.status = ecmResourceQueueNode["Status"].asString(); - if(!ecmResourceQueueNode["UserId"].isNull()) - queueListObject.ecmResourceQueue.userId = ecmResourceQueueNode["UserId"].asString(); - if(!ecmResourceQueueNode["ResourcePoolId"].isNull()) - queueListObject.ecmResourceQueue.resourcePoolId = std::stol(ecmResourceQueueNode["ResourcePoolId"].asString()); - queueList_.push_back(queueListObject); - } - -} - -std::vector ListResourceQueueResult::getQueueList()const -{ - return queueList_; -} - diff --git a/emr/src/model/ListScalingActivityRequest.cc b/emr/src/model/ListScalingActivityRequest.cc deleted file mode 100644 index 0bd0c41cf..000000000 --- a/emr/src/model/ListScalingActivityRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListScalingActivityRequest; - -ListScalingActivityRequest::ListScalingActivityRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListScalingActivity") -{} - -ListScalingActivityRequest::~ListScalingActivityRequest() -{} - -long ListScalingActivityRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListScalingActivityRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListScalingActivityRequest::getRegionId()const -{ - return regionId_; -} - -void ListScalingActivityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListScalingActivityRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void ListScalingActivityRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -int ListScalingActivityRequest::getPageSize()const -{ - return pageSize_; -} - -void ListScalingActivityRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListScalingActivityRequest::getClusterId()const -{ - return clusterId_; -} - -void ListScalingActivityRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ListScalingActivityRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListScalingActivityRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListScalingActivityRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListScalingActivityRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListScalingActivityResult.cc b/emr/src/model/ListScalingActivityResult.cc deleted file mode 100644 index 556d28a7e..000000000 --- a/emr/src/model/ListScalingActivityResult.cc +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListScalingActivityResult::ListScalingActivityResult() : - ServiceResult() -{} - -ListScalingActivityResult::ListScalingActivityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListScalingActivityResult::~ListScalingActivityResult() -{} - -void ListScalingActivityResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allScalingActivityList = value["ScalingActivityList"]["ScalingActivity"]; - for (auto value : allScalingActivityList) - { - ScalingActivity scalingActivityListObject; - if(!value["BizId"].isNull()) - scalingActivityListObject.bizId = value["BizId"].asString(); - if(!value["StartTime"].isNull()) - scalingActivityListObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - scalingActivityListObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["InstanceIds"].isNull()) - scalingActivityListObject.instanceIds = value["InstanceIds"].asString(); - if(!value["TotalCapacity"].isNull()) - scalingActivityListObject.totalCapacity = std::stoi(value["TotalCapacity"].asString()); - if(!value["Cause"].isNull()) - scalingActivityListObject.cause = value["Cause"].asString(); - if(!value["Description"].isNull()) - scalingActivityListObject.description = value["Description"].asString(); - if(!value["Status"].isNull()) - scalingActivityListObject.status = value["Status"].asString(); - if(!value["Transition"].isNull()) - scalingActivityListObject.transition = value["Transition"].asString(); - if(!value["ScalingRuleId"].isNull()) - scalingActivityListObject.scalingRuleId = value["ScalingRuleId"].asString(); - if(!value["ExpectNum"].isNull()) - scalingActivityListObject.expectNum = std::stoi(value["ExpectNum"].asString()); - scalingActivityList_.push_back(scalingActivityListObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - -} - -int ListScalingActivityResult::getPageSize()const -{ - return pageSize_; -} - -int ListScalingActivityResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListScalingActivityResult::getTotal()const -{ - return total_; -} - -std::vector ListScalingActivityResult::getScalingActivityList()const -{ - return scalingActivityList_; -} - diff --git a/emr/src/model/ListScalingActivityV2Request.cc b/emr/src/model/ListScalingActivityV2Request.cc new file mode 100644 index 000000000..c2d67c60e --- /dev/null +++ b/emr/src/model/ListScalingActivityV2Request.cc @@ -0,0 +1,216 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::ListScalingActivityV2Request; + +ListScalingActivityV2Request::ListScalingActivityV2Request() : + RpcServiceRequest("emr", "2016-04-08", "ListScalingActivityV2") +{ + setMethod(HttpRequest::Method::Post); +} + +ListScalingActivityV2Request::~ListScalingActivityV2Request() +{} + +long ListScalingActivityV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListScalingActivityV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ListScalingActivityV2Request::getPageCount()const +{ + return pageCount_; +} + +void ListScalingActivityV2Request::setPageCount(int pageCount) +{ + pageCount_ = pageCount; + setParameter("PageCount", std::to_string(pageCount)); +} + +std::string ListScalingActivityV2Request::getOrderMode()const +{ + return orderMode_; +} + +void ListScalingActivityV2Request::setOrderMode(const std::string& orderMode) +{ + orderMode_ = orderMode; + setParameter("OrderMode", orderMode); +} + +std::string ListScalingActivityV2Request::getClusterBizId()const +{ + return clusterBizId_; +} + +void ListScalingActivityV2Request::setClusterBizId(const std::string& clusterBizId) +{ + clusterBizId_ = clusterBizId; + setParameter("ClusterBizId", clusterBizId); +} + +int ListScalingActivityV2Request::getPageNumber()const +{ + return pageNumber_; +} + +void ListScalingActivityV2Request::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListScalingActivityV2Request::getHostGroupName()const +{ + return hostGroupName_; +} + +void ListScalingActivityV2Request::setHostGroupName(const std::string& hostGroupName) +{ + hostGroupName_ = hostGroupName; + setParameter("HostGroupName", hostGroupName); +} + +std::string ListScalingActivityV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListScalingActivityV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListScalingActivityV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void ListScalingActivityV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string ListScalingActivityV2Request::getScalingRuleName()const +{ + return scalingRuleName_; +} + +void ListScalingActivityV2Request::setScalingRuleName(const std::string& scalingRuleName) +{ + scalingRuleName_ = scalingRuleName; + setParameter("ScalingRuleName", scalingRuleName); +} + +std::string ListScalingActivityV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListScalingActivityV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string ListScalingActivityV2Request::getRegionId()const +{ + return regionId_; +} + +void ListScalingActivityV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListScalingActivityV2Request::getLimit()const +{ + return limit_; +} + +void ListScalingActivityV2Request::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +int ListScalingActivityV2Request::getPageSize()const +{ + return pageSize_; +} + +void ListScalingActivityV2Request::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListScalingActivityV2Request::getCurrentSize()const +{ + return currentSize_; +} + +void ListScalingActivityV2Request::setCurrentSize(int currentSize) +{ + currentSize_ = currentSize; + setParameter("CurrentSize", std::to_string(currentSize)); +} + +std::string ListScalingActivityV2Request::getOrderField()const +{ + return orderField_; +} + +void ListScalingActivityV2Request::setOrderField(const std::string& orderField) +{ + orderField_ = orderField; + setParameter("OrderField", orderField); +} + +std::string ListScalingActivityV2Request::getHostGroupId()const +{ + return hostGroupId_; +} + +void ListScalingActivityV2Request::setHostGroupId(const std::string& hostGroupId) +{ + hostGroupId_ = hostGroupId; + setParameter("HostGroupId", hostGroupId); +} + +std::string ListScalingActivityV2Request::getStatus()const +{ + return status_; +} + +void ListScalingActivityV2Request::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/emr/src/model/ListScalingActivityV2Result.cc b/emr/src/model/ListScalingActivityV2Result.cc new file mode 100644 index 000000000..def0ebde2 --- /dev/null +++ b/emr/src/model/ListScalingActivityV2Result.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +ListScalingActivityV2Result::ListScalingActivityV2Result() : + ServiceResult() +{} + +ListScalingActivityV2Result::ListScalingActivityV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListScalingActivityV2Result::~ListScalingActivityV2Result() +{} + +void ListScalingActivityV2Result::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["Item"]; + for (auto valueItemsItem : allItemsNode) + { + Item itemsObject; + if(!valueItemsItem["BizId"].isNull()) + itemsObject.bizId = valueItemsItem["BizId"].asString(); + if(!valueItemsItem["StartTime"].isNull()) + itemsObject.startTime = std::stol(valueItemsItem["StartTime"].asString()); + if(!valueItemsItem["EndTime"].isNull()) + itemsObject.endTime = std::stol(valueItemsItem["EndTime"].asString()); + if(!valueItemsItem["ExpectNum"].isNull()) + itemsObject.expectNum = std::stoi(valueItemsItem["ExpectNum"].asString()); + if(!valueItemsItem["InstanceIds"].isNull()) + itemsObject.instanceIds = valueItemsItem["InstanceIds"].asString(); + if(!valueItemsItem["TotalCapacity"].isNull()) + itemsObject.totalCapacity = std::stoi(valueItemsItem["TotalCapacity"].asString()); + if(!valueItemsItem["Cause"].isNull()) + itemsObject.cause = valueItemsItem["Cause"].asString(); + if(!valueItemsItem["Description"].isNull()) + itemsObject.description = valueItemsItem["Description"].asString(); + if(!valueItemsItem["Transition"].isNull()) + itemsObject.transition = valueItemsItem["Transition"].asString(); + if(!valueItemsItem["Status"].isNull()) + itemsObject.status = valueItemsItem["Status"].asString(); + if(!valueItemsItem["ScalingRuleId"].isNull()) + itemsObject.scalingRuleId = valueItemsItem["ScalingRuleId"].asString(); + if(!valueItemsItem["ScalingRuleName"].isNull()) + itemsObject.scalingRuleName = valueItemsItem["ScalingRuleName"].asString(); + if(!valueItemsItem["HostGroupBizId"].isNull()) + itemsObject.hostGroupBizId = valueItemsItem["HostGroupBizId"].asString(); + if(!valueItemsItem["HostGroupName"].isNull()) + itemsObject.hostGroupName = valueItemsItem["HostGroupName"].asString(); + items_.push_back(itemsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +int ListScalingActivityV2Result::getTotalCount()const +{ + return totalCount_; +} + +int ListScalingActivityV2Result::getPageSize()const +{ + return pageSize_; +} + +std::string ListScalingActivityV2Result::getNextToken()const +{ + return nextToken_; +} + +int ListScalingActivityV2Result::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListScalingActivityV2Result::getItems()const +{ + return items_; +} + diff --git a/emr/src/model/ListScalingConfigItemV2Request.cc b/emr/src/model/ListScalingConfigItemV2Request.cc new file mode 100644 index 000000000..7949ef706 --- /dev/null +++ b/emr/src/model/ListScalingConfigItemV2Request.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::ListScalingConfigItemV2Request; + +ListScalingConfigItemV2Request::ListScalingConfigItemV2Request() : + RpcServiceRequest("emr", "2016-04-08", "ListScalingConfigItemV2") +{ + setMethod(HttpRequest::Method::Post); +} + +ListScalingConfigItemV2Request::~ListScalingConfigItemV2Request() +{} + +long ListScalingConfigItemV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListScalingConfigItemV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = 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_; +} + +void ListScalingConfigItemV2Request::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListScalingConfigItemV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListScalingConfigItemV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListScalingConfigItemV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void ListScalingConfigItemV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string ListScalingConfigItemV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListScalingConfigItemV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string ListScalingConfigItemV2Request::getRegionId()const +{ + return regionId_; +} + +void ListScalingConfigItemV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = 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_; +} + +void ListScalingConfigItemV2Request::setPageSize(int pageSize) +{ + pageSize_ = 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/ListScalingConfigItemV2Result.cc b/emr/src/model/ListScalingConfigItemV2Result.cc new file mode 100644 index 000000000..0fbc1e480 --- /dev/null +++ b/emr/src/model/ListScalingConfigItemV2Result.cc @@ -0,0 +1,91 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + +ListScalingConfigItemV2Result::ListScalingConfigItemV2Result() : + ServiceResult() +{} + +ListScalingConfigItemV2Result::ListScalingConfigItemV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListScalingConfigItemV2Result::~ListScalingConfigItemV2Result() +{} + +void ListScalingConfigItemV2Result::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["ConfigItemType"].isNull()) + itemsObject.configItemType = valueItemsItem["ConfigItemType"].asString(); + if(!valueItemsItem["ScalingGroupBizId"].isNull()) + itemsObject.scalingGroupBizId = valueItemsItem["ScalingGroupBizId"].asString(); + if(!valueItemsItem["ScalingConfigItemBizId"].isNull()) + itemsObject.scalingConfigItemBizId = valueItemsItem["ScalingConfigItemBizId"].asString(); + if(!valueItemsItem["ConfigItemInformation"].isNull()) + itemsObject.configItemInformation = valueItemsItem["ConfigItemInformation"].asString(); + items_.push_back(itemsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +int ListScalingConfigItemV2Result::getTotalCount()const +{ + return totalCount_; +} + +int ListScalingConfigItemV2Result::getPageSize()const +{ + return pageSize_; +} + +std::string ListScalingConfigItemV2Result::getNextToken()const +{ + return nextToken_; +} + +int ListScalingConfigItemV2Result::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListScalingConfigItemV2Result::getItems()const +{ + return items_; +} + diff --git a/emr/src/model/ListScalingGroupV2Request.cc b/emr/src/model/ListScalingGroupV2Request.cc new file mode 100644 index 000000000..1ab0cb566 --- /dev/null +++ b/emr/src/model/ListScalingGroupV2Request.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::ListScalingGroupV2Request; + +ListScalingGroupV2Request::ListScalingGroupV2Request() : + RpcServiceRequest("emr", "2016-04-08", "ListScalingGroupV2") +{ + setMethod(HttpRequest::Method::Post); +} + +ListScalingGroupV2Request::~ListScalingGroupV2Request() +{} + +long ListScalingGroupV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ListScalingGroupV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ListScalingGroupV2Request::getPageCount()const +{ + return pageCount_; +} + +void ListScalingGroupV2Request::setPageCount(int pageCount) +{ + pageCount_ = pageCount; + setParameter("PageCount", std::to_string(pageCount)); +} + +std::string ListScalingGroupV2Request::getOrderMode()const +{ + return orderMode_; +} + +void ListScalingGroupV2Request::setOrderMode(const std::string& orderMode) +{ + orderMode_ = orderMode; + setParameter("OrderMode", orderMode); +} + +std::string ListScalingGroupV2Request::getClusterBizId()const +{ + return clusterBizId_; +} + +void ListScalingGroupV2Request::setClusterBizId(const std::string& clusterBizId) +{ + clusterBizId_ = clusterBizId; + setParameter("ClusterBizId", clusterBizId); +} + +int ListScalingGroupV2Request::getPageNumber()const +{ + return pageNumber_; +} + +void ListScalingGroupV2Request::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string ListScalingGroupV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListScalingGroupV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListScalingGroupV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ListScalingGroupV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string ListScalingGroupV2Request::getRegionId()const +{ + return regionId_; +} + +void ListScalingGroupV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +int ListScalingGroupV2Request::getLimit()const +{ + return limit_; +} + +void ListScalingGroupV2Request::setLimit(int limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +int ListScalingGroupV2Request::getPageSize()const +{ + return pageSize_; +} + +void ListScalingGroupV2Request::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +int ListScalingGroupV2Request::getCurrentSize()const +{ + return currentSize_; +} + +void ListScalingGroupV2Request::setCurrentSize(int currentSize) +{ + currentSize_ = currentSize; + setParameter("CurrentSize", std::to_string(currentSize)); +} + +std::string ListScalingGroupV2Request::getOrderField()const +{ + return orderField_; +} + +void ListScalingGroupV2Request::setOrderField(const std::string& orderField) +{ + orderField_ = orderField; + setParameter("OrderField", orderField); +} + diff --git a/emr/src/model/ListScalingGroupV2Result.cc b/emr/src/model/ListScalingGroupV2Result.cc new file mode 100644 index 000000000..d4d9a795a --- /dev/null +++ b/emr/src/model/ListScalingGroupV2Result.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; + +ListScalingGroupV2Result::ListScalingGroupV2Result() : + ServiceResult() +{} + +ListScalingGroupV2Result::ListScalingGroupV2Result(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListScalingGroupV2Result::~ListScalingGroupV2Result() +{} + +void ListScalingGroupV2Result::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["ScalingGroupId"].isNull()) + itemsObject.scalingGroupId = valueItemsItem["ScalingGroupId"].asString(); + if(!valueItemsItem["Name"].isNull()) + itemsObject.name = valueItemsItem["Name"].asString(); + if(!valueItemsItem["Description"].isNull()) + itemsObject.description = valueItemsItem["Description"].asString(); + if(!valueItemsItem["ActiveStatus"].isNull()) + itemsObject.activeStatus = valueItemsItem["ActiveStatus"].asString(); + if(!valueItemsItem["HostGroupBizId"].isNull()) + itemsObject.hostGroupBizId = valueItemsItem["HostGroupBizId"].asString(); + if(!valueItemsItem["ScalingInMode"].isNull()) + itemsObject.scalingInMode = valueItemsItem["ScalingInMode"].asString(); + if(!valueItemsItem["ScalingMinSize"].isNull()) + itemsObject.scalingMinSize = std::stoi(valueItemsItem["ScalingMinSize"].asString()); + if(!valueItemsItem["ScalingMaxSize"].isNull()) + itemsObject.scalingMaxSize = std::stoi(valueItemsItem["ScalingMaxSize"].asString()); + items_.push_back(itemsObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + if(!value["NextToken"].isNull()) + nextToken_ = value["NextToken"].asString(); + +} + +int ListScalingGroupV2Result::getTotalCount()const +{ + return totalCount_; +} + +int ListScalingGroupV2Result::getPageSize()const +{ + return pageSize_; +} + +std::string ListScalingGroupV2Result::getNextToken()const +{ + return nextToken_; +} + +int ListScalingGroupV2Result::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListScalingGroupV2Result::getItems()const +{ + return items_; +} + diff --git a/emr/src/model/ListScalingRuleRequest.cc b/emr/src/model/ListScalingRuleRequest.cc deleted file mode 100644 index 32459a933..000000000 --- a/emr/src/model/ListScalingRuleRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListScalingRuleRequest; - -ListScalingRuleRequest::ListScalingRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListScalingRule") -{} - -ListScalingRuleRequest::~ListScalingRuleRequest() -{} - -long ListScalingRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListScalingRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListScalingRuleRequest::getRegionId()const -{ - return regionId_; -} - -void ListScalingRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListScalingRuleRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void ListScalingRuleRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -int ListScalingRuleRequest::getPageSize()const -{ - return pageSize_; -} - -void ListScalingRuleRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListScalingRuleRequest::getClusterId()const -{ - return clusterId_; -} - -void ListScalingRuleRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int ListScalingRuleRequest::getPageNumber()const -{ - return pageNumber_; -} - -void ListScalingRuleRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string ListScalingRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListScalingRuleResult.cc b/emr/src/model/ListScalingRuleResult.cc deleted file mode 100644 index 4fb6dee19..000000000 --- a/emr/src/model/ListScalingRuleResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListScalingRuleResult::ListScalingRuleResult() : - ServiceResult() -{} - -ListScalingRuleResult::ListScalingRuleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListScalingRuleResult::~ListScalingRuleResult() -{} - -void ListScalingRuleResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allRuleList = value["RuleList"]["Rule"]; - for (auto value : allRuleList) - { - Rule ruleListObject; - if(!value["Id"].isNull()) - ruleListObject.id = value["Id"].asString(); - if(!value["GmtCreate"].isNull()) - ruleListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - ruleListObject.gmtModified = std::stol(value["GmtModified"].asString()); - if(!value["RuleName"].isNull()) - ruleListObject.ruleName = value["RuleName"].asString(); - if(!value["RuleCategory"].isNull()) - ruleListObject.ruleCategory = value["RuleCategory"].asString(); - if(!value["AdjustmentType"].isNull()) - ruleListObject.adjustmentType = value["AdjustmentType"].asString(); - if(!value["AdjustmentValue"].isNull()) - ruleListObject.adjustmentValue = std::stoi(value["AdjustmentValue"].asString()); - if(!value["Cooldown"].isNull()) - ruleListObject.cooldown = std::stoi(value["Cooldown"].asString()); - if(!value["Status"].isNull()) - ruleListObject.status = value["Status"].asString(); - auto schedulerTriggerNode = value["SchedulerTrigger"]; - if(!schedulerTriggerNode["LaunchTime"].isNull()) - ruleListObject.schedulerTrigger.launchTime = std::stol(schedulerTriggerNode["LaunchTime"].asString()); - if(!schedulerTriggerNode["LaunchExpirationTime"].isNull()) - ruleListObject.schedulerTrigger.launchExpirationTime = std::stoi(schedulerTriggerNode["LaunchExpirationTime"].asString()); - if(!schedulerTriggerNode["RecurrenceType"].isNull()) - ruleListObject.schedulerTrigger.recurrenceType = schedulerTriggerNode["RecurrenceType"].asString(); - if(!schedulerTriggerNode["RecurrenceValue"].isNull()) - ruleListObject.schedulerTrigger.recurrenceValue = schedulerTriggerNode["RecurrenceValue"].asString(); - if(!schedulerTriggerNode["RecurrenceEndTime"].isNull()) - ruleListObject.schedulerTrigger.recurrenceEndTime = std::stol(schedulerTriggerNode["RecurrenceEndTime"].asString()); - auto cloudWatchTriggerNode = value["CloudWatchTrigger"]; - if(!cloudWatchTriggerNode["MetricName"].isNull()) - ruleListObject.cloudWatchTrigger.metricName = cloudWatchTriggerNode["MetricName"].asString(); - if(!cloudWatchTriggerNode["Period"].isNull()) - ruleListObject.cloudWatchTrigger.period = std::stoi(cloudWatchTriggerNode["Period"].asString()); - if(!cloudWatchTriggerNode["Statistics"].isNull()) - ruleListObject.cloudWatchTrigger.statistics = cloudWatchTriggerNode["Statistics"].asString(); - if(!cloudWatchTriggerNode["ComparisonOperator"].isNull()) - ruleListObject.cloudWatchTrigger.comparisonOperator = cloudWatchTriggerNode["ComparisonOperator"].asString(); - if(!cloudWatchTriggerNode["Threshold"].isNull()) - ruleListObject.cloudWatchTrigger.threshold = cloudWatchTriggerNode["Threshold"].asString(); - if(!cloudWatchTriggerNode["EvaluationCount"].isNull()) - ruleListObject.cloudWatchTrigger.evaluationCount = cloudWatchTriggerNode["EvaluationCount"].asString(); - if(!cloudWatchTriggerNode["Unit"].isNull()) - ruleListObject.cloudWatchTrigger.unit = cloudWatchTriggerNode["Unit"].asString(); - if(!cloudWatchTriggerNode["MetricDisplayName"].isNull()) - ruleListObject.cloudWatchTrigger.metricDisplayName = cloudWatchTriggerNode["MetricDisplayName"].asString(); - ruleList_.push_back(ruleListObject); - } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["Total"].isNull()) - total_ = std::stoi(value["Total"].asString()); - -} - -std::vector ListScalingRuleResult::getRuleList()const -{ - return ruleList_; -} - -int ListScalingRuleResult::getPageSize()const -{ - return pageSize_; -} - -int ListScalingRuleResult::getPageNumber()const -{ - return pageNumber_; -} - -int ListScalingRuleResult::getTotal()const -{ - return total_; -} - diff --git a/emr/src/model/ListScalingTaskGroupRequest.cc b/emr/src/model/ListScalingTaskGroupRequest.cc deleted file mode 100644 index c2620dd35..000000000 --- a/emr/src/model/ListScalingTaskGroupRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListScalingTaskGroupRequest; - -ListScalingTaskGroupRequest::ListScalingTaskGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListScalingTaskGroup") -{} - -ListScalingTaskGroupRequest::~ListScalingTaskGroupRequest() -{} - -long ListScalingTaskGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListScalingTaskGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListScalingTaskGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ListScalingTaskGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListScalingTaskGroupRequest::getClusterId()const -{ - return clusterId_; -} - -void ListScalingTaskGroupRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListScalingTaskGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListScalingTaskGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListScalingTaskGroupResult.cc b/emr/src/model/ListScalingTaskGroupResult.cc deleted file mode 100644 index 8950ea55a..000000000 --- a/emr/src/model/ListScalingTaskGroupResult.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 -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListScalingTaskGroupResult::ListScalingTaskGroupResult() : - ServiceResult() -{} - -ListScalingTaskGroupResult::ListScalingTaskGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListScalingTaskGroupResult::~ListScalingTaskGroupResult() -{} - -void ListScalingTaskGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allGroupList = value["GroupList"]["Group"]; - for (auto value : allGroupList) - { - Group groupListObject; - if(!value["ScalingGroupId"].isNull()) - groupListObject.scalingGroupId = value["ScalingGroupId"].asString(); - if(!value["HostGroupId"].isNull()) - groupListObject.hostGroupId = value["HostGroupId"].asString(); - if(!value["MinSize"].isNull()) - groupListObject.minSize = std::stoi(value["MinSize"].asString()); - if(!value["MaxSize"].isNull()) - groupListObject.maxSize = std::stoi(value["MaxSize"].asString()); - if(!value["DefaultCooldown"].isNull()) - groupListObject.defaultCooldown = std::stoi(value["DefaultCooldown"].asString()); - if(!value["ActiveRuleCategory"].isNull()) - groupListObject.activeRuleCategory = value["ActiveRuleCategory"].asString(); - if(!value["Status"].isNull()) - groupListObject.status = value["Status"].asString(); - if(!value["PayType"].isNull()) - groupListObject.payType = value["PayType"].asString(); - if(!value["DataDiskCategory"].isNull()) - groupListObject.dataDiskCategory = value["DataDiskCategory"].asString(); - if(!value["DataDiskSize"].isNull()) - groupListObject.dataDiskSize = std::stoi(value["DataDiskSize"].asString()); - if(!value["DataDiskCount"].isNull()) - groupListObject.dataDiskCount = std::stoi(value["DataDiskCount"].asString()); - if(!value["SysDiskCategory"].isNull()) - groupListObject.sysDiskCategory = value["SysDiskCategory"].asString(); - if(!value["SysDiskSize"].isNull()) - groupListObject.sysDiskSize = std::stoi(value["SysDiskSize"].asString()); - if(!value["CpuCount"].isNull()) - groupListObject.cpuCount = std::stoi(value["CpuCount"].asString()); - if(!value["MemSize"].isNull()) - groupListObject.memSize = std::stoi(value["MemSize"].asString()); - if(!value["SpotStrategy"].isNull()) - groupListObject.spotStrategy = value["SpotStrategy"].asString(); - auto allSpotPriceLimits = value["SpotPriceLimits"]["SpotPriceLimit"]; - for (auto value : allSpotPriceLimits) - { - Group::SpotPriceLimit spotPriceLimitsObject; - if(!value["InstanceType"].isNull()) - spotPriceLimitsObject.instanceType = value["InstanceType"].asString(); - if(!value["PriceLimit"].isNull()) - spotPriceLimitsObject.priceLimit = std::stof(value["PriceLimit"].asString()); - groupListObject.spotPriceLimits.push_back(spotPriceLimitsObject); - } - auto allScalingRuleList = value["ScalingRuleList"]["ScalingRule"]; - for (auto value : allScalingRuleList) - { - Group::ScalingRule scalingRuleListObject; - if(!value["Id"].isNull()) - scalingRuleListObject.id = value["Id"].asString(); - if(!value["RuleCategory"].isNull()) - scalingRuleListObject.ruleCategory = value["RuleCategory"].asString(); - if(!value["RuleName"].isNull()) - scalingRuleListObject.ruleName = value["RuleName"].asString(); - if(!value["AdjustmentType"].isNull()) - scalingRuleListObject.adjustmentType = value["AdjustmentType"].asString(); - if(!value["AdjustmentValue"].isNull()) - scalingRuleListObject.adjustmentValue = std::stoi(value["AdjustmentValue"].asString()); - if(!value["Cooldown"].isNull()) - scalingRuleListObject.cooldown = std::stoi(value["Cooldown"].asString()); - if(!value["Status"].isNull()) - scalingRuleListObject.status = value["Status"].asString(); - if(!value["LaunchTime"].isNull()) - scalingRuleListObject.launchTime = value["LaunchTime"].asString(); - if(!value["LaunchExpirationTime"].isNull()) - scalingRuleListObject.launchExpirationTime = std::stoi(value["LaunchExpirationTime"].asString()); - if(!value["RecurrenceType"].isNull()) - scalingRuleListObject.recurrenceType = value["RecurrenceType"].asString(); - if(!value["RecurrenceValue"].isNull()) - scalingRuleListObject.recurrenceValue = value["RecurrenceValue"].asString(); - if(!value["RecurrenceEndTime"].isNull()) - scalingRuleListObject.recurrenceEndTime = value["RecurrenceEndTime"].asString(); - auto schedulerTriggerNode = value["SchedulerTrigger"]; - if(!schedulerTriggerNode["LaunchTime"].isNull()) - scalingRuleListObject.schedulerTrigger.launchTime = std::stol(schedulerTriggerNode["LaunchTime"].asString()); - if(!schedulerTriggerNode["LaunchExpirationTime"].isNull()) - scalingRuleListObject.schedulerTrigger.launchExpirationTime = std::stoi(schedulerTriggerNode["LaunchExpirationTime"].asString()); - if(!schedulerTriggerNode["RecurrenceType"].isNull()) - scalingRuleListObject.schedulerTrigger.recurrenceType = schedulerTriggerNode["RecurrenceType"].asString(); - if(!schedulerTriggerNode["RecurrenceValue"].isNull()) - scalingRuleListObject.schedulerTrigger.recurrenceValue = schedulerTriggerNode["RecurrenceValue"].asString(); - if(!schedulerTriggerNode["RecurrenceEndTime"].isNull()) - scalingRuleListObject.schedulerTrigger.recurrenceEndTime = std::stol(schedulerTriggerNode["RecurrenceEndTime"].asString()); - auto cloudWatchTriggerNode = value["CloudWatchTrigger"]; - if(!cloudWatchTriggerNode["MetricName"].isNull()) - scalingRuleListObject.cloudWatchTrigger.metricName = cloudWatchTriggerNode["MetricName"].asString(); - if(!cloudWatchTriggerNode["Period"].isNull()) - scalingRuleListObject.cloudWatchTrigger.period = std::stoi(cloudWatchTriggerNode["Period"].asString()); - if(!cloudWatchTriggerNode["Statistics"].isNull()) - scalingRuleListObject.cloudWatchTrigger.statistics = cloudWatchTriggerNode["Statistics"].asString(); - if(!cloudWatchTriggerNode["ComparisonOperator"].isNull()) - scalingRuleListObject.cloudWatchTrigger.comparisonOperator = cloudWatchTriggerNode["ComparisonOperator"].asString(); - if(!cloudWatchTriggerNode["Threshold"].isNull()) - scalingRuleListObject.cloudWatchTrigger.threshold = cloudWatchTriggerNode["Threshold"].asString(); - if(!cloudWatchTriggerNode["EvaluationCount"].isNull()) - scalingRuleListObject.cloudWatchTrigger.evaluationCount = cloudWatchTriggerNode["EvaluationCount"].asString(); - if(!cloudWatchTriggerNode["Unit"].isNull()) - scalingRuleListObject.cloudWatchTrigger.unit = cloudWatchTriggerNode["Unit"].asString(); - if(!cloudWatchTriggerNode["MetricDisplayName"].isNull()) - scalingRuleListObject.cloudWatchTrigger.metricDisplayName = cloudWatchTriggerNode["MetricDisplayName"].asString(); - groupListObject.scalingRuleList.push_back(scalingRuleListObject); - } - auto scalingConfigNode = value["ScalingConfig"]; - if(!scalingConfigNode["PayType"].isNull()) - groupListObject.scalingConfig.payType = scalingConfigNode["PayType"].asString(); - if(!scalingConfigNode["DataDiskCategory"].isNull()) - groupListObject.scalingConfig.dataDiskCategory = scalingConfigNode["DataDiskCategory"].asString(); - if(!scalingConfigNode["DataDiskSize"].isNull()) - groupListObject.scalingConfig.dataDiskSize = std::stoi(scalingConfigNode["DataDiskSize"].asString()); - if(!scalingConfigNode["DataDiskCount"].isNull()) - groupListObject.scalingConfig.dataDiskCount = std::stoi(scalingConfigNode["DataDiskCount"].asString()); - if(!scalingConfigNode["SysDiskCategory"].isNull()) - groupListObject.scalingConfig.sysDiskCategory = scalingConfigNode["SysDiskCategory"].asString(); - if(!scalingConfigNode["SysDiskSize"].isNull()) - groupListObject.scalingConfig.sysDiskSize = std::stoi(scalingConfigNode["SysDiskSize"].asString()); - if(!scalingConfigNode["CpuCount"].isNull()) - groupListObject.scalingConfig.cpuCount = std::stoi(scalingConfigNode["CpuCount"].asString()); - if(!scalingConfigNode["MemSize"].isNull()) - groupListObject.scalingConfig.memSize = std::stoi(scalingConfigNode["MemSize"].asString()); - if(!scalingConfigNode["SpotStrategy"].isNull()) - groupListObject.scalingConfig.spotStrategy = scalingConfigNode["SpotStrategy"].asString(); - auto allSpotPriceLimits2 = value["SpotPriceLimits"]["SpotPriceLimit"]; - for (auto value : allSpotPriceLimits2) - { - Group::ScalingConfig::SpotPriceLimit3 spotPriceLimit3Object; - if(!value["InstanceType"].isNull()) - spotPriceLimit3Object.instanceType = value["InstanceType"].asString(); - if(!value["PriceLimit"].isNull()) - spotPriceLimit3Object.priceLimit = std::stof(value["PriceLimit"].asString()); - groupListObject.scalingConfig.spotPriceLimits2.push_back(spotPriceLimit3Object); - } - auto allInstanceTypeList1 = scalingConfigNode["InstanceTypeList"]["InstanceType"]; - for (auto value : allInstanceTypeList1) - groupListObject.scalingConfig.instanceTypeList1.push_back(value.asString()); - auto allInstanceTypeList = value["InstanceTypeList"]["InstanceType"]; - for (auto value : allInstanceTypeList) - groupListObject.instanceTypeList.push_back(value.asString()); - groupList_.push_back(groupListObject); - } - -} - -std::vector ListScalingTaskGroupResult::getGroupList()const -{ - return groupList_; -} - diff --git a/emr/src/model/ListSecurityGroupRequest.cc b/emr/src/model/ListSecurityGroupRequest.cc new file mode 100644 index 000000000..bb8b8f3e8 --- /dev/null +++ b/emr/src/model/ListSecurityGroupRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::ListSecurityGroupRequest; + +ListSecurityGroupRequest::ListSecurityGroupRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListSecurityGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +ListSecurityGroupRequest::~ListSecurityGroupRequest() +{} + +std::string ListSecurityGroupRequest::getDepositType()const +{ + return depositType_; +} + +void ListSecurityGroupRequest::setDepositType(const std::string& depositType) +{ + depositType_ = depositType; + setParameter("DepositType", depositType); +} + +std::string ListSecurityGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListSecurityGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListSecurityGroupRequest::getProductType()const +{ + return productType_; +} + +void ListSecurityGroupRequest::setProductType(const std::string& productType) +{ + productType_ = productType; + setParameter("ProductType", productType); +} + +std::string ListSecurityGroupRequest::getRegionId()const +{ + return regionId_; +} + +void ListSecurityGroupRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ListSecurityGroupRequest::getNetType()const +{ + return netType_; +} + +void ListSecurityGroupRequest::setNetType(const std::string& netType) +{ + netType_ = netType; + setParameter("NetType", netType); +} + +std::string ListSecurityGroupRequest::getVpcId()const +{ + return vpcId_; +} + +void ListSecurityGroupRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + diff --git a/emr/src/model/ListSecurityGroupResult.cc b/emr/src/model/ListSecurityGroupResult.cc new file mode 100644 index 000000000..98c093b6e --- /dev/null +++ b/emr/src/model/ListSecurityGroupResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +ListSecurityGroupResult::ListSecurityGroupResult() : + ServiceResult() +{} + +ListSecurityGroupResult::ListSecurityGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSecurityGroupResult::~ListSecurityGroupResult() +{} + +void ListSecurityGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSecurityGroupListNode = value["SecurityGroupList"]["SecurityGroup"]; + for (auto valueSecurityGroupListSecurityGroup : allSecurityGroupListNode) + { + SecurityGroup securityGroupListObject; + if(!valueSecurityGroupListSecurityGroup["SecurityGroupId"].isNull()) + securityGroupListObject.securityGroupId = valueSecurityGroupListSecurityGroup["SecurityGroupId"].asString(); + if(!valueSecurityGroupListSecurityGroup["Description"].isNull()) + securityGroupListObject.description = valueSecurityGroupListSecurityGroup["Description"].asString(); + if(!valueSecurityGroupListSecurityGroup["SecurityGroupName"].isNull()) + securityGroupListObject.securityGroupName = valueSecurityGroupListSecurityGroup["SecurityGroupName"].asString(); + if(!valueSecurityGroupListSecurityGroup["VpcId"].isNull()) + securityGroupListObject.vpcId = valueSecurityGroupListSecurityGroup["VpcId"].asString(); + if(!valueSecurityGroupListSecurityGroup["CreationTime"].isNull()) + securityGroupListObject.creationTime = valueSecurityGroupListSecurityGroup["CreationTime"].asString(); + if(!valueSecurityGroupListSecurityGroup["SecurityGroupType"].isNull()) + securityGroupListObject.securityGroupType = valueSecurityGroupListSecurityGroup["SecurityGroupType"].asString(); + if(!valueSecurityGroupListSecurityGroup["AvailableInstanceAmount"].isNull()) + securityGroupListObject.availableInstanceAmount = std::stoi(valueSecurityGroupListSecurityGroup["AvailableInstanceAmount"].asString()); + if(!valueSecurityGroupListSecurityGroup["EcsCount"].isNull()) + securityGroupListObject.ecsCount = std::stoi(valueSecurityGroupListSecurityGroup["EcsCount"].asString()); + securityGroupList_.push_back(securityGroupListObject); + } + +} + +std::vector ListSecurityGroupResult::getSecurityGroupList()const +{ + return securityGroupList_; +} + diff --git a/emr/src/model/ListServiceLogRequest.cc b/emr/src/model/ListServiceLogRequest.cc deleted file mode 100644 index 9d269c755..000000000 --- a/emr/src/model/ListServiceLogRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ListServiceLogRequest; - -ListServiceLogRequest::ListServiceLogRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListServiceLog") -{} - -ListServiceLogRequest::~ListServiceLogRequest() -{} - -long ListServiceLogRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListServiceLogRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListServiceLogRequest::getHostName()const -{ - return hostName_; -} - -void ListServiceLogRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setCoreParameter("HostName", hostName); -} - -int ListServiceLogRequest::getMaxKeys()const -{ - return maxKeys_; -} - -void ListServiceLogRequest::setMaxKeys(int maxKeys) -{ - maxKeys_ = maxKeys; - setCoreParameter("MaxKeys", std::to_string(maxKeys)); -} - -std::string ListServiceLogRequest::getLogstoreName()const -{ - return logstoreName_; -} - -void ListServiceLogRequest::setLogstoreName(const std::string& logstoreName) -{ - logstoreName_ = logstoreName; - setCoreParameter("LogstoreName", logstoreName); -} - -std::string ListServiceLogRequest::getRegionId()const -{ - return regionId_; -} - -void ListServiceLogRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListServiceLogRequest::getMarker()const -{ - return marker_; -} - -void ListServiceLogRequest::setMarker(const std::string& marker) -{ - marker_ = marker; - setCoreParameter("Marker", marker); -} - -std::string ListServiceLogRequest::getClusterId()const -{ - return clusterId_; -} - -void ListServiceLogRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListServiceLogRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListServiceLogRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListServiceLogResult.cc b/emr/src/model/ListServiceLogResult.cc deleted file mode 100644 index 9a03bc6d5..000000000 --- a/emr/src/model/ListServiceLogResult.cc +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListServiceLogResult::ListServiceLogResult() : - ServiceResult() -{} - -ListServiceLogResult::ListServiceLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListServiceLogResult::~ListServiceLogResult() -{} - -void ListServiceLogResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allLogFileList = value["LogFileList"]["LogFile"]; - for (auto value : allLogFileList) - { - LogFile logFileListObject; - if(!value["FileName"].isNull()) - logFileListObject.fileName = value["FileName"].asString(); - if(!value["Size"].isNull()) - logFileListObject.size = std::stol(value["Size"].asString()); - if(!value["HostName"].isNull()) - logFileListObject.hostName = value["HostName"].asString(); - if(!value["LastModified"].isNull()) - logFileListObject.lastModified = std::stol(value["LastModified"].asString()); - logFileList_.push_back(logFileListObject); - } - -} - -std::vector ListServiceLogResult::getLogFileList()const -{ - return logFileList_; -} - diff --git a/emr/src/model/ListSlsLogstoreInfoRequest.cc b/emr/src/model/ListSlsLogstoreInfoRequest.cc deleted file mode 100644 index 0c233b05a..000000000 --- a/emr/src/model/ListSlsLogstoreInfoRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListSlsLogstoreInfoRequest; - -ListSlsLogstoreInfoRequest::ListSlsLogstoreInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListSlsLogstoreInfo") -{} - -ListSlsLogstoreInfoRequest::~ListSlsLogstoreInfoRequest() -{} - -long ListSlsLogstoreInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListSlsLogstoreInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListSlsLogstoreInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ListSlsLogstoreInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListSlsLogstoreInfoRequest::getComponentName()const -{ - return componentName_; -} - -void ListSlsLogstoreInfoRequest::setComponentName(const std::string& componentName) -{ - componentName_ = componentName; - setCoreParameter("ComponentName", componentName); -} - -std::string ListSlsLogstoreInfoRequest::getServiceName()const -{ - return serviceName_; -} - -void ListSlsLogstoreInfoRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - -std::string ListSlsLogstoreInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void ListSlsLogstoreInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ListSlsLogstoreInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListSlsLogstoreInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListSlsLogstoreInfoResult.cc b/emr/src/model/ListSlsLogstoreInfoResult.cc deleted file mode 100644 index cf28140a4..000000000 --- a/emr/src/model/ListSlsLogstoreInfoResult.cc +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListSlsLogstoreInfoResult::ListSlsLogstoreInfoResult() : - ServiceResult() -{} - -ListSlsLogstoreInfoResult::ListSlsLogstoreInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListSlsLogstoreInfoResult::~ListSlsLogstoreInfoResult() -{} - -void ListSlsLogstoreInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allSlsLogstoreInfoList = value["SlsLogstoreInfoList"]["SlsLogstoreInfo"]; - for (auto value : allSlsLogstoreInfoList) - { - SlsLogstoreInfo slsLogstoreInfoListObject; - if(!value["Id"].isNull()) - slsLogstoreInfoListObject.id = std::stol(value["Id"].asString()); - if(!value["ServiceName"].isNull()) - slsLogstoreInfoListObject.serviceName = value["ServiceName"].asString(); - if(!value["ComponentName"].isNull()) - slsLogstoreInfoListObject.componentName = value["ComponentName"].asString(); - if(!value["LogstoreName"].isNull()) - slsLogstoreInfoListObject.logstoreName = value["LogstoreName"].asString(); - if(!value["LogType"].isNull()) - slsLogstoreInfoListObject.logType = value["LogType"].asString(); - slsLogstoreInfoList_.push_back(slsLogstoreInfoListObject); - } - -} - -std::vector ListSlsLogstoreInfoResult::getSlsLogstoreInfoList()const -{ - return slsLogstoreInfoList_; -} - diff --git a/emr/src/model/ListStackServiceRequest.cc b/emr/src/model/ListStackServiceRequest.cc deleted file mode 100644 index ecc0b8d26..000000000 --- a/emr/src/model/ListStackServiceRequest.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 - -using AlibabaCloud::Emr::Model::ListStackServiceRequest; - -ListStackServiceRequest::ListStackServiceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListStackService") -{} - -ListStackServiceRequest::~ListStackServiceRequest() -{} - -long ListStackServiceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListStackServiceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListStackServiceRequest::getRegionId()const -{ - return regionId_; -} - -void ListStackServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListStackServiceRequest::getStackName()const -{ - return stackName_; -} - -void ListStackServiceRequest::setStackName(const std::string& stackName) -{ - stackName_ = stackName; - setCoreParameter("StackName", stackName); -} - -std::string ListStackServiceRequest::getStackVersion()const -{ - return stackVersion_; -} - -void ListStackServiceRequest::setStackVersion(const std::string& stackVersion) -{ - stackVersion_ = stackVersion; - setCoreParameter("StackVersion", stackVersion); -} - -std::string ListStackServiceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListStackServiceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListStackServiceResult.cc b/emr/src/model/ListStackServiceResult.cc deleted file mode 100644 index d663d18c7..000000000 --- a/emr/src/model/ListStackServiceResult.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListStackServiceResult::ListStackServiceResult() : - ServiceResult() -{} - -ListStackServiceResult::ListStackServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListStackServiceResult::~ListStackServiceResult() -{} - -void ListStackServiceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allServiceList = value["ServiceList"]["Service"]; - for (auto value : allServiceList) - { - Service serviceListObject; - if(!value["ServiceName"].isNull()) - serviceListObject.serviceName = value["ServiceName"].asString(); - if(!value["DisplayName"].isNull()) - serviceListObject.displayName = value["DisplayName"].asString(); - if(!value["Version"].isNull()) - serviceListObject.version = value["Version"].asString(); - if(!value["EcmVersion"].isNull()) - serviceListObject.ecmVersion = value["EcmVersion"].asString(); - if(!value["Comment"].isNull()) - serviceListObject.comment = value["Comment"].asString(); - auto allComponentList = value["ComponentList"]["Component"]; - for (auto value : allComponentList) - { - Service::Component componentListObject; - if(!value["ComponentName"].isNull()) - componentListObject.componentName = value["ComponentName"].asString(); - if(!value["ComponentDisplayName"].isNull()) - componentListObject.componentDisplayName = value["ComponentDisplayName"].asString(); - serviceListObject.componentList.push_back(componentListObject); - } - serviceList_.push_back(serviceListObject); - } - if(!value["StackName"].isNull()) - stackName_ = value["StackName"].asString(); - if(!value["StackVersion"].isNull()) - stackVersion_ = value["StackVersion"].asString(); - -} - -std::vector ListStackServiceResult::getServiceList()const -{ - return serviceList_; -} - -std::string ListStackServiceResult::getStackName()const -{ - return stackName_; -} - -std::string ListStackServiceResult::getStackVersion()const -{ - return stackVersion_; -} - diff --git a/emr/src/model/ListStreamingSqlQueryRequest.cc b/emr/src/model/ListStreamingSqlQueryRequest.cc deleted file mode 100644 index 590abfc06..000000000 --- a/emr/src/model/ListStreamingSqlQueryRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListStreamingSqlQueryRequest; - -ListStreamingSqlQueryRequest::ListStreamingSqlQueryRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListStreamingSqlQuery") -{} - -ListStreamingSqlQueryRequest::~ListStreamingSqlQueryRequest() -{} - -long ListStreamingSqlQueryRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListStreamingSqlQueryRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListStreamingSqlQueryRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListStreamingSqlQueryRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListStreamingSqlQueryRequest::getInstanceId()const -{ - return instanceId_; -} - -void ListStreamingSqlQueryRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setCoreParameter("InstanceId", instanceId); -} - -std::string ListStreamingSqlQueryRequest::getRegionId()const -{ - return regionId_; -} - -void ListStreamingSqlQueryRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListSupportedServiceNameForAdminRequest.cc b/emr/src/model/ListSupportedServiceNameForAdminRequest.cc deleted file mode 100644 index 16d952dba..000000000 --- a/emr/src/model/ListSupportedServiceNameForAdminRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListSupportedServiceNameForAdminRequest; - -ListSupportedServiceNameForAdminRequest::ListSupportedServiceNameForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListSupportedServiceNameForAdmin") -{} - -ListSupportedServiceNameForAdminRequest::~ListSupportedServiceNameForAdminRequest() -{} - -long ListSupportedServiceNameForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListSupportedServiceNameForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListSupportedServiceNameForAdminRequest::getUserId()const -{ - return userId_; -} - -void ListSupportedServiceNameForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ListSupportedServiceNameForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListSupportedServiceNameForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListSupportedServiceNameForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ListSupportedServiceNameForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListSupportedServiceNameForAdminResult.cc b/emr/src/model/ListSupportedServiceNameForAdminResult.cc deleted file mode 100644 index 87c2807cc..000000000 --- a/emr/src/model/ListSupportedServiceNameForAdminResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListSupportedServiceNameForAdminResult::ListSupportedServiceNameForAdminResult() : - ServiceResult() -{} - -ListSupportedServiceNameForAdminResult::ListSupportedServiceNameForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListSupportedServiceNameForAdminResult::~ListSupportedServiceNameForAdminResult() -{} - -void ListSupportedServiceNameForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allSupportedServiceNameList = value["SupportedServiceNameList"]["SupportedServiceName"]; - for (const auto &item : allSupportedServiceNameList) - supportedServiceNameList_.push_back(item.asString()); - -} - -std::vector ListSupportedServiceNameForAdminResult::getSupportedServiceNameList()const -{ - return supportedServiceNameList_; -} - diff --git a/emr/src/model/ListSupportedServiceNameRequest.cc b/emr/src/model/ListSupportedServiceNameRequest.cc deleted file mode 100644 index b5eab81eb..000000000 --- a/emr/src/model/ListSupportedServiceNameRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::ListSupportedServiceNameRequest; - -ListSupportedServiceNameRequest::ListSupportedServiceNameRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListSupportedServiceName") -{} - -ListSupportedServiceNameRequest::~ListSupportedServiceNameRequest() -{} - -long ListSupportedServiceNameRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListSupportedServiceNameRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListSupportedServiceNameRequest::getRegionId()const -{ - return regionId_; -} - -void ListSupportedServiceNameRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListSupportedServiceNameRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListSupportedServiceNameRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListSupportedServiceNameResult.cc b/emr/src/model/ListSupportedServiceNameResult.cc deleted file mode 100644 index f1f746283..000000000 --- a/emr/src/model/ListSupportedServiceNameResult.cc +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ListSupportedServiceNameResult::ListSupportedServiceNameResult() : - ServiceResult() -{} - -ListSupportedServiceNameResult::ListSupportedServiceNameResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListSupportedServiceNameResult::~ListSupportedServiceNameResult() -{} - -void ListSupportedServiceNameResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allSupportedServiceNameList = value["SupportedServiceNameList"]["SupportedServiceName"]; - for (const auto &item : allSupportedServiceNameList) - supportedServiceNameList_.push_back(item.asString()); - -} - -std::vector ListSupportedServiceNameResult::getSupportedServiceNameList()const -{ - return supportedServiceNameList_; -} - diff --git a/emr/src/model/ListUserGroupsRequest.cc b/emr/src/model/ListUserGroupsRequest.cc deleted file mode 100644 index 028e67cb4..000000000 --- a/emr/src/model/ListUserGroupsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListUserGroupsRequest; - -ListUserGroupsRequest::ListUserGroupsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListUserGroups") -{} - -ListUserGroupsRequest::~ListUserGroupsRequest() -{} - -long ListUserGroupsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListUserGroupsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListUserGroupsRequest::getFuzzyName()const -{ - return fuzzyName_; -} - -void ListUserGroupsRequest::setFuzzyName(const std::string& fuzzyName) -{ - fuzzyName_ = fuzzyName; - setCoreParameter("FuzzyName", fuzzyName); -} - -std::string ListUserGroupsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListUserGroupsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListUserGroupsRequest::getRegionId()const -{ - return regionId_; -} - -void ListUserGroupsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListUserGroupsResult.cc b/emr/src/model/ListUserGroupsResult.cc deleted file mode 100644 index b3008be47..000000000 --- a/emr/src/model/ListUserGroupsResult.cc +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListUserGroupsResult::ListUserGroupsResult() : - ServiceResult() -{} - -ListUserGroupsResult::ListUserGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListUserGroupsResult::~ListUserGroupsResult() -{} - -void ListUserGroupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["groupDTO"]; - for (auto valueDatagroupDTO : allDataNode) - { - GroupDTO dataObject; - if(!valueDatagroupDTO["Id"].isNull()) - dataObject.id = std::stol(valueDatagroupDTO["Id"].asString()); - if(!valueDatagroupDTO["Type"].isNull()) - dataObject.type = valueDatagroupDTO["Type"].asString(); - if(!valueDatagroupDTO["Name"].isNull()) - dataObject.name = valueDatagroupDTO["Name"].asString(); - if(!valueDatagroupDTO["GmtCreate"].isNull()) - dataObject.gmtCreate = valueDatagroupDTO["GmtCreate"].asString(); - auto allRoleDTOListNode = allDataNode["RoleDTOList"]["RoleDTO"]; - for (auto allDataNodeRoleDTOListRoleDTO : allRoleDTOListNode) - { - GroupDTO::RoleDTO roleDTOListObject; - if(!allDataNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(allDataNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allDataNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = allDataNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = allDataNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = allDataNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = allDataNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = allDataNodeRoleDTOListRoleDTO["Description"].asString(); - dataObject.roleDTOList.push_back(roleDTOListObject); - } - data_.push_back(dataObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - -} - -bool ListUserGroupsResult::getPaging()const -{ - return paging_; -} - -std::vector ListUserGroupsResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ListUserStatisticsRequest.cc b/emr/src/model/ListUserStatisticsRequest.cc deleted file mode 100644 index 50bb43a9a..000000000 --- a/emr/src/model/ListUserStatisticsRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListUserStatisticsRequest; - -ListUserStatisticsRequest::ListUserStatisticsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListUserStatistics") -{} - -ListUserStatisticsRequest::~ListUserStatisticsRequest() -{} - -long ListUserStatisticsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListUserStatisticsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListUserStatisticsRequest::getRegionId()const -{ - return regionId_; -} - -void ListUserStatisticsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ListUserStatisticsRequest::getOrderMode()const -{ - return orderMode_; -} - -void ListUserStatisticsRequest::setOrderMode(const std::string& orderMode) -{ - orderMode_ = orderMode; - setCoreParameter("OrderMode", orderMode); -} - -int ListUserStatisticsRequest::getPageSize()const -{ - return pageSize_; -} - -void ListUserStatisticsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string ListUserStatisticsRequest::getOrderFieldName()const -{ - return orderFieldName_; -} - -void ListUserStatisticsRequest::setOrderFieldName(const std::string& orderFieldName) -{ - orderFieldName_ = orderFieldName; - setCoreParameter("OrderFieldName", orderFieldName); -} - -int ListUserStatisticsRequest::getCurrentSize()const -{ - return currentSize_; -} - -void ListUserStatisticsRequest::setCurrentSize(int currentSize) -{ - currentSize_ = currentSize; - setCoreParameter("CurrentSize", std::to_string(currentSize)); -} - -std::string ListUserStatisticsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListUserStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ListUserStatisticsResult.cc b/emr/src/model/ListUserStatisticsResult.cc deleted file mode 100644 index 1c78417e9..000000000 --- a/emr/src/model/ListUserStatisticsResult.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; - -ListUserStatisticsResult::ListUserStatisticsResult() : - ServiceResult() -{} - -ListUserStatisticsResult::ListUserStatisticsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListUserStatisticsResult::~ListUserStatisticsResult() -{} - -void ListUserStatisticsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allUserStatisticsList = value["UserStatisticsList"]["UserStatistics"]; - for (auto value : allUserStatisticsList) - { - UserStatistics userStatisticsListObject; - if(!value["Id"].isNull()) - userStatisticsListObject.id = std::stol(value["Id"].asString()); - if(!value["UserId"].isNull()) - userStatisticsListObject.userId = value["UserId"].asString(); - if(!value["JobNum"].isNull()) - userStatisticsListObject.jobNum = std::stoi(value["JobNum"].asString()); - if(!value["ExecutePlanNum"].isNull()) - userStatisticsListObject.executePlanNum = std::stoi(value["ExecutePlanNum"].asString()); - if(!value["InteractionJobNum"].isNull()) - userStatisticsListObject.interactionJobNum = std::stoi(value["InteractionJobNum"].asString()); - if(!value["JobMigratedNum"].isNull()) - userStatisticsListObject.jobMigratedNum = std::stoi(value["JobMigratedNum"].asString()); - if(!value["ExecutePlanMigratedNum"].isNull()) - userStatisticsListObject.executePlanMigratedNum = std::stoi(value["ExecutePlanMigratedNum"].asString()); - if(!value["InteractionJobMigratedNum"].isNull()) - userStatisticsListObject.interactionJobMigratedNum = std::stoi(value["InteractionJobMigratedNum"].asString()); - userStatisticsList_.push_back(userStatisticsListObject); - } - if(!value["Total"].isNull()) - total_ = std::stol(value["Total"].asString()); - -} - -long ListUserStatisticsResult::getTotal()const -{ - return total_; -} - -std::vector ListUserStatisticsResult::getUserStatisticsList()const -{ - return userStatisticsList_; -} - diff --git a/emr/src/model/ListUsersByConditionRequest.cc b/emr/src/model/ListUsersByConditionRequest.cc deleted file mode 100644 index ab5551e1b..000000000 --- a/emr/src/model/ListUsersByConditionRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ListUsersByConditionRequest; - -ListUsersByConditionRequest::ListUsersByConditionRequest() : - RpcServiceRequest("emr", "2016-04-08", "ListUsersByCondition") -{} - -ListUsersByConditionRequest::~ListUsersByConditionRequest() -{} - -long ListUsersByConditionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ListUsersByConditionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ListUsersByConditionRequest::getSearchKey()const -{ - return searchKey_; -} - -void ListUsersByConditionRequest::setSearchKey(const std::string& searchKey) -{ - searchKey_ = searchKey; - setCoreParameter("SearchKey", searchKey); -} - -std::string ListUsersByConditionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ListUsersByConditionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ListUsersByConditionRequest::getRegionId()const -{ - return regionId_; -} - -void ListUsersByConditionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ListUsersByConditionResult.cc b/emr/src/model/ListUsersByConditionResult.cc deleted file mode 100644 index 9a7691c22..000000000 --- a/emr/src/model/ListUsersByConditionResult.cc +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ListUsersByConditionResult::ListUsersByConditionResult() : - ServiceResult() -{} - -ListUsersByConditionResult::ListUsersByConditionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListUsersByConditionResult::~ListUsersByConditionResult() -{} - -void ListUsersByConditionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["userDTO"]; - for (auto valueDatauserDTO : allDataNode) - { - UserDTO dataObject; - if(!valueDatauserDTO["AliyunUserId"].isNull()) - dataObject.aliyunUserId = valueDatauserDTO["AliyunUserId"].asString(); - if(!valueDatauserDTO["UserName"].isNull()) - dataObject.userName = valueDatauserDTO["UserName"].asString(); - if(!valueDatauserDTO["UserType"].isNull()) - dataObject.userType = valueDatauserDTO["UserType"].asString(); - if(!valueDatauserDTO["Status"].isNull()) - dataObject.status = valueDatauserDTO["Status"].asString(); - if(!valueDatauserDTO["IsSuperAdmin"].isNull()) - dataObject.isSuperAdmin = valueDatauserDTO["IsSuperAdmin"].asString(); - if(!valueDatauserDTO["Description"].isNull()) - dataObject.description = valueDatauserDTO["Description"].asString(); - if(!valueDatauserDTO["GmtCreate"].isNull()) - dataObject.gmtCreate = valueDatauserDTO["GmtCreate"].asString(); - if(!valueDatauserDTO["GmtModified"].isNull()) - dataObject.gmtModified = valueDatauserDTO["GmtModified"].asString(); - auto allRoleDTOListNode = allDataNode["RoleDTOList"]["RoleDTO"]; - for (auto allDataNodeRoleDTOListRoleDTO : allRoleDTOListNode) - { - UserDTO::RoleDTO roleDTOListObject; - if(!allDataNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(allDataNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allDataNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = allDataNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = allDataNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = allDataNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = allDataNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allDataNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = allDataNodeRoleDTOListRoleDTO["Description"].asString(); - dataObject.roleDTOList.push_back(roleDTOListObject); - } - auto allGroupDTOListNode = allDataNode["GroupDTOList"]["GroupDTO"]; - for (auto allDataNodeGroupDTOListGroupDTO : allGroupDTOListNode) - { - UserDTO::GroupDTO groupDTOListObject; - if(!allDataNodeGroupDTOListGroupDTO["Id"].isNull()) - groupDTOListObject.id = std::stol(allDataNodeGroupDTOListGroupDTO["Id"].asString()); - if(!allDataNodeGroupDTOListGroupDTO["Type"].isNull()) - groupDTOListObject.type = allDataNodeGroupDTOListGroupDTO["Type"].asString(); - if(!allDataNodeGroupDTOListGroupDTO["Name"].isNull()) - groupDTOListObject.name = allDataNodeGroupDTOListGroupDTO["Name"].asString(); - if(!allDataNodeGroupDTOListGroupDTO["GmtCreate"].isNull()) - groupDTOListObject.gmtCreate = allDataNodeGroupDTOListGroupDTO["GmtCreate"].asString(); - auto allRoleDTOList1Node = allGroupDTOListNode["RoleDTOList"]["RoleDTO"]; - for (auto allGroupDTOListNodeRoleDTOListRoleDTO : allRoleDTOList1Node) - { - UserDTO::GroupDTO::RoleDTO2 roleDTOList1Object; - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOList1Object.id = std::stol(allGroupDTOListNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOList1Object.name = allGroupDTOListNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOList1Object.resourceType = allGroupDTOListNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOList1Object.gmtCreate = allGroupDTOListNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOList1Object.gmtModified = allGroupDTOListNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOList1Object.description = allGroupDTOListNodeRoleDTOListRoleDTO["Description"].asString(); - groupDTOListObject.roleDTOList1.push_back(roleDTOList1Object); - } - dataObject.groupDTOList.push_back(groupDTOListObject); - } - auto allAccountDTOListNode = allDataNode["AccountDTOList"]["AccountDTO"]; - for (auto allDataNodeAccountDTOListAccountDTO : allAccountDTOListNode) - { - UserDTO::AccountDTO accountDTOListObject; - if(!allDataNodeAccountDTOListAccountDTO["AliyunUserId"].isNull()) - accountDTOListObject.aliyunUserId = allDataNodeAccountDTOListAccountDTO["AliyunUserId"].asString(); - if(!allDataNodeAccountDTOListAccountDTO["AccountType"].isNull()) - accountDTOListObject.accountType = allDataNodeAccountDTOListAccountDTO["AccountType"].asString(); - if(!allDataNodeAccountDTOListAccountDTO["AuthType"].isNull()) - accountDTOListObject.authType = allDataNodeAccountDTOListAccountDTO["AuthType"].asString(); - dataObject.accountDTOList.push_back(accountDTOListObject); - } - data_.push_back(dataObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - -} - -bool ListUsersByConditionResult::getPaging()const -{ - return paging_; -} - -std::vector ListUsersByConditionResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ListUsersResult.cc b/emr/src/model/ListUsersResult.cc index 34114d23c..a9c000d3f 100644 --- a/emr/src/model/ListUsersResult.cc +++ b/emr/src/model/ListUsersResult.cc @@ -55,6 +55,8 @@ void ListUsersResult::parse(const std::string &payload) userListObject.linuxStatus = valueUserListUser["LinuxStatus"].asString(); if(!valueUserListUser["KerberosStatus"].isNull()) userListObject.kerberosStatus = valueUserListUser["KerberosStatus"].asString(); + if(!valueUserListUser["K8sStatus"].isNull()) + userListObject.k8sStatus = valueUserListUser["K8sStatus"].asString(); userList_.push_back(userListObject); } diff --git a/emr/src/model/ListVswitchRequest.cc b/emr/src/model/ListVswitchRequest.cc new file mode 100644 index 000000000..04a4ed8ca --- /dev/null +++ b/emr/src/model/ListVswitchRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::ListVswitchRequest; + +ListVswitchRequest::ListVswitchRequest() : + RpcServiceRequest("emr", "2016-04-08", "ListVswitch") +{ + setMethod(HttpRequest::Method::Post); +} + +ListVswitchRequest::~ListVswitchRequest() +{} + +std::string ListVswitchRequest::getDepositType()const +{ + return depositType_; +} + +void ListVswitchRequest::setDepositType(const std::string& depositType) +{ + depositType_ = depositType; + setParameter("DepositType", depositType); +} + +std::string ListVswitchRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ListVswitchRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ListVswitchRequest::getProductType()const +{ + return productType_; +} + +void ListVswitchRequest::setProductType(const std::string& productType) +{ + productType_ = productType; + setParameter("ProductType", productType); +} + +std::string ListVswitchRequest::getRegionId()const +{ + return regionId_; +} + +void ListVswitchRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ListVswitchRequest::getVpcId()const +{ + return vpcId_; +} + +void ListVswitchRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + +std::string ListVswitchRequest::getZoneId()const +{ + return zoneId_; +} + +void ListVswitchRequest::setZoneId(const std::string& zoneId) +{ + zoneId_ = zoneId; + setParameter("ZoneId", zoneId); +} + diff --git a/emr/src/model/ListVswitchResult.cc b/emr/src/model/ListVswitchResult.cc new file mode 100644 index 000000000..59bdc1fae --- /dev/null +++ b/emr/src/model/ListVswitchResult.cc @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +ListVswitchResult::ListVswitchResult() : + ServiceResult() +{} + +ListVswitchResult::ListVswitchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVswitchResult::~ListVswitchResult() +{} + +void ListVswitchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVswitchListNode = value["VswitchList"]["Vswitch"]; + for (auto valueVswitchListVswitch : allVswitchListNode) + { + Vswitch vswitchListObject; + if(!valueVswitchListVswitch["VSwitchId"].isNull()) + vswitchListObject.vSwitchId = valueVswitchListVswitch["VSwitchId"].asString(); + if(!valueVswitchListVswitch["VpcId"].isNull()) + vswitchListObject.vpcId = valueVswitchListVswitch["VpcId"].asString(); + if(!valueVswitchListVswitch["Status"].isNull()) + vswitchListObject.status = valueVswitchListVswitch["Status"].asString(); + if(!valueVswitchListVswitch["CidrBlock"].isNull()) + vswitchListObject.cidrBlock = valueVswitchListVswitch["CidrBlock"].asString(); + if(!valueVswitchListVswitch["ZoneId"].isNull()) + vswitchListObject.zoneId = valueVswitchListVswitch["ZoneId"].asString(); + if(!valueVswitchListVswitch["AvailableIpAddressCount"].isNull()) + vswitchListObject.availableIpAddressCount = valueVswitchListVswitch["AvailableIpAddressCount"].asString(); + if(!valueVswitchListVswitch["Description"].isNull()) + vswitchListObject.description = valueVswitchListVswitch["Description"].asString(); + if(!valueVswitchListVswitch["VSwitchName"].isNull()) + vswitchListObject.vSwitchName = valueVswitchListVswitch["VSwitchName"].asString(); + if(!valueVswitchListVswitch["CreationTime"].isNull()) + vswitchListObject.creationTime = valueVswitchListVswitch["CreationTime"].asString(); + if(!valueVswitchListVswitch["IsDefault"].isNull()) + vswitchListObject.isDefault = valueVswitchListVswitch["IsDefault"].asString() == "true"; + if(!valueVswitchListVswitch["ResourceGroupId"].isNull()) + vswitchListObject.resourceGroupId = valueVswitchListVswitch["ResourceGroupId"].asString(); + vswitchList_.push_back(vswitchListObject); + } + +} + +std::vector ListVswitchResult::getVswitchList()const +{ + return vswitchList_; +} + diff --git a/emr/src/model/MetastoreCreateDataResourceRequest.cc b/emr/src/model/MetastoreCreateDataResourceRequest.cc deleted file mode 100644 index 8df4ec656..000000000 --- a/emr/src/model/MetastoreCreateDataResourceRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreCreateDataResourceRequest; - -MetastoreCreateDataResourceRequest::MetastoreCreateDataResourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreCreateDataResource") -{} - -MetastoreCreateDataResourceRequest::~MetastoreCreateDataResourceRequest() -{} - -long MetastoreCreateDataResourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreCreateDataResourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool MetastoreCreateDataResourceRequest::getDefault()const -{ - return default_; -} - -void MetastoreCreateDataResourceRequest::setDefault(bool default) -{ - default_ = default; - setCoreParameter("Default", default ? "true" : "false"); -} - -std::string MetastoreCreateDataResourceRequest::getAccessType()const -{ - return accessType_; -} - -void MetastoreCreateDataResourceRequest::setAccessType(const std::string& accessType) -{ - accessType_ = accessType; - setCoreParameter("AccessType", accessType); -} - -std::string MetastoreCreateDataResourceRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreCreateDataResourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreCreateDataResourceRequest::getName()const -{ - return name_; -} - -void MetastoreCreateDataResourceRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string MetastoreCreateDataResourceRequest::getDescription()const -{ - return description_; -} - -void MetastoreCreateDataResourceRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string MetastoreCreateDataResourceRequest::getMetaType()const -{ - return metaType_; -} - -void MetastoreCreateDataResourceRequest::setMetaType(const std::string& metaType) -{ - metaType_ = metaType; - setCoreParameter("MetaType", metaType); -} - -std::string MetastoreCreateDataResourceRequest::getClusterId()const -{ - return clusterId_; -} - -void MetastoreCreateDataResourceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string MetastoreCreateDataResourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreCreateDataResourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreCreateDataResourceResult.cc b/emr/src/model/MetastoreCreateDataResourceResult.cc deleted file mode 100644 index 62197d5cb..000000000 --- a/emr/src/model/MetastoreCreateDataResourceResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreCreateDataResourceResult::MetastoreCreateDataResourceResult() : - ServiceResult() -{} - -MetastoreCreateDataResourceResult::MetastoreCreateDataResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreCreateDataResourceResult::~MetastoreCreateDataResourceResult() -{} - -void MetastoreCreateDataResourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - -} - -std::string MetastoreCreateDataResourceResult::getId()const -{ - return id_; -} - diff --git a/emr/src/model/MetastoreCreateDatabaseRequest.cc b/emr/src/model/MetastoreCreateDatabaseRequest.cc deleted file mode 100644 index c49d2af88..000000000 --- a/emr/src/model/MetastoreCreateDatabaseRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreCreateDatabaseRequest; - -MetastoreCreateDatabaseRequest::MetastoreCreateDatabaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreCreateDatabase") -{} - -MetastoreCreateDatabaseRequest::~MetastoreCreateDatabaseRequest() -{} - -std::string MetastoreCreateDatabaseRequest::getDbSource()const -{ - return dbSource_; -} - -void MetastoreCreateDatabaseRequest::setDbSource(const std::string& dbSource) -{ - dbSource_ = dbSource; - setCoreParameter("DbSource", dbSource); -} - -long MetastoreCreateDatabaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreCreateDatabaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreCreateDatabaseRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreCreateDatabaseRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreCreateDatabaseRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreCreateDatabaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreCreateDatabaseRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void MetastoreCreateDatabaseRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string MetastoreCreateDatabaseRequest::getDescription()const -{ - return description_; -} - -void MetastoreCreateDatabaseRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string MetastoreCreateDatabaseRequest::getComment()const -{ - return comment_; -} - -void MetastoreCreateDatabaseRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setCoreParameter("Comment", comment); -} - -std::string MetastoreCreateDatabaseRequest::getLocationUri()const -{ - return locationUri_; -} - -void MetastoreCreateDatabaseRequest::setLocationUri(const std::string& locationUri) -{ - locationUri_ = locationUri; - setCoreParameter("LocationUri", locationUri); -} - -std::string MetastoreCreateDatabaseRequest::getClusterBizId()const -{ - return clusterBizId_; -} - -void MetastoreCreateDatabaseRequest::setClusterBizId(const std::string& clusterBizId) -{ - clusterBizId_ = clusterBizId; - setCoreParameter("ClusterBizId", clusterBizId); -} - -std::string MetastoreCreateDatabaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreCreateDatabaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreCreateDatabaseResult.cc b/emr/src/model/MetastoreCreateDatabaseResult.cc deleted file mode 100644 index 2ad1aecce..000000000 --- a/emr/src/model/MetastoreCreateDatabaseResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreCreateDatabaseResult::MetastoreCreateDatabaseResult() : - ServiceResult() -{} - -MetastoreCreateDatabaseResult::MetastoreCreateDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreCreateDatabaseResult::~MetastoreCreateDatabaseResult() -{} - -void MetastoreCreateDatabaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MetastoreCreateKafkaTopicRequest.cc b/emr/src/model/MetastoreCreateKafkaTopicRequest.cc deleted file mode 100644 index 0c52cef3c..000000000 --- a/emr/src/model/MetastoreCreateKafkaTopicRequest.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::MetastoreCreateKafkaTopicRequest; - -MetastoreCreateKafkaTopicRequest::MetastoreCreateKafkaTopicRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreCreateKafkaTopic") -{} - -MetastoreCreateKafkaTopicRequest::~MetastoreCreateKafkaTopicRequest() -{} - -long MetastoreCreateKafkaTopicRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreCreateKafkaTopicRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreCreateKafkaTopicRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreCreateKafkaTopicRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreCreateKafkaTopicRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void MetastoreCreateKafkaTopicRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string MetastoreCreateKafkaTopicRequest::getTopicName()const -{ - return topicName_; -} - -void MetastoreCreateKafkaTopicRequest::setTopicName(const std::string& topicName) -{ - topicName_ = topicName; - setCoreParameter("TopicName", topicName); -} - -std::vector MetastoreCreateKafkaTopicRequest::getAdvancedConfig()const -{ - return advancedConfig_; -} - -void MetastoreCreateKafkaTopicRequest::setAdvancedConfig(const std::vector& advancedConfig) -{ - advancedConfig_ = advancedConfig; - int i = 0; - for(int i = 0; i!= advancedConfig.size(); i++) { - auto obj = advancedConfig.at(i); - std::string str ="AdvancedConfig."+ std::to_string(i); - setCoreParameter(str + ".Value", obj.value); - setCoreParameter(str + ".Key", obj.key); - } -} - -int MetastoreCreateKafkaTopicRequest::getNumPartitions()const -{ - return numPartitions_; -} - -void MetastoreCreateKafkaTopicRequest::setNumPartitions(int numPartitions) -{ - numPartitions_ = numPartitions; - setCoreParameter("NumPartitions", std::to_string(numPartitions)); -} - -int MetastoreCreateKafkaTopicRequest::getReplicationFactor()const -{ - return replicationFactor_; -} - -void MetastoreCreateKafkaTopicRequest::setReplicationFactor(int replicationFactor) -{ - replicationFactor_ = replicationFactor; - setCoreParameter("ReplicationFactor", std::to_string(replicationFactor)); -} - -std::string MetastoreCreateKafkaTopicRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreCreateKafkaTopicRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreCreateKafkaTopicResult.cc b/emr/src/model/MetastoreCreateKafkaTopicResult.cc deleted file mode 100644 index baf54b7a7..000000000 --- a/emr/src/model/MetastoreCreateKafkaTopicResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreCreateKafkaTopicResult::MetastoreCreateKafkaTopicResult() : - ServiceResult() -{} - -MetastoreCreateKafkaTopicResult::MetastoreCreateKafkaTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreCreateKafkaTopicResult::~MetastoreCreateKafkaTopicResult() -{} - -void MetastoreCreateKafkaTopicResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - -} - -std::string MetastoreCreateKafkaTopicResult::getTaskId()const -{ - return taskId_; -} - diff --git a/emr/src/model/MetastoreCreateTableRequest.cc b/emr/src/model/MetastoreCreateTableRequest.cc deleted file mode 100644 index da78b401c..000000000 --- a/emr/src/model/MetastoreCreateTableRequest.cc +++ /dev/null @@ -1,184 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreCreateTableRequest; - -MetastoreCreateTableRequest::MetastoreCreateTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreCreateTable") -{} - -MetastoreCreateTableRequest::~MetastoreCreateTableRequest() -{} - -long MetastoreCreateTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreCreateTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreCreateTableRequest::getFieldDelimiter()const -{ - return fieldDelimiter_; -} - -void MetastoreCreateTableRequest::setFieldDelimiter(const std::string& fieldDelimiter) -{ - fieldDelimiter_ = fieldDelimiter; - setCoreParameter("FieldDelimiter", fieldDelimiter); -} - -std::vector MetastoreCreateTableRequest::getColumn()const -{ - return column_; -} - -void MetastoreCreateTableRequest::setColumn(const std::vector& column) -{ - column_ = column; - int i = 0; - for(int i = 0; i!= column.size(); i++) { - auto obj = column.at(i); - std::string str ="Column."+ std::to_string(i); - setCoreParameter(str + ".Name", obj.name); - setCoreParameter(str + ".Comment", obj.comment); - setCoreParameter(str + ".Type", obj.type); - } -} - -std::string MetastoreCreateTableRequest::getCreateWith()const -{ - return createWith_; -} - -void MetastoreCreateTableRequest::setCreateWith(const std::string& createWith) -{ - createWith_ = createWith; - setCoreParameter("CreateWith", createWith); -} - -std::string MetastoreCreateTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreCreateTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::vector MetastoreCreateTableRequest::getPartition()const -{ - return partition_; -} - -void MetastoreCreateTableRequest::setPartition(const std::vector& partition) -{ - partition_ = partition; - int i = 0; - for(int i = 0; i!= partition.size(); i++) { - auto obj = partition.at(i); - std::string str ="Partition."+ std::to_string(i); - setCoreParameter(str + ".Name", obj.name); - setCoreParameter(str + ".Comment", obj.comment); - setCoreParameter(str + ".Type", obj.type); - } -} - -std::string MetastoreCreateTableRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreCreateTableRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreCreateTableRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreCreateTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreCreateTableRequest::getCreateSql()const -{ - return createSql_; -} - -void MetastoreCreateTableRequest::setCreateSql(const std::string& createSql) -{ - createSql_ = createSql; - setCoreParameter("CreateSql", createSql); -} - -std::string MetastoreCreateTableRequest::getComment()const -{ - return comment_; -} - -void MetastoreCreateTableRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setCoreParameter("Comment", comment); -} - -std::string MetastoreCreateTableRequest::getLocationUri()const -{ - return locationUri_; -} - -void MetastoreCreateTableRequest::setLocationUri(const std::string& locationUri) -{ - locationUri_ = locationUri; - setCoreParameter("LocationUri", locationUri); -} - -std::string MetastoreCreateTableRequest::getTableName()const -{ - return tableName_; -} - -void MetastoreCreateTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string MetastoreCreateTableRequest::getDatabaseId()const -{ - return databaseId_; -} - -void MetastoreCreateTableRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setCoreParameter("DatabaseId", databaseId); -} - diff --git a/emr/src/model/MetastoreCreateTableResult.cc b/emr/src/model/MetastoreCreateTableResult.cc deleted file mode 100644 index 901ad9048..000000000 --- a/emr/src/model/MetastoreCreateTableResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreCreateTableResult::MetastoreCreateTableResult() : - ServiceResult() -{} - -MetastoreCreateTableResult::MetastoreCreateTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreCreateTableResult::~MetastoreCreateTableResult() -{} - -void MetastoreCreateTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MetastoreDataPreviewRequest.cc b/emr/src/model/MetastoreDataPreviewRequest.cc deleted file mode 100644 index 2c5705445..000000000 --- a/emr/src/model/MetastoreDataPreviewRequest.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 - -using AlibabaCloud::Emr::Model::MetastoreDataPreviewRequest; - -MetastoreDataPreviewRequest::MetastoreDataPreviewRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDataPreview") -{} - -MetastoreDataPreviewRequest::~MetastoreDataPreviewRequest() -{} - -long MetastoreDataPreviewRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDataPreviewRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDataPreviewRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreDataPreviewRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreDataPreviewRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDataPreviewRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDataPreviewRequest::getTableName()const -{ - return tableName_; -} - -void MetastoreDataPreviewRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string MetastoreDataPreviewRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDataPreviewRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDataPreviewResult.cc b/emr/src/model/MetastoreDataPreviewResult.cc deleted file mode 100644 index 195806f3e..000000000 --- a/emr/src/model/MetastoreDataPreviewResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreDataPreviewResult::MetastoreDataPreviewResult() : - ServiceResult() -{} - -MetastoreDataPreviewResult::MetastoreDataPreviewResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDataPreviewResult::~MetastoreDataPreviewResult() -{} - -void MetastoreDataPreviewResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Samples"].isNull()) - samples_ = value["Samples"].asString(); - -} - -std::string MetastoreDataPreviewResult::getSamples()const -{ - return samples_; -} - diff --git a/emr/src/model/MetastoreDeleteDataResourceRequest.cc b/emr/src/model/MetastoreDeleteDataResourceRequest.cc deleted file mode 100644 index 81caeb48b..000000000 --- a/emr/src/model/MetastoreDeleteDataResourceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDeleteDataResourceRequest; - -MetastoreDeleteDataResourceRequest::MetastoreDeleteDataResourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDeleteDataResource") -{} - -MetastoreDeleteDataResourceRequest::~MetastoreDeleteDataResourceRequest() -{} - -long MetastoreDeleteDataResourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDeleteDataResourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDeleteDataResourceRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDeleteDataResourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDeleteDataResourceRequest::getId()const -{ - return id_; -} - -void MetastoreDeleteDataResourceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string MetastoreDeleteDataResourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDeleteDataResourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDeleteDataResourceResult.cc b/emr/src/model/MetastoreDeleteDataResourceResult.cc deleted file mode 100644 index ce2e389c4..000000000 --- a/emr/src/model/MetastoreDeleteDataResourceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDeleteDataResourceResult::MetastoreDeleteDataResourceResult() : - ServiceResult() -{} - -MetastoreDeleteDataResourceResult::MetastoreDeleteDataResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDeleteDataResourceResult::~MetastoreDeleteDataResourceResult() -{} - -void MetastoreDeleteDataResourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MetastoreDeleteKafkaTopicRequest.cc b/emr/src/model/MetastoreDeleteKafkaTopicRequest.cc deleted file mode 100644 index afc6d60e6..000000000 --- a/emr/src/model/MetastoreDeleteKafkaTopicRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDeleteKafkaTopicRequest; - -MetastoreDeleteKafkaTopicRequest::MetastoreDeleteKafkaTopicRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDeleteKafkaTopic") -{} - -MetastoreDeleteKafkaTopicRequest::~MetastoreDeleteKafkaTopicRequest() -{} - -long MetastoreDeleteKafkaTopicRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDeleteKafkaTopicRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDeleteKafkaTopicRequest::getTopicId()const -{ - return topicId_; -} - -void MetastoreDeleteKafkaTopicRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string MetastoreDeleteKafkaTopicRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDeleteKafkaTopicRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDeleteKafkaTopicRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDeleteKafkaTopicRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDeleteKafkaTopicResult.cc b/emr/src/model/MetastoreDeleteKafkaTopicResult.cc deleted file mode 100644 index 6138a77b2..000000000 --- a/emr/src/model/MetastoreDeleteKafkaTopicResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreDeleteKafkaTopicResult::MetastoreDeleteKafkaTopicResult() : - ServiceResult() -{} - -MetastoreDeleteKafkaTopicResult::MetastoreDeleteKafkaTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDeleteKafkaTopicResult::~MetastoreDeleteKafkaTopicResult() -{} - -void MetastoreDeleteKafkaTopicResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - -} - -std::string MetastoreDeleteKafkaTopicResult::getTaskId()const -{ - return taskId_; -} - diff --git a/emr/src/model/MetastoreDescribeDataSourceRequest.cc b/emr/src/model/MetastoreDescribeDataSourceRequest.cc deleted file mode 100644 index 4394ca273..000000000 --- a/emr/src/model/MetastoreDescribeDataSourceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDescribeDataSourceRequest; - -MetastoreDescribeDataSourceRequest::MetastoreDescribeDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDescribeDataSource") -{} - -MetastoreDescribeDataSourceRequest::~MetastoreDescribeDataSourceRequest() -{} - -long MetastoreDescribeDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDescribeDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDescribeDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDescribeDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDescribeDataSourceRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void MetastoreDescribeDataSourceRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string MetastoreDescribeDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDescribeDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDescribeDataSourceResult.cc b/emr/src/model/MetastoreDescribeDataSourceResult.cc deleted file mode 100644 index 1de92bf2e..000000000 --- a/emr/src/model/MetastoreDescribeDataSourceResult.cc +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDescribeDataSourceResult::MetastoreDescribeDataSourceResult() : - ServiceResult() -{} - -MetastoreDescribeDataSourceResult::MetastoreDescribeDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDescribeDataSourceResult::~MetastoreDescribeDataSourceResult() -{} - -void MetastoreDescribeDataSourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto dataSourceNode = value["DataSource"]; - if(!dataSourceNode["Id"].isNull()) - dataSource_.id = dataSourceNode["Id"].asString(); - if(!dataSourceNode["Name"].isNull()) - dataSource_.name = dataSourceNode["Name"].asString(); - if(!dataSourceNode["SourceType"].isNull()) - dataSource_.sourceType = dataSourceNode["SourceType"].asString(); - if(!dataSourceNode["Description"].isNull()) - dataSource_.description = dataSourceNode["Description"].asString(); - if(!dataSourceNode["ConnectionInfo"].isNull()) - dataSource_.connectionInfo = dataSourceNode["ConnectionInfo"].asString(); - if(!dataSourceNode["ClusterBizId"].isNull()) - dataSource_.clusterBizId = dataSourceNode["ClusterBizId"].asString(); - if(!dataSourceNode["ClusterName"].isNull()) - dataSource_.clusterName = dataSourceNode["ClusterName"].asString(); - if(!dataSourceNode["UserId"].isNull()) - dataSource_.userId = dataSourceNode["UserId"].asString(); - if(!dataSourceNode["GmtCreate"].isNull()) - dataSource_.gmtCreate = std::stol(dataSourceNode["GmtCreate"].asString()); - if(!dataSourceNode["GmtModified"].isNull()) - dataSource_.gmtModified = std::stol(dataSourceNode["GmtModified"].asString()); - if(!dataSourceNode["Capacity"].isNull()) - dataSource_.capacity = std::stol(dataSourceNode["Capacity"].asString()); - if(!dataSourceNode["UsedSize"].isNull()) - dataSource_.usedSize = std::stol(dataSourceNode["UsedSize"].asString()); - auto allConfigList = value["ConfigList"]["Config"]; - for (auto value : allConfigList) - { - DataSource::Config configObject; - if(!value["ConfigName"].isNull()) - configObject.configName = value["ConfigName"].asString(); - if(!value["Value"].isNull()) - configObject.value = value["Value"].asString(); - dataSource_.configList.push_back(configObject); - } - -} - -MetastoreDescribeDataSourceResult::DataSource MetastoreDescribeDataSourceResult::getDataSource()const -{ - return dataSource_; -} - diff --git a/emr/src/model/MetastoreDescribeDatabaseRequest.cc b/emr/src/model/MetastoreDescribeDatabaseRequest.cc deleted file mode 100644 index 0395c9ba1..000000000 --- a/emr/src/model/MetastoreDescribeDatabaseRequest.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 - -using AlibabaCloud::Emr::Model::MetastoreDescribeDatabaseRequest; - -MetastoreDescribeDatabaseRequest::MetastoreDescribeDatabaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDescribeDatabase") -{} - -MetastoreDescribeDatabaseRequest::~MetastoreDescribeDatabaseRequest() -{} - -long MetastoreDescribeDatabaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDescribeDatabaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDescribeDatabaseRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreDescribeDatabaseRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreDescribeDatabaseRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDescribeDatabaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDescribeDatabaseRequest::getId()const -{ - return id_; -} - -void MetastoreDescribeDatabaseRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string MetastoreDescribeDatabaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDescribeDatabaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDescribeDatabaseResult.cc b/emr/src/model/MetastoreDescribeDatabaseResult.cc deleted file mode 100644 index ee5e133c3..000000000 --- a/emr/src/model/MetastoreDescribeDatabaseResult.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDescribeDatabaseResult::MetastoreDescribeDatabaseResult() : - ServiceResult() -{} - -MetastoreDescribeDatabaseResult::MetastoreDescribeDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDescribeDatabaseResult::~MetastoreDescribeDatabaseResult() -{} - -void MetastoreDescribeDatabaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allParameters = value["Parameters"]["Parameter"]; - for (auto value : allParameters) - { - Parameter parametersObject; - if(!value["Key"].isNull()) - parametersObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - parametersObject.value = value["Value"].asString(); - parameters_.push_back(parametersObject); - } - auto databaseNode = value["Database"]; - if(!databaseNode["Id"].isNull()) - database_.id = databaseNode["Id"].asString(); - if(!databaseNode["ClusterBizId"].isNull()) - database_.clusterBizId = databaseNode["ClusterBizId"].asString(); - if(!databaseNode["ClusterName"].isNull()) - database_.clusterName = databaseNode["ClusterName"].asString(); - if(!databaseNode["DatabaseName"].isNull()) - database_.databaseName = databaseNode["DatabaseName"].asString(); - if(!databaseNode["DatabaseType"].isNull()) - database_.databaseType = databaseNode["DatabaseType"].asString(); - if(!databaseNode["Owner"].isNull()) - database_.owner = databaseNode["Owner"].asString(); - if(!databaseNode["OwnerType"].isNull()) - database_.ownerType = databaseNode["OwnerType"].asString(); - if(!databaseNode["Location"].isNull()) - database_.location = databaseNode["Location"].asString(); - if(!databaseNode["Status"].isNull()) - database_.status = databaseNode["Status"].asString(); - if(!databaseNode["DatabaseParameters"].isNull()) - database_.databaseParameters = databaseNode["DatabaseParameters"].asString(); - if(!databaseNode["GmtCreate"].isNull()) - database_.gmtCreate = std::stol(databaseNode["GmtCreate"].asString()); - if(!databaseNode["GmtModified"].isNull()) - database_.gmtModified = std::stol(databaseNode["GmtModified"].asString()); - if(!databaseNode["DataSourceId"].isNull()) - database_.dataSourceId = databaseNode["DataSourceId"].asString(); - if(!databaseNode["DataSourceType"].isNull()) - database_.dataSourceType = databaseNode["DataSourceType"].asString(); - if(!databaseNode["LocationType"].isNull()) - database_.locationType = databaseNode["LocationType"].asString(); - if(!databaseNode["DatabaseComment"].isNull()) - database_.databaseComment = databaseNode["DatabaseComment"].asString(); - if(!databaseNode["ProjectId"].isNull()) - database_.projectId = databaseNode["ProjectId"].asString(); - if(!databaseNode["ProjectName"].isNull()) - database_.projectName = databaseNode["ProjectName"].asString(); - if(!value["DbName"].isNull()) - dbName_ = value["DbName"].asString(); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["LocationUri"].isNull()) - locationUri_ = value["LocationUri"].asString(); - -} - -std::string MetastoreDescribeDatabaseResult::getLocationUri()const -{ - return locationUri_; -} - -std::vector MetastoreDescribeDatabaseResult::getParameters()const -{ - return parameters_; -} - -std::string MetastoreDescribeDatabaseResult::getDescription()const -{ - return description_; -} - -MetastoreDescribeDatabaseResult::Database MetastoreDescribeDatabaseResult::getDatabase()const -{ - return database_; -} - -std::string MetastoreDescribeDatabaseResult::getDbName()const -{ - return dbName_; -} - diff --git a/emr/src/model/MetastoreDescribeKafkaConsumerGroupRequest.cc b/emr/src/model/MetastoreDescribeKafkaConsumerGroupRequest.cc deleted file mode 100644 index 397c6a59f..000000000 --- a/emr/src/model/MetastoreDescribeKafkaConsumerGroupRequest.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 - -using AlibabaCloud::Emr::Model::MetastoreDescribeKafkaConsumerGroupRequest; - -MetastoreDescribeKafkaConsumerGroupRequest::MetastoreDescribeKafkaConsumerGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDescribeKafkaConsumerGroup") -{} - -MetastoreDescribeKafkaConsumerGroupRequest::~MetastoreDescribeKafkaConsumerGroupRequest() -{} - -long MetastoreDescribeKafkaConsumerGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDescribeKafkaConsumerGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDescribeKafkaConsumerGroupRequest::getTopicId()const -{ - return topicId_; -} - -void MetastoreDescribeKafkaConsumerGroupRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string MetastoreDescribeKafkaConsumerGroupRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDescribeKafkaConsumerGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDescribeKafkaConsumerGroupRequest::getConsumerGroupId()const -{ - return consumerGroupId_; -} - -void MetastoreDescribeKafkaConsumerGroupRequest::setConsumerGroupId(const std::string& consumerGroupId) -{ - consumerGroupId_ = consumerGroupId; - setCoreParameter("ConsumerGroupId", consumerGroupId); -} - -std::string MetastoreDescribeKafkaConsumerGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDescribeKafkaConsumerGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDescribeKafkaConsumerGroupResult.cc b/emr/src/model/MetastoreDescribeKafkaConsumerGroupResult.cc deleted file mode 100644 index c7e6f9520..000000000 --- a/emr/src/model/MetastoreDescribeKafkaConsumerGroupResult.cc +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDescribeKafkaConsumerGroupResult::MetastoreDescribeKafkaConsumerGroupResult() : - ServiceResult() -{} - -MetastoreDescribeKafkaConsumerGroupResult::MetastoreDescribeKafkaConsumerGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDescribeKafkaConsumerGroupResult::~MetastoreDescribeKafkaConsumerGroupResult() -{} - -void MetastoreDescribeKafkaConsumerGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allPartitionList = value["PartitionList"]["Partition"]; - for (auto value : allPartitionList) - { - Partition partitionListObject; - if(!value["DataSourceId"].isNull()) - partitionListObject.dataSourceId = value["DataSourceId"].asString(); - if(!value["ConsumerGroupId"].isNull()) - partitionListObject.consumerGroupId = value["ConsumerGroupId"].asString(); - if(!value["PartitionId"].isNull()) - partitionListObject.partitionId = std::stoi(value["PartitionId"].asString()); - if(!value["ConsumerOffset"].isNull()) - partitionListObject.consumerOffset = std::stol(value["ConsumerOffset"].asString()); - if(!value["LogEndOffset"].isNull()) - partitionListObject.logEndOffset = std::stol(value["LogEndOffset"].asString()); - if(!value["Lag"].isNull()) - partitionListObject.lag = std::stol(value["Lag"].asString()); - if(!value["ConsumerInstanceOwner"].isNull()) - partitionListObject.consumerInstanceOwner = value["ConsumerInstanceOwner"].asString(); - if(!value["GmtCreate"].isNull()) - partitionListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - partitionListObject.gmtModified = std::stol(value["GmtModified"].asString()); - partitionList_.push_back(partitionListObject); - } - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["DataSourceId"].isNull()) - dataSourceId_ = value["DataSourceId"].asString(); - if(!value["ConsumerGroup"].isNull()) - consumerGroup_ = value["ConsumerGroup"].asString(); - if(!value["ConsumerType"].isNull()) - consumerType_ = value["ConsumerType"].asString(); - if(!value["TotalLag"].isNull()) - totalLag_ = std::stol(value["TotalLag"].asString()); - if(!value["PartitionProportion"].isNull()) - partitionProportion_ = value["PartitionProportion"].asString(); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - gmtModified_ = std::stol(value["GmtModified"].asString()); - -} - -long MetastoreDescribeKafkaConsumerGroupResult::getGmtCreate()const -{ - return gmtCreate_; -} - -long MetastoreDescribeKafkaConsumerGroupResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string MetastoreDescribeKafkaConsumerGroupResult::getId()const -{ - return id_; -} - -std::vector MetastoreDescribeKafkaConsumerGroupResult::getPartitionList()const -{ - return partitionList_; -} - -std::string MetastoreDescribeKafkaConsumerGroupResult::getConsumerType()const -{ - return consumerType_; -} - -std::string MetastoreDescribeKafkaConsumerGroupResult::getPartitionProportion()const -{ - return partitionProportion_; -} - -std::string MetastoreDescribeKafkaConsumerGroupResult::getDataSourceId()const -{ - return dataSourceId_; -} - -std::string MetastoreDescribeKafkaConsumerGroupResult::getConsumerGroup()const -{ - return consumerGroup_; -} - -long MetastoreDescribeKafkaConsumerGroupResult::getTotalLag()const -{ - return totalLag_; -} - diff --git a/emr/src/model/MetastoreDescribeKafkaTopicRequest.cc b/emr/src/model/MetastoreDescribeKafkaTopicRequest.cc deleted file mode 100644 index 17c040c9e..000000000 --- a/emr/src/model/MetastoreDescribeKafkaTopicRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDescribeKafkaTopicRequest; - -MetastoreDescribeKafkaTopicRequest::MetastoreDescribeKafkaTopicRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDescribeKafkaTopic") -{} - -MetastoreDescribeKafkaTopicRequest::~MetastoreDescribeKafkaTopicRequest() -{} - -long MetastoreDescribeKafkaTopicRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDescribeKafkaTopicRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDescribeKafkaTopicRequest::getTopicId()const -{ - return topicId_; -} - -void MetastoreDescribeKafkaTopicRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string MetastoreDescribeKafkaTopicRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDescribeKafkaTopicRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDescribeKafkaTopicRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDescribeKafkaTopicRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDescribeKafkaTopicResult.cc b/emr/src/model/MetastoreDescribeKafkaTopicResult.cc deleted file mode 100644 index 2c420a17d..000000000 --- a/emr/src/model/MetastoreDescribeKafkaTopicResult.cc +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDescribeKafkaTopicResult::MetastoreDescribeKafkaTopicResult() : - ServiceResult() -{} - -MetastoreDescribeKafkaTopicResult::MetastoreDescribeKafkaTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDescribeKafkaTopicResult::~MetastoreDescribeKafkaTopicResult() -{} - -void MetastoreDescribeKafkaTopicResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allAdvancedConfigList = value["AdvancedConfigList"]["AdvancedConfig"]; - for (auto value : allAdvancedConfigList) - { - AdvancedConfig advancedConfigListObject; - if(!value["Key"].isNull()) - advancedConfigListObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - advancedConfigListObject.value = value["Value"].asString(); - advancedConfigList_.push_back(advancedConfigListObject); - } - auto allSummaryList = value["SummaryList"]["Summary"]; - for (auto value : allSummaryList) - { - Summary summaryListObject; - if(!value["Key"].isNull()) - summaryListObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - summaryListObject.value = value["Value"].asString(); - summaryList_.push_back(summaryListObject); - } - auto allDistributionList = value["DistributionList"]["Distribution"]; - for (auto value : allDistributionList) - { - Distribution distributionListObject; - if(!value["Partition"].isNull()) - distributionListObject.partition = std::stoi(value["Partition"].asString()); - if(!value["Offset"].isNull()) - distributionListObject.offset = std::stol(value["Offset"].asString()); - if(!value["Leader"].isNull()) - distributionListObject.leader = std::stoi(value["Leader"].asString()); - if(!value["PreferredLeader"].isNull()) - distributionListObject.preferredLeader = value["PreferredLeader"].asString() == "true"; - if(!value["UnderReplicated"].isNull()) - distributionListObject.underReplicated = value["UnderReplicated"].asString() == "true"; - if(!value["LogEndOffset"].isNull()) - distributionListObject.logEndOffset = std::stol(value["LogEndOffset"].asString()); - auto allIsrList = value["IsrList"]["Isr"]; - for (auto value : allIsrList) - distributionListObject.isrList.push_back(value.asString()); - auto allReplicaList = value["ReplicaList"]["Replica"]; - for (auto value : allReplicaList) - distributionListObject.replicaList.push_back(value.asString()); - distributionList_.push_back(distributionListObject); - } - auto clusterNode = value["Cluster"]; - if(!clusterNode["ClusterBizId"].isNull()) - cluster_.clusterBizId = clusterNode["ClusterBizId"].asString(); - if(!clusterNode["ClusterName"].isNull()) - cluster_.clusterName = clusterNode["ClusterName"].asString(); - if(!clusterNode["ClusterStatus"].isNull()) - cluster_.clusterStatus = clusterNode["ClusterStatus"].asString(); - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["DataSourceId"].isNull()) - dataSourceId_ = value["DataSourceId"].asString(); - if(!value["TopicName"].isNull()) - topicName_ = value["TopicName"].asString(); - if(!value["NumPartitions"].isNull()) - numPartitions_ = std::stoi(value["NumPartitions"].asString()); - if(!value["ReplicationFactor"].isNull()) - replicationFactor_ = std::stoi(value["ReplicationFactor"].asString()); - if(!value["GmtCreate"].isNull()) - gmtCreate_ = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - gmtModified_ = std::stol(value["GmtModified"].asString()); - if(!value["BrokerTotal"].isNull()) - brokerTotal_ = std::stoi(value["BrokerTotal"].asString()); - if(!value["NumUsingBrokers"].isNull()) - numUsingBrokers_ = std::stoi(value["NumUsingBrokers"].asString()); - if(!value["BrokersLeaderSkewPercentage"].isNull()) - brokersLeaderSkewPercentage_ = value["BrokersLeaderSkewPercentage"].asString(); - if(!value["UnderReplicatedPercentage"].isNull()) - underReplicatedPercentage_ = value["UnderReplicatedPercentage"].asString(); - if(!value["PreferredReplicasPercentage"].isNull()) - preferredReplicasPercentage_ = value["PreferredReplicasPercentage"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - if(!value["ReassignId"].isNull()) - reassignId_ = value["ReassignId"].asString(); - -} - -std::string MetastoreDescribeKafkaTopicResult::getStatus()const -{ - return status_; -} - -std::vector MetastoreDescribeKafkaTopicResult::getAdvancedConfigList()const -{ - return advancedConfigList_; -} - -int MetastoreDescribeKafkaTopicResult::getReplicationFactor()const -{ - return replicationFactor_; -} - -std::string MetastoreDescribeKafkaTopicResult::getReassignId()const -{ - return reassignId_; -} - -std::vector MetastoreDescribeKafkaTopicResult::getSummaryList()const -{ - return summaryList_; -} - -long MetastoreDescribeKafkaTopicResult::getGmtModified()const -{ - return gmtModified_; -} - -MetastoreDescribeKafkaTopicResult::Cluster MetastoreDescribeKafkaTopicResult::getCluster()const -{ - return cluster_; -} - -std::string MetastoreDescribeKafkaTopicResult::getPreferredReplicasPercentage()const -{ - return preferredReplicasPercentage_; -} - -int MetastoreDescribeKafkaTopicResult::getBrokerTotal()const -{ - return brokerTotal_; -} - -std::string MetastoreDescribeKafkaTopicResult::getTopicName()const -{ - return topicName_; -} - -std::string MetastoreDescribeKafkaTopicResult::getUnderReplicatedPercentage()const -{ - return underReplicatedPercentage_; -} - -long MetastoreDescribeKafkaTopicResult::getGmtCreate()const -{ - return gmtCreate_; -} - -std::string MetastoreDescribeKafkaTopicResult::getBrokersLeaderSkewPercentage()const -{ - return brokersLeaderSkewPercentage_; -} - -int MetastoreDescribeKafkaTopicResult::getNumUsingBrokers()const -{ - return numUsingBrokers_; -} - -int MetastoreDescribeKafkaTopicResult::getNumPartitions()const -{ - return numPartitions_; -} - -std::string MetastoreDescribeKafkaTopicResult::getId()const -{ - return id_; -} - -std::string MetastoreDescribeKafkaTopicResult::getDataSourceId()const -{ - return dataSourceId_; -} - -std::vector MetastoreDescribeKafkaTopicResult::getDistributionList()const -{ - return distributionList_; -} - diff --git a/emr/src/model/MetastoreDescribeTableRequest.cc b/emr/src/model/MetastoreDescribeTableRequest.cc deleted file mode 100644 index bedc10199..000000000 --- a/emr/src/model/MetastoreDescribeTableRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDescribeTableRequest; - -MetastoreDescribeTableRequest::MetastoreDescribeTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDescribeTable") -{} - -MetastoreDescribeTableRequest::~MetastoreDescribeTableRequest() -{} - -long MetastoreDescribeTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDescribeTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDescribeTableRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreDescribeTableRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreDescribeTableRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDescribeTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDescribeTableRequest::getId()const -{ - return id_; -} - -void MetastoreDescribeTableRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string MetastoreDescribeTableRequest::getTableName()const -{ - return tableName_; -} - -void MetastoreDescribeTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string MetastoreDescribeTableRequest::getDatabaseId()const -{ - return databaseId_; -} - -void MetastoreDescribeTableRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setCoreParameter("DatabaseId", databaseId); -} - -std::string MetastoreDescribeTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDescribeTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDescribeTableResult.cc b/emr/src/model/MetastoreDescribeTableResult.cc deleted file mode 100644 index 2f23799b8..000000000 --- a/emr/src/model/MetastoreDescribeTableResult.cc +++ /dev/null @@ -1,253 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDescribeTableResult::MetastoreDescribeTableResult() : - ServiceResult() -{} - -MetastoreDescribeTableResult::MetastoreDescribeTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDescribeTableResult::~MetastoreDescribeTableResult() -{} - -void MetastoreDescribeTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allColumns = value["Columns"]["Column"]; - for (auto value : allColumns) - { - Column columnsObject; - if(!value["Name"].isNull()) - columnsObject.name = value["Name"].asString(); - if(!value["Type"].isNull()) - columnsObject.type = value["Type"].asString(); - if(!value["Comment"].isNull()) - columnsObject.comment = value["Comment"].asString(); - columns_.push_back(columnsObject); - } - auto allPartitionColumns = value["PartitionColumns"]["PartitionColumn"]; - for (auto value : allPartitionColumns) - { - PartitionColumn partitionColumnsObject; - if(!value["Name"].isNull()) - partitionColumnsObject.name = value["Name"].asString(); - if(!value["Type"].isNull()) - partitionColumnsObject.type = value["Type"].asString(); - if(!value["Comment"].isNull()) - partitionColumnsObject.comment = value["Comment"].asString(); - partitionColumns_.push_back(partitionColumnsObject); - } - auto allSerdeParameters = value["SerdeParameters"]["SerdeParameter"]; - for (auto value : allSerdeParameters) - { - SerdeParameter serdeParametersObject; - if(!value["Key"].isNull()) - serdeParametersObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - serdeParametersObject.value = value["Value"].asString(); - serdeParameters_.push_back(serdeParametersObject); - } - auto allStorageDescParameters = value["StorageDescParameters"]["StorageDescParameter"]; - for (auto value : allStorageDescParameters) - { - StorageDescParameter storageDescParametersObject; - if(!value["Key"].isNull()) - storageDescParametersObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - storageDescParametersObject.value = value["Value"].asString(); - storageDescParameters_.push_back(storageDescParametersObject); - } - auto allTableParameters = value["TableParameters"]["TableParameter"]; - for (auto value : allTableParameters) - { - TableParameter tableParametersObject; - if(!value["Key"].isNull()) - tableParametersObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - tableParametersObject.value = value["Value"].asString(); - tableParameters_.push_back(tableParametersObject); - } - if(!value["Id"].isNull()) - id_ = value["Id"].asString(); - if(!value["DatabaseId"].isNull()) - databaseId_ = value["DatabaseId"].asString(); - if(!value["ClusterBizId"].isNull()) - clusterBizId_ = value["ClusterBizId"].asString(); - if(!value["ClusterName"].isNull()) - clusterName_ = value["ClusterName"].asString(); - if(!value["CreateTime"].isNull()) - createTime_ = std::stoi(value["CreateTime"].asString()); - if(!value["LastAccessTime"].isNull()) - lastAccessTime_ = std::stoi(value["LastAccessTime"].asString()); - if(!value["LocationUri"].isNull()) - locationUri_ = value["LocationUri"].asString(); - if(!value["InputFormat"].isNull()) - inputFormat_ = value["InputFormat"].asString(); - if(!value["OutputFormat"].isNull()) - outputFormat_ = value["OutputFormat"].asString(); - if(!value["Compressed"].isNull()) - compressed_ = value["Compressed"].asString() == "true"; - if(!value["SerializationLib"].isNull()) - serializationLib_ = value["SerializationLib"].asString(); - if(!value["TableName"].isNull()) - tableName_ = value["TableName"].asString(); - if(!value["DbName"].isNull()) - dbName_ = value["DbName"].asString(); - if(!value["Owner"].isNull()) - owner_ = value["Owner"].asString(); - if(!value["TableComment"].isNull()) - tableComment_ = value["TableComment"].asString(); - if(!value["TableType"].isNull()) - tableType_ = value["TableType"].asString(); - if(!value["Creator"].isNull()) - creator_ = value["Creator"].asString(); - if(!value["FieldDelimiter"].isNull()) - fieldDelimiter_ = value["FieldDelimiter"].asString(); - -} - -std::string MetastoreDescribeTableResult::getLocationUri()const -{ - return locationUri_; -} - -std::string MetastoreDescribeTableResult::getOwner()const -{ - return owner_; -} - -std::string MetastoreDescribeTableResult::getTableType()const -{ - return tableType_; -} - -std::string MetastoreDescribeTableResult::getFieldDelimiter()const -{ - return fieldDelimiter_; -} - -int MetastoreDescribeTableResult::getCreateTime()const -{ - return createTime_; -} - -std::string MetastoreDescribeTableResult::getOutputFormat()const -{ - return outputFormat_; -} - -std::vector MetastoreDescribeTableResult::getColumns()const -{ - return columns_; -} - -std::vector MetastoreDescribeTableResult::getPartitionColumns()const -{ - return partitionColumns_; -} - -std::string MetastoreDescribeTableResult::getDatabaseId()const -{ - return databaseId_; -} - -std::string MetastoreDescribeTableResult::getCreator()const -{ - return creator_; -} - -int MetastoreDescribeTableResult::getLastAccessTime()const -{ - return lastAccessTime_; -} - -bool MetastoreDescribeTableResult::getCompressed()const -{ - return compressed_; -} - -std::vector MetastoreDescribeTableResult::getSerdeParameters()const -{ - return serdeParameters_; -} - -std::string MetastoreDescribeTableResult::getSerializationLib()const -{ - return serializationLib_; -} - -std::string MetastoreDescribeTableResult::getTableName()const -{ - return tableName_; -} - -std::string MetastoreDescribeTableResult::getTableComment()const -{ - return tableComment_; -} - -std::vector MetastoreDescribeTableResult::getStorageDescParameters()const -{ - return storageDescParameters_; -} - -std::string MetastoreDescribeTableResult::getClusterBizId()const -{ - return clusterBizId_; -} - -std::string MetastoreDescribeTableResult::getInputFormat()const -{ - return inputFormat_; -} - -std::string MetastoreDescribeTableResult::getClusterName()const -{ - return clusterName_; -} - -std::string MetastoreDescribeTableResult::getDbName()const -{ - return dbName_; -} - -std::string MetastoreDescribeTableResult::getId()const -{ - return id_; -} - -std::vector MetastoreDescribeTableResult::getTableParameters()const -{ - return tableParameters_; -} - diff --git a/emr/src/model/MetastoreDescribeTaskRequest.cc b/emr/src/model/MetastoreDescribeTaskRequest.cc deleted file mode 100644 index 76b446f76..000000000 --- a/emr/src/model/MetastoreDescribeTaskRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDescribeTaskRequest; - -MetastoreDescribeTaskRequest::MetastoreDescribeTaskRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDescribeTask") -{} - -MetastoreDescribeTaskRequest::~MetastoreDescribeTaskRequest() -{} - -long MetastoreDescribeTaskRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDescribeTaskRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDescribeTaskRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDescribeTaskRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDescribeTaskRequest::getTaskId()const -{ - return taskId_; -} - -void MetastoreDescribeTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setCoreParameter("TaskId", taskId); -} - -std::string MetastoreDescribeTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDescribeTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDescribeTaskResult.cc b/emr/src/model/MetastoreDescribeTaskResult.cc deleted file mode 100644 index 0121751eb..000000000 --- a/emr/src/model/MetastoreDescribeTaskResult.cc +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreDescribeTaskResult::MetastoreDescribeTaskResult() : - ServiceResult() -{} - -MetastoreDescribeTaskResult::MetastoreDescribeTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDescribeTaskResult::~MetastoreDescribeTaskResult() -{} - -void MetastoreDescribeTaskResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto taskNode = value["Task"]; - if(!taskNode["BizId"].isNull()) - task_.bizId = taskNode["BizId"].asString(); - if(!taskNode["DataSourceId"].isNull()) - task_.dataSourceId = taskNode["DataSourceId"].asString(); - if(!taskNode["TaskType"].isNull()) - task_.taskType = taskNode["TaskType"].asString(); - if(!taskNode["TaskStatus"].isNull()) - task_.taskStatus = taskNode["TaskStatus"].asString(); - if(!taskNode["StartTime"].isNull()) - task_.startTime = std::stol(taskNode["StartTime"].asString()); - if(!taskNode["EndTime"].isNull()) - task_.endTime = std::stol(taskNode["EndTime"].asString()); - if(!taskNode["TaskDetail"].isNull()) - task_.taskDetail = taskNode["TaskDetail"].asString(); - if(!taskNode["TaskObject"].isNull()) - task_.taskObject = taskNode["TaskObject"].asString(); - if(!taskNode["TaskResultDetail"].isNull()) - task_.taskResultDetail = taskNode["TaskResultDetail"].asString(); - if(!taskNode["TaskProcess"].isNull()) - task_.taskProcess = std::stoi(taskNode["TaskProcess"].asString()); - if(!taskNode["TriggerUser"].isNull()) - task_.triggerUser = taskNode["TriggerUser"].asString(); - if(!taskNode["TriggerType"].isNull()) - task_.triggerType = taskNode["TriggerType"].asString(); - if(!taskNode["GmtCreate"].isNull()) - task_.gmtCreate = std::stol(taskNode["GmtCreate"].asString()); - if(!taskNode["GmtModified"].isNull()) - task_.gmtModified = std::stol(taskNode["GmtModified"].asString()); - if(!taskNode["ExecuteTime"].isNull()) - task_.executeTime = std::stol(taskNode["ExecuteTime"].asString()); - -} - -MetastoreDescribeTaskResult::Task MetastoreDescribeTaskResult::getTask()const -{ - return task_; -} - diff --git a/emr/src/model/MetastoreDropDatabaseRequest.cc b/emr/src/model/MetastoreDropDatabaseRequest.cc deleted file mode 100644 index fbc266ab0..000000000 --- a/emr/src/model/MetastoreDropDatabaseRequest.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 - -using AlibabaCloud::Emr::Model::MetastoreDropDatabaseRequest; - -MetastoreDropDatabaseRequest::MetastoreDropDatabaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDropDatabase") -{} - -MetastoreDropDatabaseRequest::~MetastoreDropDatabaseRequest() -{} - -long MetastoreDropDatabaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDropDatabaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDropDatabaseRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreDropDatabaseRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreDropDatabaseRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDropDatabaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDropDatabaseRequest::getDatabaseId()const -{ - return databaseId_; -} - -void MetastoreDropDatabaseRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setCoreParameter("DatabaseId", databaseId); -} - -std::string MetastoreDropDatabaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDropDatabaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDropDatabaseResult.cc b/emr/src/model/MetastoreDropDatabaseResult.cc deleted file mode 100644 index f83fa0a4d..000000000 --- a/emr/src/model/MetastoreDropDatabaseResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDropDatabaseResult::MetastoreDropDatabaseResult() : - ServiceResult() -{} - -MetastoreDropDatabaseResult::MetastoreDropDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDropDatabaseResult::~MetastoreDropDatabaseResult() -{} - -void MetastoreDropDatabaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MetastoreDropTableRequest.cc b/emr/src/model/MetastoreDropTableRequest.cc deleted file mode 100644 index 097cfc9ac..000000000 --- a/emr/src/model/MetastoreDropTableRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreDropTableRequest; - -MetastoreDropTableRequest::MetastoreDropTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreDropTable") -{} - -MetastoreDropTableRequest::~MetastoreDropTableRequest() -{} - -long MetastoreDropTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreDropTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreDropTableRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreDropTableRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreDropTableRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreDropTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreDropTableRequest::getTableId()const -{ - return tableId_; -} - -void MetastoreDropTableRequest::setTableId(const std::string& tableId) -{ - tableId_ = tableId; - setCoreParameter("TableId", tableId); -} - -std::string MetastoreDropTableRequest::getTableName()const -{ - return tableName_; -} - -void MetastoreDropTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string MetastoreDropTableRequest::getDatabaseId()const -{ - return databaseId_; -} - -void MetastoreDropTableRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setCoreParameter("DatabaseId", databaseId); -} - -std::string MetastoreDropTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreDropTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreDropTableResult.cc b/emr/src/model/MetastoreDropTableResult.cc deleted file mode 100644 index d0a400ece..000000000 --- a/emr/src/model/MetastoreDropTableResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreDropTableResult::MetastoreDropTableResult() : - ServiceResult() -{} - -MetastoreDropTableResult::MetastoreDropTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreDropTableResult::~MetastoreDropTableResult() -{} - -void MetastoreDropTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MetastoreListDataResourcesRequest.cc b/emr/src/model/MetastoreListDataResourcesRequest.cc deleted file mode 100644 index 06e1bd6be..000000000 --- a/emr/src/model/MetastoreListDataResourcesRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreListDataResourcesRequest; - -MetastoreListDataResourcesRequest::MetastoreListDataResourcesRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListDataResources") -{} - -MetastoreListDataResourcesRequest::~MetastoreListDataResourcesRequest() -{} - -long MetastoreListDataResourcesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListDataResourcesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListDataResourcesRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListDataResourcesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreListDataResourcesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListDataResourcesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListDataResourcesResult.cc b/emr/src/model/MetastoreListDataResourcesResult.cc deleted file mode 100644 index 5794eeb66..000000000 --- a/emr/src/model/MetastoreListDataResourcesResult.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 -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreListDataResourcesResult::MetastoreListDataResourcesResult() : - ServiceResult() -{} - -MetastoreListDataResourcesResult::MetastoreListDataResourcesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListDataResourcesResult::~MetastoreListDataResourcesResult() -{} - -void MetastoreListDataResourcesResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allDataResources = value["DataResources"]["DataResourceInfo"]; - for (auto value : allDataResources) - { - DataResourceInfo dataResourcesObject; - if(!value["Id"].isNull()) - dataResourcesObject.id = value["Id"].asString(); - if(!value["RegionId"].isNull()) - dataResourcesObject.regionId = value["RegionId"].asString(); - if(!value["Name"].isNull()) - dataResourcesObject.name = value["Name"].asString(); - if(!value["MetaType"].isNull()) - dataResourcesObject.metaType = value["MetaType"].asString(); - if(!value["ClusterId"].isNull()) - dataResourcesObject.clusterId = std::stol(value["ClusterId"].asString()); - if(!value["AccessType"].isNull()) - dataResourcesObject.accessType = value["AccessType"].asString(); - if(!value["Default"].isNull()) - dataResourcesObject.default = value["Default"].asString() == "true"; - if(!value["Description"].isNull()) - dataResourcesObject.description = value["Description"].asString(); - dataResources_.push_back(dataResourcesObject); - } - -} - -std::vector MetastoreListDataResourcesResult::getDataResources()const -{ - return dataResources_; -} - diff --git a/emr/src/model/MetastoreListDataSourceRequest.cc b/emr/src/model/MetastoreListDataSourceRequest.cc deleted file mode 100644 index 1865ad974..000000000 --- a/emr/src/model/MetastoreListDataSourceRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreListDataSourceRequest; - -MetastoreListDataSourceRequest::MetastoreListDataSourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListDataSource") -{} - -MetastoreListDataSourceRequest::~MetastoreListDataSourceRequest() -{} - -long MetastoreListDataSourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListDataSourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListDataSourceRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListDataSourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -bool MetastoreListDataSourceRequest::getClusterReleased()const -{ - return clusterReleased_; -} - -void MetastoreListDataSourceRequest::setClusterReleased(bool clusterReleased) -{ - clusterReleased_ = clusterReleased; - setCoreParameter("ClusterReleased", clusterReleased ? "true" : "false"); -} - -int MetastoreListDataSourceRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListDataSourceRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string MetastoreListDataSourceRequest::getSourceType()const -{ - return sourceType_; -} - -void MetastoreListDataSourceRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setCoreParameter("SourceType", sourceType); -} - -std::string MetastoreListDataSourceRequest::getDataSourceName()const -{ - return dataSourceName_; -} - -void MetastoreListDataSourceRequest::setDataSourceName(const std::string& dataSourceName) -{ - dataSourceName_ = dataSourceName; - setCoreParameter("DataSourceName", dataSourceName); -} - -int MetastoreListDataSourceRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListDataSourceRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListDataSourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListDataSourceResult.cc b/emr/src/model/MetastoreListDataSourceResult.cc deleted file mode 100644 index f92dcb217..000000000 --- a/emr/src/model/MetastoreListDataSourceResult.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; - -MetastoreListDataSourceResult::MetastoreListDataSourceResult() : - ServiceResult() -{} - -MetastoreListDataSourceResult::MetastoreListDataSourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListDataSourceResult::~MetastoreListDataSourceResult() -{} - -void MetastoreListDataSourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allDataSourceList = value["DataSourceList"]["DataSource"]; - for (auto value : allDataSourceList) - { - DataSource dataSourceListObject; - if(!value["Id"].isNull()) - dataSourceListObject.id = value["Id"].asString(); - if(!value["Name"].isNull()) - dataSourceListObject.name = value["Name"].asString(); - if(!value["SourceType"].isNull()) - dataSourceListObject.sourceType = value["SourceType"].asString(); - if(!value["Description"].isNull()) - dataSourceListObject.description = value["Description"].asString(); - if(!value["ConnectionInfo"].isNull()) - dataSourceListObject.connectionInfo = value["ConnectionInfo"].asString(); - if(!value["ClusterBizId"].isNull()) - dataSourceListObject.clusterBizId = value["ClusterBizId"].asString(); - if(!value["ClusterName"].isNull()) - dataSourceListObject.clusterName = value["ClusterName"].asString(); - if(!value["UserId"].isNull()) - dataSourceListObject.userId = value["UserId"].asString(); - if(!value["GmtCreate"].isNull()) - dataSourceListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - dataSourceListObject.gmtModified = std::stol(value["GmtModified"].asString()); - if(!value["Capacity"].isNull()) - dataSourceListObject.capacity = std::stol(value["Capacity"].asString()); - if(!value["UsedSize"].isNull()) - dataSourceListObject.usedSize = std::stol(value["UsedSize"].asString()); - auto allConfigList = value["ConfigList"]["Config"]; - for (auto value : allConfigList) - { - DataSource::Config configListObject; - if(!value["ConfigName"].isNull()) - configListObject.configName = value["ConfigName"].asString(); - if(!value["Value"].isNull()) - configListObject.value = value["Value"].asString(); - dataSourceListObject.configList.push_back(configListObject); - } - dataSourceList_.push_back(dataSourceListObject); - } - 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 MetastoreListDataSourceResult::getTotalCount()const -{ - return totalCount_; -} - -int MetastoreListDataSourceResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListDataSourceResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector MetastoreListDataSourceResult::getDataSourceList()const -{ - return dataSourceList_; -} - diff --git a/emr/src/model/MetastoreListDatabasesRequest.cc b/emr/src/model/MetastoreListDatabasesRequest.cc deleted file mode 100644 index f39fb9c5b..000000000 --- a/emr/src/model/MetastoreListDatabasesRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreListDatabasesRequest; - -MetastoreListDatabasesRequest::MetastoreListDatabasesRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListDatabases") -{} - -MetastoreListDatabasesRequest::~MetastoreListDatabasesRequest() -{} - -long MetastoreListDatabasesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListDatabasesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListDatabasesRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreListDatabasesRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreListDatabasesRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListDatabasesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int MetastoreListDatabasesRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListDatabasesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string MetastoreListDatabasesRequest::getFuzzyDatabaseName()const -{ - return fuzzyDatabaseName_; -} - -void MetastoreListDatabasesRequest::setFuzzyDatabaseName(const std::string& fuzzyDatabaseName) -{ - fuzzyDatabaseName_ = fuzzyDatabaseName; - setCoreParameter("FuzzyDatabaseName", fuzzyDatabaseName); -} - -int MetastoreListDatabasesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListDatabasesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListDatabasesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListDatabasesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListDatabasesResult.cc b/emr/src/model/MetastoreListDatabasesResult.cc deleted file mode 100644 index 21cff4f12..000000000 --- a/emr/src/model/MetastoreListDatabasesResult.cc +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreListDatabasesResult::MetastoreListDatabasesResult() : - ServiceResult() -{} - -MetastoreListDatabasesResult::MetastoreListDatabasesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListDatabasesResult::~MetastoreListDatabasesResult() -{} - -void MetastoreListDatabasesResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allDatabaseList = value["DatabaseList"]["Database"]; - for (auto value : allDatabaseList) - { - Database databaseListObject; - if(!value["Id"].isNull()) - databaseListObject.id = value["Id"].asString(); - if(!value["ClusterBizId"].isNull()) - databaseListObject.clusterBizId = value["ClusterBizId"].asString(); - if(!value["ClusterName"].isNull()) - databaseListObject.clusterName = value["ClusterName"].asString(); - if(!value["DatabaseName"].isNull()) - databaseListObject.databaseName = value["DatabaseName"].asString(); - if(!value["DatabaseType"].isNull()) - databaseListObject.databaseType = value["DatabaseType"].asString(); - if(!value["Owner"].isNull()) - databaseListObject.owner = value["Owner"].asString(); - if(!value["OwnerType"].isNull()) - databaseListObject.ownerType = value["OwnerType"].asString(); - if(!value["Location"].isNull()) - databaseListObject.location = value["Location"].asString(); - if(!value["Status"].isNull()) - databaseListObject.status = value["Status"].asString(); - if(!value["DatabaseParameters"].isNull()) - databaseListObject.databaseParameters = value["DatabaseParameters"].asString(); - if(!value["GmtCreate"].isNull()) - databaseListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - databaseListObject.gmtModified = std::stol(value["GmtModified"].asString()); - if(!value["LocationType"].isNull()) - databaseListObject.locationType = value["LocationType"].asString(); - if(!value["DatabaseComment"].isNull()) - databaseListObject.databaseComment = value["DatabaseComment"].asString(); - databaseList_.push_back(databaseListObject); - } - auto allDbNames = value["DbNames"]["DbName"]; - for (const auto &item : allDbNames) - dbNames_.push_back(item.asString()); - if(!value["Description"].isNull()) - description_ = value["Description"].asString(); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - -} - -std::vector MetastoreListDatabasesResult::getDbNames()const -{ - return dbNames_; -} - -int MetastoreListDatabasesResult::getTotalCount()const -{ - return totalCount_; -} - -std::string MetastoreListDatabasesResult::getDescription()const -{ - return description_; -} - -std::vector MetastoreListDatabasesResult::getDatabaseList()const -{ - return databaseList_; -} - -int MetastoreListDatabasesResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListDatabasesResult::getPageNumber()const -{ - return pageNumber_; -} - diff --git a/emr/src/model/MetastoreListKafkaConsumerGroupRequest.cc b/emr/src/model/MetastoreListKafkaConsumerGroupRequest.cc deleted file mode 100644 index 5f6a7d3a9..000000000 --- a/emr/src/model/MetastoreListKafkaConsumerGroupRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreListKafkaConsumerGroupRequest; - -MetastoreListKafkaConsumerGroupRequest::MetastoreListKafkaConsumerGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListKafkaConsumerGroup") -{} - -MetastoreListKafkaConsumerGroupRequest::~MetastoreListKafkaConsumerGroupRequest() -{} - -long MetastoreListKafkaConsumerGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListKafkaConsumerGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListKafkaConsumerGroupRequest::getTopicId()const -{ - return topicId_; -} - -void MetastoreListKafkaConsumerGroupRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string MetastoreListKafkaConsumerGroupRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListKafkaConsumerGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int MetastoreListKafkaConsumerGroupRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListKafkaConsumerGroupRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -int MetastoreListKafkaConsumerGroupRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListKafkaConsumerGroupRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListKafkaConsumerGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListKafkaConsumerGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListKafkaConsumerGroupResult.cc b/emr/src/model/MetastoreListKafkaConsumerGroupResult.cc deleted file mode 100644 index 8aca709cc..000000000 --- a/emr/src/model/MetastoreListKafkaConsumerGroupResult.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; - -MetastoreListKafkaConsumerGroupResult::MetastoreListKafkaConsumerGroupResult() : - ServiceResult() -{} - -MetastoreListKafkaConsumerGroupResult::MetastoreListKafkaConsumerGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListKafkaConsumerGroupResult::~MetastoreListKafkaConsumerGroupResult() -{} - -void MetastoreListKafkaConsumerGroupResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allConsumerGroupList = value["ConsumerGroupList"]["consumerGroup"]; - for (auto value : allConsumerGroupList) - { - ConsumerGroup consumerGroupListObject; - if(!value["Id"].isNull()) - consumerGroupListObject.id = value["Id"].asString(); - if(!value["DataSourceId"].isNull()) - consumerGroupListObject.dataSourceId = value["DataSourceId"].asString(); - if(!value["ConsumerGroup"].isNull()) - consumerGroupListObject.consumerGroup = value["ConsumerGroup"].asString(); - if(!value["ConsumerType"].isNull()) - consumerGroupListObject.consumerType = value["ConsumerType"].asString(); - if(!value["TotalLag"].isNull()) - consumerGroupListObject.totalLag = std::stol(value["TotalLag"].asString()); - if(!value["GmtCreate"].isNull()) - consumerGroupListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - consumerGroupListObject.gmtModified = std::stol(value["GmtModified"].asString()); - if(!value["PartitionProportion"].isNull()) - consumerGroupListObject.partitionProportion = value["PartitionProportion"].asString(); - consumerGroupList_.push_back(consumerGroupListObject); - } - 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 MetastoreListKafkaConsumerGroupResult::getTotalCount()const -{ - return totalCount_; -} - -int MetastoreListKafkaConsumerGroupResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListKafkaConsumerGroupResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector MetastoreListKafkaConsumerGroupResult::getConsumerGroupList()const -{ - return consumerGroupList_; -} - diff --git a/emr/src/model/MetastoreListKafkaTopicRequest.cc b/emr/src/model/MetastoreListKafkaTopicRequest.cc deleted file mode 100644 index ae7b6258c..000000000 --- a/emr/src/model/MetastoreListKafkaTopicRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreListKafkaTopicRequest; - -MetastoreListKafkaTopicRequest::MetastoreListKafkaTopicRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListKafkaTopic") -{} - -MetastoreListKafkaTopicRequest::~MetastoreListKafkaTopicRequest() -{} - -long MetastoreListKafkaTopicRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListKafkaTopicRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool MetastoreListKafkaTopicRequest::getActiveOnly()const -{ - return activeOnly_; -} - -void MetastoreListKafkaTopicRequest::setActiveOnly(bool activeOnly) -{ - activeOnly_ = activeOnly; - setCoreParameter("ActiveOnly", activeOnly ? "true" : "false"); -} - -std::string MetastoreListKafkaTopicRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListKafkaTopicRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int MetastoreListKafkaTopicRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListKafkaTopicRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string MetastoreListKafkaTopicRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void MetastoreListKafkaTopicRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string MetastoreListKafkaTopicRequest::getTopicName()const -{ - return topicName_; -} - -void MetastoreListKafkaTopicRequest::setTopicName(const std::string& topicName) -{ - topicName_ = topicName; - setCoreParameter("TopicName", topicName); -} - -std::string MetastoreListKafkaTopicRequest::getClusterId()const -{ - return clusterId_; -} - -void MetastoreListKafkaTopicRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -int MetastoreListKafkaTopicRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListKafkaTopicRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListKafkaTopicRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListKafkaTopicRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListKafkaTopicResult.cc b/emr/src/model/MetastoreListKafkaTopicResult.cc deleted file mode 100644 index ccd1857ee..000000000 --- a/emr/src/model/MetastoreListKafkaTopicResult.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreListKafkaTopicResult::MetastoreListKafkaTopicResult() : - ServiceResult() -{} - -MetastoreListKafkaTopicResult::MetastoreListKafkaTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListKafkaTopicResult::~MetastoreListKafkaTopicResult() -{} - -void MetastoreListKafkaTopicResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTopicList = value["TopicList"]["Topic"]; - for (auto value : allTopicList) - { - Topic topicListObject; - if(!value["Id"].isNull()) - topicListObject.id = value["Id"].asString(); - if(!value["DataSourceId"].isNull()) - topicListObject.dataSourceId = value["DataSourceId"].asString(); - if(!value["TopicName"].isNull()) - topicListObject.topicName = value["TopicName"].asString(); - if(!value["NumPartitions"].isNull()) - topicListObject.numPartitions = std::stoi(value["NumPartitions"].asString()); - if(!value["ReplicationFactor"].isNull()) - topicListObject.replicationFactor = std::stoi(value["ReplicationFactor"].asString()); - if(!value["GmtCreate"].isNull()) - topicListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - topicListObject.gmtModified = std::stol(value["GmtModified"].asString()); - if(!value["Status"].isNull()) - topicListObject.status = value["Status"].asString(); - if(!value["ReassignId"].isNull()) - topicListObject.reassignId = value["ReassignId"].asString(); - auto allAdvancedConfigList = value["AdvancedConfigList"]["AdvancedConfig"]; - for (auto value : allAdvancedConfigList) - { - Topic::AdvancedConfig advancedConfigListObject; - if(!value["Key"].isNull()) - advancedConfigListObject.key = value["Key"].asString(); - if(!value["Value"].isNull()) - advancedConfigListObject.value = value["Value"].asString(); - topicListObject.advancedConfigList.push_back(advancedConfigListObject); - } - auto clusterNode = value["Cluster"]; - if(!clusterNode["ClusterBizId"].isNull()) - topicListObject.cluster.clusterBizId = clusterNode["ClusterBizId"].asString(); - if(!clusterNode["ClusterName"].isNull()) - topicListObject.cluster.clusterName = clusterNode["ClusterName"].asString(); - if(!clusterNode["ClusterStatus"].isNull()) - topicListObject.cluster.clusterStatus = clusterNode["ClusterStatus"].asString(); - topicList_.push_back(topicListObject); - } - 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 MetastoreListKafkaTopicResult::getTotalCount()const -{ - return totalCount_; -} - -int MetastoreListKafkaTopicResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListKafkaTopicResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector MetastoreListKafkaTopicResult::getTopicList()const -{ - return topicList_; -} - diff --git a/emr/src/model/MetastoreListTablePartitionRequest.cc b/emr/src/model/MetastoreListTablePartitionRequest.cc deleted file mode 100644 index d6944190a..000000000 --- a/emr/src/model/MetastoreListTablePartitionRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreListTablePartitionRequest; - -MetastoreListTablePartitionRequest::MetastoreListTablePartitionRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListTablePartition") -{} - -MetastoreListTablePartitionRequest::~MetastoreListTablePartitionRequest() -{} - -long MetastoreListTablePartitionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListTablePartitionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListTablePartitionRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListTablePartitionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int MetastoreListTablePartitionRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListTablePartitionRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string MetastoreListTablePartitionRequest::getTableId()const -{ - return tableId_; -} - -void MetastoreListTablePartitionRequest::setTableId(const std::string& tableId) -{ - tableId_ = tableId; - setCoreParameter("TableId", tableId); -} - -std::string MetastoreListTablePartitionRequest::getDatabaseId()const -{ - return databaseId_; -} - -void MetastoreListTablePartitionRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setCoreParameter("DatabaseId", databaseId); -} - -int MetastoreListTablePartitionRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListTablePartitionRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListTablePartitionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListTablePartitionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListTablePartitionResult.cc b/emr/src/model/MetastoreListTablePartitionResult.cc deleted file mode 100644 index af1c3a354..000000000 --- a/emr/src/model/MetastoreListTablePartitionResult.cc +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreListTablePartitionResult::MetastoreListTablePartitionResult() : - ServiceResult() -{} - -MetastoreListTablePartitionResult::MetastoreListTablePartitionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListTablePartitionResult::~MetastoreListTablePartitionResult() -{} - -void MetastoreListTablePartitionResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allPartitionList = value["PartitionList"]["Partition"]; - for (auto value : allPartitionList) - { - Partition partitionListObject; - if(!value["DatabaseId"].isNull()) - partitionListObject.databaseId = value["DatabaseId"].asString(); - if(!value["TableId"].isNull()) - partitionListObject.tableId = value["TableId"].asString(); - if(!value["PartitionName"].isNull()) - partitionListObject.partitionName = value["PartitionName"].asString(); - if(!value["PartitionType"].isNull()) - partitionListObject.partitionType = value["PartitionType"].asString(); - if(!value["PartitionComment"].isNull()) - partitionListObject.partitionComment = value["PartitionComment"].asString(); - if(!value["Location"].isNull()) - partitionListObject.location = value["Location"].asString(); - if(!value["PartitionPath"].isNull()) - partitionListObject.partitionPath = value["PartitionPath"].asString(); - if(!value["BucketNum"].isNull()) - partitionListObject.bucketNum = std::stoi(value["BucketNum"].asString()); - if(!value["GmtCreate"].isNull()) - partitionListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - partitionListObject.gmtModified = std::stol(value["GmtModified"].asString()); - partitionList_.push_back(partitionListObject); - } - 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 MetastoreListTablePartitionResult::getTotalCount()const -{ - return totalCount_; -} - -int MetastoreListTablePartitionResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListTablePartitionResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector MetastoreListTablePartitionResult::getPartitionList()const -{ - return partitionList_; -} - diff --git a/emr/src/model/MetastoreListTablesRequest.cc b/emr/src/model/MetastoreListTablesRequest.cc deleted file mode 100644 index a8eb04cbc..000000000 --- a/emr/src/model/MetastoreListTablesRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreListTablesRequest; - -MetastoreListTablesRequest::MetastoreListTablesRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListTables") -{} - -MetastoreListTablesRequest::~MetastoreListTablesRequest() -{} - -long MetastoreListTablesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListTablesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListTablesRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreListTablesRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreListTablesRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListTablesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int MetastoreListTablesRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListTablesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string MetastoreListTablesRequest::getTableId()const -{ - return tableId_; -} - -void MetastoreListTablesRequest::setTableId(const std::string& tableId) -{ - tableId_ = tableId; - setCoreParameter("TableId", tableId); -} - -std::string MetastoreListTablesRequest::getDatabaseId()const -{ - return databaseId_; -} - -void MetastoreListTablesRequest::setDatabaseId(const std::string& databaseId) -{ - databaseId_ = databaseId; - setCoreParameter("DatabaseId", databaseId); -} - -std::string MetastoreListTablesRequest::getTableName()const -{ - return tableName_; -} - -void MetastoreListTablesRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -int MetastoreListTablesRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListTablesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListTablesRequest::getFuzzyTableName()const -{ - return fuzzyTableName_; -} - -void MetastoreListTablesRequest::setFuzzyTableName(const std::string& fuzzyTableName) -{ - fuzzyTableName_ = fuzzyTableName; - setCoreParameter("FuzzyTableName", fuzzyTableName); -} - -std::string MetastoreListTablesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListTablesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListTablesResult.cc b/emr/src/model/MetastoreListTablesResult.cc deleted file mode 100644 index 1be2f949f..000000000 --- a/emr/src/model/MetastoreListTablesResult.cc +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreListTablesResult::MetastoreListTablesResult() : - ServiceResult() -{} - -MetastoreListTablesResult::MetastoreListTablesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListTablesResult::~MetastoreListTablesResult() -{} - -void MetastoreListTablesResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTableList = value["TableList"]["Table"]; - for (auto value : allTableList) - { - Table tableListObject; - if(!value["Id"].isNull()) - tableListObject.id = value["Id"].asString(); - if(!value["DatabaseId"].isNull()) - tableListObject.databaseId = value["DatabaseId"].asString(); - if(!value["DatabaseName"].isNull()) - tableListObject.databaseName = value["DatabaseName"].asString(); - if(!value["ClusterBizId"].isNull()) - tableListObject.clusterBizId = value["ClusterBizId"].asString(); - if(!value["ClusterName"].isNull()) - tableListObject.clusterName = value["ClusterName"].asString(); - if(!value["TableName"].isNull()) - tableListObject.tableName = value["TableName"].asString(); - if(!value["TableComment"].isNull()) - tableListObject.tableComment = value["TableComment"].asString(); - if(!value["TableType"].isNull()) - tableListObject.tableType = value["TableType"].asString(); - if(!value["TableParameters"].isNull()) - tableListObject.tableParameters = value["TableParameters"].asString(); - if(!value["Owner"].isNull()) - tableListObject.owner = value["Owner"].asString(); - if(!value["OwnerType"].isNull()) - tableListObject.ownerType = value["OwnerType"].asString(); - if(!value["IsTemporary"].isNull()) - tableListObject.isTemporary = value["IsTemporary"].asString() == "true"; - if(!value["PartitionKeys"].isNull()) - tableListObject.partitionKeys = value["PartitionKeys"].asString(); - if(!value["SerializationLib"].isNull()) - tableListObject.serializationLib = value["SerializationLib"].asString(); - if(!value["SerdeParameters"].isNull()) - tableListObject.serdeParameters = value["SerdeParameters"].asString(); - if(!value["InputFormat"].isNull()) - tableListObject.inputFormat = value["InputFormat"].asString(); - if(!value["OutputFormat"].isNull()) - tableListObject.outputFormat = value["OutputFormat"].asString(); - if(!value["Location"].isNull()) - tableListObject.location = value["Location"].asString(); - if(!value["IsCompressed"].isNull()) - tableListObject.isCompressed = value["IsCompressed"].asString() == "true"; - if(!value["LastAccessTime"].isNull()) - tableListObject.lastAccessTime = std::stol(value["LastAccessTime"].asString()); - if(!value["CreateTime"].isNull()) - tableListObject.createTime = std::stol(value["CreateTime"].asString()); - if(!value["GmtCreate"].isNull()) - tableListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - tableListObject.gmtModified = std::stol(value["GmtModified"].asString()); - tableList_.push_back(tableListObject); - } - auto allTableNames = value["TableNames"]["TableName"]; - for (const auto &item : allTableNames) - tableNames_.push_back(item.asString()); - 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 MetastoreListTablesResult::getTotalCount()const -{ - return totalCount_; -} - -int MetastoreListTablesResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListTablesResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector MetastoreListTablesResult::getTableNames()const -{ - return tableNames_; -} - -std::vector MetastoreListTablesResult::getTableList()const -{ - return tableList_; -} - diff --git a/emr/src/model/MetastoreListTaskRequest.cc b/emr/src/model/MetastoreListTaskRequest.cc deleted file mode 100644 index 152428f55..000000000 --- a/emr/src/model/MetastoreListTaskRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreListTaskRequest; - -MetastoreListTaskRequest::MetastoreListTaskRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreListTask") -{} - -MetastoreListTaskRequest::~MetastoreListTaskRequest() -{} - -long MetastoreListTaskRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreListTaskRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreListTaskRequest::getTaskStatus()const -{ - return taskStatus_; -} - -void MetastoreListTaskRequest::setTaskStatus(const std::string& taskStatus) -{ - taskStatus_ = taskStatus; - setCoreParameter("TaskStatus", taskStatus); -} - -std::string MetastoreListTaskRequest::getTaskSourceType()const -{ - return taskSourceType_; -} - -void MetastoreListTaskRequest::setTaskSourceType(const std::string& taskSourceType) -{ - taskSourceType_ = taskSourceType; - setCoreParameter("TaskSourceType", taskSourceType); -} - -std::string MetastoreListTaskRequest::getTaskType()const -{ - return taskType_; -} - -void MetastoreListTaskRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setCoreParameter("TaskType", taskType); -} - -std::string MetastoreListTaskRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreListTaskRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int MetastoreListTaskRequest::getPageSize()const -{ - return pageSize_; -} - -void MetastoreListTaskRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - -std::string MetastoreListTaskRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void MetastoreListTaskRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -int MetastoreListTaskRequest::getPageNumber()const -{ - return pageNumber_; -} - -void MetastoreListTaskRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string MetastoreListTaskRequest::getTaskId()const -{ - return taskId_; -} - -void MetastoreListTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setCoreParameter("TaskId", taskId); -} - -std::string MetastoreListTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreListTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreListTaskResult.cc b/emr/src/model/MetastoreListTaskResult.cc deleted file mode 100644 index 2a2d8068f..000000000 --- a/emr/src/model/MetastoreListTaskResult.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreListTaskResult::MetastoreListTaskResult() : - ServiceResult() -{} - -MetastoreListTaskResult::MetastoreListTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreListTaskResult::~MetastoreListTaskResult() -{} - -void MetastoreListTaskResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTaskList = value["TaskList"]["Task"]; - for (auto value : allTaskList) - { - Task taskListObject; - if(!value["BizId"].isNull()) - taskListObject.bizId = value["BizId"].asString(); - if(!value["TaskType"].isNull()) - taskListObject.taskType = value["TaskType"].asString(); - if(!value["TaskObject"].isNull()) - taskListObject.taskObject = value["TaskObject"].asString(); - if(!value["TaskStatus"].isNull()) - taskListObject.taskStatus = value["TaskStatus"].asString(); - if(!value["StartTime"].isNull()) - taskListObject.startTime = std::stol(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - taskListObject.endTime = std::stol(value["EndTime"].asString()); - if(!value["TaskProcess"].isNull()) - taskListObject.taskProcess = std::stoi(value["TaskProcess"].asString()); - if(!value["TriggerUser"].isNull()) - taskListObject.triggerUser = value["TriggerUser"].asString(); - if(!value["TriggerType"].isNull()) - taskListObject.triggerType = value["TriggerType"].asString(); - if(!value["GmtCreate"].isNull()) - taskListObject.gmtCreate = std::stol(value["GmtCreate"].asString()); - if(!value["GmtModified"].isNull()) - taskListObject.gmtModified = std::stol(value["GmtModified"].asString()); - if(!value["ExecuteTime"].isNull()) - taskListObject.executeTime = std::stol(value["ExecuteTime"].asString()); - taskList_.push_back(taskListObject); - } - 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 MetastoreListTaskResult::getTotalCount()const -{ - return totalCount_; -} - -int MetastoreListTaskResult::getPageSize()const -{ - return pageSize_; -} - -int MetastoreListTaskResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector MetastoreListTaskResult::getTaskList()const -{ - return taskList_; -} - diff --git a/emr/src/model/MetastoreModifyDataResourceRequest.cc b/emr/src/model/MetastoreModifyDataResourceRequest.cc deleted file mode 100644 index ee696e834..000000000 --- a/emr/src/model/MetastoreModifyDataResourceRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreModifyDataResourceRequest; - -MetastoreModifyDataResourceRequest::MetastoreModifyDataResourceRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreModifyDataResource") -{} - -MetastoreModifyDataResourceRequest::~MetastoreModifyDataResourceRequest() -{} - -long MetastoreModifyDataResourceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreModifyDataResourceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -bool MetastoreModifyDataResourceRequest::getDefault()const -{ - return default_; -} - -void MetastoreModifyDataResourceRequest::setDefault(bool default) -{ - default_ = default; - setCoreParameter("Default", default ? "true" : "false"); -} - -std::string MetastoreModifyDataResourceRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreModifyDataResourceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreModifyDataResourceRequest::getName()const -{ - return name_; -} - -void MetastoreModifyDataResourceRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string MetastoreModifyDataResourceRequest::getDescription()const -{ - return description_; -} - -void MetastoreModifyDataResourceRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string MetastoreModifyDataResourceRequest::getId()const -{ - return id_; -} - -void MetastoreModifyDataResourceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string MetastoreModifyDataResourceRequest::getClusterId()const -{ - return clusterId_; -} - -void MetastoreModifyDataResourceRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string MetastoreModifyDataResourceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreModifyDataResourceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreModifyDataResourceResult.cc b/emr/src/model/MetastoreModifyDataResourceResult.cc deleted file mode 100644 index 8a9a7b12b..000000000 --- a/emr/src/model/MetastoreModifyDataResourceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MetastoreModifyDataResourceResult::MetastoreModifyDataResourceResult() : - ServiceResult() -{} - -MetastoreModifyDataResourceResult::MetastoreModifyDataResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreModifyDataResourceResult::~MetastoreModifyDataResourceResult() -{} - -void MetastoreModifyDataResourceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MetastoreRetryTaskRequest.cc b/emr/src/model/MetastoreRetryTaskRequest.cc deleted file mode 100644 index 3d4db1fc6..000000000 --- a/emr/src/model/MetastoreRetryTaskRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreRetryTaskRequest; - -MetastoreRetryTaskRequest::MetastoreRetryTaskRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreRetryTask") -{} - -MetastoreRetryTaskRequest::~MetastoreRetryTaskRequest() -{} - -long MetastoreRetryTaskRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreRetryTaskRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreRetryTaskRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreRetryTaskRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreRetryTaskRequest::getTaskId()const -{ - return taskId_; -} - -void MetastoreRetryTaskRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setCoreParameter("TaskId", taskId); -} - -std::string MetastoreRetryTaskRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreRetryTaskRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreRetryTaskResult.cc b/emr/src/model/MetastoreRetryTaskResult.cc deleted file mode 100644 index 9b229ea15..000000000 --- a/emr/src/model/MetastoreRetryTaskResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreRetryTaskResult::MetastoreRetryTaskResult() : - ServiceResult() -{} - -MetastoreRetryTaskResult::MetastoreRetryTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreRetryTaskResult::~MetastoreRetryTaskResult() -{} - -void MetastoreRetryTaskResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["success"].isNull()) - success_ = value["success"].asString() == "true"; - if(!value["NewTaskId"].isNull()) - newTaskId_ = value["NewTaskId"].asString() == "true"; - -} - -bool MetastoreRetryTaskResult::getNewTaskId()const -{ - return newTaskId_; -} - -bool MetastoreRetryTaskResult::getSuccess()const -{ - return success_; -} - diff --git a/emr/src/model/MetastoreSearchTablesRequest.cc b/emr/src/model/MetastoreSearchTablesRequest.cc deleted file mode 100644 index 09673ed6f..000000000 --- a/emr/src/model/MetastoreSearchTablesRequest.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 - -using AlibabaCloud::Emr::Model::MetastoreSearchTablesRequest; - -MetastoreSearchTablesRequest::MetastoreSearchTablesRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreSearchTables") -{} - -MetastoreSearchTablesRequest::~MetastoreSearchTablesRequest() -{} - -long MetastoreSearchTablesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreSearchTablesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreSearchTablesRequest::getDbName()const -{ - return dbName_; -} - -void MetastoreSearchTablesRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string MetastoreSearchTablesRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreSearchTablesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreSearchTablesRequest::getTableName()const -{ - return tableName_; -} - -void MetastoreSearchTablesRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string MetastoreSearchTablesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreSearchTablesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreSearchTablesResult.cc b/emr/src/model/MetastoreSearchTablesResult.cc deleted file mode 100644 index 641024f99..000000000 --- a/emr/src/model/MetastoreSearchTablesResult.cc +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreSearchTablesResult::MetastoreSearchTablesResult() : - ServiceResult() -{} - -MetastoreSearchTablesResult::MetastoreSearchTablesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreSearchTablesResult::~MetastoreSearchTablesResult() -{} - -void MetastoreSearchTablesResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allTableNames = value["TableNames"]["TableName"]; - for (const auto &item : allTableNames) - tableNames_.push_back(item.asString()); - -} - -std::vector MetastoreSearchTablesResult::getTableNames()const -{ - return tableNames_; -} - diff --git a/emr/src/model/MetastoreUpdateKafkaTopicBatchRequest.cc b/emr/src/model/MetastoreUpdateKafkaTopicBatchRequest.cc deleted file mode 100644 index f578d4ea9..000000000 --- a/emr/src/model/MetastoreUpdateKafkaTopicBatchRequest.cc +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreUpdateKafkaTopicBatchRequest; - -MetastoreUpdateKafkaTopicBatchRequest::MetastoreUpdateKafkaTopicBatchRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreUpdateKafkaTopicBatch") -{} - -MetastoreUpdateKafkaTopicBatchRequest::~MetastoreUpdateKafkaTopicBatchRequest() -{} - -long MetastoreUpdateKafkaTopicBatchRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreUpdateKafkaTopicBatchRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector MetastoreUpdateKafkaTopicBatchRequest::getTopicParam()const -{ - return topicParam_; -} - -void MetastoreUpdateKafkaTopicBatchRequest::setTopicParam(const std::vector& topicParam) -{ - topicParam_ = topicParam; - int i = 0; - for(int i = 0; i!= topicParam.size(); i++) { - auto obj = topicParam.at(i); - std::string str ="TopicParam."+ std::to_string(i); - setCoreParameter(str + ".TopicId", obj.topicId); - setCoreParameter(str + ".NumPartitions", std::to_string(obj.numPartitions)); - } -} - -std::string MetastoreUpdateKafkaTopicBatchRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreUpdateKafkaTopicBatchRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MetastoreUpdateKafkaTopicBatchRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreUpdateKafkaTopicBatchRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreUpdateKafkaTopicBatchResult.cc b/emr/src/model/MetastoreUpdateKafkaTopicBatchResult.cc deleted file mode 100644 index 7883fa05d..000000000 --- a/emr/src/model/MetastoreUpdateKafkaTopicBatchResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreUpdateKafkaTopicBatchResult::MetastoreUpdateKafkaTopicBatchResult() : - ServiceResult() -{} - -MetastoreUpdateKafkaTopicBatchResult::MetastoreUpdateKafkaTopicBatchResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreUpdateKafkaTopicBatchResult::~MetastoreUpdateKafkaTopicBatchResult() -{} - -void MetastoreUpdateKafkaTopicBatchResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - -} - -std::string MetastoreUpdateKafkaTopicBatchResult::getTaskId()const -{ - return taskId_; -} - diff --git a/emr/src/model/MetastoreUpdateKafkaTopicRequest.cc b/emr/src/model/MetastoreUpdateKafkaTopicRequest.cc deleted file mode 100644 index 994e42df3..000000000 --- a/emr/src/model/MetastoreUpdateKafkaTopicRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MetastoreUpdateKafkaTopicRequest; - -MetastoreUpdateKafkaTopicRequest::MetastoreUpdateKafkaTopicRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreUpdateKafkaTopic") -{} - -MetastoreUpdateKafkaTopicRequest::~MetastoreUpdateKafkaTopicRequest() -{} - -long MetastoreUpdateKafkaTopicRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreUpdateKafkaTopicRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreUpdateKafkaTopicRequest::getTopicId()const -{ - return topicId_; -} - -void MetastoreUpdateKafkaTopicRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string MetastoreUpdateKafkaTopicRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreUpdateKafkaTopicRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector MetastoreUpdateKafkaTopicRequest::getAdvancedConfig()const -{ - return advancedConfig_; -} - -void MetastoreUpdateKafkaTopicRequest::setAdvancedConfig(const std::vector& advancedConfig) -{ - advancedConfig_ = advancedConfig; - int i = 0; - for(int i = 0; i!= advancedConfig.size(); i++) { - auto obj = advancedConfig.at(i); - std::string str ="AdvancedConfig."+ std::to_string(i); - setCoreParameter(str + ".Value", obj.value); - setCoreParameter(str + ".Key", obj.key); - } -} - -int MetastoreUpdateKafkaTopicRequest::getNumPartitions()const -{ - return numPartitions_; -} - -void MetastoreUpdateKafkaTopicRequest::setNumPartitions(int numPartitions) -{ - numPartitions_ = numPartitions; - setCoreParameter("NumPartitions", std::to_string(numPartitions)); -} - -std::string MetastoreUpdateKafkaTopicRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreUpdateKafkaTopicRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreUpdateKafkaTopicResult.cc b/emr/src/model/MetastoreUpdateKafkaTopicResult.cc deleted file mode 100644 index 3e1cd5bc1..000000000 --- a/emr/src/model/MetastoreUpdateKafkaTopicResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreUpdateKafkaTopicResult::MetastoreUpdateKafkaTopicResult() : - ServiceResult() -{} - -MetastoreUpdateKafkaTopicResult::MetastoreUpdateKafkaTopicResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreUpdateKafkaTopicResult::~MetastoreUpdateKafkaTopicResult() -{} - -void MetastoreUpdateKafkaTopicResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - -} - -std::string MetastoreUpdateKafkaTopicResult::getTaskId()const -{ - return taskId_; -} - diff --git a/emr/src/model/MetastoreUpdateTableRequest.cc b/emr/src/model/MetastoreUpdateTableRequest.cc deleted file mode 100644 index 86e73891d..000000000 --- a/emr/src/model/MetastoreUpdateTableRequest.cc +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::MetastoreUpdateTableRequest; - -MetastoreUpdateTableRequest::MetastoreUpdateTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "MetastoreUpdateTable") -{} - -MetastoreUpdateTableRequest::~MetastoreUpdateTableRequest() -{} - -long MetastoreUpdateTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MetastoreUpdateTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MetastoreUpdateTableRequest::getRegionId()const -{ - return regionId_; -} - -void MetastoreUpdateTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector MetastoreUpdateTableRequest::getAddColumn()const -{ - return addColumn_; -} - -void MetastoreUpdateTableRequest::setAddColumn(const std::vector& addColumn) -{ - addColumn_ = addColumn; - int i = 0; - for(int i = 0; i!= addColumn.size(); i++) { - auto obj = addColumn.at(i); - std::string str ="AddColumn."+ std::to_string(i); - setCoreParameter(str + ".Name", obj.name); - setCoreParameter(str + ".Comment", obj.comment); - setCoreParameter(str + ".Type", obj.type); - } -} - -std::vector MetastoreUpdateTableRequest::getAddPartition()const -{ - return addPartition_; -} - -void MetastoreUpdateTableRequest::setAddPartition(const std::vector& addPartition) -{ - addPartition_ = addPartition; - int i = 0; - for(int i = 0; i!= addPartition.size(); i++) { - auto obj = addPartition.at(i); - std::string str ="AddPartition."+ std::to_string(i); - setCoreParameter(str + ".Name", obj.name); - setCoreParameter(str + ".Comment", obj.comment); - setCoreParameter(str + ".Type", obj.type); - } -} - -std::vector MetastoreUpdateTableRequest::getDeleteColumnName()const -{ - return deleteColumnName_; -} - -void MetastoreUpdateTableRequest::setDeleteColumnName(const std::vector& deleteColumnName) -{ - deleteColumnName_ = deleteColumnName; - for(int i = 0; i!= deleteColumnName.size(); i++) - setCoreParameter("DeleteColumnName."+ std::to_string(i), deleteColumnName.at(i)); -} - -std::string MetastoreUpdateTableRequest::getTableId()const -{ - return tableId_; -} - -void MetastoreUpdateTableRequest::setTableId(const std::string& tableId) -{ - tableId_ = tableId; - setCoreParameter("TableId", tableId); -} - -std::vector MetastoreUpdateTableRequest::getDeletePartitionName()const -{ - return deletePartitionName_; -} - -void MetastoreUpdateTableRequest::setDeletePartitionName(const std::vector& deletePartitionName) -{ - deletePartitionName_ = deletePartitionName; - for(int i = 0; i!= deletePartitionName.size(); i++) - setCoreParameter("DeletePartitionName."+ std::to_string(i), deletePartitionName.at(i)); -} - -std::string MetastoreUpdateTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MetastoreUpdateTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MetastoreUpdateTableResult.cc b/emr/src/model/MetastoreUpdateTableResult.cc deleted file mode 100644 index 0bdfad62f..000000000 --- a/emr/src/model/MetastoreUpdateTableResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MetastoreUpdateTableResult::MetastoreUpdateTableResult() : - ServiceResult() -{} - -MetastoreUpdateTableResult::MetastoreUpdateTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MetastoreUpdateTableResult::~MetastoreUpdateTableResult() -{} - -void MetastoreUpdateTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["success"].isNull()) - success_ = value["success"].asString() == "true"; - -} - -bool MetastoreUpdateTableResult::getSuccess()const -{ - return success_; -} - diff --git a/emr/src/model/MigrateClusterHostGroupHostRequest.cc b/emr/src/model/MigrateClusterHostGroupHostRequest.cc deleted file mode 100644 index bfbccdc63..000000000 --- a/emr/src/model/MigrateClusterHostGroupHostRequest.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MigrateClusterHostGroupHostRequest; - -MigrateClusterHostGroupHostRequest::MigrateClusterHostGroupHostRequest() : - RpcServiceRequest("emr", "2016-04-08", "MigrateClusterHostGroupHost") -{} - -MigrateClusterHostGroupHostRequest::~MigrateClusterHostGroupHostRequest() -{} - -std::vector MigrateClusterHostGroupHostRequest::getHostInstanceIdList()const -{ - return hostInstanceIdList_; -} - -void MigrateClusterHostGroupHostRequest::setHostInstanceIdList(const std::vector& hostInstanceIdList) -{ - hostInstanceIdList_ = hostInstanceIdList; - for(int i = 0; i!= hostInstanceIdList.size(); i++) - setCoreParameter("HostInstanceIdList."+ std::to_string(i), hostInstanceIdList.at(i)); -} - -long MigrateClusterHostGroupHostRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MigrateClusterHostGroupHostRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MigrateClusterHostGroupHostRequest::getRegionId()const -{ - return regionId_; -} - -void MigrateClusterHostGroupHostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MigrateClusterHostGroupHostRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void MigrateClusterHostGroupHostRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -std::string MigrateClusterHostGroupHostRequest::getClusterId()const -{ - return clusterId_; -} - -void MigrateClusterHostGroupHostRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string MigrateClusterHostGroupHostRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MigrateClusterHostGroupHostRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MigrateClusterHostGroupHostResult.cc b/emr/src/model/MigrateClusterHostGroupHostResult.cc deleted file mode 100644 index f329fb68d..000000000 --- a/emr/src/model/MigrateClusterHostGroupHostResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -MigrateClusterHostGroupHostResult::MigrateClusterHostGroupHostResult() : - ServiceResult() -{} - -MigrateClusterHostGroupHostResult::MigrateClusterHostGroupHostResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MigrateClusterHostGroupHostResult::~MigrateClusterHostGroupHostResult() -{} - -void MigrateClusterHostGroupHostResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/MigrateJobsRequest.cc b/emr/src/model/MigrateJobsRequest.cc deleted file mode 100644 index 5c8c37e70..000000000 --- a/emr/src/model/MigrateJobsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::MigrateJobsRequest; - -MigrateJobsRequest::MigrateJobsRequest() : - RpcServiceRequest("emr", "2016-04-08", "MigrateJobs") -{} - -MigrateJobsRequest::~MigrateJobsRequest() -{} - -long MigrateJobsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void MigrateJobsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string MigrateJobsRequest::getProjectName()const -{ - return projectName_; -} - -void MigrateJobsRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setCoreParameter("ProjectName", projectName); -} - -std::string MigrateJobsRequest::getRegionId()const -{ - return regionId_; -} - -void MigrateJobsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string MigrateJobsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void MigrateJobsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/MigrateJobsResult.cc b/emr/src/model/MigrateJobsResult.cc deleted file mode 100644 index d4e57e400..000000000 --- a/emr/src/model/MigrateJobsResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -MigrateJobsResult::MigrateJobsResult() : - ServiceResult() -{} - -MigrateJobsResult::MigrateJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MigrateJobsResult::~MigrateJobsResult() -{} - -void MigrateJobsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Result"].isNull()) - result_ = value["Result"].asString(); - -} - -std::string MigrateJobsResult::getResult()const -{ - return result_; -} - diff --git a/emr/src/model/ModifyAlertContactRequest.cc b/emr/src/model/ModifyAlertContactRequest.cc deleted file mode 100644 index 84d22da26..000000000 --- a/emr/src/model/ModifyAlertContactRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ModifyAlertContactRequest; - -ModifyAlertContactRequest::ModifyAlertContactRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyAlertContact") -{} - -ModifyAlertContactRequest::~ModifyAlertContactRequest() -{} - -std::string ModifyAlertContactRequest::getEmailVerificationCode()const -{ - return emailVerificationCode_; -} - -void ModifyAlertContactRequest::setEmailVerificationCode(const std::string& emailVerificationCode) -{ - emailVerificationCode_ = emailVerificationCode; - setCoreParameter("EmailVerificationCode", emailVerificationCode); -} - -long ModifyAlertContactRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyAlertContactRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyAlertContactRequest::getPhoneNumberVerificationCode()const -{ - return phoneNumberVerificationCode_; -} - -void ModifyAlertContactRequest::setPhoneNumberVerificationCode(const std::string& phoneNumberVerificationCode) -{ - phoneNumberVerificationCode_ = phoneNumberVerificationCode; - setCoreParameter("PhoneNumberVerificationCode", phoneNumberVerificationCode); -} - -std::string ModifyAlertContactRequest::getPhoneNumber()const -{ - return phoneNumber_; -} - -void ModifyAlertContactRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setCoreParameter("PhoneNumber", phoneNumber); -} - -std::string ModifyAlertContactRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyAlertContactRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyAlertContactRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyAlertContactRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyAlertContactRequest::getBizId()const -{ - return bizId_; -} - -void ModifyAlertContactRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string ModifyAlertContactRequest::getName()const -{ - return name_; -} - -void ModifyAlertContactRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string ModifyAlertContactRequest::getEmail()const -{ - return email_; -} - -void ModifyAlertContactRequest::setEmail(const std::string& email) -{ - email_ = email; - setCoreParameter("Email", email); -} - diff --git a/emr/src/model/ModifyAlertDingDingGroupRequest.cc b/emr/src/model/ModifyAlertDingDingGroupRequest.cc deleted file mode 100644 index 25a509fe6..000000000 --- a/emr/src/model/ModifyAlertDingDingGroupRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyAlertDingDingGroupRequest; - -ModifyAlertDingDingGroupRequest::ModifyAlertDingDingGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyAlertDingDingGroup") -{} - -ModifyAlertDingDingGroupRequest::~ModifyAlertDingDingGroupRequest() -{} - -long ModifyAlertDingDingGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyAlertDingDingGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyAlertDingDingGroupRequest::getDescription()const -{ - return description_; -} - -void ModifyAlertDingDingGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string ModifyAlertDingDingGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyAlertDingDingGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyAlertDingDingGroupRequest::getWebHookUrl()const -{ - return webHookUrl_; -} - -void ModifyAlertDingDingGroupRequest::setWebHookUrl(const std::string& webHookUrl) -{ - webHookUrl_ = webHookUrl; - setCoreParameter("WebHookUrl", webHookUrl); -} - -std::string ModifyAlertDingDingGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyAlertDingDingGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyAlertDingDingGroupRequest::getBizId()const -{ - return bizId_; -} - -void ModifyAlertDingDingGroupRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string ModifyAlertDingDingGroupRequest::getName()const -{ - return name_; -} - -void ModifyAlertDingDingGroupRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - diff --git a/emr/src/model/ModifyAlertDingDingGroupResult.cc b/emr/src/model/ModifyAlertDingDingGroupResult.cc deleted file mode 100644 index 0be7605e2..000000000 --- a/emr/src/model/ModifyAlertDingDingGroupResult.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; - -ModifyAlertDingDingGroupResult::ModifyAlertDingDingGroupResult() : - ServiceResult() -{} - -ModifyAlertDingDingGroupResult::ModifyAlertDingDingGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyAlertDingDingGroupResult::~ModifyAlertDingDingGroupResult() -{} - -void ModifyAlertDingDingGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Done"].isNull()) - done_ = value["Done"].asString() == "true"; - -} - -bool ModifyAlertDingDingGroupResult::getDone()const -{ - return done_; -} - diff --git a/emr/src/model/ModifyAlertUserGroupRequest.cc b/emr/src/model/ModifyAlertUserGroupRequest.cc deleted file mode 100644 index 896b0acc4..000000000 --- a/emr/src/model/ModifyAlertUserGroupRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyAlertUserGroupRequest; - -ModifyAlertUserGroupRequest::ModifyAlertUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyAlertUserGroup") -{} - -ModifyAlertUserGroupRequest::~ModifyAlertUserGroupRequest() -{} - -std::string ModifyAlertUserGroupRequest::getUserList()const -{ - return userList_; -} - -void ModifyAlertUserGroupRequest::setUserList(const std::string& userList) -{ - userList_ = userList; - setCoreParameter("UserList", userList); -} - -long ModifyAlertUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyAlertUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyAlertUserGroupRequest::getDescription()const -{ - return description_; -} - -void ModifyAlertUserGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string ModifyAlertUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyAlertUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyAlertUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyAlertUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyAlertUserGroupRequest::getBizId()const -{ - return bizId_; -} - -void ModifyAlertUserGroupRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string ModifyAlertUserGroupRequest::getName()const -{ - return name_; -} - -void ModifyAlertUserGroupRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - diff --git a/emr/src/model/ModifyClusterBootstrapActionRequest.cc b/emr/src/model/ModifyClusterBootstrapActionRequest.cc new file mode 100644 index 000000000..6bbf86a8c --- /dev/null +++ b/emr/src/model/ModifyClusterBootstrapActionRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::ModifyClusterBootstrapActionRequest; + +ModifyClusterBootstrapActionRequest::ModifyClusterBootstrapActionRequest() : + RpcServiceRequest("emr", "2016-04-08", "ModifyClusterBootstrapAction") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyClusterBootstrapActionRequest::~ModifyClusterBootstrapActionRequest() +{} + +long ModifyClusterBootstrapActionRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyClusterBootstrapActionRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyClusterBootstrapActionRequest::getClusterId()const +{ + return clusterId_; +} + +void ModifyClusterBootstrapActionRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ModifyClusterBootstrapActionRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyClusterBootstrapActionRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::vector ModifyClusterBootstrapActionRequest::getBootstrapAction()const +{ + return bootstrapAction_; +} + +void ModifyClusterBootstrapActionRequest::setBootstrapAction(const std::vector& bootstrapAction) +{ + bootstrapAction_ = bootstrapAction; + for(int dep1 = 0; dep1!= bootstrapAction.size(); dep1++) { + auto bootstrapActionObj = bootstrapAction.at(dep1); + std::string bootstrapActionObjStr = "BootstrapAction." + std::to_string(dep1 + 1); + setParameter(bootstrapActionObjStr + ".Path", bootstrapActionObj.path); + setParameter(bootstrapActionObjStr + ".ExecutionTarget", bootstrapActionObj.executionTarget); + setParameter(bootstrapActionObjStr + ".ExecutionMoment", bootstrapActionObj.executionMoment); + setParameter(bootstrapActionObjStr + ".Arg", bootstrapActionObj.arg); + setParameter(bootstrapActionObjStr + ".Name", bootstrapActionObj.name); + setParameter(bootstrapActionObjStr + ".ExecutionFailStrategy", bootstrapActionObj.executionFailStrategy); + } +} + +std::string ModifyClusterBootstrapActionRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyClusterBootstrapActionRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ModifyClusterBootstrapActionRequest::getId()const +{ + return id_; +} + +void ModifyClusterBootstrapActionRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + diff --git a/emr/src/model/ModifyClusterBootstrapActionResult.cc b/emr/src/model/ModifyClusterBootstrapActionResult.cc new file mode 100644 index 000000000..5ea923e5d --- /dev/null +++ b/emr/src/model/ModifyClusterBootstrapActionResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +ModifyClusterBootstrapActionResult::ModifyClusterBootstrapActionResult() : + ServiceResult() +{} + +ModifyClusterBootstrapActionResult::ModifyClusterBootstrapActionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyClusterBootstrapActionResult::~ModifyClusterBootstrapActionResult() +{} + +void ModifyClusterBootstrapActionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc b/emr/src/model/ModifyClusterSecurityGroupRuleRequest.cc new file mode 100644 index 000000000..789d788d1 --- /dev/null +++ b/emr/src/model/ModifyClusterSecurityGroupRuleRequest.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::ModifyClusterSecurityGroupRuleRequest; + +ModifyClusterSecurityGroupRuleRequest::ModifyClusterSecurityGroupRuleRequest() : + RpcServiceRequest("emr", "2016-04-08", "ModifyClusterSecurityGroupRule") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyClusterSecurityGroupRuleRequest::~ModifyClusterSecurityGroupRuleRequest() +{} + +std::string ModifyClusterSecurityGroupRuleRequest::getNicType()const +{ + return nicType_; +} + +void ModifyClusterSecurityGroupRuleRequest::setNicType(const std::string& nicType) +{ + nicType_ = nicType; + setParameter("NicType", nicType); +} + +long ModifyClusterSecurityGroupRuleRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyClusterSecurityGroupRuleRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getPortRange()const +{ + return portRange_; +} + +void ModifyClusterSecurityGroupRuleRequest::setPortRange(const std::string& portRange) +{ + portRange_ = portRange; + setParameter("PortRange", portRange); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getIpProtocol()const +{ + return ipProtocol_; +} + +void ModifyClusterSecurityGroupRuleRequest::setIpProtocol(const std::string& ipProtocol) +{ + ipProtocol_ = ipProtocol; + setParameter("IpProtocol", ipProtocol); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getClusterId()const +{ + return clusterId_; +} + +void ModifyClusterSecurityGroupRuleRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getWhiteIp()const +{ + return whiteIp_; +} + +void ModifyClusterSecurityGroupRuleRequest::setWhiteIp(const std::string& whiteIp) +{ + whiteIp_ = whiteIp; + setParameter("WhiteIp", whiteIp); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyClusterSecurityGroupRuleRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyClusterSecurityGroupRuleRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ModifyClusterSecurityGroupRuleRequest::getModifyType()const +{ + return modifyType_; +} + +void ModifyClusterSecurityGroupRuleRequest::setModifyType(const std::string& modifyType) +{ + modifyType_ = modifyType; + setParameter("ModifyType", modifyType); +} + diff --git a/emr/src/model/UpdateWorkspaceResourceSettingResult.cc b/emr/src/model/ModifyClusterSecurityGroupRuleResult.cc similarity index 70% rename from emr/src/model/UpdateWorkspaceResourceSettingResult.cc rename to emr/src/model/ModifyClusterSecurityGroupRuleResult.cc index 1f65e2515..bbd9bfc2a 100644 --- a/emr/src/model/UpdateWorkspaceResourceSettingResult.cc +++ b/emr/src/model/ModifyClusterSecurityGroupRuleResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -UpdateWorkspaceResourceSettingResult::UpdateWorkspaceResourceSettingResult() : +ModifyClusterSecurityGroupRuleResult::ModifyClusterSecurityGroupRuleResult() : ServiceResult() {} -UpdateWorkspaceResourceSettingResult::UpdateWorkspaceResourceSettingResult(const std::string &payload) : +ModifyClusterSecurityGroupRuleResult::ModifyClusterSecurityGroupRuleResult(const std::string &payload) : ServiceResult() { parse(payload); } -UpdateWorkspaceResourceSettingResult::~UpdateWorkspaceResourceSettingResult() +ModifyClusterSecurityGroupRuleResult::~ModifyClusterSecurityGroupRuleResult() {} -void UpdateWorkspaceResourceSettingResult::parse(const std::string &payload) +void ModifyClusterSecurityGroupRuleResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; diff --git a/emr/src/model/ModifyClusterServiceConfigForAdminRequest.cc b/emr/src/model/ModifyClusterServiceConfigForAdminRequest.cc deleted file mode 100644 index 353b184bf..000000000 --- a/emr/src/model/ModifyClusterServiceConfigForAdminRequest.cc +++ /dev/null @@ -1,193 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ModifyClusterServiceConfigForAdminRequest; - -ModifyClusterServiceConfigForAdminRequest::ModifyClusterServiceConfigForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyClusterServiceConfigForAdmin") -{} - -ModifyClusterServiceConfigForAdminRequest::~ModifyClusterServiceConfigForAdminRequest() -{} - -bool ModifyClusterServiceConfigForAdminRequest::getRefreshHostConfig()const -{ - return refreshHostConfig_; -} - -void ModifyClusterServiceConfigForAdminRequest::setRefreshHostConfig(bool refreshHostConfig) -{ - refreshHostConfig_ = refreshHostConfig; - setCoreParameter("RefreshHostConfig", refreshHostConfig ? "true" : "false"); -} - -long ModifyClusterServiceConfigForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getHostInstanceId()const -{ - return hostInstanceId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setHostInstanceId(const std::string& hostInstanceId) -{ - hostInstanceId_ = hostInstanceId; - setCoreParameter("HostInstanceId", hostInstanceId); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getUserId()const -{ - return userId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getServiceName()const -{ - return serviceName_; -} - -void ModifyClusterServiceConfigForAdminRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setCoreParameter("ServiceName", serviceName); -} - -std::vector ModifyClusterServiceConfigForAdminRequest::getGatewayClusterIdList()const -{ - return gatewayClusterIdList_; -} - -void ModifyClusterServiceConfigForAdminRequest::setGatewayClusterIdList(const std::vector& gatewayClusterIdList) -{ - gatewayClusterIdList_ = gatewayClusterIdList; - for(int i = 0; i!= gatewayClusterIdList.size(); i++) - setCoreParameter("GatewayClusterIdList."+ std::to_string(i), gatewayClusterIdList.at(i)); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getConfigParams()const -{ - return configParams_; -} - -void ModifyClusterServiceConfigForAdminRequest::setConfigParams(const std::string& configParams) -{ - configParams_ = configParams; - setCoreParameter("ConfigParams", configParams); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getConfigType()const -{ - return configType_; -} - -void ModifyClusterServiceConfigForAdminRequest::setConfigType(const std::string& configType) -{ - configType_ = configType; - setCoreParameter("ConfigType", configType); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getAuthor()const -{ - return author_; -} - -void ModifyClusterServiceConfigForAdminRequest::setAuthor(const std::string& author) -{ - author_ = author; - setCoreParameter("Author", author); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getGroupId()const -{ - return groupId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setCoreParameter("GroupId", groupId); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyClusterServiceConfigForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getCustomConfigParams()const -{ - return customConfigParams_; -} - -void ModifyClusterServiceConfigForAdminRequest::setCustomConfigParams(const std::string& customConfigParams) -{ - customConfigParams_ = customConfigParams; - setCoreParameter("CustomConfigParams", customConfigParams); -} - -std::string ModifyClusterServiceConfigForAdminRequest::getComment()const -{ - return comment_; -} - -void ModifyClusterServiceConfigForAdminRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setCoreParameter("Comment", comment); -} - diff --git a/emr/src/model/ModifyClusterServiceConfigForAdminResult.cc b/emr/src/model/ModifyClusterServiceConfigForAdminResult.cc deleted file mode 100644 index 0b8c58ae3..000000000 --- a/emr/src/model/ModifyClusterServiceConfigForAdminResult.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; - -ModifyClusterServiceConfigForAdminResult::ModifyClusterServiceConfigForAdminResult() : - ServiceResult() -{} - -ModifyClusterServiceConfigForAdminResult::ModifyClusterServiceConfigForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyClusterServiceConfigForAdminResult::~ModifyClusterServiceConfigForAdminResult() -{} - -void ModifyClusterServiceConfigForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyClusterTemplateRequest.cc b/emr/src/model/ModifyClusterTemplateRequest.cc index 9313bea9a..0d4438f32 100644 --- a/emr/src/model/ModifyClusterTemplateRequest.cc +++ b/emr/src/model/ModifyClusterTemplateRequest.cc @@ -126,6 +126,17 @@ void ModifyClusterTemplateRequest::setMachineType(const std::string& machineType setParameter("MachineType", machineType); } +std::string ModifyClusterTemplateRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ModifyClusterTemplateRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::vector ModifyClusterTemplateRequest::getBootstrapAction()const { return bootstrapAction_; @@ -138,8 +149,11 @@ void ModifyClusterTemplateRequest::setBootstrapAction(const std::vector ModifyClusterTemplateRequest::getTag()const +{ + return tag_; +} + +void ModifyClusterTemplateRequest::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 + ".Value", tagObj.value); + setParameter(tagObjStr + ".Key", tagObj.key); + } +} + bool ModifyClusterTemplateRequest::getIsOpenPublicIp()const { return isOpenPublicIp_; diff --git a/emr/src/model/ModifyExecutionPlanBasicInfoRequest.cc b/emr/src/model/ModifyExecutionPlanBasicInfoRequest.cc deleted file mode 100644 index 8e0704e41..000000000 --- a/emr/src/model/ModifyExecutionPlanBasicInfoRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyExecutionPlanBasicInfoRequest; - -ModifyExecutionPlanBasicInfoRequest::ModifyExecutionPlanBasicInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyExecutionPlanBasicInfo") -{} - -ModifyExecutionPlanBasicInfoRequest::~ModifyExecutionPlanBasicInfoRequest() -{} - -long ModifyExecutionPlanBasicInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyExecutionPlanBasicInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyExecutionPlanBasicInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyExecutionPlanBasicInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyExecutionPlanBasicInfoRequest::getName()const -{ - return name_; -} - -void ModifyExecutionPlanBasicInfoRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string ModifyExecutionPlanBasicInfoRequest::getId()const -{ - return id_; -} - -void ModifyExecutionPlanBasicInfoRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string ModifyExecutionPlanBasicInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyExecutionPlanBasicInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ModifyExecutionPlanBasicInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyExecutionPlanBasicInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ModifyExecutionPlanBasicInfoResult.cc b/emr/src/model/ModifyExecutionPlanBasicInfoResult.cc deleted file mode 100644 index 1a9b489f5..000000000 --- a/emr/src/model/ModifyExecutionPlanBasicInfoResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ModifyExecutionPlanBasicInfoResult::ModifyExecutionPlanBasicInfoResult() : - ServiceResult() -{} - -ModifyExecutionPlanBasicInfoResult::ModifyExecutionPlanBasicInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyExecutionPlanBasicInfoResult::~ModifyExecutionPlanBasicInfoResult() -{} - -void ModifyExecutionPlanBasicInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyExecutionPlanClusterInfoRequest.cc b/emr/src/model/ModifyExecutionPlanClusterInfoRequest.cc deleted file mode 100644 index f3e1ca273..000000000 --- a/emr/src/model/ModifyExecutionPlanClusterInfoRequest.cc +++ /dev/null @@ -1,332 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ModifyExecutionPlanClusterInfoRequest; - -ModifyExecutionPlanClusterInfoRequest::ModifyExecutionPlanClusterInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyExecutionPlanClusterInfo") -{} - -ModifyExecutionPlanClusterInfoRequest::~ModifyExecutionPlanClusterInfoRequest() -{} - -long ModifyExecutionPlanClusterInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getLogPath()const -{ - return logPath_; -} - -void ModifyExecutionPlanClusterInfoRequest::setLogPath(const std::string& logPath) -{ - logPath_ = logPath; - setCoreParameter("LogPath", logPath); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getClusterName()const -{ - return clusterName_; -} - -void ModifyExecutionPlanClusterInfoRequest::setClusterName(const std::string& clusterName) -{ - clusterName_ = clusterName; - setCoreParameter("ClusterName", clusterName); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getConfigurations()const -{ - return configurations_; -} - -void ModifyExecutionPlanClusterInfoRequest::setConfigurations(const std::string& configurations) -{ - configurations_ = configurations; - setCoreParameter("Configurations", configurations); -} - -bool ModifyExecutionPlanClusterInfoRequest::getIoOptimized()const -{ - return ioOptimized_; -} - -void ModifyExecutionPlanClusterInfoRequest::setIoOptimized(bool ioOptimized) -{ - ioOptimized_ = ioOptimized; - setCoreParameter("IoOptimized", ioOptimized ? "true" : "false"); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setCoreParameter("SecurityGroupId", securityGroupId); -} - -bool ModifyExecutionPlanClusterInfoRequest::getEasEnable()const -{ - return easEnable_; -} - -void ModifyExecutionPlanClusterInfoRequest::setEasEnable(bool easEnable) -{ - easEnable_ = easEnable; - setCoreParameter("EasEnable", easEnable ? "true" : "false"); -} - -bool ModifyExecutionPlanClusterInfoRequest::getCreateClusterOnDemand()const -{ - return createClusterOnDemand_; -} - -void ModifyExecutionPlanClusterInfoRequest::setCreateClusterOnDemand(bool createClusterOnDemand) -{ - createClusterOnDemand_ = createClusterOnDemand; - setCoreParameter("CreateClusterOnDemand", createClusterOnDemand ? "true" : "false"); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::vector ModifyExecutionPlanClusterInfoRequest::getBootstrapAction()const -{ - return bootstrapAction_; -} - -void ModifyExecutionPlanClusterInfoRequest::setBootstrapAction(const std::vector& bootstrapAction) -{ - bootstrapAction_ = bootstrapAction; - int i = 0; - for(int i = 0; i!= bootstrapAction.size(); i++) { - auto obj = bootstrapAction.at(i); - std::string str ="BootstrapAction."+ std::to_string(i); - setCoreParameter(str + ".Path", obj.path); - setCoreParameter(str + ".Arg", obj.arg); - setCoreParameter(str + ".Name", obj.name); - } -} - -std::string ModifyExecutionPlanClusterInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -bool ModifyExecutionPlanClusterInfoRequest::getUseLocalMetaDb()const -{ - return useLocalMetaDb_; -} - -void ModifyExecutionPlanClusterInfoRequest::setUseLocalMetaDb(bool useLocalMetaDb) -{ - useLocalMetaDb_ = useLocalMetaDb; - setCoreParameter("UseLocalMetaDb", useLocalMetaDb ? "true" : "false"); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getEmrVer()const -{ - return emrVer_; -} - -void ModifyExecutionPlanClusterInfoRequest::setEmrVer(const std::string& emrVer) -{ - emrVer_ = emrVer; - setCoreParameter("EmrVer", emrVer); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getId()const -{ - return id_; -} - -void ModifyExecutionPlanClusterInfoRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -bool ModifyExecutionPlanClusterInfoRequest::getIsOpenPublicIp()const -{ - return isOpenPublicIp_; -} - -void ModifyExecutionPlanClusterInfoRequest::setIsOpenPublicIp(bool isOpenPublicIp) -{ - isOpenPublicIp_ = isOpenPublicIp; - setCoreParameter("IsOpenPublicIp", isOpenPublicIp ? "true" : "false"); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getClusterId()const -{ - return clusterId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getInstanceGeneration()const -{ - return instanceGeneration_; -} - -void ModifyExecutionPlanClusterInfoRequest::setInstanceGeneration(const std::string& instanceGeneration) -{ - instanceGeneration_ = instanceGeneration; - setCoreParameter("InstanceGeneration", instanceGeneration); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getClusterType()const -{ - return clusterType_; -} - -void ModifyExecutionPlanClusterInfoRequest::setClusterType(const std::string& clusterType) -{ - clusterType_ = clusterType; - setCoreParameter("ClusterType", clusterType); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getVSwitchId()const -{ - return vSwitchId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setVSwitchId(const std::string& vSwitchId) -{ - vSwitchId_ = vSwitchId; - setCoreParameter("VSwitchId", vSwitchId); -} - -std::vector ModifyExecutionPlanClusterInfoRequest::getOptionSoftWareList()const -{ - return optionSoftWareList_; -} - -void ModifyExecutionPlanClusterInfoRequest::setOptionSoftWareList(const std::vector& optionSoftWareList) -{ - optionSoftWareList_ = optionSoftWareList; - for(int i = 0; i!= optionSoftWareList.size(); i++) - setCoreParameter("OptionSoftWareList."+ std::to_string(i), optionSoftWareList.at(i)); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getVpcId()const -{ - return vpcId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setCoreParameter("VpcId", vpcId); -} - -std::string ModifyExecutionPlanClusterInfoRequest::getNetType()const -{ - return netType_; -} - -void ModifyExecutionPlanClusterInfoRequest::setNetType(const std::string& netType) -{ - netType_ = netType; - setCoreParameter("NetType", netType); -} - -std::vector ModifyExecutionPlanClusterInfoRequest::getEcsOrder()const -{ - return ecsOrder_; -} - -void ModifyExecutionPlanClusterInfoRequest::setEcsOrder(const std::vector& ecsOrder) -{ - ecsOrder_ = ecsOrder; - int i = 0; - for(int i = 0; i!= ecsOrder.size(); i++) { - auto obj = ecsOrder.at(i); - std::string str ="EcsOrder."+ std::to_string(i); - setCoreParameter(str + ".NodeType", obj.nodeType); - setCoreParameter(str + ".DiskCount", std::to_string(obj.diskCount)); - setCoreParameter(str + ".NodeCount", std::to_string(obj.nodeCount)); - setCoreParameter(str + ".DiskCapacity", std::to_string(obj.diskCapacity)); - setCoreParameter(str + ".Index", std::to_string(obj.index)); - setCoreParameter(str + ".InstanceType", obj.instanceType); - setCoreParameter(str + ".DiskType", obj.diskType); - } -} - -std::string ModifyExecutionPlanClusterInfoRequest::getZoneId()const -{ - return zoneId_; -} - -void ModifyExecutionPlanClusterInfoRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setCoreParameter("ZoneId", zoneId); -} - -bool ModifyExecutionPlanClusterInfoRequest::getHighAvailabilityEnable()const -{ - return highAvailabilityEnable_; -} - -void ModifyExecutionPlanClusterInfoRequest::setHighAvailabilityEnable(bool highAvailabilityEnable) -{ - highAvailabilityEnable_ = highAvailabilityEnable; - setCoreParameter("HighAvailabilityEnable", highAvailabilityEnable ? "true" : "false"); -} - -bool ModifyExecutionPlanClusterInfoRequest::getLogEnable()const -{ - return logEnable_; -} - -void ModifyExecutionPlanClusterInfoRequest::setLogEnable(bool logEnable) -{ - logEnable_ = logEnable; - setCoreParameter("LogEnable", logEnable ? "true" : "false"); -} - diff --git a/emr/src/model/ModifyExecutionPlanClusterInfoResult.cc b/emr/src/model/ModifyExecutionPlanClusterInfoResult.cc deleted file mode 100644 index 6268da4bc..000000000 --- a/emr/src/model/ModifyExecutionPlanClusterInfoResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ModifyExecutionPlanClusterInfoResult::ModifyExecutionPlanClusterInfoResult() : - ServiceResult() -{} - -ModifyExecutionPlanClusterInfoResult::ModifyExecutionPlanClusterInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyExecutionPlanClusterInfoResult::~ModifyExecutionPlanClusterInfoResult() -{} - -void ModifyExecutionPlanClusterInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyExecutionPlanJobInfoRequest.cc b/emr/src/model/ModifyExecutionPlanJobInfoRequest.cc deleted file mode 100644 index 53a2810a8..000000000 --- a/emr/src/model/ModifyExecutionPlanJobInfoRequest.cc +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ModifyExecutionPlanJobInfoRequest; - -ModifyExecutionPlanJobInfoRequest::ModifyExecutionPlanJobInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyExecutionPlanJobInfo") -{} - -ModifyExecutionPlanJobInfoRequest::~ModifyExecutionPlanJobInfoRequest() -{} - -long ModifyExecutionPlanJobInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyExecutionPlanJobInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyExecutionPlanJobInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyExecutionPlanJobInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyExecutionPlanJobInfoRequest::getId()const -{ - return id_; -} - -void ModifyExecutionPlanJobInfoRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::vector ModifyExecutionPlanJobInfoRequest::getJobIdList()const -{ - return jobIdList_; -} - -void ModifyExecutionPlanJobInfoRequest::setJobIdList(const std::vector& jobIdList) -{ - jobIdList_ = jobIdList; - for(int i = 0; i!= jobIdList.size(); i++) - setCoreParameter("JobIdList."+ std::to_string(i), jobIdList.at(i)); -} - -std::string ModifyExecutionPlanJobInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyExecutionPlanJobInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ModifyExecutionPlanJobInfoResult.cc b/emr/src/model/ModifyExecutionPlanJobInfoResult.cc deleted file mode 100644 index e2f1e1516..000000000 --- a/emr/src/model/ModifyExecutionPlanJobInfoResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ModifyExecutionPlanJobInfoResult::ModifyExecutionPlanJobInfoResult() : - ServiceResult() -{} - -ModifyExecutionPlanJobInfoResult::ModifyExecutionPlanJobInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyExecutionPlanJobInfoResult::~ModifyExecutionPlanJobInfoResult() -{} - -void ModifyExecutionPlanJobInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyExecutionPlanRequest.cc b/emr/src/model/ModifyExecutionPlanRequest.cc index 605129274..e98a93799 100644 --- a/emr/src/model/ModifyExecutionPlanRequest.cc +++ b/emr/src/model/ModifyExecutionPlanRequest.cc @@ -116,8 +116,11 @@ void ModifyExecutionPlanRequest::setBootstrapAction(const std::vector - -using AlibabaCloud::Emr::Model::ModifyExecutionPlanScheduleInfoRequest; - -ModifyExecutionPlanScheduleInfoRequest::ModifyExecutionPlanScheduleInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyExecutionPlanScheduleInfo") -{} - -ModifyExecutionPlanScheduleInfoRequest::~ModifyExecutionPlanScheduleInfoRequest() -{} - -long ModifyExecutionPlanScheduleInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ModifyExecutionPlanScheduleInfoRequest::getTimeInterval()const -{ - return timeInterval_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setTimeInterval(int timeInterval) -{ - timeInterval_ = timeInterval; - setCoreParameter("TimeInterval", std::to_string(timeInterval)); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getDayOfWeek()const -{ - return dayOfWeek_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setDayOfWeek(const std::string& dayOfWeek) -{ - dayOfWeek_ = dayOfWeek; - setCoreParameter("DayOfWeek", dayOfWeek); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getId()const -{ - return id_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -long ModifyExecutionPlanScheduleInfoRequest::getStartTime()const -{ - return startTime_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setCoreParameter("StartTime", std::to_string(startTime)); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getStrategy()const -{ - return strategy_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setStrategy(const std::string& strategy) -{ - strategy_ = strategy; - setCoreParameter("Strategy", strategy); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getTimeUnit()const -{ - return timeUnit_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setTimeUnit(const std::string& timeUnit) -{ - timeUnit_ = timeUnit; - setCoreParameter("TimeUnit", timeUnit); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyExecutionPlanScheduleInfoRequest::getDayOfMonth()const -{ - return dayOfMonth_; -} - -void ModifyExecutionPlanScheduleInfoRequest::setDayOfMonth(const std::string& dayOfMonth) -{ - dayOfMonth_ = dayOfMonth; - setCoreParameter("DayOfMonth", dayOfMonth); -} - diff --git a/emr/src/model/ModifyExecutionPlanScheduleInfoResult.cc b/emr/src/model/ModifyExecutionPlanScheduleInfoResult.cc deleted file mode 100644 index 39cced3d7..000000000 --- a/emr/src/model/ModifyExecutionPlanScheduleInfoResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ModifyExecutionPlanScheduleInfoResult::ModifyExecutionPlanScheduleInfoResult() : - ServiceResult() -{} - -ModifyExecutionPlanScheduleInfoResult::ModifyExecutionPlanScheduleInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyExecutionPlanScheduleInfoResult::~ModifyExecutionPlanScheduleInfoResult() -{} - -void ModifyExecutionPlanScheduleInfoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyFlowForWebRequest.cc b/emr/src/model/ModifyFlowForWebRequest.cc index aeb734bbe..de991e9f1 100644 --- a/emr/src/model/ModifyFlowForWebRequest.cc +++ b/emr/src/model/ModifyFlowForWebRequest.cc @@ -71,6 +71,17 @@ void ModifyFlowForWebRequest::setAlertUserGroupBizId(const std::string& alertUse setParameter("AlertUserGroupBizId", alertUserGroupBizId); } +std::string ModifyFlowForWebRequest::getLifecycle()const +{ + return lifecycle_; +} + +void ModifyFlowForWebRequest::setLifecycle(const std::string& lifecycle) +{ + lifecycle_ = lifecycle; + setParameter("Lifecycle", lifecycle); +} + std::string ModifyFlowForWebRequest::getHostName()const { return hostName_; @@ -159,6 +170,17 @@ void ModifyFlowForWebRequest::setParentFlowList(const std::string& parentFlowLis setParameter("ParentFlowList", parentFlowList); } +std::string ModifyFlowForWebRequest::getLogArchiveLocation()const +{ + return logArchiveLocation_; +} + +void ModifyFlowForWebRequest::setLogArchiveLocation(const std::string& logArchiveLocation) +{ + logArchiveLocation_ = logArchiveLocation; + setParameter("LogArchiveLocation", logArchiveLocation); +} + std::string ModifyFlowForWebRequest::getAlertDingDingGroupBizId()const { return alertDingDingGroupBizId_; @@ -214,6 +236,17 @@ void ModifyFlowForWebRequest::setName(const std::string& name) setParameter("Name", name); } +std::string ModifyFlowForWebRequest::get_Namespace()const +{ + return _namespace_; +} + +void ModifyFlowForWebRequest::set_Namespace(const std::string& _namespace) +{ + _namespace_ = _namespace; + setParameter("_Namespace", _namespace); +} + std::string ModifyFlowForWebRequest::getStatus()const { return status_; diff --git a/emr/src/model/ModifyFlowJobRequest.cc b/emr/src/model/ModifyFlowJobRequest.cc index 1c8f60be0..144497114 100644 --- a/emr/src/model/ModifyFlowJobRequest.cc +++ b/emr/src/model/ModifyFlowJobRequest.cc @@ -27,6 +27,17 @@ ModifyFlowJobRequest::ModifyFlowJobRequest() : ModifyFlowJobRequest::~ModifyFlowJobRequest() {} +std::string ModifyFlowJobRequest::getRetryPolicy()const +{ + return retryPolicy_; +} + +void ModifyFlowJobRequest::setRetryPolicy(const std::string& retryPolicy) +{ + retryPolicy_ = retryPolicy; + setParameter("RetryPolicy", retryPolicy); +} + std::string ModifyFlowJobRequest::getRunConf()const { return runConf_; diff --git a/emr/src/model/ModifyFlowRequest.cc b/emr/src/model/ModifyFlowRequest.cc index f60de685f..9e5aee824 100644 --- a/emr/src/model/ModifyFlowRequest.cc +++ b/emr/src/model/ModifyFlowRequest.cc @@ -71,6 +71,17 @@ void ModifyFlowRequest::setAlertUserGroupBizId(const std::string& alertUserGroup setParameter("AlertUserGroupBizId", alertUserGroupBizId); } +std::string ModifyFlowRequest::getLifecycle()const +{ + return lifecycle_; +} + +void ModifyFlowRequest::setLifecycle(const std::string& lifecycle) +{ + lifecycle_ = lifecycle; + setParameter("Lifecycle", lifecycle); +} + std::string ModifyFlowRequest::getHostName()const { return hostName_; @@ -159,6 +170,17 @@ void ModifyFlowRequest::setParentFlowList(const std::string& parentFlowList) setParameter("ParentFlowList", parentFlowList); } +std::string ModifyFlowRequest::getLogArchiveLocation()const +{ + return logArchiveLocation_; +} + +void ModifyFlowRequest::setLogArchiveLocation(const std::string& logArchiveLocation) +{ + logArchiveLocation_ = logArchiveLocation; + setParameter("LogArchiveLocation", logArchiveLocation); +} + std::string ModifyFlowRequest::getAlertDingDingGroupBizId()const { return alertDingDingGroupBizId_; @@ -214,6 +236,17 @@ void ModifyFlowRequest::setName(const std::string& name) setParameter("Name", name); } +std::string ModifyFlowRequest::get_Namespace()const +{ + return _namespace_; +} + +void ModifyFlowRequest::set_Namespace(const std::string& _namespace) +{ + _namespace_ = _namespace; + setParameter("_Namespace", _namespace); +} + std::string ModifyFlowRequest::getStatus()const { return status_; diff --git a/emr/src/model/ModifyFlowVariableCollectionRequest.cc b/emr/src/model/ModifyFlowVariableCollectionRequest.cc deleted file mode 100644 index b5eb26630..000000000 --- a/emr/src/model/ModifyFlowVariableCollectionRequest.cc +++ /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. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyFlowVariableCollectionRequest; - -ModifyFlowVariableCollectionRequest::ModifyFlowVariableCollectionRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyFlowVariableCollection") -{} - -ModifyFlowVariableCollectionRequest::~ModifyFlowVariableCollectionRequest() -{} - -std::string ModifyFlowVariableCollectionRequest::getData()const -{ - return data_; -} - -void ModifyFlowVariableCollectionRequest::setData(const std::string& data) -{ - data_ = data; - setCoreParameter("Data", data); -} - -std::string ModifyFlowVariableCollectionRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyFlowVariableCollectionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/ModifyFlowVariableCollectionResult.cc b/emr/src/model/ModifyFlowVariableCollectionResult.cc deleted file mode 100644 index 12e17500d..000000000 --- a/emr/src/model/ModifyFlowVariableCollectionResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ModifyFlowVariableCollectionResult::ModifyFlowVariableCollectionResult() : - ServiceResult() -{} - -ModifyFlowVariableCollectionResult::ModifyFlowVariableCollectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyFlowVariableCollectionResult::~ModifyFlowVariableCollectionResult() -{} - -void ModifyFlowVariableCollectionResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/ModifyHostPoolRequest.cc b/emr/src/model/ModifyHostPoolRequest.cc deleted file mode 100644 index 32c601fa7..000000000 --- a/emr/src/model/ModifyHostPoolRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ModifyHostPoolRequest; - -ModifyHostPoolRequest::ModifyHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyHostPool") -{} - -ModifyHostPoolRequest::~ModifyHostPoolRequest() -{} - -long ModifyHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyHostPoolRequest::getName()const -{ - return name_; -} - -void ModifyHostPoolRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string ModifyHostPoolRequest::getBizId()const -{ - return bizId_; -} - -void ModifyHostPoolRequest::setBizId(const std::string& bizId) -{ - bizId_ = bizId; - setCoreParameter("BizId", bizId); -} - -std::string ModifyHostPoolRequest::getDescription()const -{ - return description_; -} - -void ModifyHostPoolRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string ModifyHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ModifyHostPoolResult.cc b/emr/src/model/ModifyHostPoolResult.cc deleted file mode 100644 index f5766d586..000000000 --- a/emr/src/model/ModifyHostPoolResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyHostPoolResult::ModifyHostPoolResult() : - ServiceResult() -{} - -ModifyHostPoolResult::ModifyHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyHostPoolResult::~ModifyHostPoolResult() -{} - -void ModifyHostPoolResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["BizId"].isNull()) - bizId_ = value["BizId"].asString(); - -} - -std::string ModifyHostPoolResult::getBizId()const -{ - return bizId_; -} - diff --git a/emr/src/model/ModifyHpHostRequest.cc b/emr/src/model/ModifyHpHostRequest.cc deleted file mode 100644 index 74cfe6a4b..000000000 --- a/emr/src/model/ModifyHpHostRequest.cc +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ModifyHpHostRequest; - -ModifyHpHostRequest::ModifyHpHostRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyHpHost") -{} - -ModifyHpHostRequest::~ModifyHpHostRequest() -{} - -int ModifyHpHostRequest::getCpuCore()const -{ - return cpuCore_; -} - -void ModifyHpHostRequest::setCpuCore(int cpuCore) -{ - cpuCore_ = cpuCore; - setCoreParameter("CpuCore", std::to_string(cpuCore)); -} - -int ModifyHpHostRequest::getMemSize()const -{ - return memSize_; -} - -void ModifyHpHostRequest::setMemSize(int memSize) -{ - memSize_ = memSize; - setCoreParameter("MemSize", std::to_string(memSize)); -} - -long ModifyHpHostRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyHpHostRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyHpHostRequest::getRackInfo()const -{ - return rackInfo_; -} - -void ModifyHpHostRequest::setRackInfo(const std::string& rackInfo) -{ - rackInfo_ = rackInfo; - setCoreParameter("RackInfo", rackInfo); -} - -std::string ModifyHpHostRequest::getRole()const -{ - return role_; -} - -void ModifyHpHostRequest::setRole(const std::string& role) -{ - role_ = role; - setCoreParameter("Role", role); -} - -std::string ModifyHpHostRequest::getHostType()const -{ - return hostType_; -} - -void ModifyHpHostRequest::setHostType(const std::string& hostType) -{ - hostType_ = hostType; - setCoreParameter("HostType", hostType); -} - -std::string ModifyHpHostRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void ModifyHpHostRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setCoreParameter("SecurityGroupId", securityGroupId); -} - -std::string ModifyHpHostRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyHpHostRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ModifyHpHostRequest::getHpHostBizId()const -{ - return hpHostBizId_; -} - -void ModifyHpHostRequest::setHpHostBizId(const std::string& hpHostBizId) -{ - hpHostBizId_ = hpHostBizId; - setCoreParameter("HpHostBizId", hpHostBizId); -} - -std::string ModifyHpHostRequest::getHostName()const -{ - return hostName_; -} - -void ModifyHpHostRequest::setHostName(const std::string& hostName) -{ - hostName_ = hostName; - setCoreParameter("HostName", hostName); -} - -std::string ModifyHpHostRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyHpHostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyHpHostRequest::getInnerIp()const -{ - return innerIp_; -} - -void ModifyHpHostRequest::setInnerIp(const std::string& innerIp) -{ - innerIp_ = innerIp; - setCoreParameter("InnerIp", innerIp); -} - -std::string ModifyHpHostRequest::getExternalIp()const -{ - return externalIp_; -} - -void ModifyHpHostRequest::setExternalIp(const std::string& externalIp) -{ - externalIp_ = externalIp; - setCoreParameter("ExternalIp", externalIp); -} - -std::string ModifyHpHostRequest::getSerialNumber()const -{ - return serialNumber_; -} - -void ModifyHpHostRequest::setSerialNumber(const std::string& serialNumber) -{ - serialNumber_ = serialNumber; - setCoreParameter("SerialNumber", serialNumber); -} - -std::vector ModifyHpHostRequest::getHpHostDisk()const -{ - return hpHostDisk_; -} - -void ModifyHpHostRequest::setHpHostDisk(const std::vector& hpHostDisk) -{ - hpHostDisk_ = hpHostDisk; - int i = 0; - for(int i = 0; i!= hpHostDisk.size(); i++) { - auto obj = hpHostDisk.at(i); - std::string str ="HpHostDisk."+ std::to_string(i); - setCoreParameter(str + ".DiskSize", obj.diskSize); - setCoreParameter(str + ".MountPath", obj.mountPath); - setCoreParameter(str + ".DiskDevice", obj.diskDevice); - } -} - -std::string ModifyHpHostRequest::getVswitchId()const -{ - return vswitchId_; -} - -void ModifyHpHostRequest::setVswitchId(const std::string& vswitchId) -{ - vswitchId_ = vswitchId; - setCoreParameter("VswitchId", vswitchId); -} - -std::string ModifyHpHostRequest::getExternalKey()const -{ - return externalKey_; -} - -void ModifyHpHostRequest::setExternalKey(const std::string& externalKey) -{ - externalKey_ = externalKey; - setCoreParameter("ExternalKey", externalKey); -} - -std::string ModifyHpHostRequest::getVpcId()const -{ - return vpcId_; -} - -void ModifyHpHostRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setCoreParameter("VpcId", vpcId); -} - diff --git a/emr/src/model/ModifyJobExecutionPlanFolderRequest.cc b/emr/src/model/ModifyJobExecutionPlanFolderRequest.cc deleted file mode 100644 index 31095948d..000000000 --- a/emr/src/model/ModifyJobExecutionPlanFolderRequest.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 - -using AlibabaCloud::Emr::Model::ModifyJobExecutionPlanFolderRequest; - -ModifyJobExecutionPlanFolderRequest::ModifyJobExecutionPlanFolderRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyJobExecutionPlanFolder") -{} - -ModifyJobExecutionPlanFolderRequest::~ModifyJobExecutionPlanFolderRequest() -{} - -long ModifyJobExecutionPlanFolderRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyJobExecutionPlanFolderRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyJobExecutionPlanFolderRequest::getName()const -{ - return name_; -} - -void ModifyJobExecutionPlanFolderRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -long ModifyJobExecutionPlanFolderRequest::getId()const -{ - return id_; -} - -void ModifyJobExecutionPlanFolderRequest::setId(long id) -{ - id_ = id; - setCoreParameter("Id", std::to_string(id)); -} - -long ModifyJobExecutionPlanFolderRequest::getParentId()const -{ - return parentId_; -} - -void ModifyJobExecutionPlanFolderRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setCoreParameter("ParentId", std::to_string(parentId)); -} - -std::string ModifyJobExecutionPlanFolderRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyJobExecutionPlanFolderRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ModifyJobExecutionPlanFolderResult.cc b/emr/src/model/ModifyJobExecutionPlanFolderResult.cc deleted file mode 100644 index 059ae7b80..000000000 --- a/emr/src/model/ModifyJobExecutionPlanFolderResult.cc +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ModifyJobExecutionPlanFolderResult::ModifyJobExecutionPlanFolderResult() : - ServiceResult() -{} - -ModifyJobExecutionPlanFolderResult::ModifyJobExecutionPlanFolderResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyJobExecutionPlanFolderResult::~ModifyJobExecutionPlanFolderResult() -{} - -void ModifyJobExecutionPlanFolderResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString(); - if(!value["ErrCode"].isNull()) - errCode_ = value["ErrCode"].asString(); - if(!value["ErrMsg"].isNull()) - errMsg_ = value["ErrMsg"].asString(); - if(!value["FolderId"].isNull()) - folderId_ = value["FolderId"].asString(); - -} - -std::string ModifyJobExecutionPlanFolderResult::getErrMsg()const -{ - return errMsg_; -} - -std::string ModifyJobExecutionPlanFolderResult::getFolderId()const -{ - return folderId_; -} - -std::string ModifyJobExecutionPlanFolderResult::getSuccess()const -{ - return success_; -} - -std::string ModifyJobExecutionPlanFolderResult::getErrCode()const -{ - return errCode_; -} - diff --git a/emr/src/model/ModifyJobExecutionPlanParamRequest.cc b/emr/src/model/ModifyJobExecutionPlanParamRequest.cc deleted file mode 100644 index 601bd1fb7..000000000 --- a/emr/src/model/ModifyJobExecutionPlanParamRequest.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 - -using AlibabaCloud::Emr::Model::ModifyJobExecutionPlanParamRequest; - -ModifyJobExecutionPlanParamRequest::ModifyJobExecutionPlanParamRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyJobExecutionPlanParam") -{} - -ModifyJobExecutionPlanParamRequest::~ModifyJobExecutionPlanParamRequest() -{} - -long ModifyJobExecutionPlanParamRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyJobExecutionPlanParamRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ModifyJobExecutionPlanParamRequest::getParamName()const -{ - return paramName_; -} - -void ModifyJobExecutionPlanParamRequest::setParamName(const std::string& paramName) -{ - paramName_ = paramName; - setCoreParameter("ParamName", paramName); -} - -std::string ModifyJobExecutionPlanParamRequest::getParamValue()const -{ - return paramValue_; -} - -void ModifyJobExecutionPlanParamRequest::setParamValue(const std::string& paramValue) -{ - paramValue_ = paramValue; - setCoreParameter("ParamValue", paramValue); -} - -long ModifyJobExecutionPlanParamRequest::getId()const -{ - return id_; -} - -void ModifyJobExecutionPlanParamRequest::setId(long id) -{ - id_ = id; - setCoreParameter("Id", std::to_string(id)); -} - -std::string ModifyJobExecutionPlanParamRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyJobExecutionPlanParamRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ModifyJobRequest.cc b/emr/src/model/ModifyJobRequest.cc index 468212d40..05da4aceb 100644 --- a/emr/src/model/ModifyJobRequest.cc +++ b/emr/src/model/ModifyJobRequest.cc @@ -93,6 +93,17 @@ void ModifyJobRequest::setRetryInterval(int retryInterval) setParameter("RetryInterval", std::to_string(retryInterval)); } +std::string ModifyJobRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ModifyJobRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string ModifyJobRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/ModifyScalingConfigItemV2Request.cc b/emr/src/model/ModifyScalingConfigItemV2Request.cc new file mode 100644 index 000000000..256f912b9 --- /dev/null +++ b/emr/src/model/ModifyScalingConfigItemV2Request.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::ModifyScalingConfigItemV2Request; + +ModifyScalingConfigItemV2Request::ModifyScalingConfigItemV2Request() : + RpcServiceRequest("emr", "2016-04-08", "ModifyScalingConfigItemV2") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyScalingConfigItemV2Request::~ModifyScalingConfigItemV2Request() +{} + +std::string ModifyScalingConfigItemV2Request::getConfigItemBizId()const +{ + return configItemBizId_; +} + +void ModifyScalingConfigItemV2Request::setConfigItemBizId(const std::string& configItemBizId) +{ + configItemBizId_ = configItemBizId; + setParameter("ConfigItemBizId", configItemBizId); +} + +std::string ModifyScalingConfigItemV2Request::getConfigItemType()const +{ + return configItemType_; +} + +void ModifyScalingConfigItemV2Request::setConfigItemType(const std::string& configItemType) +{ + configItemType_ = configItemType; + setParameter("ConfigItemType", configItemType); +} + +long ModifyScalingConfigItemV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyScalingConfigItemV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyScalingConfigItemV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyScalingConfigItemV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyScalingConfigItemV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void ModifyScalingConfigItemV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string ModifyScalingConfigItemV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ModifyScalingConfigItemV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string ModifyScalingConfigItemV2Request::getRegionId()const +{ + return regionId_; +} + +void ModifyScalingConfigItemV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ModifyScalingConfigItemV2Request::getConfigItemInformation()const +{ + return configItemInformation_; +} + +void ModifyScalingConfigItemV2Request::setConfigItemInformation(const std::string& configItemInformation) +{ + configItemInformation_ = configItemInformation; + setParameter("ConfigItemInformation", configItemInformation); +} + diff --git a/emr/src/model/DeleteUserGroupResult.cc b/emr/src/model/ModifyScalingConfigItemV2Result.cc similarity index 67% rename from emr/src/model/DeleteUserGroupResult.cc rename to emr/src/model/ModifyScalingConfigItemV2Result.cc index b582226fe..cf6c8efcf 100644 --- a/emr/src/model/DeleteUserGroupResult.cc +++ b/emr/src/model/ModifyScalingConfigItemV2Result.cc @@ -14,44 +14,37 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -DeleteUserGroupResult::DeleteUserGroupResult() : +ModifyScalingConfigItemV2Result::ModifyScalingConfigItemV2Result() : ServiceResult() {} -DeleteUserGroupResult::DeleteUserGroupResult(const std::string &payload) : +ModifyScalingConfigItemV2Result::ModifyScalingConfigItemV2Result(const std::string &payload) : ServiceResult() { parse(payload); } -DeleteUserGroupResult::~DeleteUserGroupResult() +ModifyScalingConfigItemV2Result::~ModifyScalingConfigItemV2Result() {} -void DeleteUserGroupResult::parse(const std::string &payload) +void ModifyScalingConfigItemV2Result::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; if(!value["Data"].isNull()) data_ = value["Data"].asString() == "true"; } -bool DeleteUserGroupResult::getPaging()const -{ - return paging_; -} - -bool DeleteUserGroupResult::getData()const +bool ModifyScalingConfigItemV2Result::getData()const { return data_; } diff --git a/emr/src/model/ModifyScalingGroupV2Request.cc b/emr/src/model/ModifyScalingGroupV2Request.cc new file mode 100644 index 000000000..2a501168b --- /dev/null +++ b/emr/src/model/ModifyScalingGroupV2Request.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::ModifyScalingGroupV2Request; + +ModifyScalingGroupV2Request::ModifyScalingGroupV2Request() : + RpcServiceRequest("emr", "2016-04-08", "ModifyScalingGroupV2") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyScalingGroupV2Request::~ModifyScalingGroupV2Request() +{} + +long ModifyScalingGroupV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyScalingGroupV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyScalingGroupV2Request::getDescription()const +{ + return description_; +} + +void ModifyScalingGroupV2Request::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string ModifyScalingGroupV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyScalingGroupV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyScalingGroupV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void ModifyScalingGroupV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string ModifyScalingGroupV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void ModifyScalingGroupV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string ModifyScalingGroupV2Request::getRegionId()const +{ + return regionId_; +} + +void ModifyScalingGroupV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ModifyScalingGroupV2Request::getName()const +{ + return name_; +} + +void ModifyScalingGroupV2Request::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/emr/src/model/RemoveBackupPlanResult.cc b/emr/src/model/ModifyScalingGroupV2Result.cc similarity index 72% rename from emr/src/model/RemoveBackupPlanResult.cc rename to emr/src/model/ModifyScalingGroupV2Result.cc index 868e7b0ea..568b44f62 100644 --- a/emr/src/model/RemoveBackupPlanResult.cc +++ b/emr/src/model/ModifyScalingGroupV2Result.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -RemoveBackupPlanResult::RemoveBackupPlanResult() : +ModifyScalingGroupV2Result::ModifyScalingGroupV2Result() : ServiceResult() {} -RemoveBackupPlanResult::RemoveBackupPlanResult(const std::string &payload) : +ModifyScalingGroupV2Result::ModifyScalingGroupV2Result(const std::string &payload) : ServiceResult() { parse(payload); } -RemoveBackupPlanResult::~RemoveBackupPlanResult() +ModifyScalingGroupV2Result::~ModifyScalingGroupV2Result() {} -void RemoveBackupPlanResult::parse(const std::string &payload) +void ModifyScalingGroupV2Result::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -44,7 +44,7 @@ void RemoveBackupPlanResult::parse(const std::string &payload) } -bool RemoveBackupPlanResult::getData()const +bool ModifyScalingGroupV2Result::getData()const { return data_; } diff --git a/emr/src/model/ModifyScalingRuleRequest.cc b/emr/src/model/ModifyScalingRuleRequest.cc index 0d41d6bb0..216d43535 100644 --- a/emr/src/model/ModifyScalingRuleRequest.cc +++ b/emr/src/model/ModifyScalingRuleRequest.cc @@ -102,6 +102,17 @@ void ModifyScalingRuleRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +long ModifyScalingRuleRequest::getTimeoutWithGrace()const +{ + return timeoutWithGrace_; +} + +void ModifyScalingRuleRequest::setTimeoutWithGrace(long timeoutWithGrace) +{ + timeoutWithGrace_ = timeoutWithGrace; + setParameter("TimeoutWithGrace", std::to_string(timeoutWithGrace)); +} + std::string ModifyScalingRuleRequest::getRegionId()const { return regionId_; @@ -135,6 +146,17 @@ void ModifyScalingRuleRequest::setLaunchTime(const std::string& launchTime) setParameter("LaunchTime", launchTime); } +bool ModifyScalingRuleRequest::getWithGrace()const +{ + return withGrace_; +} + +void ModifyScalingRuleRequest::setWithGrace(bool withGrace) +{ + withGrace_ = withGrace; + setParameter("WithGrace", withGrace ? "true" : "false"); +} + int ModifyScalingRuleRequest::getAdjustmentValue()const { return adjustmentValue_; diff --git a/emr/src/model/ModifyScalingTaskGroupRequest.cc b/emr/src/model/ModifyScalingTaskGroupRequest.cc index 1d00cf6b1..e0a7a69df 100644 --- a/emr/src/model/ModifyScalingTaskGroupRequest.cc +++ b/emr/src/model/ModifyScalingTaskGroupRequest.cc @@ -20,7 +20,9 @@ using AlibabaCloud::Emr::Model::ModifyScalingTaskGroupRequest; ModifyScalingTaskGroupRequest::ModifyScalingTaskGroupRequest() : RpcServiceRequest("emr", "2016-04-08", "ModifyScalingTaskGroup") -{} +{ + setMethod(HttpRequest::Method::Post); +} ModifyScalingTaskGroupRequest::~ModifyScalingTaskGroupRequest() {} @@ -33,40 +35,18 @@ long ModifyScalingTaskGroupRequest::getResourceOwnerId()const void ModifyScalingTaskGroupRequest::setResourceOwnerId(long resourceOwnerId) { resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } -std::string ModifyScalingTaskGroupRequest::getRegionId()const +bool ModifyScalingTaskGroupRequest::getWithGrace()const { - return regionId_; + return withGrace_; } -void ModifyScalingTaskGroupRequest::setRegionId(const std::string& regionId) +void ModifyScalingTaskGroupRequest::setWithGrace(bool withGrace) { - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ModifyScalingTaskGroupRequest::getHostGroupId()const -{ - return hostGroupId_; -} - -void ModifyScalingTaskGroupRequest::setHostGroupId(const std::string& hostGroupId) -{ - hostGroupId_ = hostGroupId; - setCoreParameter("HostGroupId", hostGroupId); -} - -std::string ModifyScalingTaskGroupRequest::getActiveRuleCategory()const -{ - return activeRuleCategory_; -} - -void ModifyScalingTaskGroupRequest::setActiveRuleCategory(const std::string& activeRuleCategory) -{ - activeRuleCategory_ = activeRuleCategory; - setCoreParameter("ActiveRuleCategory", activeRuleCategory); + withGrace_ = withGrace; + setParameter("WithGrace", withGrace ? "true" : "false"); } std::string ModifyScalingTaskGroupRequest::getClusterId()const @@ -77,7 +57,7 @@ std::string ModifyScalingTaskGroupRequest::getClusterId()const void ModifyScalingTaskGroupRequest::setClusterId(const std::string& clusterId) { clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); + setParameter("ClusterId", clusterId); } int ModifyScalingTaskGroupRequest::getMinSize()const @@ -88,29 +68,7 @@ int ModifyScalingTaskGroupRequest::getMinSize()const void ModifyScalingTaskGroupRequest::setMinSize(int minSize) { minSize_ = minSize; - setCoreParameter("MinSize", std::to_string(minSize)); -} - -int ModifyScalingTaskGroupRequest::getMaxSize()const -{ - return maxSize_; -} - -void ModifyScalingTaskGroupRequest::setMaxSize(int maxSize) -{ - maxSize_ = maxSize; - setCoreParameter("MaxSize", std::to_string(maxSize)); -} - -int ModifyScalingTaskGroupRequest::getDefaultCooldown()const -{ - return defaultCooldown_; -} - -void ModifyScalingTaskGroupRequest::setDefaultCooldown(int defaultCooldown) -{ - defaultCooldown_ = defaultCooldown; - setCoreParameter("DefaultCooldown", std::to_string(defaultCooldown)); + setParameter("MinSize", std::to_string(minSize)); } std::string ModifyScalingTaskGroupRequest::getAccessKeyId()const @@ -121,6 +79,72 @@ std::string ModifyScalingTaskGroupRequest::getAccessKeyId()const void ModifyScalingTaskGroupRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); + setParameter("AccessKeyId", accessKeyId); +} + +long ModifyScalingTaskGroupRequest::getTimeoutWithGrace()const +{ + return timeoutWithGrace_; +} + +void ModifyScalingTaskGroupRequest::setTimeoutWithGrace(long timeoutWithGrace) +{ + timeoutWithGrace_ = timeoutWithGrace; + setParameter("TimeoutWithGrace", std::to_string(timeoutWithGrace)); +} + +std::string ModifyScalingTaskGroupRequest::getRegionId()const +{ + return regionId_; +} + +void ModifyScalingTaskGroupRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string ModifyScalingTaskGroupRequest::getHostGroupId()const +{ + return hostGroupId_; +} + +void ModifyScalingTaskGroupRequest::setHostGroupId(const std::string& hostGroupId) +{ + hostGroupId_ = hostGroupId; + setParameter("HostGroupId", hostGroupId); +} + +std::string ModifyScalingTaskGroupRequest::getActiveRuleCategory()const +{ + return activeRuleCategory_; +} + +void ModifyScalingTaskGroupRequest::setActiveRuleCategory(const std::string& activeRuleCategory) +{ + activeRuleCategory_ = activeRuleCategory; + setParameter("ActiveRuleCategory", activeRuleCategory); +} + +int ModifyScalingTaskGroupRequest::getMaxSize()const +{ + return maxSize_; +} + +void ModifyScalingTaskGroupRequest::setMaxSize(int maxSize) +{ + maxSize_ = maxSize; + setParameter("MaxSize", std::to_string(maxSize)); +} + +int ModifyScalingTaskGroupRequest::getDefaultCooldown()const +{ + return defaultCooldown_; +} + +void ModifyScalingTaskGroupRequest::setDefaultCooldown(int defaultCooldown) +{ + defaultCooldown_ = defaultCooldown; + setParameter("DefaultCooldown", std::to_string(defaultCooldown)); } diff --git a/emr/src/model/ModifyScalingTaskGroupResult.cc b/emr/src/model/ModifyScalingTaskGroupResult.cc index 6bb7e4a2d..afccf6c7c 100644 --- a/emr/src/model/ModifyScalingTaskGroupResult.cc +++ b/emr/src/model/ModifyScalingTaskGroupResult.cc @@ -35,13 +35,9 @@ ModifyScalingTaskGroupResult::~ModifyScalingTaskGroupResult() void ModifyScalingTaskGroupResult::parse(const std::string &payload) { - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; + Json::Reader reader; Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; + reader.parse(payload, value); setRequestId(value["RequestId"].asString()); if(!value["HostGroupId"].isNull()) hostGroupId_ = value["HostGroupId"].asString(); diff --git a/emr/src/model/ModifyUserStatisticsRequest.cc b/emr/src/model/ModifyUserStatisticsRequest.cc deleted file mode 100644 index 663849d01..000000000 --- a/emr/src/model/ModifyUserStatisticsRequest.cc +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ModifyUserStatisticsRequest; - -ModifyUserStatisticsRequest::ModifyUserStatisticsRequest() : - RpcServiceRequest("emr", "2016-04-08", "ModifyUserStatistics") -{} - -ModifyUserStatisticsRequest::~ModifyUserStatisticsRequest() -{} - -int ModifyUserStatisticsRequest::getJobMigratedNum()const -{ - return jobMigratedNum_; -} - -void ModifyUserStatisticsRequest::setJobMigratedNum(int jobMigratedNum) -{ - jobMigratedNum_ = jobMigratedNum; - setCoreParameter("JobMigratedNum", std::to_string(jobMigratedNum)); -} - -long ModifyUserStatisticsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ModifyUserStatisticsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int ModifyUserStatisticsRequest::getExecutePlanNum()const -{ - return executePlanNum_; -} - -void ModifyUserStatisticsRequest::setExecutePlanNum(int executePlanNum) -{ - executePlanNum_ = executePlanNum; - setCoreParameter("ExecutePlanNum", std::to_string(executePlanNum)); -} - -std::string ModifyUserStatisticsRequest::getRegionId()const -{ - return regionId_; -} - -void ModifyUserStatisticsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int ModifyUserStatisticsRequest::getJobNum()const -{ - return jobNum_; -} - -void ModifyUserStatisticsRequest::setJobNum(int jobNum) -{ - jobNum_ = jobNum; - setCoreParameter("JobNum", std::to_string(jobNum)); -} - -int ModifyUserStatisticsRequest::getExecutePlanMigratedNum()const -{ - return executePlanMigratedNum_; -} - -void ModifyUserStatisticsRequest::setExecutePlanMigratedNum(int executePlanMigratedNum) -{ - executePlanMigratedNum_ = executePlanMigratedNum; - setCoreParameter("ExecutePlanMigratedNum", std::to_string(executePlanMigratedNum)); -} - -int ModifyUserStatisticsRequest::getInteractionJobMigratedNum()const -{ - return interactionJobMigratedNum_; -} - -void ModifyUserStatisticsRequest::setInteractionJobMigratedNum(int interactionJobMigratedNum) -{ - interactionJobMigratedNum_ = interactionJobMigratedNum; - setCoreParameter("InteractionJobMigratedNum", std::to_string(interactionJobMigratedNum)); -} - -std::string ModifyUserStatisticsRequest::getUserId()const -{ - return userId_; -} - -void ModifyUserStatisticsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string ModifyUserStatisticsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ModifyUserStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -int ModifyUserStatisticsRequest::getInteractionJobNum()const -{ - return interactionJobNum_; -} - -void ModifyUserStatisticsRequest::setInteractionJobNum(int interactionJobNum) -{ - interactionJobNum_ = interactionJobNum; - setCoreParameter("InteractionJobNum", std::to_string(interactionJobNum)); -} - diff --git a/emr/src/model/ModifyUserStatisticsResult.cc b/emr/src/model/ModifyUserStatisticsResult.cc deleted file mode 100644 index 613549c05..000000000 --- a/emr/src/model/ModifyUserStatisticsResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ModifyUserStatisticsResult::ModifyUserStatisticsResult() : - ServiceResult() -{} - -ModifyUserStatisticsResult::ModifyUserStatisticsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyUserStatisticsResult::~ModifyUserStatisticsResult() -{} - -void ModifyUserStatisticsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/OfflineKafkaBrokerRequest.cc b/emr/src/model/OfflineKafkaBrokerRequest.cc deleted file mode 100644 index b64344bba..000000000 --- a/emr/src/model/OfflineKafkaBrokerRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::OfflineKafkaBrokerRequest; - -OfflineKafkaBrokerRequest::OfflineKafkaBrokerRequest() : - RpcServiceRequest("emr", "2016-04-08", "OfflineKafkaBroker") -{} - -OfflineKafkaBrokerRequest::~OfflineKafkaBrokerRequest() -{} - -long OfflineKafkaBrokerRequest::getThrottle()const -{ - return throttle_; -} - -void OfflineKafkaBrokerRequest::setThrottle(long throttle) -{ - throttle_ = throttle; - setCoreParameter("Throttle", std::to_string(throttle)); -} - -long OfflineKafkaBrokerRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void OfflineKafkaBrokerRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string OfflineKafkaBrokerRequest::getRegionId()const -{ - return regionId_; -} - -void OfflineKafkaBrokerRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string OfflineKafkaBrokerRequest::getHostId()const -{ - return hostId_; -} - -void OfflineKafkaBrokerRequest::setHostId(const std::string& hostId) -{ - hostId_ = hostId; - setCoreParameter("HostId", hostId); -} - -std::string OfflineKafkaBrokerRequest::getClusterId()const -{ - return clusterId_; -} - -void OfflineKafkaBrokerRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string OfflineKafkaBrokerRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void OfflineKafkaBrokerRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/OfflineKafkaBrokerResult.cc b/emr/src/model/OfflineKafkaBrokerResult.cc deleted file mode 100644 index 477549f1a..000000000 --- a/emr/src/model/OfflineKafkaBrokerResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -OfflineKafkaBrokerResult::OfflineKafkaBrokerResult() : - ServiceResult() -{} - -OfflineKafkaBrokerResult::OfflineKafkaBrokerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -OfflineKafkaBrokerResult::~OfflineKafkaBrokerResult() -{} - -void OfflineKafkaBrokerResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/OperateExistsNodeClusterRequest.cc b/emr/src/model/OperateExistsNodeClusterRequest.cc deleted file mode 100644 index a29f03862..000000000 --- a/emr/src/model/OperateExistsNodeClusterRequest.cc +++ /dev/null @@ -1,316 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::OperateExistsNodeClusterRequest; - -OperateExistsNodeClusterRequest::OperateExistsNodeClusterRequest() : - RpcServiceRequest("emr", "2016-04-08", "OperateExistsNodeCluster") -{} - -OperateExistsNodeClusterRequest::~OperateExistsNodeClusterRequest() -{} - -long OperateExistsNodeClusterRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void OperateExistsNodeClusterRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string OperateExistsNodeClusterRequest::getLogPath()const -{ - return logPath_; -} - -void OperateExistsNodeClusterRequest::setLogPath(const std::string& logPath) -{ - logPath_ = logPath; - setCoreParameter("LogPath", logPath); -} - -std::vector OperateExistsNodeClusterRequest::getMasterInstanceIdList()const -{ - return masterInstanceIdList_; -} - -void OperateExistsNodeClusterRequest::setMasterInstanceIdList(const std::vector& masterInstanceIdList) -{ - masterInstanceIdList_ = masterInstanceIdList; - for(int i = 0; i!= masterInstanceIdList.size(); i++) - setCoreParameter("MasterInstanceIdList."+ std::to_string(i), masterInstanceIdList.at(i)); -} - -bool OperateExistsNodeClusterRequest::getIoOptimized()const -{ - return ioOptimized_; -} - -void OperateExistsNodeClusterRequest::setIoOptimized(bool ioOptimized) -{ - ioOptimized_ = ioOptimized; - setCoreParameter("IoOptimized", ioOptimized ? "true" : "false"); -} - -std::string OperateExistsNodeClusterRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void OperateExistsNodeClusterRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setCoreParameter("SecurityGroupId", securityGroupId); -} - -bool OperateExistsNodeClusterRequest::getEasEnable()const -{ - return easEnable_; -} - -void OperateExistsNodeClusterRequest::setEasEnable(bool easEnable) -{ - easEnable_ = easEnable; - setCoreParameter("EasEnable", easEnable ? "true" : "false"); -} - -bool OperateExistsNodeClusterRequest::getIsResize()const -{ - return isResize_; -} - -void OperateExistsNodeClusterRequest::setIsResize(bool isResize) -{ - isResize_ = isResize; - setCoreParameter("IsResize", isResize ? "true" : "false"); -} - -std::string OperateExistsNodeClusterRequest::getDepositType()const -{ - return depositType_; -} - -void OperateExistsNodeClusterRequest::setDepositType(const std::string& depositType) -{ - depositType_ = depositType; - setCoreParameter("DepositType", depositType); -} - -std::string OperateExistsNodeClusterRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void OperateExistsNodeClusterRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string OperateExistsNodeClusterRequest::getMachineType()const -{ - return machineType_; -} - -void OperateExistsNodeClusterRequest::setMachineType(const std::string& machineType) -{ - machineType_ = machineType; - setCoreParameter("MachineType", machineType); -} - -std::string OperateExistsNodeClusterRequest::getRegionId()const -{ - return regionId_; -} - -void OperateExistsNodeClusterRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -bool OperateExistsNodeClusterRequest::getUseLocalMetaDb()const -{ - return useLocalMetaDb_; -} - -void OperateExistsNodeClusterRequest::setUseLocalMetaDb(bool useLocalMetaDb) -{ - useLocalMetaDb_ = useLocalMetaDb; - setCoreParameter("UseLocalMetaDb", useLocalMetaDb ? "true" : "false"); -} - -std::string OperateExistsNodeClusterRequest::getEmrVer()const -{ - return emrVer_; -} - -void OperateExistsNodeClusterRequest::setEmrVer(const std::string& emrVer) -{ - emrVer_ = emrVer; - setCoreParameter("EmrVer", emrVer); -} - -int OperateExistsNodeClusterRequest::getPeriod()const -{ - return period_; -} - -void OperateExistsNodeClusterRequest::setPeriod(int period) -{ - period_ = period; - setCoreParameter("Period", std::to_string(period)); -} - -std::string OperateExistsNodeClusterRequest::getClusterId()const -{ - return clusterId_; -} - -void OperateExistsNodeClusterRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string OperateExistsNodeClusterRequest::getVSwitchId()const -{ - return vSwitchId_; -} - -void OperateExistsNodeClusterRequest::setVSwitchId(const std::string& vSwitchId) -{ - vSwitchId_ = vSwitchId; - setCoreParameter("VSwitchId", vSwitchId); -} - -std::string OperateExistsNodeClusterRequest::getClusterType()const -{ - return clusterType_; -} - -void OperateExistsNodeClusterRequest::setClusterType(const std::string& clusterType) -{ - clusterType_ = clusterType; - setCoreParameter("ClusterType", clusterType); -} - -std::vector OperateExistsNodeClusterRequest::getOptionSoftWareList()const -{ - return optionSoftWareList_; -} - -void OperateExistsNodeClusterRequest::setOptionSoftWareList(const std::vector& optionSoftWareList) -{ - optionSoftWareList_ = optionSoftWareList; - for(int i = 0; i!= optionSoftWareList.size(); i++) - setCoreParameter("OptionSoftWareList."+ std::to_string(i), optionSoftWareList.at(i)); -} - -std::vector OperateExistsNodeClusterRequest::getInstanceIdList()const -{ - return instanceIdList_; -} - -void OperateExistsNodeClusterRequest::setInstanceIdList(const std::vector& instanceIdList) -{ - instanceIdList_ = instanceIdList; - for(int i = 0; i!= instanceIdList.size(); i++) - setCoreParameter("InstanceIdList."+ std::to_string(i), instanceIdList.at(i)); -} - -std::string OperateExistsNodeClusterRequest::getVpcId()const -{ - return vpcId_; -} - -void OperateExistsNodeClusterRequest::setVpcId(const std::string& vpcId) -{ - vpcId_ = vpcId; - setCoreParameter("VpcId", vpcId); -} - -std::string OperateExistsNodeClusterRequest::getNetType()const -{ - return netType_; -} - -void OperateExistsNodeClusterRequest::setNetType(const std::string& netType) -{ - netType_ = netType; - setCoreParameter("NetType", netType); -} - -std::string OperateExistsNodeClusterRequest::getName()const -{ - return name_; -} - -void OperateExistsNodeClusterRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string OperateExistsNodeClusterRequest::getZoneId()const -{ - return zoneId_; -} - -void OperateExistsNodeClusterRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setCoreParameter("ZoneId", zoneId); -} - -std::string OperateExistsNodeClusterRequest::getChargeType()const -{ - return chargeType_; -} - -void OperateExistsNodeClusterRequest::setChargeType(const std::string& chargeType) -{ - chargeType_ = chargeType; - setCoreParameter("ChargeType", chargeType); -} - -std::string OperateExistsNodeClusterRequest::getOperateType()const -{ - return operateType_; -} - -void OperateExistsNodeClusterRequest::setOperateType(const std::string& operateType) -{ - operateType_ = operateType; - setCoreParameter("OperateType", operateType); -} - -bool OperateExistsNodeClusterRequest::getHighAvailabilityEnable()const -{ - return highAvailabilityEnable_; -} - -void OperateExistsNodeClusterRequest::setHighAvailabilityEnable(bool highAvailabilityEnable) -{ - highAvailabilityEnable_ = highAvailabilityEnable; - setCoreParameter("HighAvailabilityEnable", highAvailabilityEnable ? "true" : "false"); -} - diff --git a/emr/src/model/OperateExistsNodeClusterResult.cc b/emr/src/model/OperateExistsNodeClusterResult.cc deleted file mode 100644 index ffe5e9f65..000000000 --- a/emr/src/model/OperateExistsNodeClusterResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -OperateExistsNodeClusterResult::OperateExistsNodeClusterResult() : - ServiceResult() -{} - -OperateExistsNodeClusterResult::OperateExistsNodeClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -OperateExistsNodeClusterResult::~OperateExistsNodeClusterResult() -{} - -void OperateExistsNodeClusterResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - -} - -std::string OperateExistsNodeClusterResult::getClusterId()const -{ - return clusterId_; -} - diff --git a/emr/src/model/PageListResourceUsersRequest.cc b/emr/src/model/PageListResourceUsersRequest.cc deleted file mode 100644 index 9bc1c8b7c..000000000 --- a/emr/src/model/PageListResourceUsersRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::PageListResourceUsersRequest; - -PageListResourceUsersRequest::PageListResourceUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "PageListResourceUsers") -{} - -PageListResourceUsersRequest::~PageListResourceUsersRequest() -{} - -long PageListResourceUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void PageListResourceUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string PageListResourceUsersRequest::getResourceId()const -{ - return resourceId_; -} - -void PageListResourceUsersRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::string PageListResourceUsersRequest::getSearchKey()const -{ - return searchKey_; -} - -void PageListResourceUsersRequest::setSearchKey(const std::string& searchKey) -{ - searchKey_ = searchKey; - setCoreParameter("SearchKey", searchKey); -} - -std::string PageListResourceUsersRequest::getResourceType()const -{ - return resourceType_; -} - -void PageListResourceUsersRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -int PageListResourceUsersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void PageListResourceUsersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string PageListResourceUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void PageListResourceUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string PageListResourceUsersRequest::getRegionId()const -{ - return regionId_; -} - -void PageListResourceUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int PageListResourceUsersRequest::getPageSize()const -{ - return pageSize_; -} - -void PageListResourceUsersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/PageListResourceUsersResult.cc b/emr/src/model/PageListResourceUsersResult.cc deleted file mode 100644 index 3e4dfd090..000000000 --- a/emr/src/model/PageListResourceUsersResult.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 -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -PageListResourceUsersResult::PageListResourceUsersResult() : - ServiceResult() -{} - -PageListResourceUsersResult::PageListResourceUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PageListResourceUsersResult::~PageListResourceUsersResult() -{} - -void PageListResourceUsersResult::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["AliyunUserId"].isNull()) - itemsObject.aliyunUserId = valueItemsItem["AliyunUserId"].asString(); - if(!valueItemsItem["UserName"].isNull()) - itemsObject.userName = valueItemsItem["UserName"].asString(); - if(!valueItemsItem["Status"].isNull()) - itemsObject.status = valueItemsItem["Status"].asString(); - if(!valueItemsItem["GmtCreate"].isNull()) - itemsObject.gmtCreate = std::stol(valueItemsItem["GmtCreate"].asString()); - if(!valueItemsItem["KnoxSyncStatus"].isNull()) - itemsObject.knoxSyncStatus = valueItemsItem["KnoxSyncStatus"].asString(); - if(!valueItemsItem["LinuxSyncStatus"].isNull()) - itemsObject.linuxSyncStatus = valueItemsItem["LinuxSyncStatus"].asString(); - if(!valueItemsItem["KerberosStutus"].isNull()) - itemsObject.kerberosStutus = valueItemsItem["KerberosStutus"].asString(); - if(!valueItemsItem["SourceType"].isNull()) - itemsObject.sourceType = valueItemsItem["SourceType"].asString(); - auto allRoleDTOListNode = allItemsNode["RoleDTOList"]["RoleDTO"]; - for (auto allItemsNodeRoleDTOListRoleDTO : allRoleDTOListNode) - { - Item::RoleDTO roleDTOListObject; - if(!allItemsNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(allItemsNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allItemsNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = allItemsNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = allItemsNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = allItemsNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = allItemsNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = allItemsNodeRoleDTOListRoleDTO["Description"].asString(); - itemsObject.roleDTOList.push_back(roleDTOListObject); - } - items_.push_back(itemsObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - 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 PageListResourceUsersResult::getTotalCount()const -{ - return totalCount_; -} - -int PageListResourceUsersResult::getPageSize()const -{ - return pageSize_; -} - -int PageListResourceUsersResult::getPageNumber()const -{ - return pageNumber_; -} - -bool PageListResourceUsersResult::getPaging()const -{ - return paging_; -} - -std::vector PageListResourceUsersResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/PageListUserGroupsRequest.cc b/emr/src/model/PageListUserGroupsRequest.cc deleted file mode 100644 index 344ae73d7..000000000 --- a/emr/src/model/PageListUserGroupsRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::PageListUserGroupsRequest; - -PageListUserGroupsRequest::PageListUserGroupsRequest() : - RpcServiceRequest("emr", "2016-04-08", "PageListUserGroups") -{} - -PageListUserGroupsRequest::~PageListUserGroupsRequest() -{} - -long PageListUserGroupsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void PageListUserGroupsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string PageListUserGroupsRequest::getFuzzyName()const -{ - return fuzzyName_; -} - -void PageListUserGroupsRequest::setFuzzyName(const std::string& fuzzyName) -{ - fuzzyName_ = fuzzyName; - setCoreParameter("FuzzyName", fuzzyName); -} - -int PageListUserGroupsRequest::getPageNumber()const -{ - return pageNumber_; -} - -void PageListUserGroupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string PageListUserGroupsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void PageListUserGroupsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string PageListUserGroupsRequest::getRegionId()const -{ - return regionId_; -} - -void PageListUserGroupsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int PageListUserGroupsRequest::getPageSize()const -{ - return pageSize_; -} - -void PageListUserGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/PageListUserGroupsResult.cc b/emr/src/model/PageListUserGroupsResult.cc deleted file mode 100644 index 1a5a5fd1a..000000000 --- a/emr/src/model/PageListUserGroupsResult.cc +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -PageListUserGroupsResult::PageListUserGroupsResult() : - ServiceResult() -{} - -PageListUserGroupsResult::PageListUserGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PageListUserGroupsResult::~PageListUserGroupsResult() -{} - -void PageListUserGroupsResult::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 = std::stol(valueItemsItem["Id"].asString()); - if(!valueItemsItem["Type"].isNull()) - itemsObject.type = valueItemsItem["Type"].asString(); - if(!valueItemsItem["Name"].isNull()) - itemsObject.name = valueItemsItem["Name"].asString(); - if(!valueItemsItem["GmtCreate"].isNull()) - itemsObject.gmtCreate = valueItemsItem["GmtCreate"].asString(); - auto allRoleDTOListNode = allItemsNode["RoleDTOList"]["RoleDTO"]; - for (auto allItemsNodeRoleDTOListRoleDTO : allRoleDTOListNode) - { - Item::RoleDTO roleDTOListObject; - if(!allItemsNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(allItemsNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allItemsNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = allItemsNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = allItemsNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = allItemsNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = allItemsNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = allItemsNodeRoleDTOListRoleDTO["Description"].asString(); - itemsObject.roleDTOList.push_back(roleDTOListObject); - } - items_.push_back(itemsObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - 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 PageListUserGroupsResult::getTotalCount()const -{ - return totalCount_; -} - -int PageListUserGroupsResult::getPageSize()const -{ - return pageSize_; -} - -int PageListUserGroupsResult::getPageNumber()const -{ - return pageNumber_; -} - -bool PageListUserGroupsResult::getPaging()const -{ - return paging_; -} - -std::vector PageListUserGroupsResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/PageListUsersRequest.cc b/emr/src/model/PageListUsersRequest.cc deleted file mode 100644 index 2c70a29a7..000000000 --- a/emr/src/model/PageListUsersRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::PageListUsersRequest; - -PageListUsersRequest::PageListUsersRequest() : - RpcServiceRequest("emr", "2016-04-08", "PageListUsers") -{} - -PageListUsersRequest::~PageListUsersRequest() -{} - -long PageListUsersRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void PageListUsersRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string PageListUsersRequest::getFuzzyName()const -{ - return fuzzyName_; -} - -void PageListUsersRequest::setFuzzyName(const std::string& fuzzyName) -{ - fuzzyName_ = fuzzyName; - setCoreParameter("FuzzyName", fuzzyName); -} - -int PageListUsersRequest::getPageNumber()const -{ - return pageNumber_; -} - -void PageListUsersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setCoreParameter("PageNumber", std::to_string(pageNumber)); -} - -std::string PageListUsersRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void PageListUsersRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string PageListUsersRequest::getRegionId()const -{ - return regionId_; -} - -void PageListUsersRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -int PageListUsersRequest::getPageSize()const -{ - return pageSize_; -} - -void PageListUsersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setCoreParameter("PageSize", std::to_string(pageSize)); -} - diff --git a/emr/src/model/PageListUsersResult.cc b/emr/src/model/PageListUsersResult.cc deleted file mode 100644 index cc6b70ac4..000000000 --- a/emr/src/model/PageListUsersResult.cc +++ /dev/null @@ -1,161 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -PageListUsersResult::PageListUsersResult() : - ServiceResult() -{} - -PageListUsersResult::PageListUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PageListUsersResult::~PageListUsersResult() -{} - -void PageListUsersResult::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["AliyunUserId"].isNull()) - itemsObject.aliyunUserId = valueItemsItem["AliyunUserId"].asString(); - if(!valueItemsItem["UserName"].isNull()) - itemsObject.userName = valueItemsItem["UserName"].asString(); - if(!valueItemsItem["UserType"].isNull()) - itemsObject.userType = valueItemsItem["UserType"].asString(); - if(!valueItemsItem["Status"].isNull()) - itemsObject.status = valueItemsItem["Status"].asString(); - if(!valueItemsItem["IsSuperAdmin"].isNull()) - itemsObject.isSuperAdmin = valueItemsItem["IsSuperAdmin"].asString(); - if(!valueItemsItem["Description"].isNull()) - itemsObject.description = valueItemsItem["Description"].asString(); - if(!valueItemsItem["GmtCreate"].isNull()) - itemsObject.gmtCreate = valueItemsItem["GmtCreate"].asString(); - if(!valueItemsItem["GmtModified"].isNull()) - itemsObject.gmtModified = valueItemsItem["GmtModified"].asString(); - auto allRoleDTOListNode = allItemsNode["RoleDTOList"]["RoleDTO"]; - for (auto allItemsNodeRoleDTOListRoleDTO : allRoleDTOListNode) - { - Item::RoleDTO roleDTOListObject; - if(!allItemsNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOListObject.id = std::stol(allItemsNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allItemsNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOListObject.name = allItemsNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOListObject.resourceType = allItemsNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOListObject.gmtCreate = allItemsNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOListObject.gmtModified = allItemsNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allItemsNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOListObject.description = allItemsNodeRoleDTOListRoleDTO["Description"].asString(); - itemsObject.roleDTOList.push_back(roleDTOListObject); - } - auto allGroupDTOListNode = allItemsNode["GroupDTOList"]["GroupDTO"]; - for (auto allItemsNodeGroupDTOListGroupDTO : allGroupDTOListNode) - { - Item::GroupDTO groupDTOListObject; - if(!allItemsNodeGroupDTOListGroupDTO["Id"].isNull()) - groupDTOListObject.id = std::stol(allItemsNodeGroupDTOListGroupDTO["Id"].asString()); - if(!allItemsNodeGroupDTOListGroupDTO["Type"].isNull()) - groupDTOListObject.type = allItemsNodeGroupDTOListGroupDTO["Type"].asString(); - if(!allItemsNodeGroupDTOListGroupDTO["Name"].isNull()) - groupDTOListObject.name = allItemsNodeGroupDTOListGroupDTO["Name"].asString(); - if(!allItemsNodeGroupDTOListGroupDTO["GmtCreate"].isNull()) - groupDTOListObject.gmtCreate = allItemsNodeGroupDTOListGroupDTO["GmtCreate"].asString(); - auto allRoleDTOList1Node = allGroupDTOListNode["RoleDTOList"]["RoleDTO"]; - for (auto allGroupDTOListNodeRoleDTOListRoleDTO : allRoleDTOList1Node) - { - Item::GroupDTO::RoleDTO2 roleDTOList1Object; - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Id"].isNull()) - roleDTOList1Object.id = std::stol(allGroupDTOListNodeRoleDTOListRoleDTO["Id"].asString()); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Name"].isNull()) - roleDTOList1Object.name = allGroupDTOListNodeRoleDTOListRoleDTO["Name"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["ResourceType"].isNull()) - roleDTOList1Object.resourceType = allGroupDTOListNodeRoleDTOListRoleDTO["ResourceType"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["GmtCreate"].isNull()) - roleDTOList1Object.gmtCreate = allGroupDTOListNodeRoleDTOListRoleDTO["GmtCreate"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["GmtModified"].isNull()) - roleDTOList1Object.gmtModified = allGroupDTOListNodeRoleDTOListRoleDTO["GmtModified"].asString(); - if(!allGroupDTOListNodeRoleDTOListRoleDTO["Description"].isNull()) - roleDTOList1Object.description = allGroupDTOListNodeRoleDTOListRoleDTO["Description"].asString(); - groupDTOListObject.roleDTOList1.push_back(roleDTOList1Object); - } - itemsObject.groupDTOList.push_back(groupDTOListObject); - } - auto allAccountDTOListNode = allItemsNode["AccountDTOList"]["AccountDTO"]; - for (auto allItemsNodeAccountDTOListAccountDTO : allAccountDTOListNode) - { - Item::AccountDTO accountDTOListObject; - if(!allItemsNodeAccountDTOListAccountDTO["AliyunUserId"].isNull()) - accountDTOListObject.aliyunUserId = allItemsNodeAccountDTOListAccountDTO["AliyunUserId"].asString(); - if(!allItemsNodeAccountDTOListAccountDTO["AccountType"].isNull()) - accountDTOListObject.accountType = allItemsNodeAccountDTOListAccountDTO["AccountType"].asString(); - if(!allItemsNodeAccountDTOListAccountDTO["AuthType"].isNull()) - accountDTOListObject.authType = allItemsNodeAccountDTOListAccountDTO["AuthType"].asString(); - itemsObject.accountDTOList.push_back(accountDTOListObject); - } - items_.push_back(itemsObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - 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 PageListUsersResult::getTotalCount()const -{ - return totalCount_; -} - -int PageListUsersResult::getPageSize()const -{ - return pageSize_; -} - -int PageListUsersResult::getPageNumber()const -{ - return pageNumber_; -} - -bool PageListUsersResult::getPaging()const -{ - return paging_; -} - -std::vector PageListUsersResult::getItems()const -{ - return items_; -} - diff --git a/emr/src/model/PlanComponentTopoRequest.cc b/emr/src/model/PlanComponentTopoRequest.cc deleted file mode 100644 index 7d89cfe67..000000000 --- a/emr/src/model/PlanComponentTopoRequest.cc +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::PlanComponentTopoRequest; - -PlanComponentTopoRequest::PlanComponentTopoRequest() : - RpcServiceRequest("emr", "2016-04-08", "PlanComponentTopo") -{} - -PlanComponentTopoRequest::~PlanComponentTopoRequest() -{} - -std::string PlanComponentTopoRequest::getClusterType()const -{ - return clusterType_; -} - -void PlanComponentTopoRequest::setClusterType(const std::string& clusterType) -{ - clusterType_ = clusterType; - setCoreParameter("ClusterType", clusterType); -} - -long PlanComponentTopoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void PlanComponentTopoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string PlanComponentTopoRequest::getRegionId()const -{ - return regionId_; -} - -void PlanComponentTopoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector PlanComponentTopoRequest::getHostGroup()const -{ - return hostGroup_; -} - -void PlanComponentTopoRequest::setHostGroup(const std::vector& hostGroup) -{ - hostGroup_ = hostGroup; - int i = 0; - for(int i = 0; i!= hostGroup.size(); i++) { - auto obj = hostGroup.at(i); - std::string str ="HostGroup."+ std::to_string(i); - setCoreParameter(str + ".GroupType", obj.groupType); - setCoreParameter(str + ".NodeCount", std::to_string(obj.nodeCount)); - setCoreParameter(str + ".GroupName", obj.groupName); - } -} - -std::vector PlanComponentTopoRequest::getHostInfo()const -{ - return hostInfo_; -} - -void PlanComponentTopoRequest::setHostInfo(const std::vector& hostInfo) -{ - hostInfo_ = hostInfo; - int i = 0; - for(int i = 0; i!= hostInfo.size(); i++) { - auto obj = hostInfo.at(i); - std::string str ="HostInfo."+ std::to_string(i); - setCoreParameter(str + ".HpHostBizId", obj.hpHostBizId); - setCoreParameter(str + ".HostGroupName", obj.hostGroupName); - } -} - -std::string PlanComponentTopoRequest::getStackName()const -{ - return stackName_; -} - -void PlanComponentTopoRequest::setStackName(const std::string& stackName) -{ - stackName_ = stackName; - setCoreParameter("StackName", stackName); -} - -std::string PlanComponentTopoRequest::getClusterId()const -{ - return clusterId_; -} - -void PlanComponentTopoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string PlanComponentTopoRequest::getStackVersion()const -{ - return stackVersion_; -} - -void PlanComponentTopoRequest::setStackVersion(const std::string& stackVersion) -{ - stackVersion_ = stackVersion; - setCoreParameter("StackVersion", stackVersion); -} - -std::vector PlanComponentTopoRequest::getServiceInfo()const -{ - return serviceInfo_; -} - -void PlanComponentTopoRequest::setServiceInfo(const std::vector& serviceInfo) -{ - serviceInfo_ = serviceInfo; - int i = 0; - for(int i = 0; i!= serviceInfo.size(); i++) { - auto obj = serviceInfo.at(i); - std::string str ="ServiceInfo."+ std::to_string(i); - setCoreParameter(str + ".ServiceEcmVersion", obj.serviceEcmVersion); - setCoreParameter(str + ".ServiceVersion", obj.serviceVersion); - setCoreParameter(str + ".ServiceName", obj.serviceName); - } -} - -std::string PlanComponentTopoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void PlanComponentTopoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/PlanComponentTopoResult.cc b/emr/src/model/PlanComponentTopoResult.cc deleted file mode 100644 index 42a0ddd68..000000000 --- a/emr/src/model/PlanComponentTopoResult.cc +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -PlanComponentTopoResult::PlanComponentTopoResult() : - ServiceResult() -{} - -PlanComponentTopoResult::PlanComponentTopoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PlanComponentTopoResult::~PlanComponentTopoResult() -{} - -void PlanComponentTopoResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allHostComponentList = value["HostComponentList"]["HostComponent"]; - for (auto value : allHostComponentList) - { - HostComponent hostComponentListObject; - if(!value["ComponentName"].isNull()) - hostComponentListObject.componentName = value["ComponentName"].asString(); - if(!value["ServiceName"].isNull()) - hostComponentListObject.serviceName = value["ServiceName"].asString(); - if(!value["ServiceVersion"].isNull()) - hostComponentListObject.serviceVersion = value["ServiceVersion"].asString(); - if(!value["ServiceEcmVersion"].isNull()) - hostComponentListObject.serviceEcmVersion = value["ServiceEcmVersion"].asString(); - if(!value["ReadOnly"].isNull()) - hostComponentListObject.readOnly = value["ReadOnly"].asString() == "true"; - if(!value["Display"].isNull()) - hostComponentListObject.display = value["Display"].asString() == "true"; - auto allHostNameList = value["HostNameList"]["HostName"]; - for (auto value : allHostNameList) - hostComponentListObject.hostNameList.push_back(value.asString()); - hostComponentList_.push_back(hostComponentListObject); - } - -} - -std::vector PlanComponentTopoResult::getHostComponentList()const -{ - return hostComponentList_; -} - diff --git a/emr/src/model/PlanHostNameRequest.cc b/emr/src/model/PlanHostNameRequest.cc deleted file mode 100644 index 0ec515b83..000000000 --- a/emr/src/model/PlanHostNameRequest.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::PlanHostNameRequest; - -PlanHostNameRequest::PlanHostNameRequest() : - RpcServiceRequest("emr", "2016-04-08", "PlanHostName") -{} - -PlanHostNameRequest::~PlanHostNameRequest() -{} - -long PlanHostNameRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void PlanHostNameRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string PlanHostNameRequest::getRegionId()const -{ - return regionId_; -} - -void PlanHostNameRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector PlanHostNameRequest::getHostGroup()const -{ - return hostGroup_; -} - -void PlanHostNameRequest::setHostGroup(const std::vector& hostGroup) -{ - hostGroup_ = hostGroup; - int i = 0; - for(int i = 0; i!= hostGroup.size(); i++) { - auto obj = hostGroup.at(i); - std::string str ="HostGroup."+ std::to_string(i); - setCoreParameter(str + ".GroupType", obj.groupType); - setCoreParameter(str + ".GroupName", obj.groupName); - } -} - -std::vector PlanHostNameRequest::getHostInfo()const -{ - return hostInfo_; -} - -void PlanHostNameRequest::setHostInfo(const std::vector& hostInfo) -{ - hostInfo_ = hostInfo; - int i = 0; - for(int i = 0; i!= hostInfo.size(); i++) { - auto obj = hostInfo.at(i); - std::string str ="HostInfo."+ std::to_string(i); - setCoreParameter(str + ".HpHostBizId", obj.hpHostBizId); - setCoreParameter(str + ".HostGroupName", obj.hostGroupName); - } -} - -std::string PlanHostNameRequest::getClusterId()const -{ - return clusterId_; -} - -void PlanHostNameRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string PlanHostNameRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void PlanHostNameRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/PlanHostNameResult.cc b/emr/src/model/PlanHostNameResult.cc deleted file mode 100644 index 5b147b534..000000000 --- a/emr/src/model/PlanHostNameResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -PlanHostNameResult::PlanHostNameResult() : - ServiceResult() -{} - -PlanHostNameResult::PlanHostNameResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PlanHostNameResult::~PlanHostNameResult() -{} - -void PlanHostNameResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allHostInfoList = value["HostInfoList"]["HostInfo"]; - for (auto value : allHostInfoList) - { - HostInfo hostInfoListObject; - if(!value["HpHostBizId"].isNull()) - hostInfoListObject.hpHostBizId = value["HpHostBizId"].asString(); - if(!value["HostName"].isNull()) - hostInfoListObject.hostName = value["HostName"].asString(); - hostInfoList_.push_back(hostInfoListObject); - } - -} - -std::vector PlanHostNameResult::getHostInfoList()const -{ - return hostInfoList_; -} - diff --git a/emr/src/model/QueryAlarmRulesRequest.cc b/emr/src/model/QueryAlarmRulesRequest.cc deleted file mode 100644 index faec1ab3b..000000000 --- a/emr/src/model/QueryAlarmRulesRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::QueryAlarmRulesRequest; - -QueryAlarmRulesRequest::QueryAlarmRulesRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryAlarmRules") -{} - -QueryAlarmRulesRequest::~QueryAlarmRulesRequest() -{} - -long QueryAlarmRulesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryAlarmRulesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryAlarmRulesRequest::getRegionId()const -{ - return regionId_; -} - -void QueryAlarmRulesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string QueryAlarmRulesRequest::getClusterId()const -{ - return clusterId_; -} - -void QueryAlarmRulesRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string QueryAlarmRulesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryAlarmRulesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/QueryAlarmRulesResult.cc b/emr/src/model/QueryAlarmRulesResult.cc deleted file mode 100644 index cb915b971..000000000 --- a/emr/src/model/QueryAlarmRulesResult.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; - -QueryAlarmRulesResult::QueryAlarmRulesResult() : - ServiceResult() -{} - -QueryAlarmRulesResult::QueryAlarmRulesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryAlarmRulesResult::~QueryAlarmRulesResult() -{} - -void QueryAlarmRulesResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allAlarmList = value["AlarmList"]["Alarm"]; - for (auto value : allAlarmList) - { - Alarm alarmListObject; - if(!value["Name"].isNull()) - alarmListObject.name = value["Name"].asString(); - if(!value["MetricName"].isNull()) - alarmListObject.metricName = value["MetricName"].asString(); - if(!value["Period"].isNull()) - alarmListObject.period = std::stoi(value["Period"].asString()); - if(!value["Threshold"].isNull()) - alarmListObject.threshold = value["Threshold"].asString(); - if(!value["EvaluationCount"].isNull()) - alarmListObject.evaluationCount = std::stoi(value["EvaluationCount"].asString()); - if(!value["StartTime"].isNull()) - alarmListObject.startTime = std::stoi(value["StartTime"].asString()); - if(!value["EndTime"].isNull()) - alarmListObject.endTime = std::stoi(value["EndTime"].asString()); - if(!value["SilenceTime"].isNull()) - alarmListObject.silenceTime = std::stoi(value["SilenceTime"].asString()); - if(!value["NotifyType"].isNull()) - alarmListObject.notifyType = std::stoi(value["NotifyType"].asString()); - if(!value["Enable"].isNull()) - alarmListObject.enable = value["Enable"].asString() == "true"; - if(!value["State"].isNull()) - alarmListObject.state = value["State"].asString(); - if(!value["ComparisonOperator"].isNull()) - alarmListObject.comparisonOperator = value["ComparisonOperator"].asString(); - if(!value["ContactGroups"].isNull()) - alarmListObject.contactGroups = value["ContactGroups"].asString(); - alarmList_.push_back(alarmListObject); - } - -} - -std::vector QueryAlarmRulesResult::getAlarmList()const -{ - return alarmList_; -} - diff --git a/emr/src/model/QueryInfoByTokenRequest.cc b/emr/src/model/QueryInfoByTokenRequest.cc deleted file mode 100644 index fa534eeb4..000000000 --- a/emr/src/model/QueryInfoByTokenRequest.cc +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::QueryInfoByTokenRequest; - -QueryInfoByTokenRequest::QueryInfoByTokenRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryInfoByToken") -{} - -QueryInfoByTokenRequest::~QueryInfoByTokenRequest() -{} - diff --git a/emr/src/model/QueryInfoByTokenResult.cc b/emr/src/model/QueryInfoByTokenResult.cc deleted file mode 100644 index b527c4f27..000000000 --- a/emr/src/model/QueryInfoByTokenResult.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QueryInfoByTokenResult::QueryInfoByTokenResult() : - ServiceResult() -{} - -QueryInfoByTokenResult::QueryInfoByTokenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryInfoByTokenResult::~QueryInfoByTokenResult() -{} - -void QueryInfoByTokenResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["TokenUid"].isNull()) - tokenUid_ = value["TokenUid"].asString(); - if(!value["TokenBid"].isNull()) - tokenBid_ = value["TokenBid"].asString(); - -} - -std::string QueryInfoByTokenResult::getTokenUid()const -{ - return tokenUid_; -} - -std::string QueryInfoByTokenResult::getTokenBid()const -{ - return tokenBid_; -} - diff --git a/emr/src/model/QuerySlsMetricDataRequest.cc b/emr/src/model/QuerySlsMetricDataRequest.cc deleted file mode 100644 index fb3f8e7e2..000000000 --- a/emr/src/model/QuerySlsMetricDataRequest.cc +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::QuerySlsMetricDataRequest; - -QuerySlsMetricDataRequest::QuerySlsMetricDataRequest() : - RpcServiceRequest("emr", "2016-04-08", "QuerySlsMetricData") -{} - -QuerySlsMetricDataRequest::~QuerySlsMetricDataRequest() -{} - -long QuerySlsMetricDataRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QuerySlsMetricDataRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long QuerySlsMetricDataRequest::getPeriod()const -{ - return period_; -} - -void QuerySlsMetricDataRequest::setPeriod(long period) -{ - period_ = period; - setCoreParameter("Period", std::to_string(period)); -} - -std::string QuerySlsMetricDataRequest::getRegionId()const -{ - return regionId_; -} - -void QuerySlsMetricDataRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string QuerySlsMetricDataRequest::getClusterId()const -{ - return clusterId_; -} - -void QuerySlsMetricDataRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -long QuerySlsMetricDataRequest::getStartTimeStamp()const -{ - return startTimeStamp_; -} - -void QuerySlsMetricDataRequest::setStartTimeStamp(long startTimeStamp) -{ - startTimeStamp_ = startTimeStamp; - setCoreParameter("StartTimeStamp", std::to_string(startTimeStamp)); -} - -std::string QuerySlsMetricDataRequest::getMetricName()const -{ - return metricName_; -} - -void QuerySlsMetricDataRequest::setMetricName(const std::string& metricName) -{ - metricName_ = metricName; - setCoreParameter("MetricName", metricName); -} - -std::string QuerySlsMetricDataRequest::getHostRole()const -{ - return hostRole_; -} - -void QuerySlsMetricDataRequest::setHostRole(const std::string& hostRole) -{ - hostRole_ = hostRole; - setCoreParameter("HostRole", hostRole); -} - -std::string QuerySlsMetricDataRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QuerySlsMetricDataRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -long QuerySlsMetricDataRequest::getEndTimeStamp()const -{ - return endTimeStamp_; -} - -void QuerySlsMetricDataRequest::setEndTimeStamp(long endTimeStamp) -{ - endTimeStamp_ = endTimeStamp; - setCoreParameter("EndTimeStamp", std::to_string(endTimeStamp)); -} - diff --git a/emr/src/model/QuerySlsMetricDataResult.cc b/emr/src/model/QuerySlsMetricDataResult.cc deleted file mode 100644 index 69709d295..000000000 --- a/emr/src/model/QuerySlsMetricDataResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QuerySlsMetricDataResult::QuerySlsMetricDataResult() : - ServiceResult() -{} - -QuerySlsMetricDataResult::QuerySlsMetricDataResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QuerySlsMetricDataResult::~QuerySlsMetricDataResult() -{} - -void QuerySlsMetricDataResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - auto allDatapoints = value["Datapoints"]["SlsDataPoint"]; - for (auto value : allDatapoints) - { - SlsDataPoint datapointsObject; - if(!value["Role"].isNull()) - datapointsObject.role = value["Role"].asString(); - if(!value["Value"].isNull()) - datapointsObject.value = value["Value"].asString(); - if(!value["Timestamp"].isNull()) - datapointsObject.timestamp = std::stol(value["Timestamp"].asString()); - datapoints_.push_back(datapointsObject); - } - -} - -std::vector QuerySlsMetricDataResult::getDatapoints()const -{ - return datapoints_; -} - diff --git a/emr/src/model/QueryUserActionsPolicyRequest.cc b/emr/src/model/QueryUserActionsPolicyRequest.cc deleted file mode 100644 index 28bb7acf5..000000000 --- a/emr/src/model/QueryUserActionsPolicyRequest.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::QueryUserActionsPolicyRequest; - -QueryUserActionsPolicyRequest::QueryUserActionsPolicyRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryUserActionsPolicy") -{} - -QueryUserActionsPolicyRequest::~QueryUserActionsPolicyRequest() -{} - -long QueryUserActionsPolicyRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryUserActionsPolicyRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryUserActionsPolicyRequest::getResourceId()const -{ - return resourceId_; -} - -void QueryUserActionsPolicyRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::string QueryUserActionsPolicyRequest::getResourceType()const -{ - return resourceType_; -} - -void QueryUserActionsPolicyRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string QueryUserActionsPolicyRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryUserActionsPolicyRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string QueryUserActionsPolicyRequest::getRegionId()const -{ - return regionId_; -} - -void QueryUserActionsPolicyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector QueryUserActionsPolicyRequest::getActionNameList()const -{ - return actionNameList_; -} - -void QueryUserActionsPolicyRequest::setActionNameList(const std::vector& actionNameList) -{ - actionNameList_ = actionNameList; - for(int i = 0; i!= actionNameList.size(); i++) - setCoreParameter("ActionNameList."+ std::to_string(i), actionNameList.at(i)); -} - -std::string QueryUserActionsPolicyRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void QueryUserActionsPolicyRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - diff --git a/emr/src/model/QueryUserActionsPolicyResult.cc b/emr/src/model/QueryUserActionsPolicyResult.cc deleted file mode 100644 index 3cfe2f919..000000000 --- a/emr/src/model/QueryUserActionsPolicyResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QueryUserActionsPolicyResult::QueryUserActionsPolicyResult() : - ServiceResult() -{} - -QueryUserActionsPolicyResult::QueryUserActionsPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryUserActionsPolicyResult::~QueryUserActionsPolicyResult() -{} - -void QueryUserActionsPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["policyDTO"]; - for (auto valueDatapolicyDTO : allDataNode) - { - PolicyDTO dataObject; - if(!valueDatapolicyDTO["Name"].isNull()) - dataObject.name = valueDatapolicyDTO["Name"].asString(); - if(!valueDatapolicyDTO["GmtCreate"].isNull()) - dataObject.gmtCreate = valueDatapolicyDTO["GmtCreate"].asString(); - if(!valueDatapolicyDTO["Effect"].isNull()) - dataObject.effect = valueDatapolicyDTO["Effect"].asString(); - if(!valueDatapolicyDTO["Action"].isNull()) - dataObject.action = valueDatapolicyDTO["Action"].asString(); - if(!valueDatapolicyDTO["Conditions"].isNull()) - dataObject.conditions = valueDatapolicyDTO["Conditions"].asString(); - data_.push_back(dataObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - -} - -bool QueryUserActionsPolicyResult::getPaging()const -{ - return paging_; -} - -std::vector QueryUserActionsPolicyResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/QueryUserPoliciesRequest.cc b/emr/src/model/QueryUserPoliciesRequest.cc deleted file mode 100644 index 74bca9b03..000000000 --- a/emr/src/model/QueryUserPoliciesRequest.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 - -using AlibabaCloud::Emr::Model::QueryUserPoliciesRequest; - -QueryUserPoliciesRequest::QueryUserPoliciesRequest() : - RpcServiceRequest("emr", "2016-04-08", "QueryUserPolicies") -{} - -QueryUserPoliciesRequest::~QueryUserPoliciesRequest() -{} - -long QueryUserPoliciesRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void QueryUserPoliciesRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string QueryUserPoliciesRequest::getResourceId()const -{ - return resourceId_; -} - -void QueryUserPoliciesRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::string QueryUserPoliciesRequest::getResourceType()const -{ - return resourceType_; -} - -void QueryUserPoliciesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string QueryUserPoliciesRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void QueryUserPoliciesRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string QueryUserPoliciesRequest::getRegionId()const -{ - return regionId_; -} - -void QueryUserPoliciesRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/QueryUserPoliciesResult.cc b/emr/src/model/QueryUserPoliciesResult.cc deleted file mode 100644 index e344485ee..000000000 --- a/emr/src/model/QueryUserPoliciesResult.cc +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -QueryUserPoliciesResult::QueryUserPoliciesResult() : - ServiceResult() -{} - -QueryUserPoliciesResult::QueryUserPoliciesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryUserPoliciesResult::~QueryUserPoliciesResult() -{} - -void QueryUserPoliciesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["policyDTO"]; - for (auto valueDatapolicyDTO : allDataNode) - { - PolicyDTO dataObject; - if(!valueDatapolicyDTO["Name"].isNull()) - dataObject.name = valueDatapolicyDTO["Name"].asString(); - if(!valueDatapolicyDTO["GmtCreate"].isNull()) - dataObject.gmtCreate = valueDatapolicyDTO["GmtCreate"].asString(); - if(!valueDatapolicyDTO["Effect"].isNull()) - dataObject.effect = valueDatapolicyDTO["Effect"].asString(); - if(!valueDatapolicyDTO["Action"].isNull()) - dataObject.action = valueDatapolicyDTO["Action"].asString(); - if(!valueDatapolicyDTO["Conditions"].isNull()) - dataObject.conditions = valueDatapolicyDTO["Conditions"].asString(); - data_.push_back(dataObject); - } - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - -} - -bool QueryUserPoliciesResult::getPaging()const -{ - return paging_; -} - -std::vector QueryUserPoliciesResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/ReassignKafkaRequest.cc b/emr/src/model/ReassignKafkaRequest.cc deleted file mode 100644 index 0f4ce694c..000000000 --- a/emr/src/model/ReassignKafkaRequest.cc +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ReassignKafkaRequest; - -ReassignKafkaRequest::ReassignKafkaRequest() : - RpcServiceRequest("emr", "2016-04-08", "ReassignKafka") -{} - -ReassignKafkaRequest::~ReassignKafkaRequest() -{} - -long ReassignKafkaRequest::getThrottle()const -{ - return throttle_; -} - -void ReassignKafkaRequest::setThrottle(long throttle) -{ - throttle_ = throttle; - setCoreParameter("Throttle", std::to_string(throttle)); -} - -long ReassignKafkaRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ReassignKafkaRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ReassignKafkaRequest::getTopicId()const -{ - return topicId_; -} - -void ReassignKafkaRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::vector ReassignKafkaRequest::getBrokerId()const -{ - return brokerId_; -} - -void ReassignKafkaRequest::setBrokerId(const std::vector& brokerId) -{ - brokerId_ = brokerId; - for(int i = 0; i!= brokerId.size(); i++) - setCoreParameter("BrokerId."+ std::to_string(i), std::to_string(brokerId.at(i))); -} - -std::string ReassignKafkaRequest::getRegionId()const -{ - return regionId_; -} - -void ReassignKafkaRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ReassignKafkaRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ReassignKafkaRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ReassignKafkaResult.cc b/emr/src/model/ReassignKafkaResult.cc deleted file mode 100644 index ee6117203..000000000 --- a/emr/src/model/ReassignKafkaResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ReassignKafkaResult::ReassignKafkaResult() : - ServiceResult() -{} - -ReassignKafkaResult::ReassignKafkaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReassignKafkaResult::~ReassignKafkaResult() -{} - -void ReassignKafkaResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RefreshBackupListRequest.cc b/emr/src/model/RefreshBackupListRequest.cc deleted file mode 100644 index af78ba5d8..000000000 --- a/emr/src/model/RefreshBackupListRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RefreshBackupListRequest; - -RefreshBackupListRequest::RefreshBackupListRequest() : - RpcServiceRequest("emr", "2016-04-08", "RefreshBackupList") -{} - -RefreshBackupListRequest::~RefreshBackupListRequest() -{} - -long RefreshBackupListRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RefreshBackupListRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RefreshBackupListRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RefreshBackupListRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RefreshBackupListRequest::getRegionId()const -{ - return regionId_; -} - -void RefreshBackupListRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RefreshBackupListRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void RefreshBackupListRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setCoreParameter("BackupPlanId", backupPlanId); -} - diff --git a/emr/src/model/RefreshBackupListResult.cc b/emr/src/model/RefreshBackupListResult.cc deleted file mode 100644 index c58e529f9..000000000 --- a/emr/src/model/RefreshBackupListResult.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; - -RefreshBackupListResult::RefreshBackupListResult() : - ServiceResult() -{} - -RefreshBackupListResult::RefreshBackupListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RefreshBackupListResult::~RefreshBackupListResult() -{} - -void RefreshBackupListResult::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 RefreshBackupListResult::getTriggerType()const -{ - return triggerType_; -} - -long RefreshBackupListResult::getEndTime()const -{ - return endTime_; -} - -long RefreshBackupListResult::getStartTime()const -{ - return startTime_; -} - -long RefreshBackupListResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string RefreshBackupListResult::getTaskStatus()const -{ - return taskStatus_; -} - -std::string RefreshBackupListResult::getTaskDetail()const -{ - return taskDetail_; -} - -std::string RefreshBackupListResult::getTriggerUser()const -{ - return triggerUser_; -} - -long RefreshBackupListResult::getGmtCreate()const -{ - return gmtCreate_; -} - -int RefreshBackupListResult::getTaskProcess()const -{ - return taskProcess_; -} - -std::string RefreshBackupListResult::getClusterBizId()const -{ - return clusterBizId_; -} - -std::string RefreshBackupListResult::getTaskType()const -{ - return taskType_; -} - -std::string RefreshBackupListResult::getBizId()const -{ - return bizId_; -} - -long RefreshBackupListResult::getDataSourceId()const -{ - return dataSourceId_; -} - -std::string RefreshBackupListResult::getHostName()const -{ - return hostName_; -} - -long RefreshBackupListResult::getEcmTaskId()const -{ - return ecmTaskId_; -} - -std::string RefreshBackupListResult::getTaskResultDetail()const -{ - return taskResultDetail_; -} - diff --git a/emr/src/model/RefreshClusterResourcePoolForAdminRequest.cc b/emr/src/model/RefreshClusterResourcePoolForAdminRequest.cc deleted file mode 100644 index fd7927b3d..000000000 --- a/emr/src/model/RefreshClusterResourcePoolForAdminRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RefreshClusterResourcePoolForAdminRequest; - -RefreshClusterResourcePoolForAdminRequest::RefreshClusterResourcePoolForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "RefreshClusterResourcePoolForAdmin") -{} - -RefreshClusterResourcePoolForAdminRequest::~RefreshClusterResourcePoolForAdminRequest() -{} - -long RefreshClusterResourcePoolForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RefreshClusterResourcePoolForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -long RefreshClusterResourcePoolForAdminRequest::getResourcePoolId()const -{ - return resourcePoolId_; -} - -void RefreshClusterResourcePoolForAdminRequest::setResourcePoolId(long resourcePoolId) -{ - resourcePoolId_ = resourcePoolId; - setCoreParameter("ResourcePoolId", std::to_string(resourcePoolId)); -} - -std::string RefreshClusterResourcePoolForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void RefreshClusterResourcePoolForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string RefreshClusterResourcePoolForAdminRequest::getUserId()const -{ - return userId_; -} - -void RefreshClusterResourcePoolForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string RefreshClusterResourcePoolForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RefreshClusterResourcePoolForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RefreshClusterResourcePoolForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void RefreshClusterResourcePoolForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/RefreshClusterResourcePoolForAdminResult.cc b/emr/src/model/RefreshClusterResourcePoolForAdminResult.cc deleted file mode 100644 index 9cd7e62ec..000000000 --- a/emr/src/model/RefreshClusterResourcePoolForAdminResult.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; - -RefreshClusterResourcePoolForAdminResult::RefreshClusterResourcePoolForAdminResult() : - ServiceResult() -{} - -RefreshClusterResourcePoolForAdminResult::RefreshClusterResourcePoolForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RefreshClusterResourcePoolForAdminResult::~RefreshClusterResourcePoolForAdminResult() -{} - -void RefreshClusterResourcePoolForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["WorkFlowInstanceId"].isNull()) - workFlowInstanceId_ = value["WorkFlowInstanceId"].asString(); - if(!value["OperationId"].isNull()) - operationId_ = value["OperationId"].asString(); - -} - -std::string RefreshClusterResourcePoolForAdminResult::getWorkFlowInstanceId()const -{ - return workFlowInstanceId_; -} - -std::string RefreshClusterResourcePoolForAdminResult::getOperationId()const -{ - return operationId_; -} - diff --git a/emr/src/model/ReleaseETLJobRequest.cc b/emr/src/model/ReleaseETLJobRequest.cc deleted file mode 100644 index 471ad565b..000000000 --- a/emr/src/model/ReleaseETLJobRequest.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 - -using AlibabaCloud::Emr::Model::ReleaseETLJobRequest; - -ReleaseETLJobRequest::ReleaseETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "ReleaseETLJob") -{} - -ReleaseETLJobRequest::~ReleaseETLJobRequest() -{} - -long ReleaseETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ReleaseETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ReleaseETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void ReleaseETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ReleaseETLJobRequest::getReleaseId()const -{ - return releaseId_; -} - -void ReleaseETLJobRequest::setReleaseId(const std::string& releaseId) -{ - releaseId_ = releaseId; - setCoreParameter("ReleaseId", releaseId); -} - -std::string ReleaseETLJobRequest::getId()const -{ - return id_; -} - -void ReleaseETLJobRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string ReleaseETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ReleaseETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ReleaseETLJobResult.cc b/emr/src/model/ReleaseETLJobResult.cc deleted file mode 100644 index cc05617cc..000000000 --- a/emr/src/model/ReleaseETLJobResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ReleaseETLJobResult::ReleaseETLJobResult() : - ServiceResult() -{} - -ReleaseETLJobResult::ReleaseETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReleaseETLJobResult::~ReleaseETLJobResult() -{} - -void ReleaseETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ReleaseId"].isNull()) - releaseId_ = value["ReleaseId"].asString(); - -} - -std::string ReleaseETLJobResult::getReleaseId()const -{ - return releaseId_; -} - diff --git a/emr/src/model/RemoveBackupPlanRequest.cc b/emr/src/model/RemoveBackupPlanRequest.cc deleted file mode 100644 index e80a7e9dd..000000000 --- a/emr/src/model/RemoveBackupPlanRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RemoveBackupPlanRequest; - -RemoveBackupPlanRequest::RemoveBackupPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "RemoveBackupPlan") -{} - -RemoveBackupPlanRequest::~RemoveBackupPlanRequest() -{} - -long RemoveBackupPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RemoveBackupPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RemoveBackupPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RemoveBackupPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RemoveBackupPlanRequest::getRegionId()const -{ - return regionId_; -} - -void RemoveBackupPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RemoveBackupPlanRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void RemoveBackupPlanRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setCoreParameter("BackupPlanId", backupPlanId); -} - diff --git a/emr/src/model/RemoveBackupRequest.cc b/emr/src/model/RemoveBackupRequest.cc deleted file mode 100644 index 4b40662e3..000000000 --- a/emr/src/model/RemoveBackupRequest.cc +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::RemoveBackupRequest; - -RemoveBackupRequest::RemoveBackupRequest() : - RpcServiceRequest("emr", "2016-04-08", "RemoveBackup") -{} - -RemoveBackupRequest::~RemoveBackupRequest() -{} - -long RemoveBackupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RemoveBackupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector RemoveBackupRequest::getBackupId()const -{ - return backupId_; -} - -void RemoveBackupRequest::setBackupId(const std::vector& backupId) -{ - backupId_ = backupId; - for(int i = 0; i!= backupId.size(); i++) - setCoreParameter("BackupId."+ std::to_string(i), backupId.at(i)); -} - -std::string RemoveBackupRequest::getBackupPlanId()const -{ - return backupPlanId_; -} - -void RemoveBackupRequest::setBackupPlanId(const std::string& backupPlanId) -{ - backupPlanId_ = backupPlanId; - setCoreParameter("BackupPlanId", backupPlanId); -} - -std::string RemoveBackupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RemoveBackupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RemoveBackupRequest::getRegionId()const -{ - return regionId_; -} - -void RemoveBackupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/RemoveBackupResult.cc b/emr/src/model/RemoveBackupResult.cc deleted file mode 100644 index e2893fd73..000000000 --- a/emr/src/model/RemoveBackupResult.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; - -RemoveBackupResult::RemoveBackupResult() : - ServiceResult() -{} - -RemoveBackupResult::RemoveBackupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RemoveBackupResult::~RemoveBackupResult() -{} - -void RemoveBackupResult::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 RemoveBackupResult::getTriggerType()const -{ - return triggerType_; -} - -long RemoveBackupResult::getEndTime()const -{ - return endTime_; -} - -long RemoveBackupResult::getStartTime()const -{ - return startTime_; -} - -long RemoveBackupResult::getGmtModified()const -{ - return gmtModified_; -} - -std::string RemoveBackupResult::getTaskStatus()const -{ - return taskStatus_; -} - -std::string RemoveBackupResult::getTaskDetail()const -{ - return taskDetail_; -} - -std::string RemoveBackupResult::getTriggerUser()const -{ - return triggerUser_; -} - -long RemoveBackupResult::getGmtCreate()const -{ - return gmtCreate_; -} - -int RemoveBackupResult::getTaskProcess()const -{ - return taskProcess_; -} - -std::string RemoveBackupResult::getClusterBizId()const -{ - return clusterBizId_; -} - -std::string RemoveBackupResult::getTaskType()const -{ - return taskType_; -} - -std::string RemoveBackupResult::getBizId()const -{ - return bizId_; -} - -long RemoveBackupResult::getDataSourceId()const -{ - return dataSourceId_; -} - -std::string RemoveBackupResult::getHostName()const -{ - return hostName_; -} - -long RemoveBackupResult::getEcmTaskId()const -{ - return ecmTaskId_; -} - -std::string RemoveBackupResult::getTaskResultDetail()const -{ - return taskResultDetail_; -} - diff --git a/emr/src/model/RemoveBackupRuleRequest.cc b/emr/src/model/RemoveBackupRuleRequest.cc deleted file mode 100644 index a32006207..000000000 --- a/emr/src/model/RemoveBackupRuleRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RemoveBackupRuleRequest; - -RemoveBackupRuleRequest::RemoveBackupRuleRequest() : - RpcServiceRequest("emr", "2016-04-08", "RemoveBackupRule") -{} - -RemoveBackupRuleRequest::~RemoveBackupRuleRequest() -{} - -long RemoveBackupRuleRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RemoveBackupRuleRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RemoveBackupRuleRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RemoveBackupRuleRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RemoveBackupRuleRequest::getRegionId()const -{ - return regionId_; -} - -void RemoveBackupRuleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RemoveBackupRuleRequest::getBackupRuleId()const -{ - return backupRuleId_; -} - -void RemoveBackupRuleRequest::setBackupRuleId(const std::string& backupRuleId) -{ - backupRuleId_ = backupRuleId; - setCoreParameter("BackupRuleId", backupRuleId); -} - diff --git a/emr/src/model/RemoveClusterHostsRequest.cc b/emr/src/model/RemoveClusterHostsRequest.cc deleted file mode 100644 index f22b2c2a7..000000000 --- a/emr/src/model/RemoveClusterHostsRequest.cc +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::RemoveClusterHostsRequest; - -RemoveClusterHostsRequest::RemoveClusterHostsRequest() : - RpcServiceRequest("emr", "2016-04-08", "RemoveClusterHosts") -{} - -RemoveClusterHostsRequest::~RemoveClusterHostsRequest() -{} - -long RemoveClusterHostsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RemoveClusterHostsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RemoveClusterHostsRequest::getRegionId()const -{ - return regionId_; -} - -void RemoveClusterHostsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RemoveClusterHostsRequest::getClusterId()const -{ - return clusterId_; -} - -void RemoveClusterHostsRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::vector RemoveClusterHostsRequest::getHostIdList()const -{ - return hostIdList_; -} - -void RemoveClusterHostsRequest::setHostIdList(const std::vector& hostIdList) -{ - hostIdList_ = hostIdList; - for(int i = 0; i!= hostIdList.size(); i++) - setCoreParameter("HostIdList."+ std::to_string(i), hostIdList.at(i)); -} - -std::string RemoveClusterHostsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RemoveClusterHostsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RemoveClusterHostsResult.cc b/emr/src/model/RemoveClusterHostsResult.cc deleted file mode 100644 index f11a5a28e..000000000 --- a/emr/src/model/RemoveClusterHostsResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RemoveClusterHostsResult::RemoveClusterHostsResult() : - ServiceResult() -{} - -RemoveClusterHostsResult::RemoveClusterHostsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RemoveClusterHostsResult::~RemoveClusterHostsResult() -{} - -void RemoveClusterHostsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - -} - -std::string RemoveClusterHostsResult::getClusterId()const -{ - return clusterId_; -} - diff --git a/emr/src/model/RemoveHpHostRequest.cc b/emr/src/model/RemoveHpHostRequest.cc deleted file mode 100644 index 0ec7f02e9..000000000 --- a/emr/src/model/RemoveHpHostRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RemoveHpHostRequest; - -RemoveHpHostRequest::RemoveHpHostRequest() : - RpcServiceRequest("emr", "2016-04-08", "RemoveHpHost") -{} - -RemoveHpHostRequest::~RemoveHpHostRequest() -{} - -std::string RemoveHpHostRequest::getHpHostBizId()const -{ - return hpHostBizId_; -} - -void RemoveHpHostRequest::setHpHostBizId(const std::string& hpHostBizId) -{ - hpHostBizId_ = hpHostBizId; - setCoreParameter("HpHostBizId", hpHostBizId); -} - -long RemoveHpHostRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RemoveHpHostRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RemoveHpHostRequest::getRegionId()const -{ - return regionId_; -} - -void RemoveHpHostRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RemoveHpHostRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RemoveHpHostRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RemoveHpHostResult.cc b/emr/src/model/RemoveHpHostResult.cc deleted file mode 100644 index ce2bf7593..000000000 --- a/emr/src/model/RemoveHpHostResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -RemoveHpHostResult::RemoveHpHostResult() : - ServiceResult() -{} - -RemoveHpHostResult::RemoveHpHostResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RemoveHpHostResult::~RemoveHpHostResult() -{} - -void RemoveHpHostResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RemoveScalingConfigItemV2Request.cc b/emr/src/model/RemoveScalingConfigItemV2Request.cc new file mode 100644 index 000000000..baa115ccf --- /dev/null +++ b/emr/src/model/RemoveScalingConfigItemV2Request.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::RemoveScalingConfigItemV2Request; + +RemoveScalingConfigItemV2Request::RemoveScalingConfigItemV2Request() : + RpcServiceRequest("emr", "2016-04-08", "RemoveScalingConfigItemV2") +{ + setMethod(HttpRequest::Method::Post); +} + +RemoveScalingConfigItemV2Request::~RemoveScalingConfigItemV2Request() +{} + +std::string RemoveScalingConfigItemV2Request::getConfigItemType()const +{ + return configItemType_; +} + +void RemoveScalingConfigItemV2Request::setConfigItemType(const std::string& configItemType) +{ + configItemType_ = configItemType; + setParameter("ConfigItemType", configItemType); +} + +std::string RemoveScalingConfigItemV2Request::getConfigItemBizId()const +{ + return configItemBizId_; +} + +void RemoveScalingConfigItemV2Request::setConfigItemBizId(const std::string& configItemBizId) +{ + configItemBizId_ = configItemBizId; + setParameter("ConfigItemBizId", configItemBizId); +} + +long RemoveScalingConfigItemV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RemoveScalingConfigItemV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string RemoveScalingConfigItemV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RemoveScalingConfigItemV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string RemoveScalingConfigItemV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void RemoveScalingConfigItemV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string RemoveScalingConfigItemV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void RemoveScalingConfigItemV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string RemoveScalingConfigItemV2Request::getRegionId()const +{ + return regionId_; +} + +void RemoveScalingConfigItemV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/emr/src/model/CreateUserGroupResult.cc b/emr/src/model/RemoveScalingConfigItemV2Result.cc similarity index 67% rename from emr/src/model/CreateUserGroupResult.cc rename to emr/src/model/RemoveScalingConfigItemV2Result.cc index 809d6cc3d..fe537cdb2 100644 --- a/emr/src/model/CreateUserGroupResult.cc +++ b/emr/src/model/RemoveScalingConfigItemV2Result.cc @@ -14,44 +14,37 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -CreateUserGroupResult::CreateUserGroupResult() : +RemoveScalingConfigItemV2Result::RemoveScalingConfigItemV2Result() : ServiceResult() {} -CreateUserGroupResult::CreateUserGroupResult(const std::string &payload) : +RemoveScalingConfigItemV2Result::RemoveScalingConfigItemV2Result(const std::string &payload) : ServiceResult() { parse(payload); } -CreateUserGroupResult::~CreateUserGroupResult() +RemoveScalingConfigItemV2Result::~RemoveScalingConfigItemV2Result() {} -void CreateUserGroupResult::parse(const std::string &payload) +void RemoveScalingConfigItemV2Result::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; if(!value["Data"].isNull()) data_ = value["Data"].asString() == "true"; } -bool CreateUserGroupResult::getPaging()const -{ - return paging_; -} - -bool CreateUserGroupResult::getData()const +bool RemoveScalingConfigItemV2Result::getData()const { return data_; } diff --git a/emr/src/model/RenderResourcePoolXmlForAdminRequest.cc b/emr/src/model/RenderResourcePoolXmlForAdminRequest.cc deleted file mode 100644 index c2028d49a..000000000 --- a/emr/src/model/RenderResourcePoolXmlForAdminRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RenderResourcePoolXmlForAdminRequest; - -RenderResourcePoolXmlForAdminRequest::RenderResourcePoolXmlForAdminRequest() : - RpcServiceRequest("emr", "2016-04-08", "RenderResourcePoolXmlForAdmin") -{} - -RenderResourcePoolXmlForAdminRequest::~RenderResourcePoolXmlForAdminRequest() -{} - -long RenderResourcePoolXmlForAdminRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RenderResourcePoolXmlForAdminRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RenderResourcePoolXmlForAdminRequest::getResourcePoolId()const -{ - return resourcePoolId_; -} - -void RenderResourcePoolXmlForAdminRequest::setResourcePoolId(const std::string& resourcePoolId) -{ - resourcePoolId_ = resourcePoolId; - setCoreParameter("ResourcePoolId", resourcePoolId); -} - -std::string RenderResourcePoolXmlForAdminRequest::getClusterId()const -{ - return clusterId_; -} - -void RenderResourcePoolXmlForAdminRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string RenderResourcePoolXmlForAdminRequest::getUserId()const -{ - return userId_; -} - -void RenderResourcePoolXmlForAdminRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setCoreParameter("UserId", userId); -} - -std::string RenderResourcePoolXmlForAdminRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RenderResourcePoolXmlForAdminRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RenderResourcePoolXmlForAdminRequest::getRegionId()const -{ - return regionId_; -} - -void RenderResourcePoolXmlForAdminRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/RenderResourcePoolXmlForAdminResult.cc b/emr/src/model/RenderResourcePoolXmlForAdminResult.cc deleted file mode 100644 index 4641f789f..000000000 --- a/emr/src/model/RenderResourcePoolXmlForAdminResult.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; - -RenderResourcePoolXmlForAdminResult::RenderResourcePoolXmlForAdminResult() : - ServiceResult() -{} - -RenderResourcePoolXmlForAdminResult::RenderResourcePoolXmlForAdminResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RenderResourcePoolXmlForAdminResult::~RenderResourcePoolXmlForAdminResult() -{} - -void RenderResourcePoolXmlForAdminResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["XmlContent"].isNull()) - xmlContent_ = value["XmlContent"].asString(); - -} - -std::string RenderResourcePoolXmlForAdminResult::getXmlContent()const -{ - return xmlContent_; -} - diff --git a/emr/src/model/RenderResourcePoolXmlRequest.cc b/emr/src/model/RenderResourcePoolXmlRequest.cc deleted file mode 100644 index c6257a68c..000000000 --- a/emr/src/model/RenderResourcePoolXmlRequest.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 - -using AlibabaCloud::Emr::Model::RenderResourcePoolXmlRequest; - -RenderResourcePoolXmlRequest::RenderResourcePoolXmlRequest() : - RpcServiceRequest("emr", "2016-04-08", "RenderResourcePoolXml") -{} - -RenderResourcePoolXmlRequest::~RenderResourcePoolXmlRequest() -{} - -long RenderResourcePoolXmlRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RenderResourcePoolXmlRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RenderResourcePoolXmlRequest::getRegionId()const -{ - return regionId_; -} - -void RenderResourcePoolXmlRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RenderResourcePoolXmlRequest::getResourcePoolId()const -{ - return resourcePoolId_; -} - -void RenderResourcePoolXmlRequest::setResourcePoolId(const std::string& resourcePoolId) -{ - resourcePoolId_ = resourcePoolId; - setCoreParameter("ResourcePoolId", resourcePoolId); -} - -std::string RenderResourcePoolXmlRequest::getClusterId()const -{ - return clusterId_; -} - -void RenderResourcePoolXmlRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string RenderResourcePoolXmlRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RenderResourcePoolXmlRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RenderResourcePoolXmlResult.cc b/emr/src/model/RenderResourcePoolXmlResult.cc deleted file mode 100644 index 356938596..000000000 --- a/emr/src/model/RenderResourcePoolXmlResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RenderResourcePoolXmlResult::RenderResourcePoolXmlResult() : - ServiceResult() -{} - -RenderResourcePoolXmlResult::RenderResourcePoolXmlResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RenderResourcePoolXmlResult::~RenderResourcePoolXmlResult() -{} - -void RenderResourcePoolXmlResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["XmlContent"].isNull()) - xmlContent_ = value["XmlContent"].asString(); - -} - -std::string RenderResourcePoolXmlResult::getXmlContent()const -{ - return xmlContent_; -} - diff --git a/emr/src/model/ResizeClusterV2Request.cc b/emr/src/model/ResizeClusterV2Request.cc index 0bbbe5ea6..66c61fe98 100644 --- a/emr/src/model/ResizeClusterV2Request.cc +++ b/emr/src/model/ResizeClusterV2Request.cc @@ -145,3 +145,20 @@ void ResizeClusterV2Request::setHostGroup(const std::vector& hostGrou } } +std::vector ResizeClusterV2Request::getPromotionInfo()const +{ + return promotionInfo_; +} + +void ResizeClusterV2Request::setPromotionInfo(const std::vector& promotionInfo) +{ + promotionInfo_ = promotionInfo; + for(int dep1 = 0; dep1!= promotionInfo.size(); dep1++) { + auto promotionInfoObj = promotionInfo.at(dep1); + std::string promotionInfoObjStr = "PromotionInfo." + std::to_string(dep1 + 1); + setParameter(promotionInfoObjStr + ".PromotionOptionCode", promotionInfoObj.promotionOptionCode); + setParameter(promotionInfoObjStr + ".ProductCode", promotionInfoObj.productCode); + setParameter(promotionInfoObjStr + ".PromotionOptionNo", promotionInfoObj.promotionOptionNo); + } +} + diff --git a/emr/src/model/ResizeClusterWithHostPoolRequest.cc b/emr/src/model/ResizeClusterWithHostPoolRequest.cc deleted file mode 100644 index 5dc1cd3ac..000000000 --- a/emr/src/model/ResizeClusterWithHostPoolRequest.cc +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::ResizeClusterWithHostPoolRequest; - -ResizeClusterWithHostPoolRequest::ResizeClusterWithHostPoolRequest() : - RpcServiceRequest("emr", "2016-04-08", "ResizeClusterWithHostPool") -{} - -ResizeClusterWithHostPoolRequest::~ResizeClusterWithHostPoolRequest() -{} - -long ResizeClusterWithHostPoolRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ResizeClusterWithHostPoolRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector ResizeClusterWithHostPoolRequest::getHostInfo()const -{ - return hostInfo_; -} - -void ResizeClusterWithHostPoolRequest::setHostInfo(const std::vector& hostInfo) -{ - hostInfo_ = hostInfo; - int i = 0; - for(int i = 0; i!= hostInfo.size(); i++) { - auto obj = hostInfo.at(i); - std::string str ="HostInfo."+ std::to_string(i); - setCoreParameter(str + ".HpHostBizId", obj.hpHostBizId); - setCoreParameter(str + ".HostName", obj.hostName); - setCoreParameter(str + ".Role", obj.role); - setCoreParameter(str + ".GroupId", obj.groupId); - setCoreParameter(str + ".PrivateIp", obj.privateIp); - setCoreParameter(str + ".ServiceComponentInfo", std::to_string(obj.serviceComponentInfo)); - setCoreParameter(str + ".HostGroupName", obj.hostGroupName); - setCoreParameter(str + ".HostGroupType", obj.hostGroupType); - } -} - -std::string ResizeClusterWithHostPoolRequest::getClusterId()const -{ - return clusterId_; -} - -void ResizeClusterWithHostPoolRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string ResizeClusterWithHostPoolRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ResizeClusterWithHostPoolRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ResizeClusterWithHostPoolRequest::getRegionId()const -{ - return regionId_; -} - -void ResizeClusterWithHostPoolRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector ResizeClusterWithHostPoolRequest::getHostGroup()const -{ - return hostGroup_; -} - -void ResizeClusterWithHostPoolRequest::setHostGroup(const std::vector& hostGroup) -{ - hostGroup_ = hostGroup; - int i = 0; - for(int i = 0; i!= hostGroup.size(); i++) { - auto obj = hostGroup.at(i); - std::string str ="HostGroup."+ std::to_string(i); - setCoreParameter(str + ".GroupType", obj.groupType); - setCoreParameter(str + ".GroupId", obj.groupId); - setCoreParameter(str + ".GroupName", obj.groupName); - } -} - diff --git a/emr/src/model/ResizeClusterWithHostPoolResult.cc b/emr/src/model/ResizeClusterWithHostPoolResult.cc deleted file mode 100644 index 588f0a781..000000000 --- a/emr/src/model/ResizeClusterWithHostPoolResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ResizeClusterWithHostPoolResult::ResizeClusterWithHostPoolResult() : - ServiceResult() -{} - -ResizeClusterWithHostPoolResult::ResizeClusterWithHostPoolResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResizeClusterWithHostPoolResult::~ResizeClusterWithHostPoolResult() -{} - -void ResizeClusterWithHostPoolResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["ClusterId"].isNull()) - clusterId_ = value["ClusterId"].asString(); - if(!value["WorkFlowInstanceId"].isNull()) - workFlowInstanceId_ = value["WorkFlowInstanceId"].asString(); - if(!value["OperationId"].isNull()) - operationId_ = value["OperationId"].asString(); - -} - -std::string ResizeClusterWithHostPoolResult::getWorkFlowInstanceId()const -{ - return workFlowInstanceId_; -} - -std::string ResizeClusterWithHostPoolResult::getClusterId()const -{ - return clusterId_; -} - -std::string ResizeClusterWithHostPoolResult::getOperationId()const -{ - return operationId_; -} - diff --git a/emr/src/model/ResolveETLJobSqlSchemaRequest.cc b/emr/src/model/ResolveETLJobSqlSchemaRequest.cc deleted file mode 100644 index f7cfc99b6..000000000 --- a/emr/src/model/ResolveETLJobSqlSchemaRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ResolveETLJobSqlSchemaRequest; - -ResolveETLJobSqlSchemaRequest::ResolveETLJobSqlSchemaRequest() : - RpcServiceRequest("emr", "2016-04-08", "ResolveETLJobSqlSchema") -{} - -ResolveETLJobSqlSchemaRequest::~ResolveETLJobSqlSchemaRequest() -{} - -std::string ResolveETLJobSqlSchemaRequest::getStageName()const -{ - return stageName_; -} - -void ResolveETLJobSqlSchemaRequest::setStageName(const std::string& stageName) -{ - stageName_ = stageName; - setCoreParameter("StageName", stageName); -} - -long ResolveETLJobSqlSchemaRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ResolveETLJobSqlSchemaRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ResolveETLJobSqlSchemaRequest::getRegionId()const -{ - return regionId_; -} - -void ResolveETLJobSqlSchemaRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ResolveETLJobSqlSchemaRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void ResolveETLJobSqlSchemaRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string ResolveETLJobSqlSchemaRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void ResolveETLJobSqlSchemaRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string ResolveETLJobSqlSchemaRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ResolveETLJobSqlSchemaRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string ResolveETLJobSqlSchemaRequest::getSql()const -{ - return sql_; -} - -void ResolveETLJobSqlSchemaRequest::setSql(const std::string& sql) -{ - sql_ = sql; - setCoreParameter("Sql", sql); -} - diff --git a/emr/src/model/ResolveETLJobSqlSchemaResult.cc b/emr/src/model/ResolveETLJobSqlSchemaResult.cc deleted file mode 100644 index 50838ffb8..000000000 --- a/emr/src/model/ResolveETLJobSqlSchemaResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -ResolveETLJobSqlSchemaResult::ResolveETLJobSqlSchemaResult() : - ServiceResult() -{} - -ResolveETLJobSqlSchemaResult::ResolveETLJobSqlSchemaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResolveETLJobSqlSchemaResult::~ResolveETLJobSqlSchemaResult() -{} - -void ResolveETLJobSqlSchemaResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ResolveId"].isNull()) - resolveId_ = value["ResolveId"].asString(); - -} - -std::string ResolveETLJobSqlSchemaResult::getResolveId()const -{ - return resolveId_; -} - diff --git a/emr/src/model/ResumeExecutionPlanInstanceRequest.cc b/emr/src/model/ResumeExecutionPlanInstanceRequest.cc deleted file mode 100644 index b70bd0689..000000000 --- a/emr/src/model/ResumeExecutionPlanInstanceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::ResumeExecutionPlanInstanceRequest; - -ResumeExecutionPlanInstanceRequest::ResumeExecutionPlanInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "ResumeExecutionPlanInstance") -{} - -ResumeExecutionPlanInstanceRequest::~ResumeExecutionPlanInstanceRequest() -{} - -long ResumeExecutionPlanInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void ResumeExecutionPlanInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string ResumeExecutionPlanInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void ResumeExecutionPlanInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string ResumeExecutionPlanInstanceRequest::getId()const -{ - return id_; -} - -void ResumeExecutionPlanInstanceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string ResumeExecutionPlanInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void ResumeExecutionPlanInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/ResumeExecutionPlanInstanceResult.cc b/emr/src/model/ResumeExecutionPlanInstanceResult.cc deleted file mode 100644 index b3ceecb39..000000000 --- a/emr/src/model/ResumeExecutionPlanInstanceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -ResumeExecutionPlanInstanceResult::ResumeExecutionPlanInstanceResult() : - ServiceResult() -{} - -ResumeExecutionPlanInstanceResult::ResumeExecutionPlanInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResumeExecutionPlanInstanceResult::~ResumeExecutionPlanInstanceResult() -{} - -void ResumeExecutionPlanInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RetryCreateUserPasswordRequest.cc b/emr/src/model/RetryCreateUserPasswordRequest.cc deleted file mode 100644 index 1a504b885..000000000 --- a/emr/src/model/RetryCreateUserPasswordRequest.cc +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RetryCreateUserPasswordRequest; - -RetryCreateUserPasswordRequest::RetryCreateUserPasswordRequest() : - RpcServiceRequest("emr", "2016-04-08", "RetryCreateUserPassword") -{} - -RetryCreateUserPasswordRequest::~RetryCreateUserPasswordRequest() -{} - -long RetryCreateUserPasswordRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RetryCreateUserPasswordRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RetryCreateUserPasswordRequest::getRegionId()const -{ - return regionId_; -} - -void RetryCreateUserPasswordRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setParameter("RegionId", regionId); -} - -std::string RetryCreateUserPasswordRequest::getClusterId()const -{ - return clusterId_; -} - -void RetryCreateUserPasswordRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); -} - -std::vector RetryCreateUserPasswordRequest::getUserInfo()const -{ - return userInfo_; -} - -void RetryCreateUserPasswordRequest::setUserInfo(const std::vector& userInfo) -{ - userInfo_ = userInfo; - int i = 0; - for(int i = 0; i!= userInfo.size(); i++) { - auto obj = userInfo.at(i); - std::string str ="UserInfo."+ std::to_string(i); - setParameter(str + ".Type", obj.type); - setParameter(str + ".GroupName", obj.groupName); - setParameter(str + ".UserId", obj.userId); - setParameter(str + ".UserName", obj.userName); - } -} - -std::string RetryCreateUserPasswordRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RetryCreateUserPasswordRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RetryExecutionPlanInstanceRequest.cc b/emr/src/model/RetryExecutionPlanInstanceRequest.cc deleted file mode 100644 index cb437761a..000000000 --- a/emr/src/model/RetryExecutionPlanInstanceRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RetryExecutionPlanInstanceRequest; - -RetryExecutionPlanInstanceRequest::RetryExecutionPlanInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "RetryExecutionPlanInstance") -{} - -RetryExecutionPlanInstanceRequest::~RetryExecutionPlanInstanceRequest() -{} - -long RetryExecutionPlanInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RetryExecutionPlanInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RetryExecutionPlanInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void RetryExecutionPlanInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RetryExecutionPlanInstanceRequest::getArguments()const -{ - return arguments_; -} - -void RetryExecutionPlanInstanceRequest::setArguments(const std::string& arguments) -{ - arguments_ = arguments; - setCoreParameter("Arguments", arguments); -} - -std::string RetryExecutionPlanInstanceRequest::getId()const -{ - return id_; -} - -void RetryExecutionPlanInstanceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -bool RetryExecutionPlanInstanceRequest::getRerunFail()const -{ - return rerunFail_; -} - -void RetryExecutionPlanInstanceRequest::setRerunFail(bool rerunFail) -{ - rerunFail_ = rerunFail; - setCoreParameter("RerunFail", rerunFail ? "true" : "false"); -} - -std::string RetryExecutionPlanInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RetryExecutionPlanInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RetryExecutionPlanInstanceResult.cc b/emr/src/model/RetryExecutionPlanInstanceResult.cc deleted file mode 100644 index 7fba09ebe..000000000 --- a/emr/src/model/RetryExecutionPlanInstanceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -RetryExecutionPlanInstanceResult::RetryExecutionPlanInstanceResult() : - ServiceResult() -{} - -RetryExecutionPlanInstanceResult::RetryExecutionPlanInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RetryExecutionPlanInstanceResult::~RetryExecutionPlanInstanceResult() -{} - -void RetryExecutionPlanInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RetryExecutionPlanRequest.cc b/emr/src/model/RetryExecutionPlanRequest.cc deleted file mode 100644 index 333b23175..000000000 --- a/emr/src/model/RetryExecutionPlanRequest.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 - -using AlibabaCloud::Emr::Model::RetryExecutionPlanRequest; - -RetryExecutionPlanRequest::RetryExecutionPlanRequest() : - RpcServiceRequest("emr", "2016-04-08", "RetryExecutionPlan") -{} - -RetryExecutionPlanRequest::~RetryExecutionPlanRequest() -{} - -long RetryExecutionPlanRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RetryExecutionPlanRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RetryExecutionPlanRequest::getRegionId()const -{ - return regionId_; -} - -void RetryExecutionPlanRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RetryExecutionPlanRequest::getExecutionPlanWorkNodeIds()const -{ - return executionPlanWorkNodeIds_; -} - -void RetryExecutionPlanRequest::setExecutionPlanWorkNodeIds(const std::string& executionPlanWorkNodeIds) -{ - executionPlanWorkNodeIds_ = executionPlanWorkNodeIds; - setCoreParameter("ExecutionPlanWorkNodeIds", executionPlanWorkNodeIds); -} - -std::string RetryExecutionPlanRequest::getId()const -{ - return id_; -} - -void RetryExecutionPlanRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string RetryExecutionPlanRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RetryExecutionPlanRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RetryExecutionPlanResult.cc b/emr/src/model/RetryExecutionPlanResult.cc deleted file mode 100644 index 9d7557351..000000000 --- a/emr/src/model/RetryExecutionPlanResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RetryExecutionPlanResult::RetryExecutionPlanResult() : - ServiceResult() -{} - -RetryExecutionPlanResult::RetryExecutionPlanResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RetryExecutionPlanResult::~RetryExecutionPlanResult() -{} - -void RetryExecutionPlanResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["ExecutionPlanInstanceId"].isNull()) - executionPlanInstanceId_ = value["ExecutionPlanInstanceId"].asString(); - -} - -std::string RetryExecutionPlanResult::getExecutionPlanInstanceId()const -{ - return executionPlanInstanceId_; -} - diff --git a/emr/src/model/RetryOperationRequest.cc b/emr/src/model/RetryOperationRequest.cc new file mode 100644 index 000000000..61660f44c --- /dev/null +++ b/emr/src/model/RetryOperationRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::RetryOperationRequest; + +RetryOperationRequest::RetryOperationRequest() : + RpcServiceRequest("emr", "2016-04-08", "RetryOperation") +{ + setMethod(HttpRequest::Method::Post); +} + +RetryOperationRequest::~RetryOperationRequest() +{} + +long RetryOperationRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RetryOperationRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string RetryOperationRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RetryOperationRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string RetryOperationRequest::getRegionId()const +{ + return regionId_; +} + +void RetryOperationRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string RetryOperationRequest::getOperationId()const +{ + return operationId_; +} + +void RetryOperationRequest::setOperationId(const std::string& operationId) +{ + operationId_ = operationId; + setParameter("OperationId", operationId); +} + diff --git a/emr/src/model/ModifyJobExecutionPlanParamResult.cc b/emr/src/model/RetryOperationResult.cc similarity index 58% rename from emr/src/model/ModifyJobExecutionPlanParamResult.cc rename to emr/src/model/RetryOperationResult.cc index 930c54c02..4d490eba8 100644 --- a/emr/src/model/ModifyJobExecutionPlanParamResult.cc +++ b/emr/src/model/RetryOperationResult.cc @@ -14,34 +14,30 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ModifyJobExecutionPlanParamResult::ModifyJobExecutionPlanParamResult() : +RetryOperationResult::RetryOperationResult() : ServiceResult() {} -ModifyJobExecutionPlanParamResult::ModifyJobExecutionPlanParamResult(const std::string &payload) : +RetryOperationResult::RetryOperationResult(const std::string &payload) : ServiceResult() { parse(payload); } -ModifyJobExecutionPlanParamResult::~ModifyJobExecutionPlanParamResult() +RetryOperationResult::~RetryOperationResult() {} -void ModifyJobExecutionPlanParamResult::parse(const std::string &payload) +void RetryOperationResult::parse(const std::string &payload) { - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; + Json::Reader reader; Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; + reader.parse(payload, value); setRequestId(value["RequestId"].asString()); if(!value["Success"].isNull()) success_ = value["Success"].asString(); @@ -52,17 +48,17 @@ void ModifyJobExecutionPlanParamResult::parse(const std::string &payload) } -std::string ModifyJobExecutionPlanParamResult::getErrMsg()const +std::string RetryOperationResult::getErrMsg()const { return errMsg_; } -std::string ModifyJobExecutionPlanParamResult::getSuccess()const +std::string RetryOperationResult::getSuccess()const { return success_; } -std::string ModifyJobExecutionPlanParamResult::getErrCode()const +std::string RetryOperationResult::getErrCode()const { return errCode_; } diff --git a/emr/src/model/RetrySyncUserAccountRequest.cc b/emr/src/model/RetrySyncUserAccountRequest.cc deleted file mode 100644 index b5157898d..000000000 --- a/emr/src/model/RetrySyncUserAccountRequest.cc +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RetrySyncUserAccountRequest; - -RetrySyncUserAccountRequest::RetrySyncUserAccountRequest() : - RpcServiceRequest("emr", "2016-04-08", "RetrySyncUserAccount") -{} - -RetrySyncUserAccountRequest::~RetrySyncUserAccountRequest() -{} - -long RetrySyncUserAccountRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RetrySyncUserAccountRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RetrySyncUserAccountRequest::getResourceId()const -{ - return resourceId_; -} - -void RetrySyncUserAccountRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::vector RetrySyncUserAccountRequest::getAliyunUserIdList()const -{ - return aliyunUserIdList_; -} - -void RetrySyncUserAccountRequest::setAliyunUserIdList(const std::vector& aliyunUserIdList) -{ - aliyunUserIdList_ = aliyunUserIdList; - for(int i = 0; i!= aliyunUserIdList.size(); i++) - setCoreParameter("AliyunUserIdList."+ std::to_string(i), aliyunUserIdList.at(i)); -} - -std::string RetrySyncUserAccountRequest::getAccountType()const -{ - return accountType_; -} - -void RetrySyncUserAccountRequest::setAccountType(const std::string& accountType) -{ - accountType_ = accountType; - setCoreParameter("AccountType", accountType); -} - -std::string RetrySyncUserAccountRequest::getResourceType()const -{ - return resourceType_; -} - -void RetrySyncUserAccountRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string RetrySyncUserAccountRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RetrySyncUserAccountRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string RetrySyncUserAccountRequest::getRegionId()const -{ - return regionId_; -} - -void RetrySyncUserAccountRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/RetrySyncUserAccountResult.cc b/emr/src/model/RetrySyncUserAccountResult.cc deleted file mode 100644 index 67ff97462..000000000 --- a/emr/src/model/RetrySyncUserAccountResult.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; - -RetrySyncUserAccountResult::RetrySyncUserAccountResult() : - ServiceResult() -{} - -RetrySyncUserAccountResult::RetrySyncUserAccountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RetrySyncUserAccountResult::~RetrySyncUserAccountResult() -{} - -void RetrySyncUserAccountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool RetrySyncUserAccountResult::getPaging()const -{ - return paging_; -} - -bool RetrySyncUserAccountResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/RunETLJobRequest.cc b/emr/src/model/RunETLJobRequest.cc deleted file mode 100644 index f6a472eaf..000000000 --- a/emr/src/model/RunETLJobRequest.cc +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RunETLJobRequest; - -RunETLJobRequest::RunETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "RunETLJob") -{} - -RunETLJobRequest::~RunETLJobRequest() -{} - -long RunETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RunETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector RunETLJobRequest::getInstanceRunParam()const -{ - return instanceRunParam_; -} - -void RunETLJobRequest::setInstanceRunParam(const std::vector& instanceRunParam) -{ - instanceRunParam_ = instanceRunParam; - int i = 0; - for(int i = 0; i!= instanceRunParam.size(); i++) { - auto obj = instanceRunParam.at(i); - std::string str ="InstanceRunParam."+ std::to_string(i); - setCoreParameter(str + ".Value", obj.value); - setCoreParameter(str + ".Key", obj.key); - } -} - -std::string RunETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void RunETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -bool RunETLJobRequest::getIsDebug()const -{ - return isDebug_; -} - -void RunETLJobRequest::setIsDebug(bool isDebug) -{ - isDebug_ = isDebug; - setCoreParameter("IsDebug", isDebug ? "true" : "false"); -} - -std::string RunETLJobRequest::getId()const -{ - return id_; -} - -void RunETLJobRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string RunETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RunETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RunETLJobResult.cc b/emr/src/model/RunETLJobResult.cc deleted file mode 100644 index 56a017368..000000000 --- a/emr/src/model/RunETLJobResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RunETLJobResult::RunETLJobResult() : - ServiceResult() -{} - -RunETLJobResult::RunETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunETLJobResult::~RunETLJobResult() -{} - -void RunETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["InstanceId"].isNull()) - instanceId_ = value["InstanceId"].asString(); - -} - -std::string RunETLJobResult::getInstanceId()const -{ - return instanceId_; -} - diff --git a/emr/src/model/RunNoteParagraphsRequest.cc b/emr/src/model/RunNoteParagraphsRequest.cc deleted file mode 100644 index a2c958af4..000000000 --- a/emr/src/model/RunNoteParagraphsRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RunNoteParagraphsRequest; - -RunNoteParagraphsRequest::RunNoteParagraphsRequest() : - RpcServiceRequest("emr", "2016-04-08", "RunNoteParagraphs") -{} - -RunNoteParagraphsRequest::~RunNoteParagraphsRequest() -{} - -long RunNoteParagraphsRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RunNoteParagraphsRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RunNoteParagraphsRequest::getRegionId()const -{ - return regionId_; -} - -void RunNoteParagraphsRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RunNoteParagraphsRequest::getNoteId()const -{ - return noteId_; -} - -void RunNoteParagraphsRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setCoreParameter("NoteId", noteId); -} - -std::string RunNoteParagraphsRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RunNoteParagraphsRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RunNoteParagraphsResult.cc b/emr/src/model/RunNoteParagraphsResult.cc deleted file mode 100644 index 8e3fc21f6..000000000 --- a/emr/src/model/RunNoteParagraphsResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -RunNoteParagraphsResult::RunNoteParagraphsResult() : - ServiceResult() -{} - -RunNoteParagraphsResult::RunNoteParagraphsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunNoteParagraphsResult::~RunNoteParagraphsResult() -{} - -void RunNoteParagraphsResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RunOpsCommandRequest.cc b/emr/src/model/RunOpsCommandRequest.cc deleted file mode 100644 index 205ec3e09..000000000 --- a/emr/src/model/RunOpsCommandRequest.cc +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::RunOpsCommandRequest; - -RunOpsCommandRequest::RunOpsCommandRequest() : - RpcServiceRequest("emr", "2016-04-08", "RunOpsCommand") -{} - -RunOpsCommandRequest::~RunOpsCommandRequest() -{} - -long RunOpsCommandRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RunOpsCommandRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RunOpsCommandRequest::getRegionId()const -{ - return regionId_; -} - -void RunOpsCommandRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RunOpsCommandRequest::getOpsCommandName()const -{ - return opsCommandName_; -} - -void RunOpsCommandRequest::setOpsCommandName(const std::string& opsCommandName) -{ - opsCommandName_ = opsCommandName; - setCoreParameter("OpsCommandName", opsCommandName); -} - -std::string RunOpsCommandRequest::getComment()const -{ - return comment_; -} - -void RunOpsCommandRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setCoreParameter("Comment", comment); -} - -std::string RunOpsCommandRequest::getCustomParams()const -{ - return customParams_; -} - -void RunOpsCommandRequest::setCustomParams(const std::string& customParams) -{ - customParams_ = customParams; - setCoreParameter("CustomParams", customParams); -} - -std::string RunOpsCommandRequest::getClusterId()const -{ - return clusterId_; -} - -void RunOpsCommandRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::vector RunOpsCommandRequest::getHostIdList()const -{ - return hostIdList_; -} - -void RunOpsCommandRequest::setHostIdList(const std::vector& hostIdList) -{ - hostIdList_ = hostIdList; - for(int i = 0; i!= hostIdList.size(); i++) - setCoreParameter("HostIdList."+ std::to_string(i), hostIdList.at(i)); -} - -std::string RunOpsCommandRequest::getDimension()const -{ - return dimension_; -} - -void RunOpsCommandRequest::setDimension(const std::string& dimension) -{ - dimension_ = dimension; - setCoreParameter("Dimension", dimension); -} - -std::string RunOpsCommandRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RunOpsCommandRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RunOpsCommandResult.cc b/emr/src/model/RunOpsCommandResult.cc deleted file mode 100644 index 1a0e62cf1..000000000 --- a/emr/src/model/RunOpsCommandResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -RunOpsCommandResult::RunOpsCommandResult() : - ServiceResult() -{} - -RunOpsCommandResult::RunOpsCommandResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunOpsCommandResult::~RunOpsCommandResult() -{} - -void RunOpsCommandResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["OperationId"].isNull()) - operationId_ = std::stol(value["OperationId"].asString()); - -} - -long RunOpsCommandResult::getOperationId()const -{ - return operationId_; -} - diff --git a/emr/src/model/RunParagraphRequest.cc b/emr/src/model/RunParagraphRequest.cc deleted file mode 100644 index 55a0bfe38..000000000 --- a/emr/src/model/RunParagraphRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::RunParagraphRequest; - -RunParagraphRequest::RunParagraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "RunParagraph") -{} - -RunParagraphRequest::~RunParagraphRequest() -{} - -long RunParagraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void RunParagraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string RunParagraphRequest::getRegionId()const -{ - return regionId_; -} - -void RunParagraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string RunParagraphRequest::getNoteId()const -{ - return noteId_; -} - -void RunParagraphRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setCoreParameter("NoteId", noteId); -} - -std::string RunParagraphRequest::getId()const -{ - return id_; -} - -void RunParagraphRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string RunParagraphRequest::getText()const -{ - return text_; -} - -void RunParagraphRequest::setText(const std::string& text) -{ - text_ = text; - setCoreParameter("Text", text); -} - -std::string RunParagraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void RunParagraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/RunParagraphResult.cc b/emr/src/model/RunParagraphResult.cc deleted file mode 100644 index 01f99a2ea..000000000 --- a/emr/src/model/RunParagraphResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -RunParagraphResult::RunParagraphResult() : - ServiceResult() -{} - -RunParagraphResult::RunParagraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RunParagraphResult::~RunParagraphResult() -{} - -void RunParagraphResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/RunScalingActionV2Request.cc b/emr/src/model/RunScalingActionV2Request.cc new file mode 100644 index 000000000..a4ad7ebf0 --- /dev/null +++ b/emr/src/model/RunScalingActionV2Request.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::RunScalingActionV2Request; + +RunScalingActionV2Request::RunScalingActionV2Request() : + RpcServiceRequest("emr", "2016-04-08", "RunScalingActionV2") +{ + setMethod(HttpRequest::Method::Post); +} + +RunScalingActionV2Request::~RunScalingActionV2Request() +{} + +long RunScalingActionV2Request::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void RunScalingActionV2Request::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string RunScalingActionV2Request::getScalingActionType()const +{ + return scalingActionType_; +} + +void RunScalingActionV2Request::setScalingActionType(const std::string& scalingActionType) +{ + scalingActionType_ = scalingActionType; + setParameter("ScalingActionType", scalingActionType); +} + +std::string RunScalingActionV2Request::getAccessKeyId()const +{ + return accessKeyId_; +} + +void RunScalingActionV2Request::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string RunScalingActionV2Request::getScalingGroupBizId()const +{ + return scalingGroupBizId_; +} + +void RunScalingActionV2Request::setScalingGroupBizId(const std::string& scalingGroupBizId) +{ + scalingGroupBizId_ = scalingGroupBizId; + setParameter("ScalingGroupBizId", scalingGroupBizId); +} + +std::string RunScalingActionV2Request::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void RunScalingActionV2Request::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + +std::string RunScalingActionV2Request::getRegionId()const +{ + return regionId_; +} + +void RunScalingActionV2Request::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string RunScalingActionV2Request::getActionParam()const +{ + return actionParam_; +} + +void RunScalingActionV2Request::setActionParam(const std::string& actionParam) +{ + actionParam_ = actionParam; + setParameter("ActionParam", actionParam); +} + diff --git a/emr/src/model/ModifyAlertContactResult.cc b/emr/src/model/RunScalingActionV2Result.cc similarity index 68% rename from emr/src/model/ModifyAlertContactResult.cc rename to emr/src/model/RunScalingActionV2Result.cc index b5cfd9dec..77796c50e 100644 --- a/emr/src/model/ModifyAlertContactResult.cc +++ b/emr/src/model/RunScalingActionV2Result.cc @@ -14,38 +14,38 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Emr; using namespace AlibabaCloud::Emr::Model; -ModifyAlertContactResult::ModifyAlertContactResult() : +RunScalingActionV2Result::RunScalingActionV2Result() : ServiceResult() {} -ModifyAlertContactResult::ModifyAlertContactResult(const std::string &payload) : +RunScalingActionV2Result::RunScalingActionV2Result(const std::string &payload) : ServiceResult() { parse(payload); } -ModifyAlertContactResult::~ModifyAlertContactResult() +RunScalingActionV2Result::~RunScalingActionV2Result() {} -void ModifyAlertContactResult::parse(const std::string &payload) +void RunScalingActionV2Result::parse(const std::string &payload) { Json::Reader reader; Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Done"].isNull()) - done_ = value["Done"].asString() == "true"; + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); } -bool ModifyAlertContactResult::getDone()const +std::string RunScalingActionV2Result::getData()const { - return done_; + return data_; } diff --git a/emr/src/model/SaveBatchUserAccountInfoRequest.cc b/emr/src/model/SaveBatchUserAccountInfoRequest.cc deleted file mode 100644 index 8423ea9f2..000000000 --- a/emr/src/model/SaveBatchUserAccountInfoRequest.cc +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::SaveBatchUserAccountInfoRequest; - -SaveBatchUserAccountInfoRequest::SaveBatchUserAccountInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "SaveBatchUserAccountInfo") -{} - -SaveBatchUserAccountInfoRequest::~SaveBatchUserAccountInfoRequest() -{} - -long SaveBatchUserAccountInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SaveBatchUserAccountInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SaveBatchUserAccountInfoRequest::getResourceId()const -{ - return resourceId_; -} - -void SaveBatchUserAccountInfoRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setCoreParameter("ResourceId", resourceId); -} - -std::vector SaveBatchUserAccountInfoRequest::getAliyunUserIdList()const -{ - return aliyunUserIdList_; -} - -void SaveBatchUserAccountInfoRequest::setAliyunUserIdList(const std::vector& aliyunUserIdList) -{ - aliyunUserIdList_ = aliyunUserIdList; - for(int i = 0; i!= aliyunUserIdList.size(); i++) - setCoreParameter("AliyunUserIdList."+ std::to_string(i), aliyunUserIdList.at(i)); -} - -std::string SaveBatchUserAccountInfoRequest::getAccountType()const -{ - return accountType_; -} - -void SaveBatchUserAccountInfoRequest::setAccountType(const std::string& accountType) -{ - accountType_ = accountType; - setCoreParameter("AccountType", accountType); -} - -std::string SaveBatchUserAccountInfoRequest::getGroupName()const -{ - return groupName_; -} - -void SaveBatchUserAccountInfoRequest::setGroupName(const std::string& groupName) -{ - groupName_ = groupName; - setCoreParameter("GroupName", groupName); -} - -std::string SaveBatchUserAccountInfoRequest::getResourceType()const -{ - return resourceType_; -} - -void SaveBatchUserAccountInfoRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setCoreParameter("ResourceType", resourceType); -} - -std::string SaveBatchUserAccountInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SaveBatchUserAccountInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string SaveBatchUserAccountInfoRequest::getAuthType()const -{ - return authType_; -} - -void SaveBatchUserAccountInfoRequest::setAuthType(const std::string& authType) -{ - authType_ = authType; - setCoreParameter("AuthType", authType); -} - -std::string SaveBatchUserAccountInfoRequest::getAccountPassword()const -{ - return accountPassword_; -} - -void SaveBatchUserAccountInfoRequest::setAccountPassword(const std::string& accountPassword) -{ - accountPassword_ = accountPassword; - setCoreParameter("AccountPassword", accountPassword); -} - -std::string SaveBatchUserAccountInfoRequest::getRegionId()const -{ - return regionId_; -} - -void SaveBatchUserAccountInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - diff --git a/emr/src/model/SaveBatchUserAccountInfoResult.cc b/emr/src/model/SaveBatchUserAccountInfoResult.cc deleted file mode 100644 index 7476c121a..000000000 --- a/emr/src/model/SaveBatchUserAccountInfoResult.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; - -SaveBatchUserAccountInfoResult::SaveBatchUserAccountInfoResult() : - ServiceResult() -{} - -SaveBatchUserAccountInfoResult::SaveBatchUserAccountInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SaveBatchUserAccountInfoResult::~SaveBatchUserAccountInfoResult() -{} - -void SaveBatchUserAccountInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool SaveBatchUserAccountInfoResult::getPaging()const -{ - return paging_; -} - -bool SaveBatchUserAccountInfoResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/SaveParagraphRequest.cc b/emr/src/model/SaveParagraphRequest.cc deleted file mode 100644 index fc1fb4825..000000000 --- a/emr/src/model/SaveParagraphRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::SaveParagraphRequest; - -SaveParagraphRequest::SaveParagraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "SaveParagraph") -{} - -SaveParagraphRequest::~SaveParagraphRequest() -{} - -long SaveParagraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SaveParagraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SaveParagraphRequest::getRegionId()const -{ - return regionId_; -} - -void SaveParagraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SaveParagraphRequest::getNoteId()const -{ - return noteId_; -} - -void SaveParagraphRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setCoreParameter("NoteId", noteId); -} - -std::string SaveParagraphRequest::getId()const -{ - return id_; -} - -void SaveParagraphRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string SaveParagraphRequest::getText()const -{ - return text_; -} - -void SaveParagraphRequest::setText(const std::string& text) -{ - text_ = text; - setCoreParameter("Text", text); -} - -std::string SaveParagraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SaveParagraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/SaveParagraphResult.cc b/emr/src/model/SaveParagraphResult.cc deleted file mode 100644 index 34f709772..000000000 --- a/emr/src/model/SaveParagraphResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -SaveParagraphResult::SaveParagraphResult() : - ServiceResult() -{} - -SaveParagraphResult::SaveParagraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SaveParagraphResult::~SaveParagraphResult() -{} - -void SaveParagraphResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/SaveUserAccountInfoRequest.cc b/emr/src/model/SaveUserAccountInfoRequest.cc deleted file mode 100644 index 117641f20..000000000 --- a/emr/src/model/SaveUserAccountInfoRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::SaveUserAccountInfoRequest; - -SaveUserAccountInfoRequest::SaveUserAccountInfoRequest() : - RpcServiceRequest("emr", "2016-04-08", "SaveUserAccountInfo") -{} - -SaveUserAccountInfoRequest::~SaveUserAccountInfoRequest() -{} - -long SaveUserAccountInfoRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SaveUserAccountInfoRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SaveUserAccountInfoRequest::getAccountType()const -{ - return accountType_; -} - -void SaveUserAccountInfoRequest::setAccountType(const std::string& accountType) -{ - accountType_ = accountType; - setCoreParameter("AccountType", accountType); -} - -std::string SaveUserAccountInfoRequest::getGroupName()const -{ - return groupName_; -} - -void SaveUserAccountInfoRequest::setGroupName(const std::string& groupName) -{ - groupName_ = groupName; - setCoreParameter("GroupName", groupName); -} - -std::string SaveUserAccountInfoRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SaveUserAccountInfoRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string SaveUserAccountInfoRequest::getAuthType()const -{ - return authType_; -} - -void SaveUserAccountInfoRequest::setAuthType(const std::string& authType) -{ - authType_ = authType; - setCoreParameter("AuthType", authType); -} - -std::string SaveUserAccountInfoRequest::getAccountPassword()const -{ - return accountPassword_; -} - -void SaveUserAccountInfoRequest::setAccountPassword(const std::string& accountPassword) -{ - accountPassword_ = accountPassword; - setCoreParameter("AccountPassword", accountPassword); -} - -std::string SaveUserAccountInfoRequest::getRegionId()const -{ - return regionId_; -} - -void SaveUserAccountInfoRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SaveUserAccountInfoRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void SaveUserAccountInfoRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - diff --git a/emr/src/model/SaveUserAccountInfoResult.cc b/emr/src/model/SaveUserAccountInfoResult.cc deleted file mode 100644 index 5b1847565..000000000 --- a/emr/src/model/SaveUserAccountInfoResult.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; - -SaveUserAccountInfoResult::SaveUserAccountInfoResult() : - ServiceResult() -{} - -SaveUserAccountInfoResult::SaveUserAccountInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SaveUserAccountInfoResult::~SaveUserAccountInfoResult() -{} - -void SaveUserAccountInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool SaveUserAccountInfoResult::getPaging()const -{ - return paging_; -} - -bool SaveUserAccountInfoResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/StartKafkaBrokerDiskBalancerRequest.cc b/emr/src/model/StartKafkaBrokerDiskBalancerRequest.cc deleted file mode 100644 index 9dbf5dcd6..000000000 --- a/emr/src/model/StartKafkaBrokerDiskBalancerRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::StartKafkaBrokerDiskBalancerRequest; - -StartKafkaBrokerDiskBalancerRequest::StartKafkaBrokerDiskBalancerRequest() : - RpcServiceRequest("emr", "2016-04-08", "StartKafkaBrokerDiskBalancer") -{} - -StartKafkaBrokerDiskBalancerRequest::~StartKafkaBrokerDiskBalancerRequest() -{} - -long StartKafkaBrokerDiskBalancerRequest::getThrottle()const -{ - return throttle_; -} - -void StartKafkaBrokerDiskBalancerRequest::setThrottle(long throttle) -{ - throttle_ = throttle; - setCoreParameter("Throttle", std::to_string(throttle)); -} - -long StartKafkaBrokerDiskBalancerRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void StartKafkaBrokerDiskBalancerRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -int StartKafkaBrokerDiskBalancerRequest::getBrokerId()const -{ - return brokerId_; -} - -void StartKafkaBrokerDiskBalancerRequest::setBrokerId(int brokerId) -{ - brokerId_ = brokerId; - setCoreParameter("BrokerId", std::to_string(brokerId)); -} - -std::string StartKafkaBrokerDiskBalancerRequest::getRegionId()const -{ - return regionId_; -} - -void StartKafkaBrokerDiskBalancerRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string StartKafkaBrokerDiskBalancerRequest::getClusterId()const -{ - return clusterId_; -} - -void StartKafkaBrokerDiskBalancerRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string StartKafkaBrokerDiskBalancerRequest::getBalanceThreshold()const -{ - return balanceThreshold_; -} - -void StartKafkaBrokerDiskBalancerRequest::setBalanceThreshold(const std::string& balanceThreshold) -{ - balanceThreshold_ = balanceThreshold; - setCoreParameter("BalanceThreshold", balanceThreshold); -} - -std::string StartKafkaBrokerDiskBalancerRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void StartKafkaBrokerDiskBalancerRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/StartKafkaBrokerDiskBalancerResult.cc b/emr/src/model/StartKafkaBrokerDiskBalancerResult.cc deleted file mode 100644 index a211dffb0..000000000 --- a/emr/src/model/StartKafkaBrokerDiskBalancerResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -StartKafkaBrokerDiskBalancerResult::StartKafkaBrokerDiskBalancerResult() : - ServiceResult() -{} - -StartKafkaBrokerDiskBalancerResult::StartKafkaBrokerDiskBalancerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StartKafkaBrokerDiskBalancerResult::~StartKafkaBrokerDiskBalancerResult() -{} - -void StartKafkaBrokerDiskBalancerResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/StartKafkaPreferredReplicaElectionRequest.cc b/emr/src/model/StartKafkaPreferredReplicaElectionRequest.cc deleted file mode 100644 index 060c3b3db..000000000 --- a/emr/src/model/StartKafkaPreferredReplicaElectionRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::StartKafkaPreferredReplicaElectionRequest; - -StartKafkaPreferredReplicaElectionRequest::StartKafkaPreferredReplicaElectionRequest() : - RpcServiceRequest("emr", "2016-04-08", "StartKafkaPreferredReplicaElection") -{} - -StartKafkaPreferredReplicaElectionRequest::~StartKafkaPreferredReplicaElectionRequest() -{} - -long StartKafkaPreferredReplicaElectionRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void StartKafkaPreferredReplicaElectionRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string StartKafkaPreferredReplicaElectionRequest::getTopicId()const -{ - return topicId_; -} - -void StartKafkaPreferredReplicaElectionRequest::setTopicId(const std::string& topicId) -{ - topicId_ = topicId; - setCoreParameter("TopicId", topicId); -} - -std::string StartKafkaPreferredReplicaElectionRequest::getRegionId()const -{ - return regionId_; -} - -void StartKafkaPreferredReplicaElectionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string StartKafkaPreferredReplicaElectionRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void StartKafkaPreferredReplicaElectionRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/StartKafkaPreferredReplicaElectionResult.cc b/emr/src/model/StartKafkaPreferredReplicaElectionResult.cc deleted file mode 100644 index 6548a7e02..000000000 --- a/emr/src/model/StartKafkaPreferredReplicaElectionResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -StartKafkaPreferredReplicaElectionResult::StartKafkaPreferredReplicaElectionResult() : - ServiceResult() -{} - -StartKafkaPreferredReplicaElectionResult::StartKafkaPreferredReplicaElectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StartKafkaPreferredReplicaElectionResult::~StartKafkaPreferredReplicaElectionResult() -{} - -void StartKafkaPreferredReplicaElectionResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/StopParagraphRequest.cc b/emr/src/model/StopParagraphRequest.cc deleted file mode 100644 index b41106fa4..000000000 --- a/emr/src/model/StopParagraphRequest.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 - -using AlibabaCloud::Emr::Model::StopParagraphRequest; - -StopParagraphRequest::StopParagraphRequest() : - RpcServiceRequest("emr", "2016-04-08", "StopParagraph") -{} - -StopParagraphRequest::~StopParagraphRequest() -{} - -long StopParagraphRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void StopParagraphRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string StopParagraphRequest::getRegionId()const -{ - return regionId_; -} - -void StopParagraphRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string StopParagraphRequest::getNoteId()const -{ - return noteId_; -} - -void StopParagraphRequest::setNoteId(const std::string& noteId) -{ - noteId_ = noteId; - setCoreParameter("NoteId", noteId); -} - -std::string StopParagraphRequest::getId()const -{ - return id_; -} - -void StopParagraphRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string StopParagraphRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void StopParagraphRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/StopParagraphResult.cc b/emr/src/model/StopParagraphResult.cc deleted file mode 100644 index 29c319ec2..000000000 --- a/emr/src/model/StopParagraphResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -StopParagraphResult::StopParagraphResult() : - ServiceResult() -{} - -StopParagraphResult::StopParagraphResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopParagraphResult::~StopParagraphResult() -{} - -void StopParagraphResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/SubmitFlowJobRequest.cc b/emr/src/model/SubmitFlowJobRequest.cc index ae90ba088..d1c8e865a 100644 --- a/emr/src/model/SubmitFlowJobRequest.cc +++ b/emr/src/model/SubmitFlowJobRequest.cc @@ -82,6 +82,28 @@ void SubmitFlowJobRequest::setRegionId(const std::string& regionId) setParameter("RegionId", regionId); } +std::string SubmitFlowJobRequest::get_Namespace()const +{ + return _namespace_; +} + +void SubmitFlowJobRequest::set_Namespace(const std::string& _namespace) +{ + _namespace_ = _namespace; + setParameter("_Namespace", _namespace); +} + +std::string SubmitFlowJobRequest::getJobInstanceId()const +{ + return jobInstanceId_; +} + +void SubmitFlowJobRequest::setJobInstanceId(const std::string& jobInstanceId) +{ + jobInstanceId_ = jobInstanceId; + setParameter("JobInstanceId", jobInstanceId); +} + std::string SubmitFlowJobRequest::getProjectId()const { return projectId_; diff --git a/emr/src/model/SuspendExecutionPlanInstanceRequest.cc b/emr/src/model/SuspendExecutionPlanInstanceRequest.cc deleted file mode 100644 index e798d388c..000000000 --- a/emr/src/model/SuspendExecutionPlanInstanceRequest.cc +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::SuspendExecutionPlanInstanceRequest; - -SuspendExecutionPlanInstanceRequest::SuspendExecutionPlanInstanceRequest() : - RpcServiceRequest("emr", "2016-04-08", "SuspendExecutionPlanInstance") -{} - -SuspendExecutionPlanInstanceRequest::~SuspendExecutionPlanInstanceRequest() -{} - -long SuspendExecutionPlanInstanceRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SuspendExecutionPlanInstanceRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SuspendExecutionPlanInstanceRequest::getRegionId()const -{ - return regionId_; -} - -void SuspendExecutionPlanInstanceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SuspendExecutionPlanInstanceRequest::getId()const -{ - return id_; -} - -void SuspendExecutionPlanInstanceRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string SuspendExecutionPlanInstanceRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SuspendExecutionPlanInstanceRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/SuspendExecutionPlanInstanceResult.cc b/emr/src/model/SuspendExecutionPlanInstanceResult.cc deleted file mode 100644 index e55f788c7..000000000 --- a/emr/src/model/SuspendExecutionPlanInstanceResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -SuspendExecutionPlanInstanceResult::SuspendExecutionPlanInstanceResult() : - ServiceResult() -{} - -SuspendExecutionPlanInstanceResult::SuspendExecutionPlanInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SuspendExecutionPlanInstanceResult::~SuspendExecutionPlanInstanceResult() -{} - -void SuspendExecutionPlanInstanceResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/SyncDataSourceSchemaDatabaseRequest.cc b/emr/src/model/SyncDataSourceSchemaDatabaseRequest.cc deleted file mode 100644 index 260017e93..000000000 --- a/emr/src/model/SyncDataSourceSchemaDatabaseRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::SyncDataSourceSchemaDatabaseRequest; - -SyncDataSourceSchemaDatabaseRequest::SyncDataSourceSchemaDatabaseRequest() : - RpcServiceRequest("emr", "2016-04-08", "SyncDataSourceSchemaDatabase") -{} - -SyncDataSourceSchemaDatabaseRequest::~SyncDataSourceSchemaDatabaseRequest() -{} - -long SyncDataSourceSchemaDatabaseRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SyncDataSourceSchemaDatabaseRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SyncDataSourceSchemaDatabaseRequest::getDbName()const -{ - return dbName_; -} - -void SyncDataSourceSchemaDatabaseRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string SyncDataSourceSchemaDatabaseRequest::getRegionId()const -{ - return regionId_; -} - -void SyncDataSourceSchemaDatabaseRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SyncDataSourceSchemaDatabaseRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void SyncDataSourceSchemaDatabaseRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string SyncDataSourceSchemaDatabaseRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void SyncDataSourceSchemaDatabaseRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string SyncDataSourceSchemaDatabaseRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SyncDataSourceSchemaDatabaseRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/SyncDataSourceSchemaDatabaseResult.cc b/emr/src/model/SyncDataSourceSchemaDatabaseResult.cc deleted file mode 100644 index 155c9f7f6..000000000 --- a/emr/src/model/SyncDataSourceSchemaDatabaseResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -SyncDataSourceSchemaDatabaseResult::SyncDataSourceSchemaDatabaseResult() : - ServiceResult() -{} - -SyncDataSourceSchemaDatabaseResult::SyncDataSourceSchemaDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SyncDataSourceSchemaDatabaseResult::~SyncDataSourceSchemaDatabaseResult() -{} - -void SyncDataSourceSchemaDatabaseResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["CommandId"].isNull()) - commandId_ = value["CommandId"].asString(); - -} - -std::string SyncDataSourceSchemaDatabaseResult::getCommandId()const -{ - return commandId_; -} - diff --git a/emr/src/model/SyncDataSourceSchemaTableRequest.cc b/emr/src/model/SyncDataSourceSchemaTableRequest.cc deleted file mode 100644 index a9dc45ac7..000000000 --- a/emr/src/model/SyncDataSourceSchemaTableRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::SyncDataSourceSchemaTableRequest; - -SyncDataSourceSchemaTableRequest::SyncDataSourceSchemaTableRequest() : - RpcServiceRequest("emr", "2016-04-08", "SyncDataSourceSchemaTable") -{} - -SyncDataSourceSchemaTableRequest::~SyncDataSourceSchemaTableRequest() -{} - -long SyncDataSourceSchemaTableRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void SyncDataSourceSchemaTableRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string SyncDataSourceSchemaTableRequest::getDbName()const -{ - return dbName_; -} - -void SyncDataSourceSchemaTableRequest::setDbName(const std::string& dbName) -{ - dbName_ = dbName; - setCoreParameter("DbName", dbName); -} - -std::string SyncDataSourceSchemaTableRequest::getRegionId()const -{ - return regionId_; -} - -void SyncDataSourceSchemaTableRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string SyncDataSourceSchemaTableRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void SyncDataSourceSchemaTableRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string SyncDataSourceSchemaTableRequest::getDataSourceId()const -{ - return dataSourceId_; -} - -void SyncDataSourceSchemaTableRequest::setDataSourceId(const std::string& dataSourceId) -{ - dataSourceId_ = dataSourceId; - setCoreParameter("DataSourceId", dataSourceId); -} - -std::string SyncDataSourceSchemaTableRequest::getTableName()const -{ - return tableName_; -} - -void SyncDataSourceSchemaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setCoreParameter("TableName", tableName); -} - -std::string SyncDataSourceSchemaTableRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void SyncDataSourceSchemaTableRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/SyncDataSourceSchemaTableResult.cc b/emr/src/model/SyncDataSourceSchemaTableResult.cc deleted file mode 100644 index f6399488d..000000000 --- a/emr/src/model/SyncDataSourceSchemaTableResult.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Emr; -using namespace AlibabaCloud::Emr::Model; - -SyncDataSourceSchemaTableResult::SyncDataSourceSchemaTableResult() : - ServiceResult() -{} - -SyncDataSourceSchemaTableResult::SyncDataSourceSchemaTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SyncDataSourceSchemaTableResult::~SyncDataSourceSchemaTableResult() -{} - -void SyncDataSourceSchemaTableResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - if(!value["CommandId"].isNull()) - commandId_ = value["CommandId"].asString(); - -} - -std::string SyncDataSourceSchemaTableResult::getCommandId()const -{ - return commandId_; -} - diff --git a/emr/src/model/TerminateClusterOperationRequest.cc b/emr/src/model/TerminateClusterOperationRequest.cc deleted file mode 100644 index d45f84d23..000000000 --- a/emr/src/model/TerminateClusterOperationRequest.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 - -using AlibabaCloud::Emr::Model::TerminateClusterOperationRequest; - -TerminateClusterOperationRequest::TerminateClusterOperationRequest() : - RpcServiceRequest("emr", "2016-04-08", "TerminateClusterOperation") -{} - -TerminateClusterOperationRequest::~TerminateClusterOperationRequest() -{} - -long TerminateClusterOperationRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void TerminateClusterOperationRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string TerminateClusterOperationRequest::getRegionId()const -{ - return regionId_; -} - -void TerminateClusterOperationRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string TerminateClusterOperationRequest::getOperationId()const -{ - return operationId_; -} - -void TerminateClusterOperationRequest::setOperationId(const std::string& operationId) -{ - operationId_ = operationId; - setCoreParameter("OperationId", operationId); -} - -std::string TerminateClusterOperationRequest::getClusterId()const -{ - return clusterId_; -} - -void TerminateClusterOperationRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setCoreParameter("ClusterId", clusterId); -} - -std::string TerminateClusterOperationRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void TerminateClusterOperationRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/TerminateClusterOperationResult.cc b/emr/src/model/TerminateClusterOperationResult.cc deleted file mode 100644 index 637c7ec32..000000000 --- a/emr/src/model/TerminateClusterOperationResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -TerminateClusterOperationResult::TerminateClusterOperationResult() : - ServiceResult() -{} - -TerminateClusterOperationResult::TerminateClusterOperationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -TerminateClusterOperationResult::~TerminateClusterOperationResult() -{} - -void TerminateClusterOperationResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UninstallLibrariesRequest.cc b/emr/src/model/UninstallLibrariesRequest.cc new file mode 100644 index 000000000..c4ef36bbf --- /dev/null +++ b/emr/src/model/UninstallLibrariesRequest.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Emr::Model::UninstallLibrariesRequest; + +UninstallLibrariesRequest::UninstallLibrariesRequest() : + RpcServiceRequest("emr", "2016-04-08", "UninstallLibraries") +{ + setMethod(HttpRequest::Method::Post); +} + +UninstallLibrariesRequest::~UninstallLibrariesRequest() +{} + +long UninstallLibrariesRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UninstallLibrariesRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UninstallLibrariesRequest::getLibraryBizId()const +{ + return libraryBizId_; +} + +void UninstallLibrariesRequest::setLibraryBizId(const std::string& libraryBizId) +{ + libraryBizId_ = libraryBizId; + setParameter("LibraryBizId", libraryBizId); +} + +std::string UninstallLibrariesRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UninstallLibrariesRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string UninstallLibrariesRequest::getRegionId()const +{ + return regionId_; +} + +void UninstallLibrariesRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::vector UninstallLibrariesRequest::getClusterBizIdList()const +{ + return clusterBizIdList_; +} + +void UninstallLibrariesRequest::setClusterBizIdList(const std::vector& clusterBizIdList) +{ + clusterBizIdList_ = clusterBizIdList; + for(int dep1 = 0; dep1!= clusterBizIdList.size(); dep1++) { + setParameter("ClusterBizIdList."+ std::to_string(dep1), clusterBizIdList.at(dep1)); + } +} + diff --git a/emr/src/model/UninstallLibrariesResult.cc b/emr/src/model/UninstallLibrariesResult.cc new file mode 100644 index 000000000..e16847475 --- /dev/null +++ b/emr/src/model/UninstallLibrariesResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +UninstallLibrariesResult::UninstallLibrariesResult() : + ServiceResult() +{} + +UninstallLibrariesResult::UninstallLibrariesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UninstallLibrariesResult::~UninstallLibrariesResult() +{} + +void UninstallLibrariesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string UninstallLibrariesResult::getData()const +{ + return data_; +} + diff --git a/emr/src/model/UntagResourcesSystemTagsRequest.cc b/emr/src/model/UntagResourcesSystemTagsRequest.cc new file mode 100644 index 000000000..3a8147fb8 --- /dev/null +++ b/emr/src/model/UntagResourcesSystemTagsRequest.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 new file mode 100644 index 000000000..698adffc5 --- /dev/null +++ b/emr/src/model/UntagResourcesSystemTagsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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()); + +} + diff --git a/emr/src/model/UpdateDataSourceRequest.cc b/emr/src/model/UpdateDataSourceRequest.cc index ea22ff7fe..b1ce56255 100644 --- a/emr/src/model/UpdateDataSourceRequest.cc +++ b/emr/src/model/UpdateDataSourceRequest.cc @@ -71,6 +71,17 @@ void UpdateDataSourceRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string UpdateDataSourceRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void UpdateDataSourceRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string UpdateDataSourceRequest::getRegionId()const { return regionId_; diff --git a/emr/src/model/UpdateETLJobRequest.cc b/emr/src/model/UpdateETLJobRequest.cc deleted file mode 100644 index 960b5c99a..000000000 --- a/emr/src/model/UpdateETLJobRequest.cc +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::UpdateETLJobRequest; - -UpdateETLJobRequest::UpdateETLJobRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateETLJob") -{} - -UpdateETLJobRequest::~UpdateETLJobRequest() -{} - -long UpdateETLJobRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateETLJobRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateETLJobRequest::getClusterConfig()const -{ - return clusterConfig_; -} - -void UpdateETLJobRequest::setClusterConfig(const std::string& clusterConfig) -{ - clusterConfig_ = clusterConfig; - setCoreParameter("ClusterConfig", clusterConfig); -} - -std::vector UpdateETLJobRequest::getTriggerRule()const -{ - return triggerRule_; -} - -void UpdateETLJobRequest::setTriggerRule(const std::vector& triggerRule) -{ - triggerRule_ = triggerRule; - int i = 0; - for(int i = 0; i!= triggerRule.size(); i++) { - auto obj = triggerRule.at(i); - std::string str ="TriggerRule."+ std::to_string(i); - setCoreParameter(str + ".CronExpr", obj.cronExpr); - setCoreParameter(str + ".EndTime", std::to_string(obj.endTime)); - setCoreParameter(str + ".StartTime", std::to_string(obj.startTime)); - setCoreParameter(str + ".Enabled", obj.enabled ? "true" : "false"); - } -} - -std::string UpdateETLJobRequest::getAlertConfig()const -{ - return alertConfig_; -} - -void UpdateETLJobRequest::setAlertConfig(const std::string& alertConfig) -{ - alertConfig_ = alertConfig; - setCoreParameter("AlertConfig", alertConfig); -} - -std::string UpdateETLJobRequest::getDescription()const -{ - return description_; -} - -void UpdateETLJobRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -bool UpdateETLJobRequest::getCheck()const -{ - return check_; -} - -void UpdateETLJobRequest::setCheck(bool check) -{ - check_ = check; - setCoreParameter("Check", check ? "true" : "false"); -} - -std::string UpdateETLJobRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateETLJobRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::vector UpdateETLJobRequest::getStageConnection()const -{ - return stageConnection_; -} - -void UpdateETLJobRequest::setStageConnection(const std::vector& stageConnection) -{ - stageConnection_ = stageConnection; - int i = 0; - for(int i = 0; i!= stageConnection.size(); i++) { - auto obj = stageConnection.at(i); - std::string str ="StageConnection."+ std::to_string(i); - setCoreParameter(str + ".Port", obj.port); - setCoreParameter(str + ".From", obj.from); - setCoreParameter(str + ".To", obj.to); - } -} - -std::vector UpdateETLJobRequest::getStage()const -{ - return stage_; -} - -void UpdateETLJobRequest::setStage(const std::vector& stage) -{ - stage_ = stage; - int i = 0; - for(int i = 0; i!= stage.size(); i++) { - auto obj = stage.at(i); - std::string str ="Stage."+ std::to_string(i); - setCoreParameter(str + ".StageName", obj.stageName); - setCoreParameter(str + ".StageConf", obj.stageConf); - setCoreParameter(str + ".StageType", obj.stageType); - setCoreParameter(str + ".StagePlugin", obj.stagePlugin); - } -} - -std::string UpdateETLJobRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateETLJobRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateETLJobRequest::getName()const -{ - return name_; -} - -void UpdateETLJobRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string UpdateETLJobRequest::getId()const -{ - return id_; -} - -void UpdateETLJobRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - diff --git a/emr/src/model/UpdateETLJobResult.cc b/emr/src/model/UpdateETLJobResult.cc deleted file mode 100644 index b546a9ba1..000000000 --- a/emr/src/model/UpdateETLJobResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -UpdateETLJobResult::UpdateETLJobResult() : - ServiceResult() -{} - -UpdateETLJobResult::UpdateETLJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateETLJobResult::~UpdateETLJobResult() -{} - -void UpdateETLJobResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UpdateETLJobStageRequest.cc b/emr/src/model/UpdateETLJobStageRequest.cc deleted file mode 100644 index 4aaf67cbe..000000000 --- a/emr/src/model/UpdateETLJobStageRequest.cc +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::UpdateETLJobStageRequest; - -UpdateETLJobStageRequest::UpdateETLJobStageRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateETLJobStage") -{} - -UpdateETLJobStageRequest::~UpdateETLJobStageRequest() -{} - -std::string UpdateETLJobStageRequest::getStageName()const -{ - return stageName_; -} - -void UpdateETLJobStageRequest::setStageName(const std::string& stageName) -{ - stageName_ = stageName; - setCoreParameter("StageName", stageName); -} - -std::string UpdateETLJobStageRequest::getStageConf()const -{ - return stageConf_; -} - -void UpdateETLJobStageRequest::setStageConf(const std::string& stageConf) -{ - stageConf_ = stageConf; - setCoreParameter("StageConf", stageConf); -} - -long UpdateETLJobStageRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateETLJobStageRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateETLJobStageRequest::getStageType()const -{ - return stageType_; -} - -void UpdateETLJobStageRequest::setStageType(const std::string& stageType) -{ - stageType_ = stageType; - setCoreParameter("StageType", stageType); -} - -std::string UpdateETLJobStageRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateETLJobStageRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateETLJobStageRequest::getEtlJobId()const -{ - return etlJobId_; -} - -void UpdateETLJobStageRequest::setEtlJobId(const std::string& etlJobId) -{ - etlJobId_ = etlJobId; - setCoreParameter("EtlJobId", etlJobId); -} - -std::string UpdateETLJobStageRequest::getStagePlugin()const -{ - return stagePlugin_; -} - -void UpdateETLJobStageRequest::setStagePlugin(const std::string& stagePlugin) -{ - stagePlugin_ = stagePlugin; - setCoreParameter("StagePlugin", stagePlugin); -} - -std::string UpdateETLJobStageRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateETLJobStageRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/UpdateETLJobStageResult.cc b/emr/src/model/UpdateETLJobStageResult.cc deleted file mode 100644 index ff9868f77..000000000 --- a/emr/src/model/UpdateETLJobStageResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -UpdateETLJobStageResult::UpdateETLJobStageResult() : - ServiceResult() -{} - -UpdateETLJobStageResult::UpdateETLJobStageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateETLJobStageResult::~UpdateETLJobStageResult() -{} - -void UpdateETLJobStageResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UpdateKafkaReassignParamRequest.cc b/emr/src/model/UpdateKafkaReassignParamRequest.cc deleted file mode 100644 index 1fd485649..000000000 --- a/emr/src/model/UpdateKafkaReassignParamRequest.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 - -using AlibabaCloud::Emr::Model::UpdateKafkaReassignParamRequest; - -UpdateKafkaReassignParamRequest::UpdateKafkaReassignParamRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateKafkaReassignParam") -{} - -UpdateKafkaReassignParamRequest::~UpdateKafkaReassignParamRequest() -{} - -long UpdateKafkaReassignParamRequest::getThrottle()const -{ - return throttle_; -} - -void UpdateKafkaReassignParamRequest::setThrottle(long throttle) -{ - throttle_ = throttle; - setCoreParameter("Throttle", std::to_string(throttle)); -} - -long UpdateKafkaReassignParamRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateKafkaReassignParamRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateKafkaReassignParamRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateKafkaReassignParamRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateKafkaReassignParamRequest::getReassignId()const -{ - return reassignId_; -} - -void UpdateKafkaReassignParamRequest::setReassignId(const std::string& reassignId) -{ - reassignId_ = reassignId; - setCoreParameter("ReassignId", reassignId); -} - -std::string UpdateKafkaReassignParamRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateKafkaReassignParamRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/UpdateKafkaReassignParamResult.cc b/emr/src/model/UpdateKafkaReassignParamResult.cc deleted file mode 100644 index 23a2349bf..000000000 --- a/emr/src/model/UpdateKafkaReassignParamResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -UpdateKafkaReassignParamResult::UpdateKafkaReassignParamResult() : - ServiceResult() -{} - -UpdateKafkaReassignParamResult::UpdateKafkaReassignParamResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateKafkaReassignParamResult::~UpdateKafkaReassignParamResult() -{} - -void UpdateKafkaReassignParamResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc b/emr/src/model/UpdateLibraryInstallTaskStatusRequest.cc new file mode 100644 index 000000000..098696064 --- /dev/null +++ b/emr/src/model/UpdateLibraryInstallTaskStatusRequest.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::UpdateLibraryInstallTaskStatusRequest; + +UpdateLibraryInstallTaskStatusRequest::UpdateLibraryInstallTaskStatusRequest() : + RpcServiceRequest("emr", "2016-04-08", "UpdateLibraryInstallTaskStatus") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateLibraryInstallTaskStatusRequest::~UpdateLibraryInstallTaskStatusRequest() +{} + +long UpdateLibraryInstallTaskStatusRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UpdateLibraryInstallTaskStatusRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UpdateLibraryInstallTaskStatusRequest::getTaskBizId()const +{ + return taskBizId_; +} + +void UpdateLibraryInstallTaskStatusRequest::setTaskBizId(const std::string& taskBizId) +{ + taskBizId_ = taskBizId; + setParameter("TaskBizId", taskBizId); +} + +std::string UpdateLibraryInstallTaskStatusRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UpdateLibraryInstallTaskStatusRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string UpdateLibraryInstallTaskStatusRequest::getRegionId()const +{ + return regionId_; +} + +void UpdateLibraryInstallTaskStatusRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string UpdateLibraryInstallTaskStatusRequest::getStatus()const +{ + return status_; +} + +void UpdateLibraryInstallTaskStatusRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/emr/src/model/UpdateLibraryInstallTaskStatusResult.cc b/emr/src/model/UpdateLibraryInstallTaskStatusResult.cc new file mode 100644 index 000000000..fc0ed6b93 --- /dev/null +++ b/emr/src/model/UpdateLibraryInstallTaskStatusResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Emr; +using namespace AlibabaCloud::Emr::Model; + +UpdateLibraryInstallTaskStatusResult::UpdateLibraryInstallTaskStatusResult() : + ServiceResult() +{} + +UpdateLibraryInstallTaskStatusResult::UpdateLibraryInstallTaskStatusResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLibraryInstallTaskStatusResult::~UpdateLibraryInstallTaskStatusResult() +{} + +void UpdateLibraryInstallTaskStatusResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + +} + +bool UpdateLibraryInstallTaskStatusResult::getData()const +{ + return data_; +} + diff --git a/emr/src/model/UpdateNavNodeRequest.cc b/emr/src/model/UpdateNavNodeRequest.cc deleted file mode 100644 index ada428029..000000000 --- a/emr/src/model/UpdateNavNodeRequest.cc +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UpdateNavNodeRequest; - -UpdateNavNodeRequest::UpdateNavNodeRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateNavNode") -{} - -UpdateNavNodeRequest::~UpdateNavNodeRequest() -{} - -long UpdateNavNodeRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateNavNodeRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateNavNodeRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateNavNodeRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateNavNodeRequest::getName()const -{ - return name_; -} - -void UpdateNavNodeRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -std::string UpdateNavNodeRequest::getId()const -{ - return id_; -} - -void UpdateNavNodeRequest::setId(const std::string& id) -{ - id_ = id; - setCoreParameter("Id", id); -} - -std::string UpdateNavNodeRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateNavNodeRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - -std::string UpdateNavNodeRequest::getParentId()const -{ - return parentId_; -} - -void UpdateNavNodeRequest::setParentId(const std::string& parentId) -{ - parentId_ = parentId; - setCoreParameter("ParentId", parentId); -} - -std::string UpdateNavNodeRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateNavNodeRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/UpdateNavNodeResult.cc b/emr/src/model/UpdateNavNodeResult.cc deleted file mode 100644 index 17e2062f8..000000000 --- a/emr/src/model/UpdateNavNodeResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -UpdateNavNodeResult::UpdateNavNodeResult() : - ServiceResult() -{} - -UpdateNavNodeResult::UpdateNavNodeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateNavNodeResult::~UpdateNavNodeResult() -{} - -void UpdateNavNodeResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UpdateProjectSettingRequest.cc b/emr/src/model/UpdateProjectSettingRequest.cc deleted file mode 100644 index b81fd750c..000000000 --- a/emr/src/model/UpdateProjectSettingRequest.cc +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Emr::Model::UpdateProjectSettingRequest; - -UpdateProjectSettingRequest::UpdateProjectSettingRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateProjectSetting") -{} - -UpdateProjectSettingRequest::~UpdateProjectSettingRequest() -{} - -long UpdateProjectSettingRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateProjectSettingRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateProjectSettingRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateProjectSettingRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateProjectSettingRequest::getDefaultOssPath()const -{ - return defaultOssPath_; -} - -void UpdateProjectSettingRequest::setDefaultOssPath(const std::string& defaultOssPath) -{ - defaultOssPath_ = defaultOssPath; - setCoreParameter("DefaultOssPath", defaultOssPath); -} - -std::string UpdateProjectSettingRequest::getProjectId()const -{ - return projectId_; -} - -void UpdateProjectSettingRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setCoreParameter("ProjectId", projectId); -} - -std::string UpdateProjectSettingRequest::getOssConfig()const -{ - return ossConfig_; -} - -void UpdateProjectSettingRequest::setOssConfig(const std::string& ossConfig) -{ - ossConfig_ = ossConfig; - setCoreParameter("OssConfig", ossConfig); -} - -std::string UpdateProjectSettingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateProjectSettingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - diff --git a/emr/src/model/UpdateProjectSettingResult.cc b/emr/src/model/UpdateProjectSettingResult.cc deleted file mode 100644 index 0c762d728..000000000 --- a/emr/src/model/UpdateProjectSettingResult.cc +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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; - -UpdateProjectSettingResult::UpdateProjectSettingResult() : - ServiceResult() -{} - -UpdateProjectSettingResult::UpdateProjectSettingResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateProjectSettingResult::~UpdateProjectSettingResult() -{} - -void UpdateProjectSettingResult::parse(const std::string &payload) -{ - Json::CharReaderBuilder builder; - Json::CharReader *reader = builder.newCharReader(); - Json::Value *val; - Json::Value value; - JSONCPP_STRING *errs; - reader->parse(payload.data(), payload.data() + payload.size(), val, errs); - value = *val; - setRequestId(value["RequestId"].asString()); - -} - diff --git a/emr/src/model/UpdateUserGroupRequest.cc b/emr/src/model/UpdateUserGroupRequest.cc deleted file mode 100644 index 822493eb1..000000000 --- a/emr/src/model/UpdateUserGroupRequest.cc +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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::UpdateUserGroupRequest; - -UpdateUserGroupRequest::UpdateUserGroupRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateUserGroup") -{} - -UpdateUserGroupRequest::~UpdateUserGroupRequest() -{} - -long UpdateUserGroupRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateUserGroupRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::vector UpdateUserGroupRequest::getRoleId()const -{ - return roleId_; -} - -void UpdateUserGroupRequest::setRoleId(const std::vector& roleId) -{ - roleId_ = roleId; - for(int i = 0; i!= roleId.size(); i++) - setCoreParameter("RoleId."+ std::to_string(i), std::to_string(roleId.at(i))); -} - -std::string UpdateUserGroupRequest::getDescription()const -{ - return description_; -} - -void UpdateUserGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setCoreParameter("Description", description); -} - -std::string UpdateUserGroupRequest::getType()const -{ - return type_; -} - -void UpdateUserGroupRequest::setType(const std::string& type) -{ - type_ = type; - setCoreParameter("Type", type); -} - -std::string UpdateUserGroupRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateUserGroupRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateUserGroupRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateUserGroupRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateUserGroupRequest::getName()const -{ - return name_; -} - -void UpdateUserGroupRequest::setName(const std::string& name) -{ - name_ = name; - setCoreParameter("Name", name); -} - -long UpdateUserGroupRequest::getId()const -{ - return id_; -} - -void UpdateUserGroupRequest::setId(long id) -{ - id_ = id; - setCoreParameter("Id", std::to_string(id)); -} - diff --git a/emr/src/model/UpdateUserGroupResult.cc b/emr/src/model/UpdateUserGroupResult.cc deleted file mode 100644 index bc16a8ea3..000000000 --- a/emr/src/model/UpdateUserGroupResult.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; - -UpdateUserGroupResult::UpdateUserGroupResult() : - ServiceResult() -{} - -UpdateUserGroupResult::UpdateUserGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateUserGroupResult::~UpdateUserGroupResult() -{} - -void UpdateUserGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool UpdateUserGroupResult::getPaging()const -{ - return paging_; -} - -bool UpdateUserGroupResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/UpdateUserStatusRequest.cc b/emr/src/model/UpdateUserStatusRequest.cc deleted file mode 100644 index 2e93ef74f..000000000 --- a/emr/src/model/UpdateUserStatusRequest.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 - -using AlibabaCloud::Emr::Model::UpdateUserStatusRequest; - -UpdateUserStatusRequest::UpdateUserStatusRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateUserStatus") -{} - -UpdateUserStatusRequest::~UpdateUserStatusRequest() -{} - -long UpdateUserStatusRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateUserStatusRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateUserStatusRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateUserStatusRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateUserStatusRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateUserStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateUserStatusRequest::getAliyunUserId()const -{ - return aliyunUserId_; -} - -void UpdateUserStatusRequest::setAliyunUserId(const std::string& aliyunUserId) -{ - aliyunUserId_ = aliyunUserId; - setCoreParameter("AliyunUserId", aliyunUserId); -} - -std::string UpdateUserStatusRequest::getUpdateStatus()const -{ - return updateStatus_; -} - -void UpdateUserStatusRequest::setUpdateStatus(const std::string& updateStatus) -{ - updateStatus_ = updateStatus; - setCoreParameter("UpdateStatus", updateStatus); -} - diff --git a/emr/src/model/UpdateUserStatusResult.cc b/emr/src/model/UpdateUserStatusResult.cc deleted file mode 100644 index 90ed4a154..000000000 --- a/emr/src/model/UpdateUserStatusResult.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; - -UpdateUserStatusResult::UpdateUserStatusResult() : - ServiceResult() -{} - -UpdateUserStatusResult::UpdateUserStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateUserStatusResult::~UpdateUserStatusResult() -{} - -void UpdateUserStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Paging"].isNull()) - paging_ = value["Paging"].asString() == "true"; - if(!value["Data"].isNull()) - data_ = value["Data"].asString() == "true"; - -} - -bool UpdateUserStatusResult::getPaging()const -{ - return paging_; -} - -bool UpdateUserStatusResult::getData()const -{ - return data_; -} - diff --git a/emr/src/model/UpdateWorkspaceRepoSettingRequest.cc b/emr/src/model/UpdateWorkspaceRepoSettingRequest.cc deleted file mode 100644 index 2f90a317a..000000000 --- a/emr/src/model/UpdateWorkspaceRepoSettingRequest.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::UpdateWorkspaceRepoSettingRequest; - -UpdateWorkspaceRepoSettingRequest::UpdateWorkspaceRepoSettingRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateWorkspaceRepoSetting") -{} - -UpdateWorkspaceRepoSettingRequest::~UpdateWorkspaceRepoSettingRequest() -{} - -long UpdateWorkspaceRepoSettingRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateWorkspaceRepoSettingRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateWorkspaceRepoSettingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateWorkspaceRepoSettingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateWorkspaceRepoSettingRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateWorkspaceRepoSettingRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::vector UpdateWorkspaceRepoSettingRequest::getRepoMaven()const -{ - return repoMaven_; -} - -void UpdateWorkspaceRepoSettingRequest::setRepoMaven(const std::vector& repoMaven) -{ - repoMaven_ = repoMaven; - int i = 0; - for(int i = 0; i!= repoMaven.size(); i++) { - auto obj = repoMaven.at(i); - std::string str ="RepoMaven."+ std::to_string(i); - setCoreParameter(str + ".GroupId", obj.groupId); - setCoreParameter(str + ".ArtifactId", obj.artifactId); - setCoreParameter(str + ".Version", obj.version); - } -} - -std::vector UpdateWorkspaceRepoSettingRequest::getRepoPip()const -{ - return repoPip_; -} - -void UpdateWorkspaceRepoSettingRequest::setRepoPip(const std::vector& repoPip) -{ - repoPip_ = repoPip; - int i = 0; - for(int i = 0; i!= repoPip.size(); i++) { - auto obj = repoPip.at(i); - std::string str ="RepoPip."+ std::to_string(i); - setCoreParameter(str + ".PackageName", obj.packageName); - setCoreParameter(str + ".Version", obj.version); - } -} - -std::string UpdateWorkspaceRepoSettingRequest::getWorkspaceId()const -{ - return workspaceId_; -} - -void UpdateWorkspaceRepoSettingRequest::setWorkspaceId(const std::string& workspaceId) -{ - workspaceId_ = workspaceId; - setCoreParameter("WorkspaceId", workspaceId); -} - diff --git a/emr/src/model/UpdateWorkspaceResourceSettingRequest.cc b/emr/src/model/UpdateWorkspaceResourceSettingRequest.cc deleted file mode 100644 index f8e5ae1d9..000000000 --- a/emr/src/model/UpdateWorkspaceResourceSettingRequest.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 - -using AlibabaCloud::Emr::Model::UpdateWorkspaceResourceSettingRequest; - -UpdateWorkspaceResourceSettingRequest::UpdateWorkspaceResourceSettingRequest() : - RpcServiceRequest("emr", "2016-04-08", "UpdateWorkspaceResourceSetting") -{} - -UpdateWorkspaceResourceSettingRequest::~UpdateWorkspaceResourceSettingRequest() -{} - -long UpdateWorkspaceResourceSettingRequest::getResourceOwnerId()const -{ - return resourceOwnerId_; -} - -void UpdateWorkspaceResourceSettingRequest::setResourceOwnerId(long resourceOwnerId) -{ - resourceOwnerId_ = resourceOwnerId; - setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); -} - -std::string UpdateWorkspaceResourceSettingRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void UpdateWorkspaceResourceSettingRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setCoreParameter("AccessKeyId", accessKeyId); -} - -std::string UpdateWorkspaceResourceSettingRequest::getRegionId()const -{ - return regionId_; -} - -void UpdateWorkspaceResourceSettingRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setCoreParameter("RegionId", regionId); -} - -std::string UpdateWorkspaceResourceSettingRequest::getWorkspaceId()const -{ - return workspaceId_; -} - -void UpdateWorkspaceResourceSettingRequest::setWorkspaceId(const std::string& workspaceId) -{ - workspaceId_ = workspaceId; - setCoreParameter("WorkspaceId", workspaceId); -} - -std::string UpdateWorkspaceResourceSettingRequest::getOssSetting()const -{ - return ossSetting_; -} - -void UpdateWorkspaceResourceSettingRequest::setOssSetting(const std::string& ossSetting) -{ - ossSetting_ = ossSetting; - setCoreParameter("OssSetting", ossSetting); -} -