CreateMigrationJob SDK.

This commit is contained in:
sdk-team
2022-06-30 03:32:20 +00:00
parent 4c79a8e588
commit a54f4e6f8d
126 changed files with 8197 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2022-06-30 Version: 1.36.1164
- CreateMigrationJob SDK.
2022-06-30 Version: 1.36.1163 2022-06-30 Version: 1.36.1163
- Update ListFaceDbs. - Update ListFaceDbs.

View File

@@ -1 +1 @@
1.36.1163 1.36.1164

202
apds/CMakeLists.txt Normal file
View File

@@ -0,0 +1,202 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(apds_public_header
include/alibabacloud/apds/ApdsClient.h
include/alibabacloud/apds/ApdsExport.h )
set(apds_public_header_model
include/alibabacloud/apds/model/CreateFileJobRequest.h
include/alibabacloud/apds/model/CreateFileJobResult.h
include/alibabacloud/apds/model/CreateMigrationGroupRequest.h
include/alibabacloud/apds/model/CreateMigrationGroupResult.h
include/alibabacloud/apds/model/CreateMigrationJobRequest.h
include/alibabacloud/apds/model/CreateMigrationJobResult.h
include/alibabacloud/apds/model/CreateSurveyJobRequest.h
include/alibabacloud/apds/model/CreateSurveyJobResult.h
include/alibabacloud/apds/model/CreateSurveyJobOfflineRequest.h
include/alibabacloud/apds/model/CreateSurveyJobOfflineResult.h
include/alibabacloud/apds/model/DeleteMigrationGroupRequest.h
include/alibabacloud/apds/model/DeleteMigrationGroupResult.h
include/alibabacloud/apds/model/DeleteMigrationJobRequest.h
include/alibabacloud/apds/model/DeleteMigrationJobResult.h
include/alibabacloud/apds/model/DeleteOssFileRequest.h
include/alibabacloud/apds/model/DeleteOssFileResult.h
include/alibabacloud/apds/model/DeleteSurveyJobRequest.h
include/alibabacloud/apds/model/DeleteSurveyJobResult.h
include/alibabacloud/apds/model/DeleteSurveyResourcesRequest.h
include/alibabacloud/apds/model/DeleteSurveyResourcesResult.h
include/alibabacloud/apds/model/DescribeMigrationJobConfigRequest.h
include/alibabacloud/apds/model/DescribeMigrationJobConfigResult.h
include/alibabacloud/apds/model/DescribeMigrationJobCountRequest.h
include/alibabacloud/apds/model/DescribeMigrationJobCountResult.h
include/alibabacloud/apds/model/DescribeOssStsRequest.h
include/alibabacloud/apds/model/DescribeOssStsResult.h
include/alibabacloud/apds/model/DescribeSummaryByStatusRequest.h
include/alibabacloud/apds/model/DescribeSummaryByStatusResult.h
include/alibabacloud/apds/model/DescribeSummaryByStatusAndGroupRequest.h
include/alibabacloud/apds/model/DescribeSummaryByStatusAndGroupResult.h
include/alibabacloud/apds/model/DescribeSurveyJobRequest.h
include/alibabacloud/apds/model/DescribeSurveyJobResult.h
include/alibabacloud/apds/model/DescribeSurveyJobCountRequest.h
include/alibabacloud/apds/model/DescribeSurveyJobCountResult.h
include/alibabacloud/apds/model/DescribeSurveyResourceTagRequest.h
include/alibabacloud/apds/model/DescribeSurveyResourceTagResult.h
include/alibabacloud/apds/model/DescribeSurveyTemplateRequest.h
include/alibabacloud/apds/model/DescribeSurveyTemplateResult.h
include/alibabacloud/apds/model/ListMigrationJobsRequest.h
include/alibabacloud/apds/model/ListMigrationJobsResult.h
include/alibabacloud/apds/model/ListRegionsRequest.h
include/alibabacloud/apds/model/ListRegionsResult.h
include/alibabacloud/apds/model/ListSurveyJobDownLoadJobsRequest.h
include/alibabacloud/apds/model/ListSurveyJobDownLoadJobsResult.h
include/alibabacloud/apds/model/ListSurveyJobsRequest.h
include/alibabacloud/apds/model/ListSurveyJobsResult.h
include/alibabacloud/apds/model/ListSurveyResourceByMigrationGroupsRequest.h
include/alibabacloud/apds/model/ListSurveyResourceByMigrationGroupsResult.h
include/alibabacloud/apds/model/ListSurveyResourceConnectionsRequest.h
include/alibabacloud/apds/model/ListSurveyResourceConnectionsResult.h
include/alibabacloud/apds/model/ListSurveyResourceTypesRequest.h
include/alibabacloud/apds/model/ListSurveyResourceTypesResult.h
include/alibabacloud/apds/model/ListSurveyResourcesDetailRequest.h
include/alibabacloud/apds/model/ListSurveyResourcesDetailResult.h
include/alibabacloud/apds/model/RecoverMigrationJobRequest.h
include/alibabacloud/apds/model/RecoverMigrationJobResult.h
include/alibabacloud/apds/model/StopSyncMigrationJobRequest.h
include/alibabacloud/apds/model/StopSyncMigrationJobResult.h
include/alibabacloud/apds/model/SyncMigrationJobRequest.h
include/alibabacloud/apds/model/SyncMigrationJobResult.h )
set(apds_src
src/ApdsClient.cc
src/model/CreateFileJobRequest.cc
src/model/CreateFileJobResult.cc
src/model/CreateMigrationGroupRequest.cc
src/model/CreateMigrationGroupResult.cc
src/model/CreateMigrationJobRequest.cc
src/model/CreateMigrationJobResult.cc
src/model/CreateSurveyJobRequest.cc
src/model/CreateSurveyJobResult.cc
src/model/CreateSurveyJobOfflineRequest.cc
src/model/CreateSurveyJobOfflineResult.cc
src/model/DeleteMigrationGroupRequest.cc
src/model/DeleteMigrationGroupResult.cc
src/model/DeleteMigrationJobRequest.cc
src/model/DeleteMigrationJobResult.cc
src/model/DeleteOssFileRequest.cc
src/model/DeleteOssFileResult.cc
src/model/DeleteSurveyJobRequest.cc
src/model/DeleteSurveyJobResult.cc
src/model/DeleteSurveyResourcesRequest.cc
src/model/DeleteSurveyResourcesResult.cc
src/model/DescribeMigrationJobConfigRequest.cc
src/model/DescribeMigrationJobConfigResult.cc
src/model/DescribeMigrationJobCountRequest.cc
src/model/DescribeMigrationJobCountResult.cc
src/model/DescribeOssStsRequest.cc
src/model/DescribeOssStsResult.cc
src/model/DescribeSummaryByStatusRequest.cc
src/model/DescribeSummaryByStatusResult.cc
src/model/DescribeSummaryByStatusAndGroupRequest.cc
src/model/DescribeSummaryByStatusAndGroupResult.cc
src/model/DescribeSurveyJobRequest.cc
src/model/DescribeSurveyJobResult.cc
src/model/DescribeSurveyJobCountRequest.cc
src/model/DescribeSurveyJobCountResult.cc
src/model/DescribeSurveyResourceTagRequest.cc
src/model/DescribeSurveyResourceTagResult.cc
src/model/DescribeSurveyTemplateRequest.cc
src/model/DescribeSurveyTemplateResult.cc
src/model/ListMigrationJobsRequest.cc
src/model/ListMigrationJobsResult.cc
src/model/ListRegionsRequest.cc
src/model/ListRegionsResult.cc
src/model/ListSurveyJobDownLoadJobsRequest.cc
src/model/ListSurveyJobDownLoadJobsResult.cc
src/model/ListSurveyJobsRequest.cc
src/model/ListSurveyJobsResult.cc
src/model/ListSurveyResourceByMigrationGroupsRequest.cc
src/model/ListSurveyResourceByMigrationGroupsResult.cc
src/model/ListSurveyResourceConnectionsRequest.cc
src/model/ListSurveyResourceConnectionsResult.cc
src/model/ListSurveyResourceTypesRequest.cc
src/model/ListSurveyResourceTypesResult.cc
src/model/ListSurveyResourcesDetailRequest.cc
src/model/ListSurveyResourcesDetailResult.cc
src/model/RecoverMigrationJobRequest.cc
src/model/RecoverMigrationJobResult.cc
src/model/StopSyncMigrationJobRequest.cc
src/model/StopSyncMigrationJobResult.cc
src/model/SyncMigrationJobRequest.cc
src/model/SyncMigrationJobResult.cc )
add_library(apds ${LIB_TYPE}
${apds_public_header}
${apds_public_header_model}
${apds_src})
set_target_properties(apds
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}apds
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(apds
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_APDS_LIBRARY)
endif()
target_include_directories(apds
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(apds
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(apds
jsoncpp)
target_include_directories(apds
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(apds
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(apds
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(apds
PRIVATE /usr/include/jsoncpp)
target_link_libraries(apds
jsoncpp)
endif()
install(FILES ${apds_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/apds)
install(FILES ${apds_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/apds/model)
install(TARGETS apds
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,286 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_APDSCLIENT_H_
#define ALIBABACLOUD_APDS_APDSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RoaServiceClient.h>
#include "ApdsExport.h"
#include "model/CreateFileJobRequest.h"
#include "model/CreateFileJobResult.h"
#include "model/CreateMigrationGroupRequest.h"
#include "model/CreateMigrationGroupResult.h"
#include "model/CreateMigrationJobRequest.h"
#include "model/CreateMigrationJobResult.h"
#include "model/CreateSurveyJobRequest.h"
#include "model/CreateSurveyJobResult.h"
#include "model/CreateSurveyJobOfflineRequest.h"
#include "model/CreateSurveyJobOfflineResult.h"
#include "model/DeleteMigrationGroupRequest.h"
#include "model/DeleteMigrationGroupResult.h"
#include "model/DeleteMigrationJobRequest.h"
#include "model/DeleteMigrationJobResult.h"
#include "model/DeleteOssFileRequest.h"
#include "model/DeleteOssFileResult.h"
#include "model/DeleteSurveyJobRequest.h"
#include "model/DeleteSurveyJobResult.h"
#include "model/DeleteSurveyResourcesRequest.h"
#include "model/DeleteSurveyResourcesResult.h"
#include "model/DescribeMigrationJobConfigRequest.h"
#include "model/DescribeMigrationJobConfigResult.h"
#include "model/DescribeMigrationJobCountRequest.h"
#include "model/DescribeMigrationJobCountResult.h"
#include "model/DescribeOssStsRequest.h"
#include "model/DescribeOssStsResult.h"
#include "model/DescribeSummaryByStatusRequest.h"
#include "model/DescribeSummaryByStatusResult.h"
#include "model/DescribeSummaryByStatusAndGroupRequest.h"
#include "model/DescribeSummaryByStatusAndGroupResult.h"
#include "model/DescribeSurveyJobRequest.h"
#include "model/DescribeSurveyJobResult.h"
#include "model/DescribeSurveyJobCountRequest.h"
#include "model/DescribeSurveyJobCountResult.h"
#include "model/DescribeSurveyResourceTagRequest.h"
#include "model/DescribeSurveyResourceTagResult.h"
#include "model/DescribeSurveyTemplateRequest.h"
#include "model/DescribeSurveyTemplateResult.h"
#include "model/ListMigrationJobsRequest.h"
#include "model/ListMigrationJobsResult.h"
#include "model/ListRegionsRequest.h"
#include "model/ListRegionsResult.h"
#include "model/ListSurveyJobDownLoadJobsRequest.h"
#include "model/ListSurveyJobDownLoadJobsResult.h"
#include "model/ListSurveyJobsRequest.h"
#include "model/ListSurveyJobsResult.h"
#include "model/ListSurveyResourceByMigrationGroupsRequest.h"
#include "model/ListSurveyResourceByMigrationGroupsResult.h"
#include "model/ListSurveyResourceConnectionsRequest.h"
#include "model/ListSurveyResourceConnectionsResult.h"
#include "model/ListSurveyResourceTypesRequest.h"
#include "model/ListSurveyResourceTypesResult.h"
#include "model/ListSurveyResourcesDetailRequest.h"
#include "model/ListSurveyResourcesDetailResult.h"
#include "model/RecoverMigrationJobRequest.h"
#include "model/RecoverMigrationJobResult.h"
#include "model/StopSyncMigrationJobRequest.h"
#include "model/StopSyncMigrationJobResult.h"
#include "model/SyncMigrationJobRequest.h"
#include "model/SyncMigrationJobResult.h"
namespace AlibabaCloud
{
namespace Apds
{
class ALIBABACLOUD_APDS_EXPORT ApdsClient : public RoaServiceClient
{
public:
typedef Outcome<Error, Model::CreateFileJobResult> CreateFileJobOutcome;
typedef std::future<CreateFileJobOutcome> CreateFileJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::CreateFileJobRequest&, const CreateFileJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFileJobAsyncHandler;
typedef Outcome<Error, Model::CreateMigrationGroupResult> CreateMigrationGroupOutcome;
typedef std::future<CreateMigrationGroupOutcome> CreateMigrationGroupOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::CreateMigrationGroupRequest&, const CreateMigrationGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrationGroupAsyncHandler;
typedef Outcome<Error, Model::CreateMigrationJobResult> CreateMigrationJobOutcome;
typedef std::future<CreateMigrationJobOutcome> CreateMigrationJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::CreateMigrationJobRequest&, const CreateMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrationJobAsyncHandler;
typedef Outcome<Error, Model::CreateSurveyJobResult> CreateSurveyJobOutcome;
typedef std::future<CreateSurveyJobOutcome> CreateSurveyJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::CreateSurveyJobRequest&, const CreateSurveyJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSurveyJobAsyncHandler;
typedef Outcome<Error, Model::CreateSurveyJobOfflineResult> CreateSurveyJobOfflineOutcome;
typedef std::future<CreateSurveyJobOfflineOutcome> CreateSurveyJobOfflineOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::CreateSurveyJobOfflineRequest&, const CreateSurveyJobOfflineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSurveyJobOfflineAsyncHandler;
typedef Outcome<Error, Model::DeleteMigrationGroupResult> DeleteMigrationGroupOutcome;
typedef std::future<DeleteMigrationGroupOutcome> DeleteMigrationGroupOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DeleteMigrationGroupRequest&, const DeleteMigrationGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMigrationGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteMigrationJobResult> DeleteMigrationJobOutcome;
typedef std::future<DeleteMigrationJobOutcome> DeleteMigrationJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DeleteMigrationJobRequest&, const DeleteMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMigrationJobAsyncHandler;
typedef Outcome<Error, Model::DeleteOssFileResult> DeleteOssFileOutcome;
typedef std::future<DeleteOssFileOutcome> DeleteOssFileOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DeleteOssFileRequest&, const DeleteOssFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteOssFileAsyncHandler;
typedef Outcome<Error, Model::DeleteSurveyJobResult> DeleteSurveyJobOutcome;
typedef std::future<DeleteSurveyJobOutcome> DeleteSurveyJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DeleteSurveyJobRequest&, const DeleteSurveyJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSurveyJobAsyncHandler;
typedef Outcome<Error, Model::DeleteSurveyResourcesResult> DeleteSurveyResourcesOutcome;
typedef std::future<DeleteSurveyResourcesOutcome> DeleteSurveyResourcesOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DeleteSurveyResourcesRequest&, const DeleteSurveyResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSurveyResourcesAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrationJobConfigResult> DescribeMigrationJobConfigOutcome;
typedef std::future<DescribeMigrationJobConfigOutcome> DescribeMigrationJobConfigOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeMigrationJobConfigRequest&, const DescribeMigrationJobConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrationJobCountResult> DescribeMigrationJobCountOutcome;
typedef std::future<DescribeMigrationJobCountOutcome> DescribeMigrationJobCountOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeMigrationJobCountRequest&, const DescribeMigrationJobCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobCountAsyncHandler;
typedef Outcome<Error, Model::DescribeOssStsResult> DescribeOssStsOutcome;
typedef std::future<DescribeOssStsOutcome> DescribeOssStsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeOssStsRequest&, const DescribeOssStsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssStsAsyncHandler;
typedef Outcome<Error, Model::DescribeSummaryByStatusResult> DescribeSummaryByStatusOutcome;
typedef std::future<DescribeSummaryByStatusOutcome> DescribeSummaryByStatusOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeSummaryByStatusRequest&, const DescribeSummaryByStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSummaryByStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeSummaryByStatusAndGroupResult> DescribeSummaryByStatusAndGroupOutcome;
typedef std::future<DescribeSummaryByStatusAndGroupOutcome> DescribeSummaryByStatusAndGroupOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeSummaryByStatusAndGroupRequest&, const DescribeSummaryByStatusAndGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSummaryByStatusAndGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeSurveyJobResult> DescribeSurveyJobOutcome;
typedef std::future<DescribeSurveyJobOutcome> DescribeSurveyJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeSurveyJobRequest&, const DescribeSurveyJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSurveyJobAsyncHandler;
typedef Outcome<Error, Model::DescribeSurveyJobCountResult> DescribeSurveyJobCountOutcome;
typedef std::future<DescribeSurveyJobCountOutcome> DescribeSurveyJobCountOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeSurveyJobCountRequest&, const DescribeSurveyJobCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSurveyJobCountAsyncHandler;
typedef Outcome<Error, Model::DescribeSurveyResourceTagResult> DescribeSurveyResourceTagOutcome;
typedef std::future<DescribeSurveyResourceTagOutcome> DescribeSurveyResourceTagOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeSurveyResourceTagRequest&, const DescribeSurveyResourceTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSurveyResourceTagAsyncHandler;
typedef Outcome<Error, Model::DescribeSurveyTemplateResult> DescribeSurveyTemplateOutcome;
typedef std::future<DescribeSurveyTemplateOutcome> DescribeSurveyTemplateOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::DescribeSurveyTemplateRequest&, const DescribeSurveyTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSurveyTemplateAsyncHandler;
typedef Outcome<Error, Model::ListMigrationJobsResult> ListMigrationJobsOutcome;
typedef std::future<ListMigrationJobsOutcome> ListMigrationJobsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListMigrationJobsRequest&, const ListMigrationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMigrationJobsAsyncHandler;
typedef Outcome<Error, Model::ListRegionsResult> ListRegionsOutcome;
typedef std::future<ListRegionsOutcome> ListRegionsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListRegionsRequest&, const ListRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRegionsAsyncHandler;
typedef Outcome<Error, Model::ListSurveyJobDownLoadJobsResult> ListSurveyJobDownLoadJobsOutcome;
typedef std::future<ListSurveyJobDownLoadJobsOutcome> ListSurveyJobDownLoadJobsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListSurveyJobDownLoadJobsRequest&, const ListSurveyJobDownLoadJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveyJobDownLoadJobsAsyncHandler;
typedef Outcome<Error, Model::ListSurveyJobsResult> ListSurveyJobsOutcome;
typedef std::future<ListSurveyJobsOutcome> ListSurveyJobsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListSurveyJobsRequest&, const ListSurveyJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveyJobsAsyncHandler;
typedef Outcome<Error, Model::ListSurveyResourceByMigrationGroupsResult> ListSurveyResourceByMigrationGroupsOutcome;
typedef std::future<ListSurveyResourceByMigrationGroupsOutcome> ListSurveyResourceByMigrationGroupsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListSurveyResourceByMigrationGroupsRequest&, const ListSurveyResourceByMigrationGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveyResourceByMigrationGroupsAsyncHandler;
typedef Outcome<Error, Model::ListSurveyResourceConnectionsResult> ListSurveyResourceConnectionsOutcome;
typedef std::future<ListSurveyResourceConnectionsOutcome> ListSurveyResourceConnectionsOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListSurveyResourceConnectionsRequest&, const ListSurveyResourceConnectionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveyResourceConnectionsAsyncHandler;
typedef Outcome<Error, Model::ListSurveyResourceTypesResult> ListSurveyResourceTypesOutcome;
typedef std::future<ListSurveyResourceTypesOutcome> ListSurveyResourceTypesOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListSurveyResourceTypesRequest&, const ListSurveyResourceTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveyResourceTypesAsyncHandler;
typedef Outcome<Error, Model::ListSurveyResourcesDetailResult> ListSurveyResourcesDetailOutcome;
typedef std::future<ListSurveyResourcesDetailOutcome> ListSurveyResourcesDetailOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::ListSurveyResourcesDetailRequest&, const ListSurveyResourcesDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSurveyResourcesDetailAsyncHandler;
typedef Outcome<Error, Model::RecoverMigrationJobResult> RecoverMigrationJobOutcome;
typedef std::future<RecoverMigrationJobOutcome> RecoverMigrationJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::RecoverMigrationJobRequest&, const RecoverMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecoverMigrationJobAsyncHandler;
typedef Outcome<Error, Model::StopSyncMigrationJobResult> StopSyncMigrationJobOutcome;
typedef std::future<StopSyncMigrationJobOutcome> StopSyncMigrationJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::StopSyncMigrationJobRequest&, const StopSyncMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopSyncMigrationJobAsyncHandler;
typedef Outcome<Error, Model::SyncMigrationJobResult> SyncMigrationJobOutcome;
typedef std::future<SyncMigrationJobOutcome> SyncMigrationJobOutcomeCallable;
typedef std::function<void(const ApdsClient*, const Model::SyncMigrationJobRequest&, const SyncMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncMigrationJobAsyncHandler;
ApdsClient(const Credentials &credentials, const ClientConfiguration &configuration);
ApdsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ApdsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ApdsClient();
CreateFileJobOutcome createFileJob(const Model::CreateFileJobRequest &request)const;
void createFileJobAsync(const Model::CreateFileJobRequest& request, const CreateFileJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFileJobOutcomeCallable createFileJobCallable(const Model::CreateFileJobRequest& request) const;
CreateMigrationGroupOutcome createMigrationGroup(const Model::CreateMigrationGroupRequest &request)const;
void createMigrationGroupAsync(const Model::CreateMigrationGroupRequest& request, const CreateMigrationGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMigrationGroupOutcomeCallable createMigrationGroupCallable(const Model::CreateMigrationGroupRequest& request) const;
CreateMigrationJobOutcome createMigrationJob(const Model::CreateMigrationJobRequest &request)const;
void createMigrationJobAsync(const Model::CreateMigrationJobRequest& request, const CreateMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMigrationJobOutcomeCallable createMigrationJobCallable(const Model::CreateMigrationJobRequest& request) const;
CreateSurveyJobOutcome createSurveyJob(const Model::CreateSurveyJobRequest &request)const;
void createSurveyJobAsync(const Model::CreateSurveyJobRequest& request, const CreateSurveyJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSurveyJobOutcomeCallable createSurveyJobCallable(const Model::CreateSurveyJobRequest& request) const;
CreateSurveyJobOfflineOutcome createSurveyJobOffline(const Model::CreateSurveyJobOfflineRequest &request)const;
void createSurveyJobOfflineAsync(const Model::CreateSurveyJobOfflineRequest& request, const CreateSurveyJobOfflineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSurveyJobOfflineOutcomeCallable createSurveyJobOfflineCallable(const Model::CreateSurveyJobOfflineRequest& request) const;
DeleteMigrationGroupOutcome deleteMigrationGroup(const Model::DeleteMigrationGroupRequest &request)const;
void deleteMigrationGroupAsync(const Model::DeleteMigrationGroupRequest& request, const DeleteMigrationGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMigrationGroupOutcomeCallable deleteMigrationGroupCallable(const Model::DeleteMigrationGroupRequest& request) const;
DeleteMigrationJobOutcome deleteMigrationJob(const Model::DeleteMigrationJobRequest &request)const;
void deleteMigrationJobAsync(const Model::DeleteMigrationJobRequest& request, const DeleteMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMigrationJobOutcomeCallable deleteMigrationJobCallable(const Model::DeleteMigrationJobRequest& request) const;
DeleteOssFileOutcome deleteOssFile(const Model::DeleteOssFileRequest &request)const;
void deleteOssFileAsync(const Model::DeleteOssFileRequest& request, const DeleteOssFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteOssFileOutcomeCallable deleteOssFileCallable(const Model::DeleteOssFileRequest& request) const;
DeleteSurveyJobOutcome deleteSurveyJob(const Model::DeleteSurveyJobRequest &request)const;
void deleteSurveyJobAsync(const Model::DeleteSurveyJobRequest& request, const DeleteSurveyJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSurveyJobOutcomeCallable deleteSurveyJobCallable(const Model::DeleteSurveyJobRequest& request) const;
DeleteSurveyResourcesOutcome deleteSurveyResources(const Model::DeleteSurveyResourcesRequest &request)const;
void deleteSurveyResourcesAsync(const Model::DeleteSurveyResourcesRequest& request, const DeleteSurveyResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSurveyResourcesOutcomeCallable deleteSurveyResourcesCallable(const Model::DeleteSurveyResourcesRequest& request) const;
DescribeMigrationJobConfigOutcome describeMigrationJobConfig(const Model::DescribeMigrationJobConfigRequest &request)const;
void describeMigrationJobConfigAsync(const Model::DescribeMigrationJobConfigRequest& request, const DescribeMigrationJobConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobConfigOutcomeCallable describeMigrationJobConfigCallable(const Model::DescribeMigrationJobConfigRequest& request) const;
DescribeMigrationJobCountOutcome describeMigrationJobCount(const Model::DescribeMigrationJobCountRequest &request)const;
void describeMigrationJobCountAsync(const Model::DescribeMigrationJobCountRequest& request, const DescribeMigrationJobCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrationJobCountOutcomeCallable describeMigrationJobCountCallable(const Model::DescribeMigrationJobCountRequest& request) const;
DescribeOssStsOutcome describeOssSts(const Model::DescribeOssStsRequest &request)const;
void describeOssStsAsync(const Model::DescribeOssStsRequest& request, const DescribeOssStsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOssStsOutcomeCallable describeOssStsCallable(const Model::DescribeOssStsRequest& request) const;
DescribeSummaryByStatusOutcome describeSummaryByStatus(const Model::DescribeSummaryByStatusRequest &request)const;
void describeSummaryByStatusAsync(const Model::DescribeSummaryByStatusRequest& request, const DescribeSummaryByStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSummaryByStatusOutcomeCallable describeSummaryByStatusCallable(const Model::DescribeSummaryByStatusRequest& request) const;
DescribeSummaryByStatusAndGroupOutcome describeSummaryByStatusAndGroup(const Model::DescribeSummaryByStatusAndGroupRequest &request)const;
void describeSummaryByStatusAndGroupAsync(const Model::DescribeSummaryByStatusAndGroupRequest& request, const DescribeSummaryByStatusAndGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSummaryByStatusAndGroupOutcomeCallable describeSummaryByStatusAndGroupCallable(const Model::DescribeSummaryByStatusAndGroupRequest& request) const;
DescribeSurveyJobOutcome describeSurveyJob(const Model::DescribeSurveyJobRequest &request)const;
void describeSurveyJobAsync(const Model::DescribeSurveyJobRequest& request, const DescribeSurveyJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSurveyJobOutcomeCallable describeSurveyJobCallable(const Model::DescribeSurveyJobRequest& request) const;
DescribeSurveyJobCountOutcome describeSurveyJobCount(const Model::DescribeSurveyJobCountRequest &request)const;
void describeSurveyJobCountAsync(const Model::DescribeSurveyJobCountRequest& request, const DescribeSurveyJobCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSurveyJobCountOutcomeCallable describeSurveyJobCountCallable(const Model::DescribeSurveyJobCountRequest& request) const;
DescribeSurveyResourceTagOutcome describeSurveyResourceTag(const Model::DescribeSurveyResourceTagRequest &request)const;
void describeSurveyResourceTagAsync(const Model::DescribeSurveyResourceTagRequest& request, const DescribeSurveyResourceTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSurveyResourceTagOutcomeCallable describeSurveyResourceTagCallable(const Model::DescribeSurveyResourceTagRequest& request) const;
DescribeSurveyTemplateOutcome describeSurveyTemplate(const Model::DescribeSurveyTemplateRequest &request)const;
void describeSurveyTemplateAsync(const Model::DescribeSurveyTemplateRequest& request, const DescribeSurveyTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSurveyTemplateOutcomeCallable describeSurveyTemplateCallable(const Model::DescribeSurveyTemplateRequest& request) const;
ListMigrationJobsOutcome listMigrationJobs(const Model::ListMigrationJobsRequest &request)const;
void listMigrationJobsAsync(const Model::ListMigrationJobsRequest& request, const ListMigrationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListMigrationJobsOutcomeCallable listMigrationJobsCallable(const Model::ListMigrationJobsRequest& request) const;
ListRegionsOutcome listRegions(const Model::ListRegionsRequest &request)const;
void listRegionsAsync(const Model::ListRegionsRequest& request, const ListRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRegionsOutcomeCallable listRegionsCallable(const Model::ListRegionsRequest& request) const;
ListSurveyJobDownLoadJobsOutcome listSurveyJobDownLoadJobs(const Model::ListSurveyJobDownLoadJobsRequest &request)const;
void listSurveyJobDownLoadJobsAsync(const Model::ListSurveyJobDownLoadJobsRequest& request, const ListSurveyJobDownLoadJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveyJobDownLoadJobsOutcomeCallable listSurveyJobDownLoadJobsCallable(const Model::ListSurveyJobDownLoadJobsRequest& request) const;
ListSurveyJobsOutcome listSurveyJobs(const Model::ListSurveyJobsRequest &request)const;
void listSurveyJobsAsync(const Model::ListSurveyJobsRequest& request, const ListSurveyJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveyJobsOutcomeCallable listSurveyJobsCallable(const Model::ListSurveyJobsRequest& request) const;
ListSurveyResourceByMigrationGroupsOutcome listSurveyResourceByMigrationGroups(const Model::ListSurveyResourceByMigrationGroupsRequest &request)const;
void listSurveyResourceByMigrationGroupsAsync(const Model::ListSurveyResourceByMigrationGroupsRequest& request, const ListSurveyResourceByMigrationGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveyResourceByMigrationGroupsOutcomeCallable listSurveyResourceByMigrationGroupsCallable(const Model::ListSurveyResourceByMigrationGroupsRequest& request) const;
ListSurveyResourceConnectionsOutcome listSurveyResourceConnections(const Model::ListSurveyResourceConnectionsRequest &request)const;
void listSurveyResourceConnectionsAsync(const Model::ListSurveyResourceConnectionsRequest& request, const ListSurveyResourceConnectionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveyResourceConnectionsOutcomeCallable listSurveyResourceConnectionsCallable(const Model::ListSurveyResourceConnectionsRequest& request) const;
ListSurveyResourceTypesOutcome listSurveyResourceTypes(const Model::ListSurveyResourceTypesRequest &request)const;
void listSurveyResourceTypesAsync(const Model::ListSurveyResourceTypesRequest& request, const ListSurveyResourceTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveyResourceTypesOutcomeCallable listSurveyResourceTypesCallable(const Model::ListSurveyResourceTypesRequest& request) const;
ListSurveyResourcesDetailOutcome listSurveyResourcesDetail(const Model::ListSurveyResourcesDetailRequest &request)const;
void listSurveyResourcesDetailAsync(const Model::ListSurveyResourcesDetailRequest& request, const ListSurveyResourcesDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSurveyResourcesDetailOutcomeCallable listSurveyResourcesDetailCallable(const Model::ListSurveyResourcesDetailRequest& request) const;
RecoverMigrationJobOutcome recoverMigrationJob(const Model::RecoverMigrationJobRequest &request)const;
void recoverMigrationJobAsync(const Model::RecoverMigrationJobRequest& request, const RecoverMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecoverMigrationJobOutcomeCallable recoverMigrationJobCallable(const Model::RecoverMigrationJobRequest& request) const;
StopSyncMigrationJobOutcome stopSyncMigrationJob(const Model::StopSyncMigrationJobRequest &request)const;
void stopSyncMigrationJobAsync(const Model::StopSyncMigrationJobRequest& request, const StopSyncMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopSyncMigrationJobOutcomeCallable stopSyncMigrationJobCallable(const Model::StopSyncMigrationJobRequest& request) const;
SyncMigrationJobOutcome syncMigrationJob(const Model::SyncMigrationJobRequest &request)const;
void syncMigrationJobAsync(const Model::SyncMigrationJobRequest& request, const SyncMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SyncMigrationJobOutcomeCallable syncMigrationJobCallable(const Model::SyncMigrationJobRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_APDS_APDSCLIENT_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_APDS_APDSEXPORT_H_
#define ALIBABACLOUD_APDS_APDSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_APDS_LIBRARY)
# define ALIBABACLOUD_APDS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_APDS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_APDS_EXPORT
#endif
#endif // !ALIBABACLOUD_APDS_APDSEXPORT_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_APDS_MODEL_CREATEFILEJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_CREATEFILEJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT CreateFileJobRequest : public RoaServiceRequest {
public:
CreateFileJobRequest();
~CreateFileJobRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_CREATEFILEJOBREQUEST_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_APDS_MODEL_CREATEFILEJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_CREATEFILEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT CreateFileJobResult : public ServiceResult
{
public:
CreateFileJobResult();
explicit CreateFileJobResult(const std::string &payload);
~CreateFileJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_CREATEFILEJOBRESULT_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_APDS_MODEL_CREATEMIGRATIONGROUPREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONGROUPREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT CreateMigrationGroupRequest : public RoaServiceRequest {
public:
CreateMigrationGroupRequest();
~CreateMigrationGroupRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONGROUPREQUEST_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_APDS_MODEL_CREATEMIGRATIONGROUPRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT CreateMigrationGroupResult : public ServiceResult
{
public:
CreateMigrationGroupResult();
explicit CreateMigrationGroupResult(const std::string &payload);
~CreateMigrationGroupResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONGROUPRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT CreateMigrationJobRequest : public RoaServiceRequest {
public:
CreateMigrationJobRequest();
~CreateMigrationJobRequest();
std::string getBody() const;
void setBody(const std::string &body);
private:
std::string body_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONJOBREQUEST_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_APDS_MODEL_CREATEMIGRATIONJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT CreateMigrationJobResult : public ServiceResult
{
public:
CreateMigrationJobResult();
explicit CreateMigrationJobResult(const std::string &payload);
~CreateMigrationJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_CREATEMIGRATIONJOBRESULT_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_APDS_MODEL_CREATESURVEYJOBOFFLINEREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBOFFLINEREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT CreateSurveyJobOfflineRequest : public RoaServiceRequest {
public:
CreateSurveyJobOfflineRequest();
~CreateSurveyJobOfflineRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBOFFLINEREQUEST_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_APDS_MODEL_CREATESURVEYJOBOFFLINERESULT_H_
#define ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBOFFLINERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT CreateSurveyJobOfflineResult : public ServiceResult
{
public:
CreateSurveyJobOfflineResult();
explicit CreateSurveyJobOfflineResult(const std::string &payload);
~CreateSurveyJobOfflineResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBOFFLINERESULT_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_APDS_MODEL_CREATESURVEYJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT CreateSurveyJobRequest : public RoaServiceRequest {
public:
CreateSurveyJobRequest();
~CreateSurveyJobRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBREQUEST_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_APDS_MODEL_CREATESURVEYJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT CreateSurveyJobResult : public ServiceResult
{
public:
CreateSurveyJobResult();
explicit CreateSurveyJobResult(const std::string &payload);
~CreateSurveyJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_CREATESURVEYJOBRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONGROUPREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONGROUPREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DeleteMigrationGroupRequest : public RoaServiceRequest {
public:
DeleteMigrationGroupRequest();
~DeleteMigrationGroupRequest();
integer getId() const;
void setId(integer id);
private:
integer id_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONGROUPREQUEST_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_APDS_MODEL_DELETEMIGRATIONGROUPRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DeleteMigrationGroupResult : public ServiceResult
{
public:
DeleteMigrationGroupResult();
explicit DeleteMigrationGroupResult(const std::string &payload);
~DeleteMigrationGroupResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONGROUPRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DeleteMigrationJobRequest : public RoaServiceRequest {
public:
DeleteMigrationJobRequest();
~DeleteMigrationJobRequest();
integer getId() const;
void setId(integer id);
private:
integer id_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONJOBREQUEST_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_APDS_MODEL_DELETEMIGRATIONJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DeleteMigrationJobResult : public ServiceResult
{
public:
DeleteMigrationJobResult();
explicit DeleteMigrationJobResult(const std::string &payload);
~DeleteMigrationJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DELETEMIGRATIONJOBRESULT_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_APDS_MODEL_DELETEOSSFILEREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DELETEOSSFILEREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DeleteOssFileRequest : public RoaServiceRequest {
public:
DeleteOssFileRequest();
~DeleteOssFileRequest();
string getObjectName() const;
void setObjectName(string objectName);
string getRegionId() const;
void setRegionId(string regionId);
private:
string objectName_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DELETEOSSFILEREQUEST_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_APDS_MODEL_DELETEOSSFILERESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DELETEOSSFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DeleteOssFileResult : public ServiceResult
{
public:
DeleteOssFileResult();
explicit DeleteOssFileResult(const std::string &payload);
~DeleteOssFileResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DELETEOSSFILERESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DELETESURVEYJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DELETESURVEYJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DeleteSurveyJobRequest : public RoaServiceRequest {
public:
DeleteSurveyJobRequest();
~DeleteSurveyJobRequest();
integer getId() const;
void setId(integer id);
private:
integer id_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DELETESURVEYJOBREQUEST_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_APDS_MODEL_DELETESURVEYJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DELETESURVEYJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DeleteSurveyJobResult : public ServiceResult
{
public:
DeleteSurveyJobResult();
explicit DeleteSurveyJobResult(const std::string &payload);
~DeleteSurveyJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DELETESURVEYJOBRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DELETESURVEYRESOURCESREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DELETESURVEYRESOURCESREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DeleteSurveyResourcesRequest : public RoaServiceRequest {
public:
DeleteSurveyResourcesRequest();
~DeleteSurveyResourcesRequest();
string getIds() const;
void setIds(string ids);
private:
string ids_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DELETESURVEYRESOURCESREQUEST_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_APDS_MODEL_DELETESURVEYRESOURCESRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DELETESURVEYRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DeleteSurveyResourcesResult : public ServiceResult
{
public:
DeleteSurveyResourcesResult();
explicit DeleteSurveyResourcesResult(const std::string &payload);
~DeleteSurveyResourcesResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DELETESURVEYRESOURCESRESULT_H_

View File

@@ -0,0 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCONFIGREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCONFIGREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeMigrationJobConfigRequest : public RoaServiceRequest {
public:
DescribeMigrationJobConfigRequest();
~DescribeMigrationJobConfigRequest();
private:
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCONFIGREQUEST_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_APDS_MODEL_DESCRIBEMIGRATIONJOBCONFIGRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeMigrationJobConfigResult : public ServiceResult
{
public:
DescribeMigrationJobConfigResult();
explicit DescribeMigrationJobConfigResult(const std::string &payload);
~DescribeMigrationJobConfigResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCONFIGRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCOUNTREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCOUNTREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeMigrationJobCountRequest : public RoaServiceRequest {
public:
DescribeMigrationJobCountRequest();
~DescribeMigrationJobCountRequest();
std::string getBody() const;
void setBody(const std::string &body);
private:
std::string body_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCOUNTREQUEST_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_APDS_MODEL_DESCRIBEMIGRATIONJOBCOUNTRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeMigrationJobCountResult : public ServiceResult
{
public:
DescribeMigrationJobCountResult();
explicit DescribeMigrationJobCountResult(const std::string &payload);
~DescribeMigrationJobCountResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBEMIGRATIONJOBCOUNTRESULT_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_APDS_MODEL_DESCRIBEOSSSTSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBEOSSSTSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeOssStsRequest : public RoaServiceRequest {
public:
DescribeOssStsRequest();
~DescribeOssStsRequest();
string getCloudType() const;
void setCloudType(string cloudType);
string getAk() const;
void setAk(string ak);
string getRegionId() const;
void setRegionId(string regionId);
string getSk() const;
void setSk(string sk);
string getTenantId() const;
void setTenantId(string tenantId);
string getRegion() const;
void setRegion(string region);
private:
string cloudType_;
string ak_;
string regionId_;
string sk_;
string tenantId_;
string region_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBEOSSSTSREQUEST_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_APDS_MODEL_DESCRIBEOSSSTSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBEOSSSTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeOssStsResult : public ServiceResult
{
public:
DescribeOssStsResult();
explicit DescribeOssStsResult(const std::string &payload);
~DescribeOssStsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBEOSSSTSRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSANDGROUPREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSANDGROUPREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeSummaryByStatusAndGroupRequest : public RoaServiceRequest {
public:
DescribeSummaryByStatusAndGroupRequest();
~DescribeSummaryByStatusAndGroupRequest();
string getRegionId() const;
void setRegionId(string regionId);
private:
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSANDGROUPREQUEST_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_APDS_MODEL_DESCRIBESUMMARYBYSTATUSANDGROUPRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSANDGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeSummaryByStatusAndGroupResult : public ServiceResult
{
public:
DescribeSummaryByStatusAndGroupResult();
explicit DescribeSummaryByStatusAndGroupResult(const std::string &payload);
~DescribeSummaryByStatusAndGroupResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSANDGROUPRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeSummaryByStatusRequest : public RoaServiceRequest {
public:
DescribeSummaryByStatusRequest();
~DescribeSummaryByStatusRequest();
string getRegionId() const;
void setRegionId(string regionId);
private:
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSREQUEST_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_APDS_MODEL_DESCRIBESUMMARYBYSTATUSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeSummaryByStatusResult : public ServiceResult
{
public:
DescribeSummaryByStatusResult();
explicit DescribeSummaryByStatusResult(const std::string &payload);
~DescribeSummaryByStatusResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESUMMARYBYSTATUSRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBCOUNTREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBCOUNTREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyJobCountRequest : public RoaServiceRequest {
public:
DescribeSurveyJobCountRequest();
~DescribeSurveyJobCountRequest();
string getRegionId() const;
void setRegionId(string regionId);
private:
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBCOUNTREQUEST_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_APDS_MODEL_DESCRIBESURVEYJOBCOUNTRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBCOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyJobCountResult : public ServiceResult
{
public:
DescribeSurveyJobCountResult();
explicit DescribeSurveyJobCountResult(const std::string &payload);
~DescribeSurveyJobCountResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBCOUNTRESULT_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_APDS_MODEL_DESCRIBESURVEYJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyJobRequest : public RoaServiceRequest {
public:
DescribeSurveyJobRequest();
~DescribeSurveyJobRequest();
string getRegionId() const;
void setRegionId(string regionId);
integer getId() const;
void setId(integer id);
private:
string regionId_;
integer id_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBREQUEST_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_APDS_MODEL_DESCRIBESURVEYJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyJobResult : public ServiceResult
{
public:
DescribeSurveyJobResult();
explicit DescribeSurveyJobResult(const std::string &payload);
~DescribeSurveyJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYJOBRESULT_H_

View File

@@ -0,0 +1,39 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYRESOURCETAGREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYRESOURCETAGREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyResourceTagRequest : public RoaServiceRequest {
public:
DescribeSurveyResourceTagRequest();
~DescribeSurveyResourceTagRequest();
private:
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYRESOURCETAGREQUEST_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_APDS_MODEL_DESCRIBESURVEYRESOURCETAGRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYRESOURCETAGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyResourceTagResult : public ServiceResult
{
public:
DescribeSurveyResourceTagResult();
explicit DescribeSurveyResourceTagResult(const std::string &payload);
~DescribeSurveyResourceTagResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYRESOURCETAGRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYTEMPLATEREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYTEMPLATEREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyTemplateRequest : public RoaServiceRequest {
public:
DescribeSurveyTemplateRequest();
~DescribeSurveyTemplateRequest();
string getResourceType() const;
void setResourceType(string resourceType);
private:
string resourceType_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYTEMPLATEREQUEST_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_APDS_MODEL_DESCRIBESURVEYTEMPLATERESULT_H_
#define ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT DescribeSurveyTemplateResult : public ServiceResult
{
public:
DescribeSurveyTemplateResult();
explicit DescribeSurveyTemplateResult(const std::string &payload);
~DescribeSurveyTemplateResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_DESCRIBESURVEYTEMPLATERESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_LISTMIGRATIONJOBSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTMIGRATIONJOBSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListMigrationJobsRequest : public RoaServiceRequest {
public:
ListMigrationJobsRequest();
~ListMigrationJobsRequest();
std::string getBody() const;
void setBody(const std::string &body);
private:
std::string body_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTMIGRATIONJOBSREQUEST_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_APDS_MODEL_LISTMIGRATIONJOBSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTMIGRATIONJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListMigrationJobsResult : public ServiceResult
{
public:
ListMigrationJobsResult();
explicit ListMigrationJobsResult(const std::string &payload);
~ListMigrationJobsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTMIGRATIONJOBSRESULT_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_APDS_MODEL_LISTREGIONSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTREGIONSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListRegionsRequest : public RoaServiceRequest {
public:
ListRegionsRequest();
~ListRegionsRequest();
string getCloudType() const;
void setCloudType(string cloudType);
string getAk() const;
void setAk(string ak);
string getRegionId() const;
void setRegionId(string regionId);
string getSk() const;
void setSk(string sk);
string getTenantId() const;
void setTenantId(string tenantId);
string getRegion() const;
void setRegion(string region);
private:
string cloudType_;
string ak_;
string regionId_;
string sk_;
string tenantId_;
string region_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTREGIONSREQUEST_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_APDS_MODEL_LISTREGIONSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListRegionsResult : public ServiceResult
{
public:
ListRegionsResult();
explicit ListRegionsResult(const std::string &payload);
~ListRegionsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTREGIONSRESULT_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_APDS_MODEL_LISTSURVEYJOBDOWNLOADJOBSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBDOWNLOADJOBSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListSurveyJobDownLoadJobsRequest : public RoaServiceRequest {
public:
ListSurveyJobDownLoadJobsRequest();
~ListSurveyJobDownLoadJobsRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBDOWNLOADJOBSREQUEST_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_APDS_MODEL_LISTSURVEYJOBDOWNLOADJOBSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBDOWNLOADJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListSurveyJobDownLoadJobsResult : public ServiceResult
{
public:
ListSurveyJobDownLoadJobsResult();
explicit ListSurveyJobDownLoadJobsResult(const std::string &payload);
~ListSurveyJobDownLoadJobsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBDOWNLOADJOBSRESULT_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_APDS_MODEL_LISTSURVEYJOBSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListSurveyJobsRequest : public RoaServiceRequest {
public:
ListSurveyJobsRequest();
~ListSurveyJobsRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBSREQUEST_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_APDS_MODEL_LISTSURVEYJOBSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListSurveyJobsResult : public ServiceResult
{
public:
ListSurveyJobsResult();
explicit ListSurveyJobsResult(const std::string &payload);
~ListSurveyJobsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYJOBSRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCEBYMIGRATIONGROUPSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCEBYMIGRATIONGROUPSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourceByMigrationGroupsRequest : public RoaServiceRequest {
public:
ListSurveyResourceByMigrationGroupsRequest();
~ListSurveyResourceByMigrationGroupsRequest();
std::string getBody() const;
void setBody(const std::string &body);
private:
std::string body_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCEBYMIGRATIONGROUPSREQUEST_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_APDS_MODEL_LISTSURVEYRESOURCEBYMIGRATIONGROUPSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCEBYMIGRATIONGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourceByMigrationGroupsResult : public ServiceResult
{
public:
ListSurveyResourceByMigrationGroupsResult();
explicit ListSurveyResourceByMigrationGroupsResult(const std::string &payload);
~ListSurveyResourceByMigrationGroupsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCEBYMIGRATIONGROUPSRESULT_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_APDS_MODEL_LISTSURVEYRESOURCECONNECTIONSREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCECONNECTIONSREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourceConnectionsRequest : public RoaServiceRequest {
public:
ListSurveyResourceConnectionsRequest();
~ListSurveyResourceConnectionsRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCECONNECTIONSREQUEST_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_APDS_MODEL_LISTSURVEYRESOURCECONNECTIONSRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCECONNECTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourceConnectionsResult : public ServiceResult
{
public:
ListSurveyResourceConnectionsResult();
explicit ListSurveyResourceConnectionsResult(const std::string &payload);
~ListSurveyResourceConnectionsResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCECONNECTIONSRESULT_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_APDS_MODEL_LISTSURVEYRESOURCETYPESREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCETYPESREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourceTypesRequest : public RoaServiceRequest {
public:
ListSurveyResourceTypesRequest();
~ListSurveyResourceTypesRequest();
string getCloudType() const;
void setCloudType(string cloudType);
string getAk() const;
void setAk(string ak);
string getRegionId() const;
void setRegionId(string regionId);
string getSk() const;
void setSk(string sk);
string getRegion() const;
void setRegion(string region);
private:
string cloudType_;
string ak_;
string regionId_;
string sk_;
string region_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCETYPESREQUEST_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_APDS_MODEL_LISTSURVEYRESOURCETYPESRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCETYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourceTypesResult : public ServiceResult
{
public:
ListSurveyResourceTypesResult();
explicit ListSurveyResourceTypesResult(const std::string &payload);
~ListSurveyResourceTypesResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCETYPESRESULT_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_APDS_MODEL_LISTSURVEYRESOURCESDETAILREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCESDETAILREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourcesDetailRequest : public RoaServiceRequest {
public:
ListSurveyResourcesDetailRequest();
~ListSurveyResourcesDetailRequest();
std::string getBody() const;
void setBody(const std::string &body);
string getRegionId() const;
void setRegionId(string regionId);
private:
std::string body_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCESDETAILREQUEST_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_APDS_MODEL_LISTSURVEYRESOURCESDETAILRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCESDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT ListSurveyResourcesDetailResult : public ServiceResult
{
public:
ListSurveyResourcesDetailResult();
explicit ListSurveyResourcesDetailResult(const std::string &payload);
~ListSurveyResourcesDetailResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_LISTSURVEYRESOURCESDETAILRESULT_H_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_RECOVERMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_RECOVERMIGRATIONJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT RecoverMigrationJobRequest : public RoaServiceRequest {
public:
RecoverMigrationJobRequest();
~RecoverMigrationJobRequest();
integer getId() const;
void setId(integer id);
private:
integer id_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_RECOVERMIGRATIONJOBREQUEST_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_APDS_MODEL_RECOVERMIGRATIONJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_RECOVERMIGRATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT RecoverMigrationJobResult : public ServiceResult
{
public:
RecoverMigrationJobResult();
explicit RecoverMigrationJobResult(const std::string &payload);
~RecoverMigrationJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_RECOVERMIGRATIONJOBRESULT_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_APDS_MODEL_STOPSYNCMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_STOPSYNCMIGRATIONJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT StopSyncMigrationJobRequest : public RoaServiceRequest {
public:
StopSyncMigrationJobRequest();
~StopSyncMigrationJobRequest();
string getJobType() const;
void setJobType(string jobType);
string getRegionId() const;
void setRegionId(string regionId);
private:
string jobType_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_STOPSYNCMIGRATIONJOBREQUEST_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_APDS_MODEL_STOPSYNCMIGRATIONJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_STOPSYNCMIGRATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT StopSyncMigrationJobResult : public ServiceResult
{
public:
StopSyncMigrationJobResult();
explicit StopSyncMigrationJobResult(const std::string &payload);
~StopSyncMigrationJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_STOPSYNCMIGRATIONJOBRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APDS_MODEL_SYNCMIGRATIONJOBREQUEST_H_
#define ALIBABACLOUD_APDS_MODEL_SYNCMIGRATIONJOBREQUEST_H_
#include <alibabacloud/apds/ApdsExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Apds {
namespace Model {
class ALIBABACLOUD_APDS_EXPORT SyncMigrationJobRequest : public RoaServiceRequest {
public:
SyncMigrationJobRequest();
~SyncMigrationJobRequest();
string getRegions() const;
void setRegions(string regions);
string getJobType() const;
void setJobType(string jobType);
string getRegionId() const;
void setRegionId(string regionId);
private:
string regions_;
string jobType_;
string regionId_;
};
} // namespace Model
} // namespace Apds
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_APDS_MODEL_SYNCMIGRATIONJOBREQUEST_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_APDS_MODEL_SYNCMIGRATIONJOBRESULT_H_
#define ALIBABACLOUD_APDS_MODEL_SYNCMIGRATIONJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/apds/ApdsExport.h>
namespace AlibabaCloud
{
namespace Apds
{
namespace Model
{
class ALIBABACLOUD_APDS_EXPORT SyncMigrationJobResult : public ServiceResult
{
public:
SyncMigrationJobResult();
explicit SyncMigrationJobResult(const std::string &payload);
~SyncMigrationJobResult();
std::string getError()const;
ObjectOfAny getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string error_;
ObjectOfAny data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_APDS_MODEL_SYNCMIGRATIONJOBRESULT_H_

1133
apds/src/ApdsClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/CreateFileJobRequest.h>
using AlibabaCloud::Apds::Model::CreateFileJobRequest;
CreateFileJobRequest::CreateFileJobRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/file-job/create"};
setMethod(HttpRequest::Method::Post);
}
CreateFileJobRequest::~CreateFileJobRequest() {}
std::string CreateFileJobRequest::getBody() const {
return body_;
}
void CreateFileJobRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}
string CreateFileJobRequest::getRegionId() const {
return regionId_;
}
void CreateFileJobRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/CreateMigrationGroupRequest.h>
using AlibabaCloud::Apds::Model::CreateMigrationGroupRequest;
CreateMigrationGroupRequest::CreateMigrationGroupRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/migration-group/save-migration-group"};
setMethod(HttpRequest::Method::Post);
}
CreateMigrationGroupRequest::~CreateMigrationGroupRequest() {}
std::string CreateMigrationGroupRequest::getBody() const {
return body_;
}
void CreateMigrationGroupRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}
string CreateMigrationGroupRequest::getRegionId() const {
return regionId_;
}
void CreateMigrationGroupRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/CreateMigrationJobRequest.h>
using AlibabaCloud::Apds::Model::CreateMigrationJobRequest;
CreateMigrationJobRequest::CreateMigrationJobRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/migration-job/create-migration-jobs"};
setMethod(HttpRequest::Method::Post);
}
CreateMigrationJobRequest::~CreateMigrationJobRequest() {}
std::string CreateMigrationJobRequest::getBody() const {
return body_;
}
void CreateMigrationJobRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}

View File

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

View File

@@ -0,0 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/CreateSurveyJobOfflineRequest.h>
using AlibabaCloud::Apds::Model::CreateSurveyJobOfflineRequest;
CreateSurveyJobOfflineRequest::CreateSurveyJobOfflineRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/winback/add-import-survey-job"};
setMethod(HttpRequest::Method::Post);
}
CreateSurveyJobOfflineRequest::~CreateSurveyJobOfflineRequest() {}
std::string CreateSurveyJobOfflineRequest::getBody() const {
return body_;
}
void CreateSurveyJobOfflineRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}
string CreateSurveyJobOfflineRequest::getRegionId() const {
return regionId_;
}
void CreateSurveyJobOfflineRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/CreateSurveyJobRequest.h>
using AlibabaCloud::Apds::Model::CreateSurveyJobRequest;
CreateSurveyJobRequest::CreateSurveyJobRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/winback/add-survey-job"};
setMethod(HttpRequest::Method::Post);
}
CreateSurveyJobRequest::~CreateSurveyJobRequest() {}
std::string CreateSurveyJobRequest::getBody() const {
return body_;
}
void CreateSurveyJobRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}
string CreateSurveyJobRequest::getRegionId() const {
return regionId_;
}
void CreateSurveyJobRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DeleteMigrationGroupRequest.h>
using AlibabaCloud::Apds::Model::DeleteMigrationGroupRequest;
DeleteMigrationGroupRequest::DeleteMigrationGroupRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/migration-group/remove-migration-group"};
setMethod(HttpRequest::Method::Post);
}
DeleteMigrationGroupRequest::~DeleteMigrationGroupRequest() {}
integer DeleteMigrationGroupRequest::getId() const {
return id_;
}
void DeleteMigrationGroupRequest::setId(integer id) {
id_ = id;
setParameter(std::string("id"), std::to_string(id));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DeleteMigrationJobRequest.h>
using AlibabaCloud::Apds::Model::DeleteMigrationJobRequest;
DeleteMigrationJobRequest::DeleteMigrationJobRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/migration-job/remove-migration-job"};
setMethod(HttpRequest::Method::Post);
}
DeleteMigrationJobRequest::~DeleteMigrationJobRequest() {}
integer DeleteMigrationJobRequest::getId() const {
return id_;
}
void DeleteMigrationJobRequest::setId(integer id) {
id_ = id;
setParameter(std::string("id"), std::to_string(id));
}

View File

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

View File

@@ -0,0 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DeleteOssFileRequest.h>
using AlibabaCloud::Apds::Model::DeleteOssFileRequest;
DeleteOssFileRequest::DeleteOssFileRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/file-job/delete-file"};
setMethod(HttpRequest::Method::Post);
}
DeleteOssFileRequest::~DeleteOssFileRequest() {}
string DeleteOssFileRequest::getObjectName() const {
return objectName_;
}
void DeleteOssFileRequest::setObjectName(string objectName) {
objectName_ = objectName;
setParameter(std::string("objectName"), std::to_string(objectName));
}
string DeleteOssFileRequest::getRegionId() const {
return regionId_;
}
void DeleteOssFileRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DeleteSurveyJobRequest.h>
using AlibabaCloud::Apds::Model::DeleteSurveyJobRequest;
DeleteSurveyJobRequest::DeleteSurveyJobRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/winback/delete-survey-job"};
setMethod(HttpRequest::Method::Post);
}
DeleteSurveyJobRequest::~DeleteSurveyJobRequest() {}
integer DeleteSurveyJobRequest::getId() const {
return id_;
}
void DeleteSurveyJobRequest::setId(integer id) {
id_ = id;
setParameter(std::string("id"), std::to_string(id));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DeleteSurveyResourcesRequest.h>
using AlibabaCloud::Apds::Model::DeleteSurveyResourcesRequest;
DeleteSurveyResourcesRequest::DeleteSurveyResourcesRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/confirm-resource/destroy"};
setMethod(HttpRequest::Method::Post);
}
DeleteSurveyResourcesRequest::~DeleteSurveyResourcesRequest() {}
string DeleteSurveyResourcesRequest::getIds() const {
return ids_;
}
void DeleteSurveyResourcesRequest::setIds(string ids) {
ids_ = ids;
setParameter(std::string("ids"), std::to_string(ids));
}

View File

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

View File

@@ -0,0 +1,28 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeMigrationJobConfigRequest.h>
using AlibabaCloud::Apds::Model::DescribeMigrationJobConfigRequest;
DescribeMigrationJobConfigRequest::DescribeMigrationJobConfigRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/migration-job/describe-migration-job-config"};
setMethod(HttpRequest::Method::Post);
}
DescribeMigrationJobConfigRequest::~DescribeMigrationJobConfigRequest() {}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeMigrationJobCountRequest.h>
using AlibabaCloud::Apds::Model::DescribeMigrationJobCountRequest;
DescribeMigrationJobCountRequest::DescribeMigrationJobCountRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/migration-job/count-migration-jobs"};
setMethod(HttpRequest::Method::Post);
}
DescribeMigrationJobCountRequest::~DescribeMigrationJobCountRequest() {}
std::string DescribeMigrationJobCountRequest::getBody() const {
return body_;
}
void DescribeMigrationJobCountRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}

View File

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

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeOssStsRequest.h>
using AlibabaCloud::Apds::Model::DescribeOssStsRequest;
DescribeOssStsRequest::DescribeOssStsRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/file-job/sts"};
setMethod(HttpRequest::Method::Post);
}
DescribeOssStsRequest::~DescribeOssStsRequest() {}
string DescribeOssStsRequest::getCloudType() const {
return cloudType_;
}
void DescribeOssStsRequest::setCloudType(string cloudType) {
cloudType_ = cloudType;
setParameter(std::string("cloudType"), std::to_string(cloudType));
}
string DescribeOssStsRequest::getAk() const {
return ak_;
}
void DescribeOssStsRequest::setAk(string ak) {
ak_ = ak;
setParameter(std::string("ak"), std::to_string(ak));
}
string DescribeOssStsRequest::getRegionId() const {
return regionId_;
}
void DescribeOssStsRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}
string DescribeOssStsRequest::getSk() const {
return sk_;
}
void DescribeOssStsRequest::setSk(string sk) {
sk_ = sk;
setParameter(std::string("sk"), std::to_string(sk));
}
string DescribeOssStsRequest::getTenantId() const {
return tenantId_;
}
void DescribeOssStsRequest::setTenantId(string tenantId) {
tenantId_ = tenantId;
setParameter(std::string("tenantId"), std::to_string(tenantId));
}
string DescribeOssStsRequest::getRegion() const {
return region_;
}
void DescribeOssStsRequest::setRegion(string region) {
region_ = region;
setParameter(std::string("region"), std::to_string(region));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeSummaryByStatusAndGroupRequest.h>
using AlibabaCloud::Apds::Model::DescribeSummaryByStatusAndGroupRequest;
DescribeSummaryByStatusAndGroupRequest::DescribeSummaryByStatusAndGroupRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/summary/summary-by-status-and-region"};
setMethod(HttpRequest::Method::Post);
}
DescribeSummaryByStatusAndGroupRequest::~DescribeSummaryByStatusAndGroupRequest() {}
string DescribeSummaryByStatusAndGroupRequest::getRegionId() const {
return regionId_;
}
void DescribeSummaryByStatusAndGroupRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeSummaryByStatusRequest.h>
using AlibabaCloud::Apds::Model::DescribeSummaryByStatusRequest;
DescribeSummaryByStatusRequest::DescribeSummaryByStatusRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/summary/summary-by-status"};
setMethod(HttpRequest::Method::Post);
}
DescribeSummaryByStatusRequest::~DescribeSummaryByStatusRequest() {}
string DescribeSummaryByStatusRequest::getRegionId() const {
return regionId_;
}
void DescribeSummaryByStatusRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,37 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeSurveyJobCountRequest.h>
using AlibabaCloud::Apds::Model::DescribeSurveyJobCountRequest;
DescribeSurveyJobCountRequest::DescribeSurveyJobCountRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/winback/count-survey-job"};
setMethod(HttpRequest::Method::Post);
}
DescribeSurveyJobCountRequest::~DescribeSurveyJobCountRequest() {}
string DescribeSurveyJobCountRequest::getRegionId() const {
return regionId_;
}
void DescribeSurveyJobCountRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}

View File

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

View File

@@ -0,0 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/apds/model/DescribeSurveyJobRequest.h>
using AlibabaCloud::Apds::Model::DescribeSurveyJobRequest;
DescribeSurveyJobRequest::DescribeSurveyJobRequest()
: RoaServiceRequest("apds", "2022-03-31") {
setResourcePath("/okss-services/winback/query-survey-job"};
setMethod(HttpRequest::Method::Post);
}
DescribeSurveyJobRequest::~DescribeSurveyJobRequest() {}
string DescribeSurveyJobRequest::getRegionId() const {
return regionId_;
}
void DescribeSurveyJobRequest::setRegionId(string regionId) {
regionId_ = regionId;
setParameter(std::string("regionId"), std::to_string(regionId));
}
integer DescribeSurveyJobRequest::getId() const {
return id_;
}
void DescribeSurveyJobRequest::setId(integer id) {
id_ = id;
setParameter(std::string("id"), std::to_string(id));
}

View File

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

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