Add GetNetworkInterface interface.

This commit is contained in:
sdk-team
2020-03-20 16:29:37 +08:00
parent 94441decf0
commit 96f48bb607
138 changed files with 8171 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2020-03-20 Version: 1.36.327
- Add GetNetworkInterface interface.
2020-03-20 Version: 1.36.326
- Generated 2018-04-12 for `EHPC`.

View File

@@ -1 +1 @@
1.36.326
1.36.327

214
eas/CMakeLists.txt Normal file
View File

@@ -0,0 +1,214 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(eas_public_header
include/alibabacloud/eas/EasClient.h
include/alibabacloud/eas/EasExport.h )
set(eas_public_header_model
include/alibabacloud/eas/model/CheckServiceExistsRequest.h
include/alibabacloud/eas/model/CheckServiceExistsResult.h
include/alibabacloud/eas/model/CreateNetworkInterfaceRequest.h
include/alibabacloud/eas/model/CreateNetworkInterfaceResult.h
include/alibabacloud/eas/model/CreateSLSRequest.h
include/alibabacloud/eas/model/CreateSLSResult.h
include/alibabacloud/eas/model/CreateServiceRequest.h
include/alibabacloud/eas/model/CreateServiceResult.h
include/alibabacloud/eas/model/CreateTaskRequest.h
include/alibabacloud/eas/model/CreateTaskResult.h
include/alibabacloud/eas/model/DeleteResourceRequest.h
include/alibabacloud/eas/model/DeleteResourceResult.h
include/alibabacloud/eas/model/DeleteResourceInstanceRequest.h
include/alibabacloud/eas/model/DeleteResourceInstanceResult.h
include/alibabacloud/eas/model/DeleteServiceRequest.h
include/alibabacloud/eas/model/DeleteServiceResult.h
include/alibabacloud/eas/model/DeleteTaskRequest.h
include/alibabacloud/eas/model/DeleteTaskResult.h
include/alibabacloud/eas/model/GetAvailableRegionsRequest.h
include/alibabacloud/eas/model/GetAvailableRegionsResult.h
include/alibabacloud/eas/model/GetNetworkInterfaceRequest.h
include/alibabacloud/eas/model/GetNetworkInterfaceResult.h
include/alibabacloud/eas/model/GetOrCreateResourceRequest.h
include/alibabacloud/eas/model/GetOrCreateResourceResult.h
include/alibabacloud/eas/model/GetOssAuthorizeRequest.h
include/alibabacloud/eas/model/GetOssAuthorizeResult.h
include/alibabacloud/eas/model/GetResourceInstancesRequest.h
include/alibabacloud/eas/model/GetResourceInstancesResult.h
include/alibabacloud/eas/model/GetResourcePodsRequest.h
include/alibabacloud/eas/model/GetResourcePodsResult.h
include/alibabacloud/eas/model/GetResourceServicesRequest.h
include/alibabacloud/eas/model/GetResourceServicesResult.h
include/alibabacloud/eas/model/GetResourceStatusRequest.h
include/alibabacloud/eas/model/GetResourceStatusResult.h
include/alibabacloud/eas/model/GetServiceRequest.h
include/alibabacloud/eas/model/GetServiceResult.h
include/alibabacloud/eas/model/GetServiceRegionRequest.h
include/alibabacloud/eas/model/GetServiceRegionResult.h
include/alibabacloud/eas/model/GetServiceStatisticsRequest.h
include/alibabacloud/eas/model/GetServiceStatisticsResult.h
include/alibabacloud/eas/model/GetServiceTokenRequest.h
include/alibabacloud/eas/model/GetServiceTokenResult.h
include/alibabacloud/eas/model/GetServiceVersionRequest.h
include/alibabacloud/eas/model/GetServiceVersionResult.h
include/alibabacloud/eas/model/GetServiceWorkerRequest.h
include/alibabacloud/eas/model/GetServiceWorkerResult.h
include/alibabacloud/eas/model/GetTaskRequest.h
include/alibabacloud/eas/model/GetTaskResult.h
include/alibabacloud/eas/model/ListServicesRequest.h
include/alibabacloud/eas/model/ListServicesResult.h
include/alibabacloud/eas/model/ListTasksRequest.h
include/alibabacloud/eas/model/ListTasksResult.h
include/alibabacloud/eas/model/ListVIndexRequest.h
include/alibabacloud/eas/model/ListVIndexResult.h
include/alibabacloud/eas/model/ModifyServiceRequest.h
include/alibabacloud/eas/model/ModifyServiceResult.h
include/alibabacloud/eas/model/ModifyServiceVersionRequest.h
include/alibabacloud/eas/model/ModifyServiceVersionResult.h
include/alibabacloud/eas/model/ReleaseServiceRequest.h
include/alibabacloud/eas/model/ReleaseServiceResult.h
include/alibabacloud/eas/model/StartServiceRequest.h
include/alibabacloud/eas/model/StartServiceResult.h
include/alibabacloud/eas/model/StopServiceRequest.h
include/alibabacloud/eas/model/StopServiceResult.h
include/alibabacloud/eas/model/SyncServiceRequest.h
include/alibabacloud/eas/model/SyncServiceResult.h )
set(eas_src
src/EasClient.cc
src/model/CheckServiceExistsRequest.cc
src/model/CheckServiceExistsResult.cc
src/model/CreateNetworkInterfaceRequest.cc
src/model/CreateNetworkInterfaceResult.cc
src/model/CreateSLSRequest.cc
src/model/CreateSLSResult.cc
src/model/CreateServiceRequest.cc
src/model/CreateServiceResult.cc
src/model/CreateTaskRequest.cc
src/model/CreateTaskResult.cc
src/model/DeleteResourceRequest.cc
src/model/DeleteResourceResult.cc
src/model/DeleteResourceInstanceRequest.cc
src/model/DeleteResourceInstanceResult.cc
src/model/DeleteServiceRequest.cc
src/model/DeleteServiceResult.cc
src/model/DeleteTaskRequest.cc
src/model/DeleteTaskResult.cc
src/model/GetAvailableRegionsRequest.cc
src/model/GetAvailableRegionsResult.cc
src/model/GetNetworkInterfaceRequest.cc
src/model/GetNetworkInterfaceResult.cc
src/model/GetOrCreateResourceRequest.cc
src/model/GetOrCreateResourceResult.cc
src/model/GetOssAuthorizeRequest.cc
src/model/GetOssAuthorizeResult.cc
src/model/GetResourceInstancesRequest.cc
src/model/GetResourceInstancesResult.cc
src/model/GetResourcePodsRequest.cc
src/model/GetResourcePodsResult.cc
src/model/GetResourceServicesRequest.cc
src/model/GetResourceServicesResult.cc
src/model/GetResourceStatusRequest.cc
src/model/GetResourceStatusResult.cc
src/model/GetServiceRequest.cc
src/model/GetServiceResult.cc
src/model/GetServiceRegionRequest.cc
src/model/GetServiceRegionResult.cc
src/model/GetServiceStatisticsRequest.cc
src/model/GetServiceStatisticsResult.cc
src/model/GetServiceTokenRequest.cc
src/model/GetServiceTokenResult.cc
src/model/GetServiceVersionRequest.cc
src/model/GetServiceVersionResult.cc
src/model/GetServiceWorkerRequest.cc
src/model/GetServiceWorkerResult.cc
src/model/GetTaskRequest.cc
src/model/GetTaskResult.cc
src/model/ListServicesRequest.cc
src/model/ListServicesResult.cc
src/model/ListTasksRequest.cc
src/model/ListTasksResult.cc
src/model/ListVIndexRequest.cc
src/model/ListVIndexResult.cc
src/model/ModifyServiceRequest.cc
src/model/ModifyServiceResult.cc
src/model/ModifyServiceVersionRequest.cc
src/model/ModifyServiceVersionResult.cc
src/model/ReleaseServiceRequest.cc
src/model/ReleaseServiceResult.cc
src/model/StartServiceRequest.cc
src/model/StartServiceResult.cc
src/model/StopServiceRequest.cc
src/model/StopServiceResult.cc
src/model/SyncServiceRequest.cc
src/model/SyncServiceResult.cc )
add_library(eas ${LIB_TYPE}
${eas_public_header}
${eas_public_header_model}
${eas_src})
set_target_properties(eas
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}eas
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(eas
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_EAS_LIBRARY)
endif()
target_include_directories(eas
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(eas
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(eas
jsoncpp)
target_include_directories(eas
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(eas
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(eas
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(eas
PRIVATE /usr/include/jsoncpp)
target_link_libraries(eas
jsoncpp)
endif()
install(FILES ${eas_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/eas)
install(FILES ${eas_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/eas/model)
install(TARGETS eas
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,310 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_EASCLIENT_H_
#define ALIBABACLOUD_EAS_EASCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RoaServiceClient.h>
#include "EasExport.h"
#include "model/CheckServiceExistsRequest.h"
#include "model/CheckServiceExistsResult.h"
#include "model/CreateNetworkInterfaceRequest.h"
#include "model/CreateNetworkInterfaceResult.h"
#include "model/CreateSLSRequest.h"
#include "model/CreateSLSResult.h"
#include "model/CreateServiceRequest.h"
#include "model/CreateServiceResult.h"
#include "model/CreateTaskRequest.h"
#include "model/CreateTaskResult.h"
#include "model/DeleteResourceRequest.h"
#include "model/DeleteResourceResult.h"
#include "model/DeleteResourceInstanceRequest.h"
#include "model/DeleteResourceInstanceResult.h"
#include "model/DeleteServiceRequest.h"
#include "model/DeleteServiceResult.h"
#include "model/DeleteTaskRequest.h"
#include "model/DeleteTaskResult.h"
#include "model/GetAvailableRegionsRequest.h"
#include "model/GetAvailableRegionsResult.h"
#include "model/GetNetworkInterfaceRequest.h"
#include "model/GetNetworkInterfaceResult.h"
#include "model/GetOrCreateResourceRequest.h"
#include "model/GetOrCreateResourceResult.h"
#include "model/GetOssAuthorizeRequest.h"
#include "model/GetOssAuthorizeResult.h"
#include "model/GetResourceInstancesRequest.h"
#include "model/GetResourceInstancesResult.h"
#include "model/GetResourcePodsRequest.h"
#include "model/GetResourcePodsResult.h"
#include "model/GetResourceServicesRequest.h"
#include "model/GetResourceServicesResult.h"
#include "model/GetResourceStatusRequest.h"
#include "model/GetResourceStatusResult.h"
#include "model/GetServiceRequest.h"
#include "model/GetServiceResult.h"
#include "model/GetServiceRegionRequest.h"
#include "model/GetServiceRegionResult.h"
#include "model/GetServiceStatisticsRequest.h"
#include "model/GetServiceStatisticsResult.h"
#include "model/GetServiceTokenRequest.h"
#include "model/GetServiceTokenResult.h"
#include "model/GetServiceVersionRequest.h"
#include "model/GetServiceVersionResult.h"
#include "model/GetServiceWorkerRequest.h"
#include "model/GetServiceWorkerResult.h"
#include "model/GetTaskRequest.h"
#include "model/GetTaskResult.h"
#include "model/ListServicesRequest.h"
#include "model/ListServicesResult.h"
#include "model/ListTasksRequest.h"
#include "model/ListTasksResult.h"
#include "model/ListVIndexRequest.h"
#include "model/ListVIndexResult.h"
#include "model/ModifyServiceRequest.h"
#include "model/ModifyServiceResult.h"
#include "model/ModifyServiceVersionRequest.h"
#include "model/ModifyServiceVersionResult.h"
#include "model/ReleaseServiceRequest.h"
#include "model/ReleaseServiceResult.h"
#include "model/StartServiceRequest.h"
#include "model/StartServiceResult.h"
#include "model/StopServiceRequest.h"
#include "model/StopServiceResult.h"
#include "model/SyncServiceRequest.h"
#include "model/SyncServiceResult.h"
namespace AlibabaCloud
{
namespace Eas
{
class ALIBABACLOUD_EAS_EXPORT EasClient : public RoaServiceClient
{
public:
typedef Outcome<Error, Model::CheckServiceExistsResult> CheckServiceExistsOutcome;
typedef std::future<CheckServiceExistsOutcome> CheckServiceExistsOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::CheckServiceExistsRequest&, const CheckServiceExistsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceExistsAsyncHandler;
typedef Outcome<Error, Model::CreateNetworkInterfaceResult> CreateNetworkInterfaceOutcome;
typedef std::future<CreateNetworkInterfaceOutcome> CreateNetworkInterfaceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::CreateNetworkInterfaceRequest&, const CreateNetworkInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNetworkInterfaceAsyncHandler;
typedef Outcome<Error, Model::CreateSLSResult> CreateSLSOutcome;
typedef std::future<CreateSLSOutcome> CreateSLSOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::CreateSLSRequest&, const CreateSLSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSLSAsyncHandler;
typedef Outcome<Error, Model::CreateServiceResult> CreateServiceOutcome;
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::CreateServiceRequest&, const CreateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceAsyncHandler;
typedef Outcome<Error, Model::CreateTaskResult> CreateTaskOutcome;
typedef std::future<CreateTaskOutcome> CreateTaskOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::CreateTaskRequest&, const CreateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTaskAsyncHandler;
typedef Outcome<Error, Model::DeleteResourceResult> DeleteResourceOutcome;
typedef std::future<DeleteResourceOutcome> DeleteResourceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::DeleteResourceRequest&, const DeleteResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteResourceAsyncHandler;
typedef Outcome<Error, Model::DeleteResourceInstanceResult> DeleteResourceInstanceOutcome;
typedef std::future<DeleteResourceInstanceOutcome> DeleteResourceInstanceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::DeleteResourceInstanceRequest&, const DeleteResourceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteResourceInstanceAsyncHandler;
typedef Outcome<Error, Model::DeleteServiceResult> DeleteServiceOutcome;
typedef std::future<DeleteServiceOutcome> DeleteServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::DeleteServiceRequest&, const DeleteServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceAsyncHandler;
typedef Outcome<Error, Model::DeleteTaskResult> DeleteTaskOutcome;
typedef std::future<DeleteTaskOutcome> DeleteTaskOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::DeleteTaskRequest&, const DeleteTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTaskAsyncHandler;
typedef Outcome<Error, Model::GetAvailableRegionsResult> GetAvailableRegionsOutcome;
typedef std::future<GetAvailableRegionsOutcome> GetAvailableRegionsOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetAvailableRegionsRequest&, const GetAvailableRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAvailableRegionsAsyncHandler;
typedef Outcome<Error, Model::GetNetworkInterfaceResult> GetNetworkInterfaceOutcome;
typedef std::future<GetNetworkInterfaceOutcome> GetNetworkInterfaceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetNetworkInterfaceRequest&, const GetNetworkInterfaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNetworkInterfaceAsyncHandler;
typedef Outcome<Error, Model::GetOrCreateResourceResult> GetOrCreateResourceOutcome;
typedef std::future<GetOrCreateResourceOutcome> GetOrCreateResourceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetOrCreateResourceRequest&, const GetOrCreateResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOrCreateResourceAsyncHandler;
typedef Outcome<Error, Model::GetOssAuthorizeResult> GetOssAuthorizeOutcome;
typedef std::future<GetOssAuthorizeOutcome> GetOssAuthorizeOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetOssAuthorizeRequest&, const GetOssAuthorizeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOssAuthorizeAsyncHandler;
typedef Outcome<Error, Model::GetResourceInstancesResult> GetResourceInstancesOutcome;
typedef std::future<GetResourceInstancesOutcome> GetResourceInstancesOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetResourceInstancesRequest&, const GetResourceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceInstancesAsyncHandler;
typedef Outcome<Error, Model::GetResourcePodsResult> GetResourcePodsOutcome;
typedef std::future<GetResourcePodsOutcome> GetResourcePodsOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetResourcePodsRequest&, const GetResourcePodsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourcePodsAsyncHandler;
typedef Outcome<Error, Model::GetResourceServicesResult> GetResourceServicesOutcome;
typedef std::future<GetResourceServicesOutcome> GetResourceServicesOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetResourceServicesRequest&, const GetResourceServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceServicesAsyncHandler;
typedef Outcome<Error, Model::GetResourceStatusResult> GetResourceStatusOutcome;
typedef std::future<GetResourceStatusOutcome> GetResourceStatusOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetResourceStatusRequest&, const GetResourceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceStatusAsyncHandler;
typedef Outcome<Error, Model::GetServiceResult> GetServiceOutcome;
typedef std::future<GetServiceOutcome> GetServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetServiceRequest&, const GetServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceAsyncHandler;
typedef Outcome<Error, Model::GetServiceRegionResult> GetServiceRegionOutcome;
typedef std::future<GetServiceRegionOutcome> GetServiceRegionOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetServiceRegionRequest&, const GetServiceRegionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceRegionAsyncHandler;
typedef Outcome<Error, Model::GetServiceStatisticsResult> GetServiceStatisticsOutcome;
typedef std::future<GetServiceStatisticsOutcome> GetServiceStatisticsOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetServiceStatisticsRequest&, const GetServiceStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceStatisticsAsyncHandler;
typedef Outcome<Error, Model::GetServiceTokenResult> GetServiceTokenOutcome;
typedef std::future<GetServiceTokenOutcome> GetServiceTokenOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetServiceTokenRequest&, const GetServiceTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceTokenAsyncHandler;
typedef Outcome<Error, Model::GetServiceVersionResult> GetServiceVersionOutcome;
typedef std::future<GetServiceVersionOutcome> GetServiceVersionOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetServiceVersionRequest&, const GetServiceVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceVersionAsyncHandler;
typedef Outcome<Error, Model::GetServiceWorkerResult> GetServiceWorkerOutcome;
typedef std::future<GetServiceWorkerOutcome> GetServiceWorkerOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetServiceWorkerRequest&, const GetServiceWorkerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceWorkerAsyncHandler;
typedef Outcome<Error, Model::GetTaskResult> GetTaskOutcome;
typedef std::future<GetTaskOutcome> GetTaskOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::GetTaskRequest&, const GetTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskAsyncHandler;
typedef Outcome<Error, Model::ListServicesResult> ListServicesOutcome;
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::ListServicesRequest&, const ListServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServicesAsyncHandler;
typedef Outcome<Error, Model::ListTasksResult> ListTasksOutcome;
typedef std::future<ListTasksOutcome> ListTasksOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::ListTasksRequest&, const ListTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTasksAsyncHandler;
typedef Outcome<Error, Model::ListVIndexResult> ListVIndexOutcome;
typedef std::future<ListVIndexOutcome> ListVIndexOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::ListVIndexRequest&, const ListVIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVIndexAsyncHandler;
typedef Outcome<Error, Model::ModifyServiceResult> ModifyServiceOutcome;
typedef std::future<ModifyServiceOutcome> ModifyServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::ModifyServiceRequest&, const ModifyServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyServiceAsyncHandler;
typedef Outcome<Error, Model::ModifyServiceVersionResult> ModifyServiceVersionOutcome;
typedef std::future<ModifyServiceVersionOutcome> ModifyServiceVersionOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::ModifyServiceVersionRequest&, const ModifyServiceVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyServiceVersionAsyncHandler;
typedef Outcome<Error, Model::ReleaseServiceResult> ReleaseServiceOutcome;
typedef std::future<ReleaseServiceOutcome> ReleaseServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::ReleaseServiceRequest&, const ReleaseServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseServiceAsyncHandler;
typedef Outcome<Error, Model::StartServiceResult> StartServiceOutcome;
typedef std::future<StartServiceOutcome> StartServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::StartServiceRequest&, const StartServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartServiceAsyncHandler;
typedef Outcome<Error, Model::StopServiceResult> StopServiceOutcome;
typedef std::future<StopServiceOutcome> StopServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::StopServiceRequest&, const StopServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopServiceAsyncHandler;
typedef Outcome<Error, Model::SyncServiceResult> SyncServiceOutcome;
typedef std::future<SyncServiceOutcome> SyncServiceOutcomeCallable;
typedef std::function<void(const EasClient*, const Model::SyncServiceRequest&, const SyncServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncServiceAsyncHandler;
EasClient(const Credentials &credentials, const ClientConfiguration &configuration);
EasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
EasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~EasClient();
CheckServiceExistsOutcome checkServiceExists(const Model::CheckServiceExistsRequest &request)const;
void checkServiceExistsAsync(const Model::CheckServiceExistsRequest& request, const CheckServiceExistsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckServiceExistsOutcomeCallable checkServiceExistsCallable(const Model::CheckServiceExistsRequest& request) const;
CreateNetworkInterfaceOutcome createNetworkInterface(const Model::CreateNetworkInterfaceRequest &request)const;
void createNetworkInterfaceAsync(const Model::CreateNetworkInterfaceRequest& request, const CreateNetworkInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateNetworkInterfaceOutcomeCallable createNetworkInterfaceCallable(const Model::CreateNetworkInterfaceRequest& request) const;
CreateSLSOutcome createSLS(const Model::CreateSLSRequest &request)const;
void createSLSAsync(const Model::CreateSLSRequest& request, const CreateSLSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSLSOutcomeCallable createSLSCallable(const Model::CreateSLSRequest& request) const;
CreateServiceOutcome createService(const Model::CreateServiceRequest &request)const;
void createServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateServiceOutcomeCallable createServiceCallable(const Model::CreateServiceRequest& request) const;
CreateTaskOutcome createTask(const Model::CreateTaskRequest &request)const;
void createTaskAsync(const Model::CreateTaskRequest& request, const CreateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTaskOutcomeCallable createTaskCallable(const Model::CreateTaskRequest& request) const;
DeleteResourceOutcome deleteResource(const Model::DeleteResourceRequest &request)const;
void deleteResourceAsync(const Model::DeleteResourceRequest& request, const DeleteResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteResourceOutcomeCallable deleteResourceCallable(const Model::DeleteResourceRequest& request) const;
DeleteResourceInstanceOutcome deleteResourceInstance(const Model::DeleteResourceInstanceRequest &request)const;
void deleteResourceInstanceAsync(const Model::DeleteResourceInstanceRequest& request, const DeleteResourceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteResourceInstanceOutcomeCallable deleteResourceInstanceCallable(const Model::DeleteResourceInstanceRequest& request) const;
DeleteServiceOutcome deleteService(const Model::DeleteServiceRequest &request)const;
void deleteServiceAsync(const Model::DeleteServiceRequest& request, const DeleteServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteServiceOutcomeCallable deleteServiceCallable(const Model::DeleteServiceRequest& request) const;
DeleteTaskOutcome deleteTask(const Model::DeleteTaskRequest &request)const;
void deleteTaskAsync(const Model::DeleteTaskRequest& request, const DeleteTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTaskOutcomeCallable deleteTaskCallable(const Model::DeleteTaskRequest& request) const;
GetAvailableRegionsOutcome getAvailableRegions(const Model::GetAvailableRegionsRequest &request)const;
void getAvailableRegionsAsync(const Model::GetAvailableRegionsRequest& request, const GetAvailableRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAvailableRegionsOutcomeCallable getAvailableRegionsCallable(const Model::GetAvailableRegionsRequest& request) const;
GetNetworkInterfaceOutcome getNetworkInterface(const Model::GetNetworkInterfaceRequest &request)const;
void getNetworkInterfaceAsync(const Model::GetNetworkInterfaceRequest& request, const GetNetworkInterfaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetNetworkInterfaceOutcomeCallable getNetworkInterfaceCallable(const Model::GetNetworkInterfaceRequest& request) const;
GetOrCreateResourceOutcome getOrCreateResource(const Model::GetOrCreateResourceRequest &request)const;
void getOrCreateResourceAsync(const Model::GetOrCreateResourceRequest& request, const GetOrCreateResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOrCreateResourceOutcomeCallable getOrCreateResourceCallable(const Model::GetOrCreateResourceRequest& request) const;
GetOssAuthorizeOutcome getOssAuthorize(const Model::GetOssAuthorizeRequest &request)const;
void getOssAuthorizeAsync(const Model::GetOssAuthorizeRequest& request, const GetOssAuthorizeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOssAuthorizeOutcomeCallable getOssAuthorizeCallable(const Model::GetOssAuthorizeRequest& request) const;
GetResourceInstancesOutcome getResourceInstances(const Model::GetResourceInstancesRequest &request)const;
void getResourceInstancesAsync(const Model::GetResourceInstancesRequest& request, const GetResourceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceInstancesOutcomeCallable getResourceInstancesCallable(const Model::GetResourceInstancesRequest& request) const;
GetResourcePodsOutcome getResourcePods(const Model::GetResourcePodsRequest &request)const;
void getResourcePodsAsync(const Model::GetResourcePodsRequest& request, const GetResourcePodsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourcePodsOutcomeCallable getResourcePodsCallable(const Model::GetResourcePodsRequest& request) const;
GetResourceServicesOutcome getResourceServices(const Model::GetResourceServicesRequest &request)const;
void getResourceServicesAsync(const Model::GetResourceServicesRequest& request, const GetResourceServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceServicesOutcomeCallable getResourceServicesCallable(const Model::GetResourceServicesRequest& request) const;
GetResourceStatusOutcome getResourceStatus(const Model::GetResourceStatusRequest &request)const;
void getResourceStatusAsync(const Model::GetResourceStatusRequest& request, const GetResourceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceStatusOutcomeCallable getResourceStatusCallable(const Model::GetResourceStatusRequest& request) const;
GetServiceOutcome getService(const Model::GetServiceRequest &request)const;
void getServiceAsync(const Model::GetServiceRequest& request, const GetServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceOutcomeCallable getServiceCallable(const Model::GetServiceRequest& request) const;
GetServiceRegionOutcome getServiceRegion(const Model::GetServiceRegionRequest &request)const;
void getServiceRegionAsync(const Model::GetServiceRegionRequest& request, const GetServiceRegionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceRegionOutcomeCallable getServiceRegionCallable(const Model::GetServiceRegionRequest& request) const;
GetServiceStatisticsOutcome getServiceStatistics(const Model::GetServiceStatisticsRequest &request)const;
void getServiceStatisticsAsync(const Model::GetServiceStatisticsRequest& request, const GetServiceStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceStatisticsOutcomeCallable getServiceStatisticsCallable(const Model::GetServiceStatisticsRequest& request) const;
GetServiceTokenOutcome getServiceToken(const Model::GetServiceTokenRequest &request)const;
void getServiceTokenAsync(const Model::GetServiceTokenRequest& request, const GetServiceTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceTokenOutcomeCallable getServiceTokenCallable(const Model::GetServiceTokenRequest& request) const;
GetServiceVersionOutcome getServiceVersion(const Model::GetServiceVersionRequest &request)const;
void getServiceVersionAsync(const Model::GetServiceVersionRequest& request, const GetServiceVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceVersionOutcomeCallable getServiceVersionCallable(const Model::GetServiceVersionRequest& request) const;
GetServiceWorkerOutcome getServiceWorker(const Model::GetServiceWorkerRequest &request)const;
void getServiceWorkerAsync(const Model::GetServiceWorkerRequest& request, const GetServiceWorkerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceWorkerOutcomeCallable getServiceWorkerCallable(const Model::GetServiceWorkerRequest& request) const;
GetTaskOutcome getTask(const Model::GetTaskRequest &request)const;
void getTaskAsync(const Model::GetTaskRequest& request, const GetTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTaskOutcomeCallable getTaskCallable(const Model::GetTaskRequest& request) const;
ListServicesOutcome listServices(const Model::ListServicesRequest &request)const;
void listServicesAsync(const Model::ListServicesRequest& request, const ListServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListServicesOutcomeCallable listServicesCallable(const Model::ListServicesRequest& request) const;
ListTasksOutcome listTasks(const Model::ListTasksRequest &request)const;
void listTasksAsync(const Model::ListTasksRequest& request, const ListTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTasksOutcomeCallable listTasksCallable(const Model::ListTasksRequest& request) const;
ListVIndexOutcome listVIndex(const Model::ListVIndexRequest &request)const;
void listVIndexAsync(const Model::ListVIndexRequest& request, const ListVIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListVIndexOutcomeCallable listVIndexCallable(const Model::ListVIndexRequest& request) const;
ModifyServiceOutcome modifyService(const Model::ModifyServiceRequest &request)const;
void modifyServiceAsync(const Model::ModifyServiceRequest& request, const ModifyServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyServiceOutcomeCallable modifyServiceCallable(const Model::ModifyServiceRequest& request) const;
ModifyServiceVersionOutcome modifyServiceVersion(const Model::ModifyServiceVersionRequest &request)const;
void modifyServiceVersionAsync(const Model::ModifyServiceVersionRequest& request, const ModifyServiceVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyServiceVersionOutcomeCallable modifyServiceVersionCallable(const Model::ModifyServiceVersionRequest& request) const;
ReleaseServiceOutcome releaseService(const Model::ReleaseServiceRequest &request)const;
void releaseServiceAsync(const Model::ReleaseServiceRequest& request, const ReleaseServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseServiceOutcomeCallable releaseServiceCallable(const Model::ReleaseServiceRequest& request) const;
StartServiceOutcome startService(const Model::StartServiceRequest &request)const;
void startServiceAsync(const Model::StartServiceRequest& request, const StartServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartServiceOutcomeCallable startServiceCallable(const Model::StartServiceRequest& request) const;
StopServiceOutcome stopService(const Model::StopServiceRequest &request)const;
void stopServiceAsync(const Model::StopServiceRequest& request, const StopServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopServiceOutcomeCallable stopServiceCallable(const Model::StopServiceRequest& request) const;
SyncServiceOutcome syncService(const Model::SyncServiceRequest &request)const;
void syncServiceAsync(const Model::SyncServiceRequest& request, const SyncServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SyncServiceOutcomeCallable syncServiceCallable(const Model::SyncServiceRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_EAS_EASCLIENT_H_

View 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_EAS_EASEXPORT_H_
#define ALIBABACLOUD_EAS_EASEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_EAS_LIBRARY)
# define ALIBABACLOUD_EAS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_EAS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_EAS_EXPORT
#endif
#endif // !ALIBABACLOUD_EAS_EASEXPORT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CHECKSERVICEEXISTSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_CHECKSERVICEEXISTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CheckServiceExistsRequest : public RoaServiceRequest
{
public:
CheckServiceExistsRequest();
~CheckServiceExistsRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CHECKSERVICEEXISTSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CHECKSERVICEEXISTSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_CHECKSERVICEEXISTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CheckServiceExistsResult : public ServiceResult
{
public:
CheckServiceExistsResult();
explicit CheckServiceExistsResult(const std::string &payload);
~CheckServiceExistsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CHECKSERVICEEXISTSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATENETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_CREATENETWORKINTERFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateNetworkInterfaceRequest : public RoaServiceRequest
{
public:
CreateNetworkInterfaceRequest();
~CreateNetworkInterfaceRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATENETWORKINTERFACEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATENETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_CREATENETWORKINTERFACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateNetworkInterfaceResult : public ServiceResult
{
public:
CreateNetworkInterfaceResult();
explicit CreateNetworkInterfaceResult(const std::string &payload);
~CreateNetworkInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATENETWORKINTERFACERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATESLSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_CREATESLSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateSLSRequest : public RoaServiceRequest
{
public:
CreateSLSRequest();
~CreateSLSRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATESLSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATESLSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_CREATESLSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateSLSResult : public ServiceResult
{
public:
CreateSLSResult();
explicit CreateSLSResult(const std::string &payload);
~CreateSLSResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATESLSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATESERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_CREATESERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateServiceRequest : public RoaServiceRequest
{
public:
CreateServiceRequest();
~CreateServiceRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATESERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATESERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_CREATESERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateServiceResult : public ServiceResult
{
public:
CreateServiceResult();
explicit CreateServiceResult(const std::string &payload);
~CreateServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATESERVICERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATETASKREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_CREATETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateTaskRequest : public RoaServiceRequest
{
public:
CreateTaskRequest();
~CreateTaskRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATETASKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_CREATETASKRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_CREATETASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT CreateTaskResult : public ServiceResult
{
public:
CreateTaskResult();
explicit CreateTaskResult(const std::string &payload);
~CreateTaskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_CREATETASKRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETERESOURCEINSTANCEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_DELETERESOURCEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteResourceInstanceRequest : public RoaServiceRequest
{
public:
DeleteResourceInstanceRequest();
~DeleteResourceInstanceRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETERESOURCEINSTANCEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETERESOURCEINSTANCERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_DELETERESOURCEINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteResourceInstanceResult : public ServiceResult
{
public:
DeleteResourceInstanceResult();
explicit DeleteResourceInstanceResult(const std::string &payload);
~DeleteResourceInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETERESOURCEINSTANCERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETERESOURCEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_DELETERESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteResourceRequest : public RoaServiceRequest
{
public:
DeleteResourceRequest();
~DeleteResourceRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETERESOURCEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETERESOURCERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_DELETERESOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteResourceResult : public ServiceResult
{
public:
DeleteResourceResult();
explicit DeleteResourceResult(const std::string &payload);
~DeleteResourceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETERESOURCERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETESERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_DELETESERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteServiceRequest : public RoaServiceRequest
{
public:
DeleteServiceRequest();
~DeleteServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETESERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETESERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_DELETESERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteServiceResult : public ServiceResult
{
public:
DeleteServiceResult();
explicit DeleteServiceResult(const std::string &payload);
~DeleteServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETESERVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETETASKREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_DELETETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteTaskRequest : public RoaServiceRequest
{
public:
DeleteTaskRequest();
~DeleteTaskRequest();
std::string getTask_name()const;
void setTask_name(const std::string& task_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string task_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETETASKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_DELETETASKRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_DELETETASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT DeleteTaskResult : public ServiceResult
{
public:
DeleteTaskResult();
explicit DeleteTaskResult(const std::string &payload);
~DeleteTaskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_DELETETASKRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETAVAILABLEREGIONSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETAVAILABLEREGIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetAvailableRegionsRequest : public RoaServiceRequest
{
public:
GetAvailableRegionsRequest();
~GetAvailableRegionsRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETAVAILABLEREGIONSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETAVAILABLEREGIONSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETAVAILABLEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetAvailableRegionsResult : public ServiceResult
{
public:
GetAvailableRegionsResult();
explicit GetAvailableRegionsResult(const std::string &payload);
~GetAvailableRegionsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETAVAILABLEREGIONSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETNETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETNETWORKINTERFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetNetworkInterfaceRequest : public RoaServiceRequest
{
public:
GetNetworkInterfaceRequest();
~GetNetworkInterfaceRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETNETWORKINTERFACEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETNETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETNETWORKINTERFACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetNetworkInterfaceResult : public ServiceResult
{
public:
GetNetworkInterfaceResult();
explicit GetNetworkInterfaceResult(const std::string &payload);
~GetNetworkInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETNETWORKINTERFACERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETORCREATERESOURCEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETORCREATERESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetOrCreateResourceRequest : public RoaServiceRequest
{
public:
GetOrCreateResourceRequest();
~GetOrCreateResourceRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETORCREATERESOURCEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETORCREATERESOURCERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETORCREATERESOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetOrCreateResourceResult : public ServiceResult
{
public:
GetOrCreateResourceResult();
explicit GetOrCreateResourceResult(const std::string &payload);
~GetOrCreateResourceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETORCREATERESOURCERESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetOssAuthorizeRequest : public RoaServiceRequest
{
public:
GetOssAuthorizeRequest();
~GetOssAuthorizeRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetOssAuthorizeResult : public ServiceResult
{
public:
GetOssAuthorizeResult();
explicit GetOssAuthorizeResult(const std::string &payload);
~GetOssAuthorizeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETOSSAUTHORIZERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCEINSTANCESREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCEINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourceInstancesRequest : public RoaServiceRequest
{
public:
GetResourceInstancesRequest();
~GetResourceInstancesRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCEINSTANCESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCEINSTANCESRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCEINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourceInstancesResult : public ServiceResult
{
public:
GetResourceInstancesResult();
explicit GetResourceInstancesResult(const std::string &payload);
~GetResourceInstancesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCEINSTANCESRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCEPODSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCEPODSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourcePodsRequest : public RoaServiceRequest
{
public:
GetResourcePodsRequest();
~GetResourcePodsRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getInstance_name()const;
void setInstance_name(const std::string& instance_name);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string instance_name_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCEPODSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCEPODSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCEPODSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourcePodsResult : public ServiceResult
{
public:
GetResourcePodsResult();
explicit GetResourcePodsResult(const std::string &payload);
~GetResourcePodsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCEPODSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCESERVICESREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCESERVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourceServicesRequest : public RoaServiceRequest
{
public:
GetResourceServicesRequest();
~GetResourceServicesRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCESERVICESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCESERVICESRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCESERVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourceServicesResult : public ServiceResult
{
public:
GetResourceServicesResult();
explicit GetResourceServicesResult(const std::string &payload);
~GetResourceServicesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCESERVICESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCESTATUSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourceStatusRequest : public RoaServiceRequest
{
public:
GetResourceStatusRequest();
~GetResourceStatusRequest();
std::string getCluster_id()const;
void setCluster_id(const std::string& cluster_id);
std::string getResource_name()const;
void setResource_name(const std::string& resource_name);
private:
std::string cluster_id_;
std::string resource_name_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCESTATUSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETRESOURCESTATUSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETRESOURCESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetResourceStatusResult : public ServiceResult
{
public:
GetResourceStatusResult();
explicit GetResourceStatusResult(const std::string &payload);
~GetResourceStatusResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETRESOURCESTATUSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEREGIONREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEREGIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceRegionRequest : public RoaServiceRequest
{
public:
GetServiceRegionRequest();
~GetServiceRegionRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEREGIONREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEREGIONRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEREGIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceRegionResult : public ServiceResult
{
public:
GetServiceRegionResult();
explicit GetServiceRegionResult(const std::string &payload);
~GetServiceRegionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEREGIONRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceRequest : public RoaServiceRequest
{
public:
GetServiceRequest();
~GetServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceResult : public ServiceResult
{
public:
GetServiceResult();
explicit GetServiceResult(const std::string &payload);
~GetServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICESTATISTICSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICESTATISTICSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceStatisticsRequest : public RoaServiceRequest
{
public:
GetServiceStatisticsRequest();
~GetServiceStatisticsRequest();
std::string getMetric()const;
void setMetric(const std::string& metric);
std::string getService_name()const;
void setService_name(const std::string& service_name);
int getCount()const;
void setCount(int count);
std::string getFrom()const;
void setFrom(const std::string& from);
std::string getTo()const;
void setTo(const std::string& to);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string metric_;
std::string service_name_;
int count_;
std::string from_;
std::string to_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICESTATISTICSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICESTATISTICSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICESTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceStatisticsResult : public ServiceResult
{
public:
GetServiceStatisticsResult();
explicit GetServiceStatisticsResult(const std::string &payload);
~GetServiceStatisticsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICESTATISTICSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICETOKENREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICETOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceTokenRequest : public RoaServiceRequest
{
public:
GetServiceTokenRequest();
~GetServiceTokenRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICETOKENREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICETOKENRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICETOKENRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceTokenResult : public ServiceResult
{
public:
GetServiceTokenResult();
explicit GetServiceTokenResult(const std::string &payload);
~GetServiceTokenResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICETOKENRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEVERSIONREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceVersionRequest : public RoaServiceRequest
{
public:
GetServiceVersionRequest();
~GetServiceVersionRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEVERSIONREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEVERSIONRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceVersionResult : public ServiceResult
{
public:
GetServiceVersionResult();
explicit GetServiceVersionResult(const std::string &payload);
~GetServiceVersionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEVERSIONRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEWORKERREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEWORKERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceWorkerRequest : public RoaServiceRequest
{
public:
GetServiceWorkerRequest();
~GetServiceWorkerRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEWORKERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETSERVICEWORKERRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETSERVICEWORKERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetServiceWorkerResult : public ServiceResult
{
public:
GetServiceWorkerResult();
explicit GetServiceWorkerResult(const std::string &payload);
~GetServiceWorkerResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETSERVICEWORKERRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETTASKREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_GETTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetTaskRequest : public RoaServiceRequest
{
public:
GetTaskRequest();
~GetTaskRequest();
std::string getTask_name()const;
void setTask_name(const std::string& task_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string task_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETTASKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_GETTASKRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_GETTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT GetTaskResult : public ServiceResult
{
public:
GetTaskResult();
explicit GetTaskResult(const std::string &payload);
~GetTaskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_GETTASKRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_LISTSERVICESREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_LISTSERVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ListServicesRequest : public RoaServiceRequest
{
public:
ListServicesRequest();
~ListServicesRequest();
std::string getFilter()const;
void setFilter(const std::string& filter);
std::string getSort()const;
void setSort(const std::string& sort);
private:
std::string filter_;
std::string sort_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_LISTSERVICESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_LISTSERVICESRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_LISTSERVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ListServicesResult : public ServiceResult
{
public:
ListServicesResult();
explicit ListServicesResult(const std::string &payload);
~ListServicesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_LISTSERVICESRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_LISTTASKSREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_LISTTASKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ListTasksRequest : public RoaServiceRequest
{
public:
ListTasksRequest();
~ListTasksRequest();
std::string getFilter()const;
void setFilter(const std::string& filter);
std::string getPageSize()const;
void setPageSize(const std::string& pageSize);
std::string getSort()const;
void setSort(const std::string& sort);
std::string getPageNum()const;
void setPageNum(const std::string& pageNum);
private:
std::string filter_;
std::string pageSize_;
std::string sort_;
std::string pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_LISTTASKSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_LISTTASKSRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_LISTTASKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ListTasksResult : public ServiceResult
{
public:
ListTasksResult();
explicit ListTasksResult(const std::string &payload);
~ListTasksResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_LISTTASKSRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_LISTVINDEXREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_LISTVINDEXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ListVIndexRequest : public RoaServiceRequest
{
public:
ListVIndexRequest();
~ListVIndexRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_LISTVINDEXREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_LISTVINDEXRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_LISTVINDEXRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ListVIndexResult : public ServiceResult
{
public:
ListVIndexResult();
explicit ListVIndexResult(const std::string &payload);
~ListVIndexResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_LISTVINDEXRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ModifyServiceRequest : public RoaServiceRequest
{
public:
ModifyServiceRequest();
~ModifyServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_MODIFYSERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_MODIFYSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ModifyServiceResult : public ServiceResult
{
public:
ModifyServiceResult();
explicit ModifyServiceResult(const std::string &payload);
~ModifyServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_MODIFYSERVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ModifyServiceVersionRequest : public RoaServiceRequest
{
public:
ModifyServiceVersionRequest();
~ModifyServiceVersionRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONRESULT_H_
#define ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ModifyServiceVersionResult : public ServiceResult
{
public:
ModifyServiceVersionResult();
explicit ModifyServiceVersionResult(const std::string &payload);
~ModifyServiceVersionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_MODIFYSERVICEVERSIONRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_RELEASESERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_RELEASESERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ReleaseServiceRequest : public RoaServiceRequest
{
public:
ReleaseServiceRequest();
~ReleaseServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_RELEASESERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_RELEASESERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_RELEASESERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT ReleaseServiceResult : public ServiceResult
{
public:
ReleaseServiceResult();
explicit ReleaseServiceResult(const std::string &payload);
~ReleaseServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_RELEASESERVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_STARTSERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_STARTSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT StartServiceRequest : public RoaServiceRequest
{
public:
StartServiceRequest();
~StartServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_STARTSERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_STARTSERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_STARTSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT StartServiceResult : public ServiceResult
{
public:
StartServiceResult();
explicit StartServiceResult(const std::string &payload);
~StartServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_STARTSERVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_STOPSERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_STOPSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT StopServiceRequest : public RoaServiceRequest
{
public:
StopServiceRequest();
~StopServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_STOPSERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_STOPSERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_STOPSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT StopServiceResult : public ServiceResult
{
public:
StopServiceResult();
explicit StopServiceResult(const std::string &payload);
~StopServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_STOPSERVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_SYNCSERVICEREQUEST_H_
#define ALIBABACLOUD_EAS_MODEL_SYNCSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT SyncServiceRequest : public RoaServiceRequest
{
public:
SyncServiceRequest();
~SyncServiceRequest();
std::string getService_name()const;
void setService_name(const std::string& service_name);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::string service_name_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_SYNCSERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EAS_MODEL_SYNCSERVICERESULT_H_
#define ALIBABACLOUD_EAS_MODEL_SYNCSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/eas/EasExport.h>
namespace AlibabaCloud
{
namespace Eas
{
namespace Model
{
class ALIBABACLOUD_EAS_EXPORT SyncServiceResult : public ServiceResult
{
public:
SyncServiceResult();
explicit SyncServiceResult(const std::string &payload);
~SyncServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EAS_MODEL_SYNCSERVICERESULT_H_

1241
eas/src/EasClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CheckServiceExistsRequest.h>
using AlibabaCloud::Eas::Model::CheckServiceExistsRequest;
CheckServiceExistsRequest::CheckServiceExistsRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/services/[region]/[service_name]/exists");
setMethod(HttpRequest::Method::GET);
}
CheckServiceExistsRequest::~CheckServiceExistsRequest()
{}
std::string CheckServiceExistsRequest::getService_name()const
{
return service_name_;
}
void CheckServiceExistsRequest::setService_name(const std::string& service_name)
{
service_name_ = service_name;
setParameter("Service_name", service_name);
}
std::string CheckServiceExistsRequest::getRegion()const
{
return region_;
}
void CheckServiceExistsRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CheckServiceExistsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
CheckServiceExistsResult::CheckServiceExistsResult() :
ServiceResult()
{}
CheckServiceExistsResult::CheckServiceExistsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckServiceExistsResult::~CheckServiceExistsResult()
{}
void CheckServiceExistsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateNetworkInterfaceRequest.h>
using AlibabaCloud::Eas::Model::CreateNetworkInterfaceRequest;
CreateNetworkInterfaceRequest::CreateNetworkInterfaceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources/[cluster_id]/[resource_name]/network");
setMethod(HttpRequest::Method::POST);
}
CreateNetworkInterfaceRequest::~CreateNetworkInterfaceRequest()
{}
std::string CreateNetworkInterfaceRequest::getCluster_id()const
{
return cluster_id_;
}
void CreateNetworkInterfaceRequest::setCluster_id(const std::string& cluster_id)
{
cluster_id_ = cluster_id;
setParameter("Cluster_id", cluster_id);
}
std::string CreateNetworkInterfaceRequest::getResource_name()const
{
return resource_name_;
}
void CreateNetworkInterfaceRequest::setResource_name(const std::string& resource_name)
{
resource_name_ = resource_name;
setParameter("Resource_name", resource_name);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateNetworkInterfaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
CreateNetworkInterfaceResult::CreateNetworkInterfaceResult() :
ServiceResult()
{}
CreateNetworkInterfaceResult::CreateNetworkInterfaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateNetworkInterfaceResult::~CreateNetworkInterfaceResult()
{}
void CreateNetworkInterfaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateSLSRequest.h>
using AlibabaCloud::Eas::Model::CreateSLSRequest;
CreateSLSRequest::CreateSLSRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources/[cluster_id]/[resource_name]/log");
setMethod(HttpRequest::Method::POST);
}
CreateSLSRequest::~CreateSLSRequest()
{}
std::string CreateSLSRequest::getCluster_id()const
{
return cluster_id_;
}
void CreateSLSRequest::setCluster_id(const std::string& cluster_id)
{
cluster_id_ = cluster_id;
setParameter("Cluster_id", cluster_id);
}
std::string CreateSLSRequest::getResource_name()const
{
return resource_name_;
}
void CreateSLSRequest::setResource_name(const std::string& resource_name)
{
resource_name_ = resource_name;
setParameter("Resource_name", resource_name);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateSLSResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
CreateSLSResult::CreateSLSResult() :
ServiceResult()
{}
CreateSLSResult::CreateSLSResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateSLSResult::~CreateSLSResult()
{}
void CreateSLSResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateServiceRequest.h>
using AlibabaCloud::Eas::Model::CreateServiceRequest;
CreateServiceRequest::CreateServiceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/services");
setMethod(HttpRequest::Method::POST);
}
CreateServiceRequest::~CreateServiceRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
CreateServiceResult::CreateServiceResult() :
ServiceResult()
{}
CreateServiceResult::CreateServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateServiceResult::~CreateServiceResult()
{}
void CreateServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateTaskRequest.h>
using AlibabaCloud::Eas::Model::CreateTaskRequest;
CreateTaskRequest::CreateTaskRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/tasks");
setMethod(HttpRequest::Method::POST);
}
CreateTaskRequest::~CreateTaskRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/CreateTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
CreateTaskResult::CreateTaskResult() :
ServiceResult()
{}
CreateTaskResult::CreateTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateTaskResult::~CreateTaskResult()
{}
void CreateTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteResourceInstanceRequest.h>
using AlibabaCloud::Eas::Model::DeleteResourceInstanceRequest;
DeleteResourceInstanceRequest::DeleteResourceInstanceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources/[cluster_id]/[resource_name]/instances/delete");
setMethod(HttpRequest::Method::POST);
}
DeleteResourceInstanceRequest::~DeleteResourceInstanceRequest()
{}
std::string DeleteResourceInstanceRequest::getCluster_id()const
{
return cluster_id_;
}
void DeleteResourceInstanceRequest::setCluster_id(const std::string& cluster_id)
{
cluster_id_ = cluster_id;
setParameter("Cluster_id", cluster_id);
}
std::string DeleteResourceInstanceRequest::getResource_name()const
{
return resource_name_;
}
void DeleteResourceInstanceRequest::setResource_name(const std::string& resource_name)
{
resource_name_ = resource_name;
setParameter("Resource_name", resource_name);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteResourceInstanceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
DeleteResourceInstanceResult::DeleteResourceInstanceResult() :
ServiceResult()
{}
DeleteResourceInstanceResult::DeleteResourceInstanceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteResourceInstanceResult::~DeleteResourceInstanceResult()
{}
void DeleteResourceInstanceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteResourceRequest.h>
using AlibabaCloud::Eas::Model::DeleteResourceRequest;
DeleteResourceRequest::DeleteResourceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources/[cluster_id]/[resource_name]");
setMethod(HttpRequest::Method::DELETE);
}
DeleteResourceRequest::~DeleteResourceRequest()
{}
std::string DeleteResourceRequest::getCluster_id()const
{
return cluster_id_;
}
void DeleteResourceRequest::setCluster_id(const std::string& cluster_id)
{
cluster_id_ = cluster_id;
setParameter("Cluster_id", cluster_id);
}
std::string DeleteResourceRequest::getResource_name()const
{
return resource_name_;
}
void DeleteResourceRequest::setResource_name(const std::string& resource_name)
{
resource_name_ = resource_name;
setParameter("Resource_name", resource_name);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
DeleteResourceResult::DeleteResourceResult() :
ServiceResult()
{}
DeleteResourceResult::DeleteResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteResourceResult::~DeleteResourceResult()
{}
void DeleteResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteServiceRequest.h>
using AlibabaCloud::Eas::Model::DeleteServiceRequest;
DeleteServiceRequest::DeleteServiceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/services/[region]/[service_name]");
setMethod(HttpRequest::Method::DELETE);
}
DeleteServiceRequest::~DeleteServiceRequest()
{}
std::string DeleteServiceRequest::getService_name()const
{
return service_name_;
}
void DeleteServiceRequest::setService_name(const std::string& service_name)
{
service_name_ = service_name;
setParameter("Service_name", service_name);
}
std::string DeleteServiceRequest::getRegion()const
{
return region_;
}
void DeleteServiceRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteServiceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
DeleteServiceResult::DeleteServiceResult() :
ServiceResult()
{}
DeleteServiceResult::DeleteServiceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteServiceResult::~DeleteServiceResult()
{}
void DeleteServiceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteTaskRequest.h>
using AlibabaCloud::Eas::Model::DeleteTaskRequest;
DeleteTaskRequest::DeleteTaskRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/tasks/[region]/[task_name]");
setMethod(HttpRequest::Method::DELETE);
}
DeleteTaskRequest::~DeleteTaskRequest()
{}
std::string DeleteTaskRequest::getTask_name()const
{
return task_name_;
}
void DeleteTaskRequest::setTask_name(const std::string& task_name)
{
task_name_ = task_name;
setParameter("Task_name", task_name);
}
std::string DeleteTaskRequest::getRegion()const
{
return region_;
}
void DeleteTaskRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/DeleteTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
DeleteTaskResult::DeleteTaskResult() :
ServiceResult()
{}
DeleteTaskResult::DeleteTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteTaskResult::~DeleteTaskResult()
{}
void DeleteTaskResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetAvailableRegionsRequest.h>
using AlibabaCloud::Eas::Model::GetAvailableRegionsRequest;
GetAvailableRegionsRequest::GetAvailableRegionsRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/services/regions");
setMethod(HttpRequest::Method::GET);
}
GetAvailableRegionsRequest::~GetAvailableRegionsRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetAvailableRegionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
GetAvailableRegionsResult::GetAvailableRegionsResult() :
ServiceResult()
{}
GetAvailableRegionsResult::GetAvailableRegionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAvailableRegionsResult::~GetAvailableRegionsResult()
{}
void GetAvailableRegionsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetNetworkInterfaceRequest.h>
using AlibabaCloud::Eas::Model::GetNetworkInterfaceRequest;
GetNetworkInterfaceRequest::GetNetworkInterfaceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources/[cluster_id]/[resource_name]/network");
setMethod(HttpRequest::Method::GET);
}
GetNetworkInterfaceRequest::~GetNetworkInterfaceRequest()
{}
std::string GetNetworkInterfaceRequest::getCluster_id()const
{
return cluster_id_;
}
void GetNetworkInterfaceRequest::setCluster_id(const std::string& cluster_id)
{
cluster_id_ = cluster_id;
setParameter("Cluster_id", cluster_id);
}
std::string GetNetworkInterfaceRequest::getResource_name()const
{
return resource_name_;
}
void GetNetworkInterfaceRequest::setResource_name(const std::string& resource_name)
{
resource_name_ = resource_name;
setParameter("Resource_name", resource_name);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetNetworkInterfaceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
GetNetworkInterfaceResult::GetNetworkInterfaceResult() :
ServiceResult()
{}
GetNetworkInterfaceResult::GetNetworkInterfaceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetNetworkInterfaceResult::~GetNetworkInterfaceResult()
{}
void GetNetworkInterfaceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetOrCreateResourceRequest.h>
using AlibabaCloud::Eas::Model::GetOrCreateResourceRequest;
GetOrCreateResourceRequest::GetOrCreateResourceRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources");
setMethod(HttpRequest::Method::POST);
}
GetOrCreateResourceRequest::~GetOrCreateResourceRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetOrCreateResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
GetOrCreateResourceResult::GetOrCreateResourceResult() :
ServiceResult()
{}
GetOrCreateResourceResult::GetOrCreateResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetOrCreateResourceResult::~GetOrCreateResourceResult()
{}
void GetOrCreateResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetOssAuthorizeRequest.h>
using AlibabaCloud::Eas::Model::GetOssAuthorizeRequest;
GetOssAuthorizeRequest::GetOssAuthorizeRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/services/oss_authorize");
setMethod(HttpRequest::Method::GET);
}
GetOssAuthorizeRequest::~GetOssAuthorizeRequest()
{}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetOssAuthorizeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
GetOssAuthorizeResult::GetOssAuthorizeResult() :
ServiceResult()
{}
GetOssAuthorizeResult::GetOssAuthorizeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetOssAuthorizeResult::~GetOssAuthorizeResult()
{}
void GetOssAuthorizeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,52 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetResourceInstancesRequest.h>
using AlibabaCloud::Eas::Model::GetResourceInstancesRequest;
GetResourceInstancesRequest::GetResourceInstancesRequest() :
RoaServiceRequest("eas", "2018-05-22")
{
setResourcePath("/api/resources/[cluster_id]/[resource_name]/instances");
setMethod(HttpRequest::Method::GET);
}
GetResourceInstancesRequest::~GetResourceInstancesRequest()
{}
std::string GetResourceInstancesRequest::getCluster_id()const
{
return cluster_id_;
}
void GetResourceInstancesRequest::setCluster_id(const std::string& cluster_id)
{
cluster_id_ = cluster_id;
setParameter("Cluster_id", cluster_id);
}
std::string GetResourceInstancesRequest::getResource_name()const
{
return resource_name_;
}
void GetResourceInstancesRequest::setResource_name(const std::string& resource_name)
{
resource_name_ = resource_name;
setParameter("Resource_name", resource_name);
}

View File

@@ -0,0 +1,44 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/eas/model/GetResourceInstancesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Eas;
using namespace AlibabaCloud::Eas::Model;
GetResourceInstancesResult::GetResourceInstancesResult() :
ServiceResult()
{}
GetResourceInstancesResult::GetResourceInstancesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetResourceInstancesResult::~GetResourceInstancesResult()
{}
void GetResourceInstancesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

Some files were not shown because too many files have changed in this diff Show More