Generated 2018-11-11 for foas.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2019-09-05 Version 1.36.110
|
||||
- Generated 2018-11-11 for `foas`.
|
||||
|
||||
2019-09-05 Version 1.36.109
|
||||
- Generated 2019-05-24 for `cusanalytic_sc_online`.
|
||||
|
||||
|
||||
330
foas/CMakeLists.txt
Normal file
330
foas/CMakeLists.txt
Normal file
@@ -0,0 +1,330 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(foas_public_header
|
||||
include/alibabacloud/foas/FoasClient.h
|
||||
include/alibabacloud/foas/FoasExport.h )
|
||||
|
||||
set(foas_public_header_model
|
||||
include/alibabacloud/foas/model/ListInstanceRequest.h
|
||||
include/alibabacloud/foas/model/ListInstanceResult.h
|
||||
include/alibabacloud/foas/model/UpdateAutoScaleConfigRequest.h
|
||||
include/alibabacloud/foas/model/UpdateAutoScaleConfigResult.h
|
||||
include/alibabacloud/foas/model/BindQueueRequest.h
|
||||
include/alibabacloud/foas/model/BindQueueResult.h
|
||||
include/alibabacloud/foas/model/CalcPlanJsonResourceRequest.h
|
||||
include/alibabacloud/foas/model/CalcPlanJsonResourceResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceExceptionsRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceExceptionsResult.h
|
||||
include/alibabacloud/foas/model/ListJobRequest.h
|
||||
include/alibabacloud/foas/model/ListJobResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceHistoryAutoScalePlanListRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceHistoryAutoScalePlanListResult.h
|
||||
include/alibabacloud/foas/model/DeleteFolderRequest.h
|
||||
include/alibabacloud/foas/model/DeleteFolderResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceVertexTaskManagersRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceVertexTaskManagersResult.h
|
||||
include/alibabacloud/foas/model/CreateJobRequest.h
|
||||
include/alibabacloud/foas/model/CreateJobResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceDetailRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceDetailResult.h
|
||||
include/alibabacloud/foas/model/GetFolderRequest.h
|
||||
include/alibabacloud/foas/model/GetFolderResult.h
|
||||
include/alibabacloud/foas/model/ListClusterRequest.h
|
||||
include/alibabacloud/foas/model/ListClusterResult.h
|
||||
include/alibabacloud/foas/model/MVFolderRequest.h
|
||||
include/alibabacloud/foas/model/MVFolderResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceMetricRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceMetricResult.h
|
||||
include/alibabacloud/foas/model/CheckRawPlanJsonRequest.h
|
||||
include/alibabacloud/foas/model/CheckRawPlanJsonResult.h
|
||||
include/alibabacloud/foas/model/ListProjectBindQueueRequest.h
|
||||
include/alibabacloud/foas/model/ListProjectBindQueueResult.h
|
||||
include/alibabacloud/foas/model/GetClusterMetricsRequest.h
|
||||
include/alibabacloud/foas/model/GetClusterMetricsResult.h
|
||||
include/alibabacloud/foas/model/GetProjectRequest.h
|
||||
include/alibabacloud/foas/model/GetProjectResult.h
|
||||
include/alibabacloud/foas/model/GetRawPlanJsonRequest.h
|
||||
include/alibabacloud/foas/model/GetRawPlanJsonResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceResourceRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceResourceResult.h
|
||||
include/alibabacloud/foas/model/GetClusterQueueInfoRequest.h
|
||||
include/alibabacloud/foas/model/GetClusterQueueInfoResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceRunSummaryRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceRunSummaryResult.h
|
||||
include/alibabacloud/foas/model/DeletePackageRequest.h
|
||||
include/alibabacloud/foas/model/DeletePackageResult.h
|
||||
include/alibabacloud/foas/model/DeleteProjectRequest.h
|
||||
include/alibabacloud/foas/model/DeleteProjectResult.h
|
||||
include/alibabacloud/foas/model/GetPackageRequest.h
|
||||
include/alibabacloud/foas/model/GetPackageResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceHistoryAutoScalePlanContentRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceHistoryAutoScalePlanContentResult.h
|
||||
include/alibabacloud/foas/model/GetRefPackageJobRequest.h
|
||||
include/alibabacloud/foas/model/GetRefPackageJobResult.h
|
||||
include/alibabacloud/foas/model/ModifyInstanceStateRequest.h
|
||||
include/alibabacloud/foas/model/ModifyInstanceStateResult.h
|
||||
include/alibabacloud/foas/model/ModifyMasterSpecRequest.h
|
||||
include/alibabacloud/foas/model/ModifyMasterSpecResult.h
|
||||
include/alibabacloud/foas/model/CreateClusterRequest.h
|
||||
include/alibabacloud/foas/model/CreateClusterResult.h
|
||||
include/alibabacloud/foas/model/ListPackageRequest.h
|
||||
include/alibabacloud/foas/model/ListPackageResult.h
|
||||
include/alibabacloud/foas/model/DeleteQueueRequest.h
|
||||
include/alibabacloud/foas/model/DeleteQueueResult.h
|
||||
include/alibabacloud/foas/model/UpdatePackageRequest.h
|
||||
include/alibabacloud/foas/model/UpdatePackageResult.h
|
||||
include/alibabacloud/foas/model/CreateCellClusterOrderRequest.h
|
||||
include/alibabacloud/foas/model/CreateCellClusterOrderResult.h
|
||||
include/alibabacloud/foas/model/ShrinkClusterRequest.h
|
||||
include/alibabacloud/foas/model/ShrinkClusterResult.h
|
||||
include/alibabacloud/foas/model/GetClusterResourceRequest.h
|
||||
include/alibabacloud/foas/model/GetClusterResourceResult.h
|
||||
include/alibabacloud/foas/model/ListProjectBindQueueResourceRequest.h
|
||||
include/alibabacloud/foas/model/ListProjectBindQueueResourceResult.h
|
||||
include/alibabacloud/foas/model/GetJobRequest.h
|
||||
include/alibabacloud/foas/model/GetJobResult.h
|
||||
include/alibabacloud/foas/model/CreateProjectRequest.h
|
||||
include/alibabacloud/foas/model/CreateProjectResult.h
|
||||
include/alibabacloud/foas/model/DestroyClusterRequest.h
|
||||
include/alibabacloud/foas/model/DestroyClusterResult.h
|
||||
include/alibabacloud/foas/model/OfflineJobRequest.h
|
||||
include/alibabacloud/foas/model/OfflineJobResult.h
|
||||
include/alibabacloud/foas/model/StartJobRequest.h
|
||||
include/alibabacloud/foas/model/StartJobResult.h
|
||||
include/alibabacloud/foas/model/GetClusterDetailsRequest.h
|
||||
include/alibabacloud/foas/model/GetClusterDetailsResult.h
|
||||
include/alibabacloud/foas/model/ValidateJobRequest.h
|
||||
include/alibabacloud/foas/model/ValidateJobResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceConfigRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceConfigResult.h
|
||||
include/alibabacloud/foas/model/UpdateJobRequest.h
|
||||
include/alibabacloud/foas/model/UpdateJobResult.h
|
||||
include/alibabacloud/foas/model/CreatePackageRequest.h
|
||||
include/alibabacloud/foas/model/CreatePackageResult.h
|
||||
include/alibabacloud/foas/model/DeleteJobRequest.h
|
||||
include/alibabacloud/foas/model/DeleteJobResult.h
|
||||
include/alibabacloud/foas/model/ListChildFolderRequest.h
|
||||
include/alibabacloud/foas/model/ListChildFolderResult.h
|
||||
include/alibabacloud/foas/model/ListProjectRequest.h
|
||||
include/alibabacloud/foas/model/ListProjectResult.h
|
||||
include/alibabacloud/foas/model/ExpandClusterRequest.h
|
||||
include/alibabacloud/foas/model/ExpandClusterResult.h
|
||||
include/alibabacloud/foas/model/BatchGetInstanceRunSummaryRequest.h
|
||||
include/alibabacloud/foas/model/BatchGetInstanceRunSummaryResult.h
|
||||
include/alibabacloud/foas/model/CreateQueueRequest.h
|
||||
include/alibabacloud/foas/model/CreateQueueResult.h
|
||||
include/alibabacloud/foas/model/UnbindQueueRequest.h
|
||||
include/alibabacloud/foas/model/UnbindQueueResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceCheckpointRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceCheckpointResult.h
|
||||
include/alibabacloud/foas/model/CommitJobRequest.h
|
||||
include/alibabacloud/foas/model/CommitJobResult.h
|
||||
include/alibabacloud/foas/model/CreateFolderRequest.h
|
||||
include/alibabacloud/foas/model/CreateFolderResult.h
|
||||
include/alibabacloud/foas/model/GetInstanceFinalStateRequest.h
|
||||
include/alibabacloud/foas/model/GetInstanceFinalStateResult.h
|
||||
include/alibabacloud/foas/model/GetClusterEngineVersionsRequest.h
|
||||
include/alibabacloud/foas/model/GetClusterEngineVersionsResult.h
|
||||
include/alibabacloud/foas/model/GetJobLatestAutoScalePlanRequest.h
|
||||
include/alibabacloud/foas/model/GetJobLatestAutoScalePlanResult.h )
|
||||
|
||||
set(foas_src
|
||||
src/com.aliyun.pop.sdk.domain.Product@57eda880Client.cc
|
||||
src/model/ListInstanceRequest.cc
|
||||
src/model/ListInstanceResult.cc
|
||||
src/model/UpdateAutoScaleConfigRequest.cc
|
||||
src/model/UpdateAutoScaleConfigResult.cc
|
||||
src/model/BindQueueRequest.cc
|
||||
src/model/BindQueueResult.cc
|
||||
src/model/CalcPlanJsonResourceRequest.cc
|
||||
src/model/CalcPlanJsonResourceResult.cc
|
||||
src/model/GetInstanceExceptionsRequest.cc
|
||||
src/model/GetInstanceExceptionsResult.cc
|
||||
src/model/ListJobRequest.cc
|
||||
src/model/ListJobResult.cc
|
||||
src/model/GetInstanceHistoryAutoScalePlanListRequest.cc
|
||||
src/model/GetInstanceHistoryAutoScalePlanListResult.cc
|
||||
src/model/DeleteFolderRequest.cc
|
||||
src/model/DeleteFolderResult.cc
|
||||
src/model/GetInstanceVertexTaskManagersRequest.cc
|
||||
src/model/GetInstanceVertexTaskManagersResult.cc
|
||||
src/model/CreateJobRequest.cc
|
||||
src/model/CreateJobResult.cc
|
||||
src/model/GetInstanceDetailRequest.cc
|
||||
src/model/GetInstanceDetailResult.cc
|
||||
src/model/GetFolderRequest.cc
|
||||
src/model/GetFolderResult.cc
|
||||
src/model/ListClusterRequest.cc
|
||||
src/model/ListClusterResult.cc
|
||||
src/model/MVFolderRequest.cc
|
||||
src/model/MVFolderResult.cc
|
||||
src/model/GetInstanceMetricRequest.cc
|
||||
src/model/GetInstanceMetricResult.cc
|
||||
src/model/CheckRawPlanJsonRequest.cc
|
||||
src/model/CheckRawPlanJsonResult.cc
|
||||
src/model/ListProjectBindQueueRequest.cc
|
||||
src/model/ListProjectBindQueueResult.cc
|
||||
src/model/GetClusterMetricsRequest.cc
|
||||
src/model/GetClusterMetricsResult.cc
|
||||
src/model/GetProjectRequest.cc
|
||||
src/model/GetProjectResult.cc
|
||||
src/model/GetRawPlanJsonRequest.cc
|
||||
src/model/GetRawPlanJsonResult.cc
|
||||
src/model/GetInstanceResourceRequest.cc
|
||||
src/model/GetInstanceResourceResult.cc
|
||||
src/model/GetClusterQueueInfoRequest.cc
|
||||
src/model/GetClusterQueueInfoResult.cc
|
||||
src/model/GetInstanceRequest.cc
|
||||
src/model/GetInstanceResult.cc
|
||||
src/model/GetInstanceRunSummaryRequest.cc
|
||||
src/model/GetInstanceRunSummaryResult.cc
|
||||
src/model/DeletePackageRequest.cc
|
||||
src/model/DeletePackageResult.cc
|
||||
src/model/DeleteProjectRequest.cc
|
||||
src/model/DeleteProjectResult.cc
|
||||
src/model/GetPackageRequest.cc
|
||||
src/model/GetPackageResult.cc
|
||||
src/model/GetInstanceHistoryAutoScalePlanContentRequest.cc
|
||||
src/model/GetInstanceHistoryAutoScalePlanContentResult.cc
|
||||
src/model/GetRefPackageJobRequest.cc
|
||||
src/model/GetRefPackageJobResult.cc
|
||||
src/model/ModifyInstanceStateRequest.cc
|
||||
src/model/ModifyInstanceStateResult.cc
|
||||
src/model/ModifyMasterSpecRequest.cc
|
||||
src/model/ModifyMasterSpecResult.cc
|
||||
src/model/CreateClusterRequest.cc
|
||||
src/model/CreateClusterResult.cc
|
||||
src/model/ListPackageRequest.cc
|
||||
src/model/ListPackageResult.cc
|
||||
src/model/DeleteQueueRequest.cc
|
||||
src/model/DeleteQueueResult.cc
|
||||
src/model/UpdatePackageRequest.cc
|
||||
src/model/UpdatePackageResult.cc
|
||||
src/model/CreateCellClusterOrderRequest.cc
|
||||
src/model/CreateCellClusterOrderResult.cc
|
||||
src/model/ShrinkClusterRequest.cc
|
||||
src/model/ShrinkClusterResult.cc
|
||||
src/model/GetClusterResourceRequest.cc
|
||||
src/model/GetClusterResourceResult.cc
|
||||
src/model/ListProjectBindQueueResourceRequest.cc
|
||||
src/model/ListProjectBindQueueResourceResult.cc
|
||||
src/model/GetJobRequest.cc
|
||||
src/model/GetJobResult.cc
|
||||
src/model/CreateProjectRequest.cc
|
||||
src/model/CreateProjectResult.cc
|
||||
src/model/DestroyClusterRequest.cc
|
||||
src/model/DestroyClusterResult.cc
|
||||
src/model/OfflineJobRequest.cc
|
||||
src/model/OfflineJobResult.cc
|
||||
src/model/StartJobRequest.cc
|
||||
src/model/StartJobResult.cc
|
||||
src/model/GetClusterDetailsRequest.cc
|
||||
src/model/GetClusterDetailsResult.cc
|
||||
src/model/ValidateJobRequest.cc
|
||||
src/model/ValidateJobResult.cc
|
||||
src/model/GetInstanceConfigRequest.cc
|
||||
src/model/GetInstanceConfigResult.cc
|
||||
src/model/UpdateJobRequest.cc
|
||||
src/model/UpdateJobResult.cc
|
||||
src/model/CreatePackageRequest.cc
|
||||
src/model/CreatePackageResult.cc
|
||||
src/model/DeleteJobRequest.cc
|
||||
src/model/DeleteJobResult.cc
|
||||
src/model/ListChildFolderRequest.cc
|
||||
src/model/ListChildFolderResult.cc
|
||||
src/model/ListProjectRequest.cc
|
||||
src/model/ListProjectResult.cc
|
||||
src/model/ExpandClusterRequest.cc
|
||||
src/model/ExpandClusterResult.cc
|
||||
src/model/BatchGetInstanceRunSummaryRequest.cc
|
||||
src/model/BatchGetInstanceRunSummaryResult.cc
|
||||
src/model/CreateQueueRequest.cc
|
||||
src/model/CreateQueueResult.cc
|
||||
src/model/UnbindQueueRequest.cc
|
||||
src/model/UnbindQueueResult.cc
|
||||
src/model/GetInstanceCheckpointRequest.cc
|
||||
src/model/GetInstanceCheckpointResult.cc
|
||||
src/model/CommitJobRequest.cc
|
||||
src/model/CommitJobResult.cc
|
||||
src/model/CreateFolderRequest.cc
|
||||
src/model/CreateFolderResult.cc
|
||||
src/model/GetInstanceFinalStateRequest.cc
|
||||
src/model/GetInstanceFinalStateResult.cc
|
||||
src/model/GetClusterEngineVersionsRequest.cc
|
||||
src/model/GetClusterEngineVersionsResult.cc
|
||||
src/model/GetJobLatestAutoScalePlanRequest.cc
|
||||
src/model/GetJobLatestAutoScalePlanResult.cc )
|
||||
|
||||
add_library(foas ${LIB_TYPE}
|
||||
${foas_public_header}
|
||||
${foas_public_header_model}
|
||||
${foas_src})
|
||||
|
||||
set_target_properties(foas
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}foas
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(foas
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_FOAS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(foas
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(foas
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(foas
|
||||
jsoncpp)
|
||||
target_include_directories(foas
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(foas
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(foas
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(foas
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(foas
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${foas_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/foas)
|
||||
install(FILES ${foas_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/foas/model)
|
||||
install(TARGETS foas
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
542
foas/include/alibabacloud/foas/FoasClient.h
Normal file
542
foas/include/alibabacloud/foas/FoasClient.h
Normal file
@@ -0,0 +1,542 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_FOASCLIENT_H_
|
||||
#define ALIBABACLOUD_FOAS_FOASCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "FoasExport.h"
|
||||
#include "model/ListInstanceRequest.h"
|
||||
#include "model/ListInstanceResult.h"
|
||||
#include "model/UpdateAutoScaleConfigRequest.h"
|
||||
#include "model/UpdateAutoScaleConfigResult.h"
|
||||
#include "model/BindQueueRequest.h"
|
||||
#include "model/BindQueueResult.h"
|
||||
#include "model/CalcPlanJsonResourceRequest.h"
|
||||
#include "model/CalcPlanJsonResourceResult.h"
|
||||
#include "model/GetInstanceExceptionsRequest.h"
|
||||
#include "model/GetInstanceExceptionsResult.h"
|
||||
#include "model/ListJobRequest.h"
|
||||
#include "model/ListJobResult.h"
|
||||
#include "model/GetInstanceHistoryAutoScalePlanListRequest.h"
|
||||
#include "model/GetInstanceHistoryAutoScalePlanListResult.h"
|
||||
#include "model/DeleteFolderRequest.h"
|
||||
#include "model/DeleteFolderResult.h"
|
||||
#include "model/GetInstanceVertexTaskManagersRequest.h"
|
||||
#include "model/GetInstanceVertexTaskManagersResult.h"
|
||||
#include "model/CreateJobRequest.h"
|
||||
#include "model/CreateJobResult.h"
|
||||
#include "model/GetInstanceDetailRequest.h"
|
||||
#include "model/GetInstanceDetailResult.h"
|
||||
#include "model/GetFolderRequest.h"
|
||||
#include "model/GetFolderResult.h"
|
||||
#include "model/ListClusterRequest.h"
|
||||
#include "model/ListClusterResult.h"
|
||||
#include "model/MVFolderRequest.h"
|
||||
#include "model/MVFolderResult.h"
|
||||
#include "model/GetInstanceMetricRequest.h"
|
||||
#include "model/GetInstanceMetricResult.h"
|
||||
#include "model/CheckRawPlanJsonRequest.h"
|
||||
#include "model/CheckRawPlanJsonResult.h"
|
||||
#include "model/ListProjectBindQueueRequest.h"
|
||||
#include "model/ListProjectBindQueueResult.h"
|
||||
#include "model/GetClusterMetricsRequest.h"
|
||||
#include "model/GetClusterMetricsResult.h"
|
||||
#include "model/GetProjectRequest.h"
|
||||
#include "model/GetProjectResult.h"
|
||||
#include "model/GetRawPlanJsonRequest.h"
|
||||
#include "model/GetRawPlanJsonResult.h"
|
||||
#include "model/GetInstanceResourceRequest.h"
|
||||
#include "model/GetInstanceResourceResult.h"
|
||||
#include "model/GetClusterQueueInfoRequest.h"
|
||||
#include "model/GetClusterQueueInfoResult.h"
|
||||
#include "model/GetInstanceRequest.h"
|
||||
#include "model/GetInstanceResult.h"
|
||||
#include "model/GetInstanceRunSummaryRequest.h"
|
||||
#include "model/GetInstanceRunSummaryResult.h"
|
||||
#include "model/DeletePackageRequest.h"
|
||||
#include "model/DeletePackageResult.h"
|
||||
#include "model/DeleteProjectRequest.h"
|
||||
#include "model/DeleteProjectResult.h"
|
||||
#include "model/GetPackageRequest.h"
|
||||
#include "model/GetPackageResult.h"
|
||||
#include "model/GetInstanceHistoryAutoScalePlanContentRequest.h"
|
||||
#include "model/GetInstanceHistoryAutoScalePlanContentResult.h"
|
||||
#include "model/GetRefPackageJobRequest.h"
|
||||
#include "model/GetRefPackageJobResult.h"
|
||||
#include "model/ModifyInstanceStateRequest.h"
|
||||
#include "model/ModifyInstanceStateResult.h"
|
||||
#include "model/ModifyMasterSpecRequest.h"
|
||||
#include "model/ModifyMasterSpecResult.h"
|
||||
#include "model/CreateClusterRequest.h"
|
||||
#include "model/CreateClusterResult.h"
|
||||
#include "model/ListPackageRequest.h"
|
||||
#include "model/ListPackageResult.h"
|
||||
#include "model/DeleteQueueRequest.h"
|
||||
#include "model/DeleteQueueResult.h"
|
||||
#include "model/UpdatePackageRequest.h"
|
||||
#include "model/UpdatePackageResult.h"
|
||||
#include "model/CreateCellClusterOrderRequest.h"
|
||||
#include "model/CreateCellClusterOrderResult.h"
|
||||
#include "model/ShrinkClusterRequest.h"
|
||||
#include "model/ShrinkClusterResult.h"
|
||||
#include "model/GetClusterResourceRequest.h"
|
||||
#include "model/GetClusterResourceResult.h"
|
||||
#include "model/ListProjectBindQueueResourceRequest.h"
|
||||
#include "model/ListProjectBindQueueResourceResult.h"
|
||||
#include "model/GetJobRequest.h"
|
||||
#include "model/GetJobResult.h"
|
||||
#include "model/CreateProjectRequest.h"
|
||||
#include "model/CreateProjectResult.h"
|
||||
#include "model/DestroyClusterRequest.h"
|
||||
#include "model/DestroyClusterResult.h"
|
||||
#include "model/OfflineJobRequest.h"
|
||||
#include "model/OfflineJobResult.h"
|
||||
#include "model/StartJobRequest.h"
|
||||
#include "model/StartJobResult.h"
|
||||
#include "model/GetClusterDetailsRequest.h"
|
||||
#include "model/GetClusterDetailsResult.h"
|
||||
#include "model/ValidateJobRequest.h"
|
||||
#include "model/ValidateJobResult.h"
|
||||
#include "model/GetInstanceConfigRequest.h"
|
||||
#include "model/GetInstanceConfigResult.h"
|
||||
#include "model/UpdateJobRequest.h"
|
||||
#include "model/UpdateJobResult.h"
|
||||
#include "model/CreatePackageRequest.h"
|
||||
#include "model/CreatePackageResult.h"
|
||||
#include "model/DeleteJobRequest.h"
|
||||
#include "model/DeleteJobResult.h"
|
||||
#include "model/ListChildFolderRequest.h"
|
||||
#include "model/ListChildFolderResult.h"
|
||||
#include "model/ListProjectRequest.h"
|
||||
#include "model/ListProjectResult.h"
|
||||
#include "model/ExpandClusterRequest.h"
|
||||
#include "model/ExpandClusterResult.h"
|
||||
#include "model/BatchGetInstanceRunSummaryRequest.h"
|
||||
#include "model/BatchGetInstanceRunSummaryResult.h"
|
||||
#include "model/CreateQueueRequest.h"
|
||||
#include "model/CreateQueueResult.h"
|
||||
#include "model/UnbindQueueRequest.h"
|
||||
#include "model/UnbindQueueResult.h"
|
||||
#include "model/GetInstanceCheckpointRequest.h"
|
||||
#include "model/GetInstanceCheckpointResult.h"
|
||||
#include "model/CommitJobRequest.h"
|
||||
#include "model/CommitJobResult.h"
|
||||
#include "model/CreateFolderRequest.h"
|
||||
#include "model/CreateFolderResult.h"
|
||||
#include "model/GetInstanceFinalStateRequest.h"
|
||||
#include "model/GetInstanceFinalStateResult.h"
|
||||
#include "model/GetClusterEngineVersionsRequest.h"
|
||||
#include "model/GetClusterEngineVersionsResult.h"
|
||||
#include "model/GetJobLatestAutoScalePlanRequest.h"
|
||||
#include "model/GetJobLatestAutoScalePlanResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT FoasClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ListInstanceResult> ListInstanceOutcome;
|
||||
typedef std::future<ListInstanceOutcome> ListInstanceOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListInstanceRequest&, const ListInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAutoScaleConfigResult> UpdateAutoScaleConfigOutcome;
|
||||
typedef std::future<UpdateAutoScaleConfigOutcome> UpdateAutoScaleConfigOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::UpdateAutoScaleConfigRequest&, const UpdateAutoScaleConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAutoScaleConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindQueueResult> BindQueueOutcome;
|
||||
typedef std::future<BindQueueOutcome> BindQueueOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::BindQueueRequest&, const BindQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::CalcPlanJsonResourceResult> CalcPlanJsonResourceOutcome;
|
||||
typedef std::future<CalcPlanJsonResourceOutcome> CalcPlanJsonResourceOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CalcPlanJsonResourceRequest&, const CalcPlanJsonResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CalcPlanJsonResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceExceptionsResult> GetInstanceExceptionsOutcome;
|
||||
typedef std::future<GetInstanceExceptionsOutcome> GetInstanceExceptionsOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceExceptionsRequest&, const GetInstanceExceptionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceExceptionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListJobResult> ListJobOutcome;
|
||||
typedef std::future<ListJobOutcome> ListJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListJobRequest&, const ListJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceHistoryAutoScalePlanListResult> GetInstanceHistoryAutoScalePlanListOutcome;
|
||||
typedef std::future<GetInstanceHistoryAutoScalePlanListOutcome> GetInstanceHistoryAutoScalePlanListOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceHistoryAutoScalePlanListRequest&, const GetInstanceHistoryAutoScalePlanListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceHistoryAutoScalePlanListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFolderResult> DeleteFolderOutcome;
|
||||
typedef std::future<DeleteFolderOutcome> DeleteFolderOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::DeleteFolderRequest&, const DeleteFolderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFolderAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceVertexTaskManagersResult> GetInstanceVertexTaskManagersOutcome;
|
||||
typedef std::future<GetInstanceVertexTaskManagersOutcome> GetInstanceVertexTaskManagersOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceVertexTaskManagersRequest&, const GetInstanceVertexTaskManagersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceVertexTaskManagersAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateJobResult> CreateJobOutcome;
|
||||
typedef std::future<CreateJobOutcome> CreateJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreateJobRequest&, const CreateJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceDetailResult> GetInstanceDetailOutcome;
|
||||
typedef std::future<GetInstanceDetailOutcome> GetInstanceDetailOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceDetailRequest&, const GetInstanceDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetFolderResult> GetFolderOutcome;
|
||||
typedef std::future<GetFolderOutcome> GetFolderOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetFolderRequest&, const GetFolderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFolderAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListClusterResult> ListClusterOutcome;
|
||||
typedef std::future<ListClusterOutcome> ListClusterOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListClusterRequest&, const ListClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::MVFolderResult> MVFolderOutcome;
|
||||
typedef std::future<MVFolderOutcome> MVFolderOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::MVFolderRequest&, const MVFolderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MVFolderAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceMetricResult> GetInstanceMetricOutcome;
|
||||
typedef std::future<GetInstanceMetricOutcome> GetInstanceMetricOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceMetricRequest&, const GetInstanceMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckRawPlanJsonResult> CheckRawPlanJsonOutcome;
|
||||
typedef std::future<CheckRawPlanJsonOutcome> CheckRawPlanJsonOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CheckRawPlanJsonRequest&, const CheckRawPlanJsonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckRawPlanJsonAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectBindQueueResult> ListProjectBindQueueOutcome;
|
||||
typedef std::future<ListProjectBindQueueOutcome> ListProjectBindQueueOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListProjectBindQueueRequest&, const ListProjectBindQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectBindQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClusterMetricsResult> GetClusterMetricsOutcome;
|
||||
typedef std::future<GetClusterMetricsOutcome> GetClusterMetricsOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetClusterMetricsRequest&, const GetClusterMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClusterMetricsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectResult> GetProjectOutcome;
|
||||
typedef std::future<GetProjectOutcome> GetProjectOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetProjectRequest&, const GetProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRawPlanJsonResult> GetRawPlanJsonOutcome;
|
||||
typedef std::future<GetRawPlanJsonOutcome> GetRawPlanJsonOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetRawPlanJsonRequest&, const GetRawPlanJsonOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRawPlanJsonAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceResourceResult> GetInstanceResourceOutcome;
|
||||
typedef std::future<GetInstanceResourceOutcome> GetInstanceResourceOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceResourceRequest&, const GetInstanceResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClusterQueueInfoResult> GetClusterQueueInfoOutcome;
|
||||
typedef std::future<GetClusterQueueInfoOutcome> GetClusterQueueInfoOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetClusterQueueInfoRequest&, const GetClusterQueueInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClusterQueueInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceResult> GetInstanceOutcome;
|
||||
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceRequest&, const GetInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceRunSummaryResult> GetInstanceRunSummaryOutcome;
|
||||
typedef std::future<GetInstanceRunSummaryOutcome> GetInstanceRunSummaryOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceRunSummaryRequest&, const GetInstanceRunSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceRunSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePackageResult> DeletePackageOutcome;
|
||||
typedef std::future<DeletePackageOutcome> DeletePackageOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::DeletePackageRequest&, const DeletePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
|
||||
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPackageResult> GetPackageOutcome;
|
||||
typedef std::future<GetPackageOutcome> GetPackageOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetPackageRequest&, const GetPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceHistoryAutoScalePlanContentResult> GetInstanceHistoryAutoScalePlanContentOutcome;
|
||||
typedef std::future<GetInstanceHistoryAutoScalePlanContentOutcome> GetInstanceHistoryAutoScalePlanContentOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceHistoryAutoScalePlanContentRequest&, const GetInstanceHistoryAutoScalePlanContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceHistoryAutoScalePlanContentAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRefPackageJobResult> GetRefPackageJobOutcome;
|
||||
typedef std::future<GetRefPackageJobOutcome> GetRefPackageJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetRefPackageJobRequest&, const GetRefPackageJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRefPackageJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceStateResult> ModifyInstanceStateOutcome;
|
||||
typedef std::future<ModifyInstanceStateOutcome> ModifyInstanceStateOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ModifyInstanceStateRequest&, const ModifyInstanceStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceStateAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyMasterSpecResult> ModifyMasterSpecOutcome;
|
||||
typedef std::future<ModifyMasterSpecOutcome> ModifyMasterSpecOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ModifyMasterSpecRequest&, const ModifyMasterSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMasterSpecAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateClusterResult> CreateClusterOutcome;
|
||||
typedef std::future<CreateClusterOutcome> CreateClusterOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreateClusterRequest&, const CreateClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPackageResult> ListPackageOutcome;
|
||||
typedef std::future<ListPackageOutcome> ListPackageOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListPackageRequest&, const ListPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteQueueResult> DeleteQueueOutcome;
|
||||
typedef std::future<DeleteQueueOutcome> DeleteQueueOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::DeleteQueueRequest&, const DeleteQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePackageResult> UpdatePackageOutcome;
|
||||
typedef std::future<UpdatePackageOutcome> UpdatePackageOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::UpdatePackageRequest&, const UpdatePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCellClusterOrderResult> CreateCellClusterOrderOutcome;
|
||||
typedef std::future<CreateCellClusterOrderOutcome> CreateCellClusterOrderOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreateCellClusterOrderRequest&, const CreateCellClusterOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCellClusterOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::ShrinkClusterResult> ShrinkClusterOutcome;
|
||||
typedef std::future<ShrinkClusterOutcome> ShrinkClusterOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ShrinkClusterRequest&, const ShrinkClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ShrinkClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClusterResourceResult> GetClusterResourceOutcome;
|
||||
typedef std::future<GetClusterResourceOutcome> GetClusterResourceOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetClusterResourceRequest&, const GetClusterResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClusterResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectBindQueueResourceResult> ListProjectBindQueueResourceOutcome;
|
||||
typedef std::future<ListProjectBindQueueResourceOutcome> ListProjectBindQueueResourceOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListProjectBindQueueResourceRequest&, const ListProjectBindQueueResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectBindQueueResourceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobResult> GetJobOutcome;
|
||||
typedef std::future<GetJobOutcome> GetJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetJobRequest&, const GetJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
|
||||
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DestroyClusterResult> DestroyClusterOutcome;
|
||||
typedef std::future<DestroyClusterOutcome> DestroyClusterOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::DestroyClusterRequest&, const DestroyClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DestroyClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::OfflineJobResult> OfflineJobOutcome;
|
||||
typedef std::future<OfflineJobOutcome> OfflineJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::OfflineJobRequest&, const OfflineJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OfflineJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartJobResult> StartJobOutcome;
|
||||
typedef std::future<StartJobOutcome> StartJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::StartJobRequest&, const StartJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClusterDetailsResult> GetClusterDetailsOutcome;
|
||||
typedef std::future<GetClusterDetailsOutcome> GetClusterDetailsOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetClusterDetailsRequest&, const GetClusterDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClusterDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ValidateJobResult> ValidateJobOutcome;
|
||||
typedef std::future<ValidateJobOutcome> ValidateJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ValidateJobRequest&, const ValidateJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceConfigResult> GetInstanceConfigOutcome;
|
||||
typedef std::future<GetInstanceConfigOutcome> GetInstanceConfigOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceConfigRequest&, const GetInstanceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateJobResult> UpdateJobOutcome;
|
||||
typedef std::future<UpdateJobOutcome> UpdateJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::UpdateJobRequest&, const UpdateJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePackageResult> CreatePackageOutcome;
|
||||
typedef std::future<CreatePackageOutcome> CreatePackageOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreatePackageRequest&, const CreatePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteJobResult> DeleteJobOutcome;
|
||||
typedef std::future<DeleteJobOutcome> DeleteJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::DeleteJobRequest&, const DeleteJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListChildFolderResult> ListChildFolderOutcome;
|
||||
typedef std::future<ListChildFolderOutcome> ListChildFolderOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListChildFolderRequest&, const ListChildFolderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListChildFolderAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectResult> ListProjectOutcome;
|
||||
typedef std::future<ListProjectOutcome> ListProjectOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ListProjectRequest&, const ListProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExpandClusterResult> ExpandClusterOutcome;
|
||||
typedef std::future<ExpandClusterOutcome> ExpandClusterOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::ExpandClusterRequest&, const ExpandClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExpandClusterAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchGetInstanceRunSummaryResult> BatchGetInstanceRunSummaryOutcome;
|
||||
typedef std::future<BatchGetInstanceRunSummaryOutcome> BatchGetInstanceRunSummaryOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::BatchGetInstanceRunSummaryRequest&, const BatchGetInstanceRunSummaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchGetInstanceRunSummaryAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateQueueResult> CreateQueueOutcome;
|
||||
typedef std::future<CreateQueueOutcome> CreateQueueOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreateQueueRequest&, const CreateQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindQueueResult> UnbindQueueOutcome;
|
||||
typedef std::future<UnbindQueueOutcome> UnbindQueueOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::UnbindQueueRequest&, const UnbindQueueOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindQueueAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceCheckpointResult> GetInstanceCheckpointOutcome;
|
||||
typedef std::future<GetInstanceCheckpointOutcome> GetInstanceCheckpointOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceCheckpointRequest&, const GetInstanceCheckpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceCheckpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::CommitJobResult> CommitJobOutcome;
|
||||
typedef std::future<CommitJobOutcome> CommitJobOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CommitJobRequest&, const CommitJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CommitJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateFolderResult> CreateFolderOutcome;
|
||||
typedef std::future<CreateFolderOutcome> CreateFolderOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::CreateFolderRequest&, const CreateFolderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFolderAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceFinalStateResult> GetInstanceFinalStateOutcome;
|
||||
typedef std::future<GetInstanceFinalStateOutcome> GetInstanceFinalStateOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetInstanceFinalStateRequest&, const GetInstanceFinalStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceFinalStateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClusterEngineVersionsResult> GetClusterEngineVersionsOutcome;
|
||||
typedef std::future<GetClusterEngineVersionsOutcome> GetClusterEngineVersionsOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetClusterEngineVersionsRequest&, const GetClusterEngineVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClusterEngineVersionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobLatestAutoScalePlanResult> GetJobLatestAutoScalePlanOutcome;
|
||||
typedef std::future<GetJobLatestAutoScalePlanOutcome> GetJobLatestAutoScalePlanOutcomeCallable;
|
||||
typedef std::function<void(const FoasClient*, const Model::GetJobLatestAutoScalePlanRequest&, const GetJobLatestAutoScalePlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobLatestAutoScalePlanAsyncHandler;
|
||||
|
||||
FoasClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
FoasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
FoasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~FoasClient();
|
||||
ListInstanceOutcome listInstance(const Model::ListInstanceRequest &request)const;
|
||||
void listInstanceAsync(const Model::ListInstanceRequest& request, const ListInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListInstanceOutcomeCallable listInstanceCallable(const Model::ListInstanceRequest& request) const;
|
||||
UpdateAutoScaleConfigOutcome updateAutoScaleConfig(const Model::UpdateAutoScaleConfigRequest &request)const;
|
||||
void updateAutoScaleConfigAsync(const Model::UpdateAutoScaleConfigRequest& request, const UpdateAutoScaleConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAutoScaleConfigOutcomeCallable updateAutoScaleConfigCallable(const Model::UpdateAutoScaleConfigRequest& request) const;
|
||||
BindQueueOutcome bindQueue(const Model::BindQueueRequest &request)const;
|
||||
void bindQueueAsync(const Model::BindQueueRequest& request, const BindQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindQueueOutcomeCallable bindQueueCallable(const Model::BindQueueRequest& request) const;
|
||||
CalcPlanJsonResourceOutcome calcPlanJsonResource(const Model::CalcPlanJsonResourceRequest &request)const;
|
||||
void calcPlanJsonResourceAsync(const Model::CalcPlanJsonResourceRequest& request, const CalcPlanJsonResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CalcPlanJsonResourceOutcomeCallable calcPlanJsonResourceCallable(const Model::CalcPlanJsonResourceRequest& request) const;
|
||||
GetInstanceExceptionsOutcome getInstanceExceptions(const Model::GetInstanceExceptionsRequest &request)const;
|
||||
void getInstanceExceptionsAsync(const Model::GetInstanceExceptionsRequest& request, const GetInstanceExceptionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceExceptionsOutcomeCallable getInstanceExceptionsCallable(const Model::GetInstanceExceptionsRequest& request) const;
|
||||
ListJobOutcome listJob(const Model::ListJobRequest &request)const;
|
||||
void listJobAsync(const Model::ListJobRequest& request, const ListJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListJobOutcomeCallable listJobCallable(const Model::ListJobRequest& request) const;
|
||||
GetInstanceHistoryAutoScalePlanListOutcome getInstanceHistoryAutoScalePlanList(const Model::GetInstanceHistoryAutoScalePlanListRequest &request)const;
|
||||
void getInstanceHistoryAutoScalePlanListAsync(const Model::GetInstanceHistoryAutoScalePlanListRequest& request, const GetInstanceHistoryAutoScalePlanListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceHistoryAutoScalePlanListOutcomeCallable getInstanceHistoryAutoScalePlanListCallable(const Model::GetInstanceHistoryAutoScalePlanListRequest& request) const;
|
||||
DeleteFolderOutcome deleteFolder(const Model::DeleteFolderRequest &request)const;
|
||||
void deleteFolderAsync(const Model::DeleteFolderRequest& request, const DeleteFolderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFolderOutcomeCallable deleteFolderCallable(const Model::DeleteFolderRequest& request) const;
|
||||
GetInstanceVertexTaskManagersOutcome getInstanceVertexTaskManagers(const Model::GetInstanceVertexTaskManagersRequest &request)const;
|
||||
void getInstanceVertexTaskManagersAsync(const Model::GetInstanceVertexTaskManagersRequest& request, const GetInstanceVertexTaskManagersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceVertexTaskManagersOutcomeCallable getInstanceVertexTaskManagersCallable(const Model::GetInstanceVertexTaskManagersRequest& request) const;
|
||||
CreateJobOutcome createJob(const Model::CreateJobRequest &request)const;
|
||||
void createJobAsync(const Model::CreateJobRequest& request, const CreateJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateJobOutcomeCallable createJobCallable(const Model::CreateJobRequest& request) const;
|
||||
GetInstanceDetailOutcome getInstanceDetail(const Model::GetInstanceDetailRequest &request)const;
|
||||
void getInstanceDetailAsync(const Model::GetInstanceDetailRequest& request, const GetInstanceDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceDetailOutcomeCallable getInstanceDetailCallable(const Model::GetInstanceDetailRequest& request) const;
|
||||
GetFolderOutcome getFolder(const Model::GetFolderRequest &request)const;
|
||||
void getFolderAsync(const Model::GetFolderRequest& request, const GetFolderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetFolderOutcomeCallable getFolderCallable(const Model::GetFolderRequest& request) const;
|
||||
ListClusterOutcome listCluster(const Model::ListClusterRequest &request)const;
|
||||
void listClusterAsync(const Model::ListClusterRequest& request, const ListClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListClusterOutcomeCallable listClusterCallable(const Model::ListClusterRequest& request) const;
|
||||
MVFolderOutcome mVFolder(const Model::MVFolderRequest &request)const;
|
||||
void mVFolderAsync(const Model::MVFolderRequest& request, const MVFolderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MVFolderOutcomeCallable mVFolderCallable(const Model::MVFolderRequest& request) const;
|
||||
GetInstanceMetricOutcome getInstanceMetric(const Model::GetInstanceMetricRequest &request)const;
|
||||
void getInstanceMetricAsync(const Model::GetInstanceMetricRequest& request, const GetInstanceMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceMetricOutcomeCallable getInstanceMetricCallable(const Model::GetInstanceMetricRequest& request) const;
|
||||
CheckRawPlanJsonOutcome checkRawPlanJson(const Model::CheckRawPlanJsonRequest &request)const;
|
||||
void checkRawPlanJsonAsync(const Model::CheckRawPlanJsonRequest& request, const CheckRawPlanJsonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckRawPlanJsonOutcomeCallable checkRawPlanJsonCallable(const Model::CheckRawPlanJsonRequest& request) const;
|
||||
ListProjectBindQueueOutcome listProjectBindQueue(const Model::ListProjectBindQueueRequest &request)const;
|
||||
void listProjectBindQueueAsync(const Model::ListProjectBindQueueRequest& request, const ListProjectBindQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectBindQueueOutcomeCallable listProjectBindQueueCallable(const Model::ListProjectBindQueueRequest& request) const;
|
||||
GetClusterMetricsOutcome getClusterMetrics(const Model::GetClusterMetricsRequest &request)const;
|
||||
void getClusterMetricsAsync(const Model::GetClusterMetricsRequest& request, const GetClusterMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClusterMetricsOutcomeCallable getClusterMetricsCallable(const Model::GetClusterMetricsRequest& request) const;
|
||||
GetProjectOutcome getProject(const Model::GetProjectRequest &request)const;
|
||||
void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const;
|
||||
GetRawPlanJsonOutcome getRawPlanJson(const Model::GetRawPlanJsonRequest &request)const;
|
||||
void getRawPlanJsonAsync(const Model::GetRawPlanJsonRequest& request, const GetRawPlanJsonAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRawPlanJsonOutcomeCallable getRawPlanJsonCallable(const Model::GetRawPlanJsonRequest& request) const;
|
||||
GetInstanceResourceOutcome getInstanceResource(const Model::GetInstanceResourceRequest &request)const;
|
||||
void getInstanceResourceAsync(const Model::GetInstanceResourceRequest& request, const GetInstanceResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceResourceOutcomeCallable getInstanceResourceCallable(const Model::GetInstanceResourceRequest& request) const;
|
||||
GetClusterQueueInfoOutcome getClusterQueueInfo(const Model::GetClusterQueueInfoRequest &request)const;
|
||||
void getClusterQueueInfoAsync(const Model::GetClusterQueueInfoRequest& request, const GetClusterQueueInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClusterQueueInfoOutcomeCallable getClusterQueueInfoCallable(const Model::GetClusterQueueInfoRequest& request) const;
|
||||
GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const;
|
||||
void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const;
|
||||
GetInstanceRunSummaryOutcome getInstanceRunSummary(const Model::GetInstanceRunSummaryRequest &request)const;
|
||||
void getInstanceRunSummaryAsync(const Model::GetInstanceRunSummaryRequest& request, const GetInstanceRunSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceRunSummaryOutcomeCallable getInstanceRunSummaryCallable(const Model::GetInstanceRunSummaryRequest& request) const;
|
||||
DeletePackageOutcome deletePackage(const Model::DeletePackageRequest &request)const;
|
||||
void deletePackageAsync(const Model::DeletePackageRequest& request, const DeletePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePackageOutcomeCallable deletePackageCallable(const Model::DeletePackageRequest& request) const;
|
||||
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
|
||||
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const;
|
||||
GetPackageOutcome getPackage(const Model::GetPackageRequest &request)const;
|
||||
void getPackageAsync(const Model::GetPackageRequest& request, const GetPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPackageOutcomeCallable getPackageCallable(const Model::GetPackageRequest& request) const;
|
||||
GetInstanceHistoryAutoScalePlanContentOutcome getInstanceHistoryAutoScalePlanContent(const Model::GetInstanceHistoryAutoScalePlanContentRequest &request)const;
|
||||
void getInstanceHistoryAutoScalePlanContentAsync(const Model::GetInstanceHistoryAutoScalePlanContentRequest& request, const GetInstanceHistoryAutoScalePlanContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceHistoryAutoScalePlanContentOutcomeCallable getInstanceHistoryAutoScalePlanContentCallable(const Model::GetInstanceHistoryAutoScalePlanContentRequest& request) const;
|
||||
GetRefPackageJobOutcome getRefPackageJob(const Model::GetRefPackageJobRequest &request)const;
|
||||
void getRefPackageJobAsync(const Model::GetRefPackageJobRequest& request, const GetRefPackageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRefPackageJobOutcomeCallable getRefPackageJobCallable(const Model::GetRefPackageJobRequest& request) const;
|
||||
ModifyInstanceStateOutcome modifyInstanceState(const Model::ModifyInstanceStateRequest &request)const;
|
||||
void modifyInstanceStateAsync(const Model::ModifyInstanceStateRequest& request, const ModifyInstanceStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceStateOutcomeCallable modifyInstanceStateCallable(const Model::ModifyInstanceStateRequest& request) const;
|
||||
ModifyMasterSpecOutcome modifyMasterSpec(const Model::ModifyMasterSpecRequest &request)const;
|
||||
void modifyMasterSpecAsync(const Model::ModifyMasterSpecRequest& request, const ModifyMasterSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMasterSpecOutcomeCallable modifyMasterSpecCallable(const Model::ModifyMasterSpecRequest& request) const;
|
||||
CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const;
|
||||
void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const;
|
||||
ListPackageOutcome listPackage(const Model::ListPackageRequest &request)const;
|
||||
void listPackageAsync(const Model::ListPackageRequest& request, const ListPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPackageOutcomeCallable listPackageCallable(const Model::ListPackageRequest& request) const;
|
||||
DeleteQueueOutcome deleteQueue(const Model::DeleteQueueRequest &request)const;
|
||||
void deleteQueueAsync(const Model::DeleteQueueRequest& request, const DeleteQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteQueueOutcomeCallable deleteQueueCallable(const Model::DeleteQueueRequest& request) const;
|
||||
UpdatePackageOutcome updatePackage(const Model::UpdatePackageRequest &request)const;
|
||||
void updatePackageAsync(const Model::UpdatePackageRequest& request, const UpdatePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePackageOutcomeCallable updatePackageCallable(const Model::UpdatePackageRequest& request) const;
|
||||
CreateCellClusterOrderOutcome createCellClusterOrder(const Model::CreateCellClusterOrderRequest &request)const;
|
||||
void createCellClusterOrderAsync(const Model::CreateCellClusterOrderRequest& request, const CreateCellClusterOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCellClusterOrderOutcomeCallable createCellClusterOrderCallable(const Model::CreateCellClusterOrderRequest& request) const;
|
||||
ShrinkClusterOutcome shrinkCluster(const Model::ShrinkClusterRequest &request)const;
|
||||
void shrinkClusterAsync(const Model::ShrinkClusterRequest& request, const ShrinkClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ShrinkClusterOutcomeCallable shrinkClusterCallable(const Model::ShrinkClusterRequest& request) const;
|
||||
GetClusterResourceOutcome getClusterResource(const Model::GetClusterResourceRequest &request)const;
|
||||
void getClusterResourceAsync(const Model::GetClusterResourceRequest& request, const GetClusterResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClusterResourceOutcomeCallable getClusterResourceCallable(const Model::GetClusterResourceRequest& request) const;
|
||||
ListProjectBindQueueResourceOutcome listProjectBindQueueResource(const Model::ListProjectBindQueueResourceRequest &request)const;
|
||||
void listProjectBindQueueResourceAsync(const Model::ListProjectBindQueueResourceRequest& request, const ListProjectBindQueueResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectBindQueueResourceOutcomeCallable listProjectBindQueueResourceCallable(const Model::ListProjectBindQueueResourceRequest& request) const;
|
||||
GetJobOutcome getJob(const Model::GetJobRequest &request)const;
|
||||
void getJobAsync(const Model::GetJobRequest& request, const GetJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobOutcomeCallable getJobCallable(const Model::GetJobRequest& request) const;
|
||||
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
|
||||
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
|
||||
DestroyClusterOutcome destroyCluster(const Model::DestroyClusterRequest &request)const;
|
||||
void destroyClusterAsync(const Model::DestroyClusterRequest& request, const DestroyClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DestroyClusterOutcomeCallable destroyClusterCallable(const Model::DestroyClusterRequest& request) const;
|
||||
OfflineJobOutcome offlineJob(const Model::OfflineJobRequest &request)const;
|
||||
void offlineJobAsync(const Model::OfflineJobRequest& request, const OfflineJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
OfflineJobOutcomeCallable offlineJobCallable(const Model::OfflineJobRequest& request) const;
|
||||
StartJobOutcome startJob(const Model::StartJobRequest &request)const;
|
||||
void startJobAsync(const Model::StartJobRequest& request, const StartJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartJobOutcomeCallable startJobCallable(const Model::StartJobRequest& request) const;
|
||||
GetClusterDetailsOutcome getClusterDetails(const Model::GetClusterDetailsRequest &request)const;
|
||||
void getClusterDetailsAsync(const Model::GetClusterDetailsRequest& request, const GetClusterDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClusterDetailsOutcomeCallable getClusterDetailsCallable(const Model::GetClusterDetailsRequest& request) const;
|
||||
ValidateJobOutcome validateJob(const Model::ValidateJobRequest &request)const;
|
||||
void validateJobAsync(const Model::ValidateJobRequest& request, const ValidateJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ValidateJobOutcomeCallable validateJobCallable(const Model::ValidateJobRequest& request) const;
|
||||
GetInstanceConfigOutcome getInstanceConfig(const Model::GetInstanceConfigRequest &request)const;
|
||||
void getInstanceConfigAsync(const Model::GetInstanceConfigRequest& request, const GetInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceConfigOutcomeCallable getInstanceConfigCallable(const Model::GetInstanceConfigRequest& request) const;
|
||||
UpdateJobOutcome updateJob(const Model::UpdateJobRequest &request)const;
|
||||
void updateJobAsync(const Model::UpdateJobRequest& request, const UpdateJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateJobOutcomeCallable updateJobCallable(const Model::UpdateJobRequest& request) const;
|
||||
CreatePackageOutcome createPackage(const Model::CreatePackageRequest &request)const;
|
||||
void createPackageAsync(const Model::CreatePackageRequest& request, const CreatePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePackageOutcomeCallable createPackageCallable(const Model::CreatePackageRequest& request) const;
|
||||
DeleteJobOutcome deleteJob(const Model::DeleteJobRequest &request)const;
|
||||
void deleteJobAsync(const Model::DeleteJobRequest& request, const DeleteJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteJobOutcomeCallable deleteJobCallable(const Model::DeleteJobRequest& request) const;
|
||||
ListChildFolderOutcome listChildFolder(const Model::ListChildFolderRequest &request)const;
|
||||
void listChildFolderAsync(const Model::ListChildFolderRequest& request, const ListChildFolderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListChildFolderOutcomeCallable listChildFolderCallable(const Model::ListChildFolderRequest& request) const;
|
||||
ListProjectOutcome listProject(const Model::ListProjectRequest &request)const;
|
||||
void listProjectAsync(const Model::ListProjectRequest& request, const ListProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectOutcomeCallable listProjectCallable(const Model::ListProjectRequest& request) const;
|
||||
ExpandClusterOutcome expandCluster(const Model::ExpandClusterRequest &request)const;
|
||||
void expandClusterAsync(const Model::ExpandClusterRequest& request, const ExpandClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExpandClusterOutcomeCallable expandClusterCallable(const Model::ExpandClusterRequest& request) const;
|
||||
BatchGetInstanceRunSummaryOutcome batchGetInstanceRunSummary(const Model::BatchGetInstanceRunSummaryRequest &request)const;
|
||||
void batchGetInstanceRunSummaryAsync(const Model::BatchGetInstanceRunSummaryRequest& request, const BatchGetInstanceRunSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchGetInstanceRunSummaryOutcomeCallable batchGetInstanceRunSummaryCallable(const Model::BatchGetInstanceRunSummaryRequest& request) const;
|
||||
CreateQueueOutcome createQueue(const Model::CreateQueueRequest &request)const;
|
||||
void createQueueAsync(const Model::CreateQueueRequest& request, const CreateQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateQueueOutcomeCallable createQueueCallable(const Model::CreateQueueRequest& request) const;
|
||||
UnbindQueueOutcome unbindQueue(const Model::UnbindQueueRequest &request)const;
|
||||
void unbindQueueAsync(const Model::UnbindQueueRequest& request, const UnbindQueueAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindQueueOutcomeCallable unbindQueueCallable(const Model::UnbindQueueRequest& request) const;
|
||||
GetInstanceCheckpointOutcome getInstanceCheckpoint(const Model::GetInstanceCheckpointRequest &request)const;
|
||||
void getInstanceCheckpointAsync(const Model::GetInstanceCheckpointRequest& request, const GetInstanceCheckpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceCheckpointOutcomeCallable getInstanceCheckpointCallable(const Model::GetInstanceCheckpointRequest& request) const;
|
||||
CommitJobOutcome commitJob(const Model::CommitJobRequest &request)const;
|
||||
void commitJobAsync(const Model::CommitJobRequest& request, const CommitJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CommitJobOutcomeCallable commitJobCallable(const Model::CommitJobRequest& request) const;
|
||||
CreateFolderOutcome createFolder(const Model::CreateFolderRequest &request)const;
|
||||
void createFolderAsync(const Model::CreateFolderRequest& request, const CreateFolderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateFolderOutcomeCallable createFolderCallable(const Model::CreateFolderRequest& request) const;
|
||||
GetInstanceFinalStateOutcome getInstanceFinalState(const Model::GetInstanceFinalStateRequest &request)const;
|
||||
void getInstanceFinalStateAsync(const Model::GetInstanceFinalStateRequest& request, const GetInstanceFinalStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceFinalStateOutcomeCallable getInstanceFinalStateCallable(const Model::GetInstanceFinalStateRequest& request) const;
|
||||
GetClusterEngineVersionsOutcome getClusterEngineVersions(const Model::GetClusterEngineVersionsRequest &request)const;
|
||||
void getClusterEngineVersionsAsync(const Model::GetClusterEngineVersionsRequest& request, const GetClusterEngineVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClusterEngineVersionsOutcomeCallable getClusterEngineVersionsCallable(const Model::GetClusterEngineVersionsRequest& request) const;
|
||||
GetJobLatestAutoScalePlanOutcome getJobLatestAutoScalePlan(const Model::GetJobLatestAutoScalePlanRequest &request)const;
|
||||
void getJobLatestAutoScalePlanAsync(const Model::GetJobLatestAutoScalePlanRequest& request, const GetJobLatestAutoScalePlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobLatestAutoScalePlanOutcomeCallable getJobLatestAutoScalePlanCallable(const Model::GetJobLatestAutoScalePlanRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_FOAS_FOASCLIENT_H_
|
||||
32
foas/include/alibabacloud/foas/FoasExport.h
Normal file
32
foas/include/alibabacloud/foas/FoasExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_FOASEXPORT_H_
|
||||
#define ALIBABACLOUD_FOAS_FOASEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_FOAS_LIBRARY)
|
||||
# define ALIBABACLOUD_FOAS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_FOAS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_FOAS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_FOAS_FOASEXPORT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_BATCHGETINSTANCERUNSUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_BATCHGETINSTANCERUNSUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT BatchGetInstanceRunSummaryRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchGetInstanceRunSummaryRequest();
|
||||
~BatchGetInstanceRunSummaryRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobNames()const;
|
||||
void setJobNames(const std::string& jobNames);
|
||||
std::string getJobType()const;
|
||||
void setJobType(const std::string& jobType);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string jobNames_;
|
||||
std::string jobType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_BATCHGETINSTANCERUNSUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_BATCHGETINSTANCERUNSUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_BATCHGETINSTANCERUNSUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT BatchGetInstanceRunSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RunSummary
|
||||
{
|
||||
std::string actualState;
|
||||
long lastErrorTime;
|
||||
std::string engineJobHandler;
|
||||
std::string lastErrorMessage;
|
||||
std::string expectState;
|
||||
std::string jobName;
|
||||
long id;
|
||||
long inputDelay;
|
||||
};
|
||||
|
||||
|
||||
BatchGetInstanceRunSummaryResult();
|
||||
explicit BatchGetInstanceRunSummaryResult(const std::string &payload);
|
||||
~BatchGetInstanceRunSummaryResult();
|
||||
std::vector<RunSummary> getRunSummarys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<RunSummary> runSummarys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_BATCHGETINSTANCERUNSUMMARYRESULT_H_
|
||||
57
foas/include/alibabacloud/foas/model/BindQueueRequest.h
Normal file
57
foas/include/alibabacloud/foas/model/BindQueueRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_BINDQUEUEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_BINDQUEUEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT BindQueueRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindQueueRequest();
|
||||
~BindQueueRequest();
|
||||
|
||||
std::string getQueueName()const;
|
||||
void setQueueName(const std::string& queueName);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string queueName_;
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_BINDQUEUEREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/BindQueueResult.h
Normal file
49
foas/include/alibabacloud/foas/model/BindQueueResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_BINDQUEUERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_BINDQUEUERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT BindQueueResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindQueueResult();
|
||||
explicit BindQueueResult(const std::string &payload);
|
||||
~BindQueueResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_BINDQUEUERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CALCPLANJSONRESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CALCPLANJSONRESOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CalcPlanJsonResourceRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CalcPlanJsonResourceRequest();
|
||||
~CalcPlanJsonResourceRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CALCPLANJSONRESOURCEREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CALCPLANJSONRESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CALCPLANJSONRESOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CalcPlanJsonResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PlanJsonResource
|
||||
{
|
||||
float cores;
|
||||
float memoryGB;
|
||||
};
|
||||
|
||||
|
||||
CalcPlanJsonResourceResult();
|
||||
explicit CalcPlanJsonResourceResult(const std::string &payload);
|
||||
~CalcPlanJsonResourceResult();
|
||||
PlanJsonResource getPlanJsonResource()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PlanJsonResource planJsonResource_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CALCPLANJSONRESOURCERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CHECKRAWPLANJSONREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CHECKRAWPLANJSONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CheckRawPlanJsonRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckRawPlanJsonRequest();
|
||||
~CheckRawPlanJsonRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSessionId()const;
|
||||
void setSessionId(const std::string& sessionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string sessionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CHECKRAWPLANJSONREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CHECKRAWPLANJSONRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CHECKRAWPLANJSONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CheckRawPlanJsonResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PlanJsonInfo
|
||||
{
|
||||
std::string status;
|
||||
std::string planJson;
|
||||
std::string errorMessage;
|
||||
};
|
||||
|
||||
|
||||
CheckRawPlanJsonResult();
|
||||
explicit CheckRawPlanJsonResult(const std::string &payload);
|
||||
~CheckRawPlanJsonResult();
|
||||
PlanJsonInfo getPlanJsonInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PlanJsonInfo planJsonInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CHECKRAWPLANJSONRESULT_H_
|
||||
63
foas/include/alibabacloud/foas/model/CommitJobRequest.h
Normal file
63
foas/include/alibabacloud/foas/model/CommitJobRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_COMMITJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_COMMITJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CommitJobRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CommitJobRequest();
|
||||
~CommitJobRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
float getMaxCU()const;
|
||||
void setMaxCU(float maxCU);
|
||||
std::string getConfigure()const;
|
||||
void setConfigure(const std::string& configure);
|
||||
bool getIsOnOff()const;
|
||||
void setIsOnOff(bool isOnOff);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
float maxCU_;
|
||||
std::string configure_;
|
||||
bool isOnOff_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_COMMITJOBREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/CommitJobResult.h
Normal file
49
foas/include/alibabacloud/foas/model/CommitJobResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_COMMITJOBRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_COMMITJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CommitJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CommitJobResult();
|
||||
explicit CommitJobResult(const std::string &payload);
|
||||
~CommitJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_COMMITJOBRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATECELLCLUSTERORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATECELLCLUSTERORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateCellClusterOrderRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCellClusterOrderRequest();
|
||||
~CreateCellClusterOrderRequest();
|
||||
|
||||
int getPeriod()const;
|
||||
void setPeriod(int period);
|
||||
int getSlaveNum()const;
|
||||
void setSlaveNum(int slaveNum);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSlaveSpec()const;
|
||||
void setSlaveSpec(const std::string& slaveSpec);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
int getMasterNum()const;
|
||||
void setMasterNum(int masterNum);
|
||||
std::string getMasterSpec()const;
|
||||
void setMasterSpec(const std::string& masterSpec);
|
||||
std::string getPayModel()const;
|
||||
void setPayModel(const std::string& payModel);
|
||||
|
||||
private:
|
||||
int period_;
|
||||
int slaveNum_;
|
||||
std::string regionId_;
|
||||
std::string slaveSpec_;
|
||||
std::string region_;
|
||||
int masterNum_;
|
||||
std::string masterSpec_;
|
||||
std::string payModel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATECELLCLUSTERORDERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATECELLCLUSTERORDERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATECELLCLUSTERORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateCellClusterOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCellClusterOrderResult();
|
||||
explicit CreateCellClusterOrderResult(const std::string &payload);
|
||||
~CreateCellClusterOrderResult();
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATECELLCLUSTERORDERRESULT_H_
|
||||
69
foas/include/alibabacloud/foas/model/CreateClusterRequest.h
Normal file
69
foas/include/alibabacloud/foas/model/CreateClusterRequest.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATECLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATECLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateClusterRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateClusterRequest();
|
||||
~CreateClusterRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOrderId()const;
|
||||
void setOrderId(const std::string& orderId);
|
||||
std::string getUserOssBucket()const;
|
||||
void setUserOssBucket(const std::string& userOssBucket);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
std::string getUserVpcId()const;
|
||||
void setUserVpcId(const std::string& userVpcId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getUserVSwitch()const;
|
||||
void setUserVSwitch(const std::string& userVSwitch);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string orderId_;
|
||||
std::string userOssBucket_;
|
||||
std::string displayName_;
|
||||
std::string userVpcId_;
|
||||
std::string zoneId_;
|
||||
std::string description_;
|
||||
std::string userVSwitch_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATECLUSTERREQUEST_H_
|
||||
51
foas/include/alibabacloud/foas/model/CreateClusterResult.h
Normal file
51
foas/include/alibabacloud/foas/model/CreateClusterResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATECLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATECLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateClusterResult();
|
||||
explicit CreateClusterResult(const std::string &payload);
|
||||
~CreateClusterResult();
|
||||
std::string getClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATECLUSTERRESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/CreateFolderRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/CreateFolderRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEFOLDERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEFOLDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateFolderRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateFolderRequest();
|
||||
~CreateFolderRequest();
|
||||
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string path_;
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEFOLDERREQUEST_H_
|
||||
51
foas/include/alibabacloud/foas/model/CreateFolderResult.h
Normal file
51
foas/include/alibabacloud/foas/model/CreateFolderResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEFOLDERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEFOLDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateFolderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateFolderResult();
|
||||
explicit CreateFolderResult(const std::string &payload);
|
||||
~CreateFolderResult();
|
||||
long getFolderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long folderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEFOLDERRESULT_H_
|
||||
87
foas/include/alibabacloud/foas/model/CreateJobRequest.h
Normal file
87
foas/include/alibabacloud/foas/model/CreateJobRequest.h
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateJobRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateJobRequest();
|
||||
~CreateJobRequest();
|
||||
|
||||
std::string getQueueName()const;
|
||||
void setQueueName(const std::string& queueName);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getCode()const;
|
||||
void setCode(const std::string& code);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getEngineVersion()const;
|
||||
void setEngineVersion(const std::string& engineVersion);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getPackages()const;
|
||||
void setPackages(const std::string& packages);
|
||||
std::string getJobType()const;
|
||||
void setJobType(const std::string& jobType);
|
||||
std::string getApiType()const;
|
||||
void setApiType(const std::string& apiType);
|
||||
long getFolderId()const;
|
||||
void setFolderId(long folderId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPlanJson()const;
|
||||
void setPlanJson(const std::string& planJson);
|
||||
std::string getProperties()const;
|
||||
void setProperties(const std::string& properties);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string queueName_;
|
||||
std::string projectName_;
|
||||
std::string code_;
|
||||
std::string description_;
|
||||
std::string engineVersion_;
|
||||
std::string clusterId_;
|
||||
std::string packages_;
|
||||
std::string jobType_;
|
||||
std::string apiType_;
|
||||
long folderId_;
|
||||
std::string regionId_;
|
||||
std::string planJson_;
|
||||
std::string properties_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEJOBREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/CreateJobResult.h
Normal file
49
foas/include/alibabacloud/foas/model/CreateJobResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateJobResult();
|
||||
explicit CreateJobResult(const std::string &payload);
|
||||
~CreateJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEJOBRESULT_H_
|
||||
81
foas/include/alibabacloud/foas/model/CreatePackageRequest.h
Normal file
81
foas/include/alibabacloud/foas/model/CreatePackageRequest.h
Normal file
@@ -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_FOAS_MODEL_CREATEPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreatePackageRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePackageRequest();
|
||||
~CreatePackageRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getOssBucket()const;
|
||||
void setOssBucket(const std::string& ossBucket);
|
||||
std::string getOssOwner()const;
|
||||
void setOssOwner(const std::string& ossOwner);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPackageName()const;
|
||||
void setPackageName(const std::string& packageName);
|
||||
std::string getOssEndpoint()const;
|
||||
void setOssEndpoint(const std::string& ossEndpoint);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getTag()const;
|
||||
void setTag(const std::string& tag);
|
||||
std::string getOriginName()const;
|
||||
void setOriginName(const std::string& originName);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getOssPath()const;
|
||||
void setOssPath(const std::string& ossPath);
|
||||
std::string getMd5()const;
|
||||
void setMd5(const std::string& md5);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string ossBucket_;
|
||||
std::string ossOwner_;
|
||||
std::string regionId_;
|
||||
std::string packageName_;
|
||||
std::string ossEndpoint_;
|
||||
std::string description_;
|
||||
std::string tag_;
|
||||
std::string originName_;
|
||||
std::string type_;
|
||||
std::string ossPath_;
|
||||
std::string md5_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEPACKAGEREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/CreatePackageResult.h
Normal file
49
foas/include/alibabacloud/foas/model/CreatePackageResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreatePackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePackageResult();
|
||||
explicit CreatePackageResult(const std::string &payload);
|
||||
~CreatePackageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEPACKAGERESULT_H_
|
||||
66
foas/include/alibabacloud/foas/model/CreateProjectRequest.h
Normal file
66
foas/include/alibabacloud/foas/model/CreateProjectRequest.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateProjectRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateProjectRequest();
|
||||
~CreateProjectRequest();
|
||||
|
||||
std::string getManagerIds()const;
|
||||
void setManagerIds(const std::string& managerIds);
|
||||
std::string getOrderId()const;
|
||||
void setOrderId(const std::string& orderId);
|
||||
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 getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getDeployType()const;
|
||||
void setDeployType(const std::string& deployType);
|
||||
|
||||
private:
|
||||
std::string managerIds_;
|
||||
std::string orderId_;
|
||||
std::string regionId_;
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
std::string clusterId_;
|
||||
std::string deployType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEPROJECTREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/CreateProjectResult.h
Normal file
49
foas/include/alibabacloud/foas/model/CreateProjectResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateProjectResult();
|
||||
explicit CreateProjectResult(const std::string &payload);
|
||||
~CreateProjectResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEPROJECTRESULT_H_
|
||||
63
foas/include/alibabacloud/foas/model/CreateQueueRequest.h
Normal file
63
foas/include/alibabacloud/foas/model/CreateQueueRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEQUEUEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEQUEUEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateQueueRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateQueueRequest();
|
||||
~CreateQueueRequest();
|
||||
|
||||
std::string getQueueName()const;
|
||||
void setQueueName(const std::string& queueName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getMaxMemMB()const;
|
||||
void setMaxMemMB(int maxMemMB);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
int getGpu()const;
|
||||
void setGpu(int gpu);
|
||||
int getMaxVcore()const;
|
||||
void setMaxVcore(int maxVcore);
|
||||
|
||||
private:
|
||||
std::string queueName_;
|
||||
std::string regionId_;
|
||||
int maxMemMB_;
|
||||
std::string clusterId_;
|
||||
int gpu_;
|
||||
int maxVcore_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEQUEUEREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/CreateQueueResult.h
Normal file
49
foas/include/alibabacloud/foas/model/CreateQueueResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_CREATEQUEUERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_CREATEQUEUERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT CreateQueueResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateQueueResult();
|
||||
explicit CreateQueueResult(const std::string &payload);
|
||||
~CreateQueueResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_CREATEQUEUERESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/DeleteFolderRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/DeleteFolderRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEFOLDERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEFOLDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteFolderRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteFolderRequest();
|
||||
~DeleteFolderRequest();
|
||||
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string path_;
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEFOLDERREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/DeleteFolderResult.h
Normal file
49
foas/include/alibabacloud/foas/model/DeleteFolderResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEFOLDERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEFOLDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteFolderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteFolderResult();
|
||||
explicit DeleteFolderResult(const std::string &payload);
|
||||
~DeleteFolderResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEFOLDERRESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/DeleteJobRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/DeleteJobRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteJobRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteJobRequest();
|
||||
~DeleteJobRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEJOBREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/DeleteJobResult.h
Normal file
49
foas/include/alibabacloud/foas/model/DeleteJobResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteJobResult();
|
||||
explicit DeleteJobResult(const std::string &payload);
|
||||
~DeleteJobResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEJOBRESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/DeletePackageRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/DeletePackageRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeletePackageRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeletePackageRequest();
|
||||
~DeletePackageRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPackageName()const;
|
||||
void setPackageName(const std::string& packageName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string packageName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEPACKAGEREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/DeletePackageResult.h
Normal file
49
foas/include/alibabacloud/foas/model/DeletePackageResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeletePackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeletePackageResult();
|
||||
explicit DeletePackageResult(const std::string &payload);
|
||||
~DeletePackageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEPACKAGERESULT_H_
|
||||
51
foas/include/alibabacloud/foas/model/DeleteProjectRequest.h
Normal file
51
foas/include/alibabacloud/foas/model/DeleteProjectRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteProjectRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteProjectRequest();
|
||||
~DeleteProjectRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEPROJECTREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/DeleteProjectResult.h
Normal file
49
foas/include/alibabacloud/foas/model/DeleteProjectResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteProjectResult();
|
||||
explicit DeleteProjectResult(const std::string &payload);
|
||||
~DeleteProjectResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEPROJECTRESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/DeleteQueueRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/DeleteQueueRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEQUEUEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEQUEUEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteQueueRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteQueueRequest();
|
||||
~DeleteQueueRequest();
|
||||
|
||||
std::string getQueueName()const;
|
||||
void setQueueName(const std::string& queueName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string queueName_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEQUEUEREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/DeleteQueueResult.h
Normal file
49
foas/include/alibabacloud/foas/model/DeleteQueueResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DELETEQUEUERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DELETEQUEUERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DeleteQueueResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteQueueResult();
|
||||
explicit DeleteQueueResult(const std::string &payload);
|
||||
~DeleteQueueResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DELETEQUEUERESULT_H_
|
||||
51
foas/include/alibabacloud/foas/model/DestroyClusterRequest.h
Normal file
51
foas/include/alibabacloud/foas/model/DestroyClusterRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DESTROYCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DESTROYCLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DestroyClusterRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DestroyClusterRequest();
|
||||
~DestroyClusterRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DESTROYCLUSTERREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/DestroyClusterResult.h
Normal file
49
foas/include/alibabacloud/foas/model/DestroyClusterResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_DESTROYCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_DESTROYCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT DestroyClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DestroyClusterResult();
|
||||
explicit DestroyClusterResult(const std::string &payload);
|
||||
~DestroyClusterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_DESTROYCLUSTERRESULT_H_
|
||||
60
foas/include/alibabacloud/foas/model/ExpandClusterRequest.h
Normal file
60
foas/include/alibabacloud/foas/model/ExpandClusterRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_EXPANDCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_EXPANDCLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ExpandClusterRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ExpandClusterRequest();
|
||||
~ExpandClusterRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getCount()const;
|
||||
void setCount(int count);
|
||||
std::string getModel()const;
|
||||
void setModel(const std::string& model);
|
||||
std::string getUserVSwitch()const;
|
||||
void setUserVSwitch(const std::string& userVSwitch);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
int count_;
|
||||
std::string model_;
|
||||
std::string userVSwitch_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_EXPANDCLUSTERREQUEST_H_
|
||||
49
foas/include/alibabacloud/foas/model/ExpandClusterResult.h
Normal file
49
foas/include/alibabacloud/foas/model/ExpandClusterResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_EXPANDCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_EXPANDCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ExpandClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ExpandClusterResult();
|
||||
explicit ExpandClusterResult(const std::string &payload);
|
||||
~ExpandClusterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_EXPANDCLUSTERRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterDetailsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetClusterDetailsRequest();
|
||||
~GetClusterDetailsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERDETAILSREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Details
|
||||
{
|
||||
std::string userOssInfo;
|
||||
std::string description;
|
||||
std::string storageType;
|
||||
std::string zoneId;
|
||||
std::string clusterId;
|
||||
std::string userVSwitchList;
|
||||
bool isMixDeploy;
|
||||
long gmtModified;
|
||||
std::string _operator;
|
||||
std::string userSGId;
|
||||
std::string instanceInfos;
|
||||
long gmtCreate;
|
||||
std::string ownerId;
|
||||
std::string state;
|
||||
std::string userVpcId;
|
||||
std::string displayName;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
GetClusterDetailsResult();
|
||||
explicit GetClusterDetailsResult(const std::string &payload);
|
||||
~GetClusterDetailsResult();
|
||||
Details getDetails()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Details details_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERDETAILSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERENGINEVERSIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERENGINEVERSIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterEngineVersionsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetClusterEngineVersionsRequest();
|
||||
~GetClusterEngineVersionsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERENGINEVERSIONSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERENGINEVERSIONSRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERENGINEVERSIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterEngineVersionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetClusterEngineVersionsResult();
|
||||
explicit GetClusterEngineVersionsResult(const std::string &payload);
|
||||
~GetClusterEngineVersionsResult();
|
||||
std::vector<std::string> getEngineVersions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> engineVersions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERENGINEVERSIONSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERMETRICSREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERMETRICSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterMetricsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetClusterMetricsRequest();
|
||||
~GetClusterMetricsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getMetricJson()const;
|
||||
void setMetricJson(const std::string& metricJson);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
std::string metricJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERMETRICSREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERMETRICSRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERMETRICSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterMetricsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Metric
|
||||
{
|
||||
std::string metricName;
|
||||
std::string dps;
|
||||
float summary;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
GetClusterMetricsResult();
|
||||
explicit GetClusterMetricsResult(const std::string &payload);
|
||||
~GetClusterMetricsResult();
|
||||
std::vector<Metric> getMetrics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Metric> metrics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERMETRICSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERQUEUEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERQUEUEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterQueueInfoRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetClusterQueueInfoRequest();
|
||||
~GetClusterQueueInfoRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERQUEUEINFOREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERQUEUEINFORESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERQUEUEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterQueueInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Queue
|
||||
{
|
||||
int maxMem;
|
||||
int usedGpu;
|
||||
int usedMem;
|
||||
std::string clusterId;
|
||||
int minGpu;
|
||||
int maxVCore;
|
||||
int minVCore;
|
||||
int maxGpu;
|
||||
int minMem;
|
||||
std::string queueName;
|
||||
int usedVCore;
|
||||
};
|
||||
|
||||
|
||||
GetClusterQueueInfoResult();
|
||||
explicit GetClusterQueueInfoResult(const std::string &payload);
|
||||
~GetClusterQueueInfoResult();
|
||||
std::vector<Queue> getQueues()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Queue> queues_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERQUEUEINFORESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERRESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERRESOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterResourceRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetClusterResourceRequest();
|
||||
~GetClusterResourceRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERRESOURCEREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETCLUSTERRESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETCLUSTERRESOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetClusterResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
long totalVirtualCores;
|
||||
long allocatedMB;
|
||||
long allocatedVirtualCores;
|
||||
long availableVirtualCores;
|
||||
long totalMB;
|
||||
long availableMB;
|
||||
};
|
||||
|
||||
|
||||
GetClusterResourceResult();
|
||||
explicit GetClusterResourceResult(const std::string &payload);
|
||||
~GetClusterResourceResult();
|
||||
Resource getResource()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Resource resource_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETCLUSTERRESOURCERESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/GetFolderRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/GetFolderRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETFOLDERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETFOLDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetFolderRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetFolderRequest();
|
||||
~GetFolderRequest();
|
||||
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string path_;
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETFOLDERREQUEST_H_
|
||||
56
foas/include/alibabacloud/foas/model/GetFolderResult.h
Normal file
56
foas/include/alibabacloud/foas/model/GetFolderResult.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETFOLDERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETFOLDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetFolderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Folder
|
||||
{
|
||||
std::string path;
|
||||
long folderId;
|
||||
};
|
||||
|
||||
|
||||
GetFolderResult();
|
||||
explicit GetFolderResult(const std::string &payload);
|
||||
~GetFolderResult();
|
||||
Folder getFolder()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Folder folder_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETFOLDERRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCECHECKPOINTREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCECHECKPOINTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceCheckpointRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceCheckpointRequest();
|
||||
~GetInstanceCheckpointRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCECHECKPOINTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCECHECKPOINTRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCECHECKPOINTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceCheckpointResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceCheckpointResult();
|
||||
explicit GetInstanceCheckpointResult(const std::string &payload);
|
||||
~GetInstanceCheckpointResult();
|
||||
std::string getCheckpoints()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string checkpoints_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCECHECKPOINTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceConfigRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceConfigRequest();
|
||||
~GetInstanceConfigRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceConfigResult();
|
||||
explicit GetInstanceConfigResult(const std::string &payload);
|
||||
~GetInstanceConfigResult();
|
||||
std::string getConfig()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string config_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCECONFIGRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceDetailRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceDetailRequest();
|
||||
~GetInstanceDetailRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEDETAILREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceDetailResult();
|
||||
explicit GetInstanceDetailResult(const std::string &payload);
|
||||
~GetInstanceDetailResult();
|
||||
std::string getDetail()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string detail_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEDETAILRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEEXCEPTIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEEXCEPTIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceExceptionsRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceExceptionsRequest();
|
||||
~GetInstanceExceptionsRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEEXCEPTIONSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEEXCEPTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEEXCEPTIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceExceptionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceExceptionsResult();
|
||||
explicit GetInstanceExceptionsResult(const std::string &payload);
|
||||
~GetInstanceExceptionsResult();
|
||||
std::string getExceptions()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string exceptions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEEXCEPTIONSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEFINALSTATEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEFINALSTATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceFinalStateRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceFinalStateRequest();
|
||||
~GetInstanceFinalStateRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEFINALSTATEREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEFINALSTATERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEFINALSTATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceFinalStateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceFinalStateResult();
|
||||
explicit GetInstanceFinalStateResult(const std::string &payload);
|
||||
~GetInstanceFinalStateResult();
|
||||
std::string getFinalstate()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string finalstate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEFINALSTATERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANCONTENTREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANCONTENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceHistoryAutoScalePlanContentRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceHistoryAutoScalePlanContentRequest();
|
||||
~GetInstanceHistoryAutoScalePlanContentRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPlanName()const;
|
||||
void setPlanName(const std::string& planName);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string planName_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANCONTENTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANCONTENTRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANCONTENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceHistoryAutoScalePlanContentResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceHistoryAutoScalePlanContentResult();
|
||||
explicit GetInstanceHistoryAutoScalePlanContentResult(const std::string &payload);
|
||||
~GetInstanceHistoryAutoScalePlanContentResult();
|
||||
std::string getPlanContent()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string planContent_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANCONTENTRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceHistoryAutoScalePlanListRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceHistoryAutoScalePlanListRequest();
|
||||
~GetInstanceHistoryAutoScalePlanListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANLISTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANLISTRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceHistoryAutoScalePlanListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceHistoryAutoScalePlanListResult();
|
||||
explicit GetInstanceHistoryAutoScalePlanListResult(const std::string &payload);
|
||||
~GetInstanceHistoryAutoScalePlanListResult();
|
||||
std::vector<std::string> getPlanList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> planList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEHISTORYAUTOSCALEPLANLISTRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEMETRICREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEMETRICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceMetricRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceMetricRequest();
|
||||
~GetInstanceMetricRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getMetricJson()const;
|
||||
void setMetricJson(const std::string& metricJson);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string metricJson_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEMETRICREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEMETRICRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEMETRICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceMetricResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Metric
|
||||
{
|
||||
std::string metricName;
|
||||
std::string dps;
|
||||
float summary;
|
||||
std::string tags;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceMetricResult();
|
||||
explicit GetInstanceMetricResult(const std::string &payload);
|
||||
~GetInstanceMetricResult();
|
||||
std::vector<Metric> getMetrics()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Metric> metrics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEMETRICRESULT_H_
|
||||
57
foas/include/alibabacloud/foas/model/GetInstanceRequest.h
Normal file
57
foas/include/alibabacloud/foas/model/GetInstanceRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceRequest();
|
||||
~GetInstanceRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESOURCEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESOURCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceResourceRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceResourceRequest();
|
||||
~GetInstanceResourceRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESOURCEREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESOURCERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESOURCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceResourceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
long totalVirtualCores;
|
||||
long allocatedMB;
|
||||
long allocatedVirtualCores;
|
||||
long totalMB;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceResourceResult();
|
||||
explicit GetInstanceResourceResult(const std::string &payload);
|
||||
~GetInstanceResourceResult();
|
||||
Resource getResource()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Resource resource_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESOURCERESULT_H_
|
||||
77
foas/include/alibabacloud/foas/model/GetInstanceResult.h
Normal file
77
foas/include/alibabacloud/foas/model/GetInstanceResult.h
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string lastErrorMessage;
|
||||
std::string expectState;
|
||||
std::string engineVersion;
|
||||
long endTime;
|
||||
std::string projectName;
|
||||
std::string clusterId;
|
||||
std::string planJson;
|
||||
std::string jobName;
|
||||
long startTime;
|
||||
std::string properties;
|
||||
std::string starter;
|
||||
long inputDelay;
|
||||
std::string code;
|
||||
std::string actualState;
|
||||
long lastErrorTime;
|
||||
std::string engineJobHandler;
|
||||
std::string jobType;
|
||||
std::string lastOperator;
|
||||
std::string packages;
|
||||
std::string apiType;
|
||||
long id;
|
||||
long lastOperateTime;
|
||||
std::string queueName;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceResult();
|
||||
explicit GetInstanceResult(const std::string &payload);
|
||||
~GetInstanceResult();
|
||||
Instance getInstance()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Instance instance_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCERUNSUMMARYREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCERUNSUMMARYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceRunSummaryRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceRunSummaryRequest();
|
||||
~GetInstanceRunSummaryRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCERUNSUMMARYREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCERUNSUMMARYRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCERUNSUMMARYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceRunSummaryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RunSummary
|
||||
{
|
||||
std::string actualState;
|
||||
long lastErrorTime;
|
||||
std::string engineJobHandler;
|
||||
std::string lastErrorMessage;
|
||||
std::string expectState;
|
||||
std::string jobName;
|
||||
long id;
|
||||
long inputDelay;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceRunSummaryResult();
|
||||
explicit GetInstanceRunSummaryResult(const std::string &payload);
|
||||
~GetInstanceRunSummaryResult();
|
||||
RunSummary getRunSummary()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
RunSummary runSummary_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCERUNSUMMARYRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEVERTEXTASKMANAGERSREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEVERTEXTASKMANAGERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceVertexTaskManagersRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetInstanceVertexTaskManagersRequest();
|
||||
~GetInstanceVertexTaskManagersRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getInstanceId()const;
|
||||
void setInstanceId(long instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getVertexId()const;
|
||||
void setVertexId(const std::string& vertexId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long instanceId_;
|
||||
std::string regionId_;
|
||||
std::string vertexId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEVERTEXTASKMANAGERSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETINSTANCEVERTEXTASKMANAGERSRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETINSTANCEVERTEXTASKMANAGERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetInstanceVertexTaskManagersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetInstanceVertexTaskManagersResult();
|
||||
explicit GetInstanceVertexTaskManagersResult(const std::string &payload);
|
||||
~GetInstanceVertexTaskManagersResult();
|
||||
std::string getTaskManagers()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskManagers_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETINSTANCEVERTEXTASKMANAGERSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETJOBLATESTAUTOSCALEPLANREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETJOBLATESTAUTOSCALEPLANREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetJobLatestAutoScalePlanRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobLatestAutoScalePlanRequest();
|
||||
~GetJobLatestAutoScalePlanRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETJOBLATESTAUTOSCALEPLANREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETJOBLATESTAUTOSCALEPLANRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETJOBLATESTAUTOSCALEPLANRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetJobLatestAutoScalePlanResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetJobLatestAutoScalePlanResult();
|
||||
explicit GetJobLatestAutoScalePlanResult(const std::string &payload);
|
||||
~GetJobLatestAutoScalePlanResult();
|
||||
std::string getPlanJson()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string planJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETJOBLATESTAUTOSCALEPLANRESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/GetJobRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/GetJobRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetJobRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobRequest();
|
||||
~GetJobRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETJOBREQUEST_H_
|
||||
73
foas/include/alibabacloud/foas/model/GetJobResult.h
Normal file
73
foas/include/alibabacloud/foas/model/GetJobResult.h
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETJOBRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
long modifyTime;
|
||||
std::string description;
|
||||
std::string engineVersion;
|
||||
std::string projectName;
|
||||
std::string clusterId;
|
||||
std::string planJson;
|
||||
long createTime;
|
||||
std::string jobName;
|
||||
std::string creator;
|
||||
long folderId;
|
||||
std::string properties;
|
||||
std::string code;
|
||||
std::string jobType;
|
||||
std::string packages;
|
||||
std::string apiType;
|
||||
bool isCommitted;
|
||||
std::string modifier;
|
||||
std::string queueName;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
GetJobResult();
|
||||
explicit GetJobResult(const std::string &payload);
|
||||
~GetJobResult();
|
||||
Job getJob()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Job job_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETJOBRESULT_H_
|
||||
54
foas/include/alibabacloud/foas/model/GetPackageRequest.h
Normal file
54
foas/include/alibabacloud/foas/model/GetPackageRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetPackageRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPackageRequest();
|
||||
~GetPackageRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPackageName()const;
|
||||
void setPackageName(const std::string& packageName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string packageName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETPACKAGEREQUEST_H_
|
||||
69
foas/include/alibabacloud/foas/model/GetPackageResult.h
Normal file
69
foas/include/alibabacloud/foas/model/GetPackageResult.h
Normal file
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETPACKAGERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETPACKAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetPackageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Package
|
||||
{
|
||||
long modifyTime;
|
||||
std::string description;
|
||||
std::string projectName;
|
||||
std::string packageName;
|
||||
long createTime;
|
||||
std::string ossBucket;
|
||||
std::string creator;
|
||||
std::string originName;
|
||||
std::string type;
|
||||
std::string ossOwner;
|
||||
std::string ossEndpoint;
|
||||
std::string ossPath;
|
||||
std::string tag;
|
||||
std::string modifier;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
GetPackageResult();
|
||||
explicit GetPackageResult(const std::string &payload);
|
||||
~GetPackageResult();
|
||||
Package getPackage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Package package_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETPACKAGERESULT_H_
|
||||
51
foas/include/alibabacloud/foas/model/GetProjectRequest.h
Normal file
51
foas/include/alibabacloud/foas/model/GetProjectRequest.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETPROJECTREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETPROJECTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetProjectRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetProjectRequest();
|
||||
~GetProjectRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETPROJECTREQUEST_H_
|
||||
66
foas/include/alibabacloud/foas/model/GetProjectResult.h
Normal file
66
foas/include/alibabacloud/foas/model/GetProjectResult.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETPROJECTRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETPROJECTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetProjectResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Project
|
||||
{
|
||||
std::string deployType;
|
||||
long modifyTime;
|
||||
std::string managerIds;
|
||||
std::string description;
|
||||
std::string clusterId;
|
||||
std::string state;
|
||||
long createTime;
|
||||
std::string region;
|
||||
std::string creator;
|
||||
std::string id;
|
||||
std::string modifier;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetProjectResult();
|
||||
explicit GetProjectResult(const std::string &payload);
|
||||
~GetProjectResult();
|
||||
Project getProject()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Project project_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETPROJECTRESULT_H_
|
||||
63
foas/include/alibabacloud/foas/model/GetRawPlanJsonRequest.h
Normal file
63
foas/include/alibabacloud/foas/model/GetRawPlanJsonRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETRAWPLANJSONREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETRAWPLANJSONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetRawPlanJsonRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRawPlanJsonRequest();
|
||||
~GetRawPlanJsonRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
float getExpectedGB()const;
|
||||
void setExpectedGB(float expectedGB);
|
||||
float getExpectedCore()const;
|
||||
void setExpectedCore(float expectedCore);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
bool getAutoconfEnable()const;
|
||||
void setAutoconfEnable(bool autoconfEnable);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
float expectedGB_;
|
||||
float expectedCore_;
|
||||
std::string jobName_;
|
||||
bool autoconfEnable_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETRAWPLANJSONREQUEST_H_
|
||||
51
foas/include/alibabacloud/foas/model/GetRawPlanJsonResult.h
Normal file
51
foas/include/alibabacloud/foas/model/GetRawPlanJsonResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETRAWPLANJSONRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETRAWPLANJSONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetRawPlanJsonResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetRawPlanJsonResult();
|
||||
explicit GetRawPlanJsonResult(const std::string &payload);
|
||||
~GetRawPlanJsonResult();
|
||||
std::string getSessionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string sessionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETRAWPLANJSONRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_GETREFPACKAGEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETREFPACKAGEJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetRefPackageJobRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRefPackageJobRequest();
|
||||
~GetRefPackageJobRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPackageName()const;
|
||||
void setPackageName(const std::string& packageName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string packageName_;
|
||||
int pageSize_;
|
||||
int pageIndex_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETREFPACKAGEJOBREQUEST_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_FOAS_MODEL_GETREFPACKAGEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_GETREFPACKAGEJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT GetRefPackageJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
long modifyTime;
|
||||
std::string description;
|
||||
std::string engineVersion;
|
||||
std::string projectName;
|
||||
std::string clusterId;
|
||||
std::string planJson;
|
||||
long createTime;
|
||||
std::string jobName;
|
||||
std::string creator;
|
||||
long folderId;
|
||||
std::string properties;
|
||||
std::string code;
|
||||
std::string jobType;
|
||||
std::string packages;
|
||||
std::string apiType;
|
||||
bool isCommitted;
|
||||
std::string modifier;
|
||||
std::string queueName;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
GetRefPackageJobResult();
|
||||
explicit GetRefPackageJobResult(const std::string &payload);
|
||||
~GetRefPackageJobResult();
|
||||
long getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<Job> getJobs()const;
|
||||
int getPageIndex()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
std::vector<Job> jobs_;
|
||||
int pageIndex_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_GETREFPACKAGEJOBRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_LISTCHILDFOLDERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTCHILDFOLDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListChildFolderRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListChildFolderRequest();
|
||||
~ListChildFolderRequest();
|
||||
|
||||
std::string getPath()const;
|
||||
void setPath(const std::string& path);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string path_;
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTCHILDFOLDERREQUEST_H_
|
||||
56
foas/include/alibabacloud/foas/model/ListChildFolderResult.h
Normal file
56
foas/include/alibabacloud/foas/model/ListChildFolderResult.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_LISTCHILDFOLDERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTCHILDFOLDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListChildFolderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Folder
|
||||
{
|
||||
std::string path;
|
||||
long folderId;
|
||||
};
|
||||
|
||||
|
||||
ListChildFolderResult();
|
||||
explicit ListChildFolderResult(const std::string &payload);
|
||||
~ListChildFolderResult();
|
||||
std::vector<Folder> getFolders()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Folder> folders_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTCHILDFOLDERRESULT_H_
|
||||
66
foas/include/alibabacloud/foas/model/ListClusterRequest.h
Normal file
66
foas/include/alibabacloud/foas/model/ListClusterRequest.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_LISTCLUSTERREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTCLUSTERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListClusterRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListClusterRequest();
|
||||
~ListClusterRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDisplayName()const;
|
||||
void setDisplayName(const std::string& displayName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string displayName_;
|
||||
int pageSize_;
|
||||
int pageIndex_;
|
||||
std::string clusterId_;
|
||||
std::string state_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTCLUSTERREQUEST_H_
|
||||
72
foas/include/alibabacloud/foas/model/ListClusterResult.h
Normal file
72
foas/include/alibabacloud/foas/model/ListClusterResult.h
Normal file
@@ -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_FOAS_MODEL_LISTCLUSTERRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTCLUSTERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListClusterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Cluster
|
||||
{
|
||||
long gmtCreate;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
std::string ownerId;
|
||||
std::string clusterId;
|
||||
std::string state;
|
||||
std::string displayName;
|
||||
long gmtModified;
|
||||
std::string _operator;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
ListClusterResult();
|
||||
explicit ListClusterResult(const std::string &payload);
|
||||
~ListClusterResult();
|
||||
long getTotalCount()const;
|
||||
int getTotalPage()const;
|
||||
int getPageSize()const;
|
||||
std::vector<Cluster> getClusters()const;
|
||||
int getPageIndex()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
int totalPage_;
|
||||
int pageSize_;
|
||||
std::vector<Cluster> clusters_;
|
||||
int pageIndex_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTCLUSTERRESULT_H_
|
||||
87
foas/include/alibabacloud/foas/model/ListInstanceRequest.h
Normal file
87
foas/include/alibabacloud/foas/model/ListInstanceRequest.h
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_LISTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListInstanceRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListInstanceRequest();
|
||||
~ListInstanceRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getEndBeginTs()const;
|
||||
void setEndBeginTs(long endBeginTs);
|
||||
std::string getExpectState()const;
|
||||
void setExpectState(const std::string& expectState);
|
||||
std::string getJobType()const;
|
||||
void setJobType(const std::string& jobType);
|
||||
std::string getApiType()const;
|
||||
void setApiType(const std::string& apiType);
|
||||
std::string getActualState()const;
|
||||
void setActualState(const std::string& actualState);
|
||||
long getEndEndTs()const;
|
||||
void setEndEndTs(long endEndTs);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getStartEndTs()const;
|
||||
void setStartEndTs(long startEndTs);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getStartBeginTs()const;
|
||||
void setStartBeginTs(long startBeginTs);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
bool getIsArchived()const;
|
||||
void setIsArchived(bool isArchived);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long endBeginTs_;
|
||||
std::string expectState_;
|
||||
std::string jobType_;
|
||||
std::string apiType_;
|
||||
std::string actualState_;
|
||||
long endEndTs_;
|
||||
std::string regionId_;
|
||||
long startEndTs_;
|
||||
int pageSize_;
|
||||
long startBeginTs_;
|
||||
int pageIndex_;
|
||||
bool isArchived_;
|
||||
std::string jobName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTINSTANCEREQUEST_H_
|
||||
85
foas/include/alibabacloud/foas/model/ListInstanceResult.h
Normal file
85
foas/include/alibabacloud/foas/model/ListInstanceResult.h
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_LISTINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Instance
|
||||
{
|
||||
std::string lastErrorMessage;
|
||||
std::string expectState;
|
||||
std::string engineVersion;
|
||||
long endTime;
|
||||
std::string projectName;
|
||||
std::string clusterId;
|
||||
std::string planJson;
|
||||
std::string jobName;
|
||||
long startTime;
|
||||
std::string properties;
|
||||
std::string starter;
|
||||
long inputDelay;
|
||||
std::string code;
|
||||
std::string actualState;
|
||||
long lastErrorTime;
|
||||
std::string engineJobHandler;
|
||||
std::string jobType;
|
||||
std::string lastOperator;
|
||||
std::string packages;
|
||||
std::string apiType;
|
||||
long id;
|
||||
long lastOperateTime;
|
||||
std::string queueName;
|
||||
};
|
||||
|
||||
|
||||
ListInstanceResult();
|
||||
explicit ListInstanceResult(const std::string &payload);
|
||||
~ListInstanceResult();
|
||||
std::vector<Instance> getInstances()const;
|
||||
long getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
int getPageIndex()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Instance> instances_;
|
||||
long totalCount_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
int pageIndex_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTINSTANCERESULT_H_
|
||||
81
foas/include/alibabacloud/foas/model/ListJobRequest.h
Normal file
81
foas/include/alibabacloud/foas/model/ListJobRequest.h
Normal file
@@ -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_FOAS_MODEL_LISTJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListJobRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListJobRequest();
|
||||
~ListJobRequest();
|
||||
|
||||
std::string getQueueName()const;
|
||||
void setQueueName(const std::string& queueName);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
bool getIsShowFullField()const;
|
||||
void setIsShowFullField(bool isShowFullField);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
std::string getEngineVersion()const;
|
||||
void setEngineVersion(const std::string& engineVersion);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getJobType()const;
|
||||
void setJobType(const std::string& jobType);
|
||||
std::string getApiType()const;
|
||||
void setApiType(const std::string& apiType);
|
||||
std::string getJobName()const;
|
||||
void setJobName(const std::string& jobName);
|
||||
long getFolderId()const;
|
||||
void setFolderId(long folderId);
|
||||
|
||||
private:
|
||||
std::string queueName_;
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
bool isShowFullField_;
|
||||
int pageIndex_;
|
||||
std::string engineVersion_;
|
||||
std::string clusterId_;
|
||||
std::string jobType_;
|
||||
std::string apiType_;
|
||||
std::string jobName_;
|
||||
long folderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTJOBREQUEST_H_
|
||||
81
foas/include/alibabacloud/foas/model/ListJobResult.h
Normal file
81
foas/include/alibabacloud/foas/model/ListJobResult.h
Normal file
@@ -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_FOAS_MODEL_LISTJOBRESULT_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
long modifyTime;
|
||||
std::string description;
|
||||
std::string engineVersion;
|
||||
std::string projectName;
|
||||
std::string clusterId;
|
||||
std::string planJson;
|
||||
long createTime;
|
||||
std::string jobName;
|
||||
std::string creator;
|
||||
long folderId;
|
||||
std::string properties;
|
||||
std::string code;
|
||||
std::string jobType;
|
||||
std::string packages;
|
||||
std::string apiType;
|
||||
bool isCommitted;
|
||||
std::string modifier;
|
||||
std::string queueName;
|
||||
std::string jobId;
|
||||
};
|
||||
|
||||
|
||||
ListJobResult();
|
||||
explicit ListJobResult(const std::string &payload);
|
||||
~ListJobResult();
|
||||
long getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<Job> getJobs()const;
|
||||
int getPageIndex()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
int pageSize_;
|
||||
int totalPage_;
|
||||
std::vector<Job> jobs_;
|
||||
int pageIndex_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTJOBRESULT_H_
|
||||
66
foas/include/alibabacloud/foas/model/ListPackageRequest.h
Normal file
66
foas/include/alibabacloud/foas/model/ListPackageRequest.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_FOAS_MODEL_LISTPACKAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_FOAS_MODEL_LISTPACKAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/foas/FoasExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Foas
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_FOAS_EXPORT ListPackageRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPackageRequest();
|
||||
~ListPackageRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPackageName()const;
|
||||
void setPackageName(const std::string& packageName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
std::string getTag()const;
|
||||
void setTag(const std::string& tag);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string regionId_;
|
||||
std::string packageName_;
|
||||
int pageSize_;
|
||||
int pageIndex_;
|
||||
std::string tag_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_FOAS_MODEL_LISTPACKAGEREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user