Compare commits

..

21 Commits

Author SHA1 Message Date
sdk-team
c175a0587d Initial construction. 2019-10-25 16:33:45 +08:00
sdk-team
c5ef4b1c88 Supported query push records. 2019-10-25 15:35:50 +08:00
宋神宗
5a9569e804 Merge pull request #75 from aliyun/fixed/issue_74
fixed issue #74
2019-10-25 13:44:10 +08:00
wb-hx510875
f0779e31fe fixed ft 2019-10-25 13:14:41 +08:00
wb-hx510875
0831be3ba4 fixed issue #74 2019-10-25 12:53:20 +08:00
sdk-team
0c750a10f5 Add DescribeDBClusterPerformance, DescribeDBNodePerformance for performance. 2019-10-25 10:36:53 +08:00
sdk-team
2f32d7f5fd Generated 2017-12-14 for BssOpenApi. 2019-10-24 17:44:15 +08:00
sdk-team
2cf121437d Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image. 2019-10-23 14:26:23 +08:00
sdk-team
dd14b71d04 Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image. 2019-10-23 14:21:21 +08:00
sdk-team
85d11c3bba Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image. 2019-10-23 12:52:03 +08:00
sdk-team
bba9532ea7 RunInstances support AutoSnapshotPolicyId. 2019-10-22 16:51:54 +08:00
sdk-team
c9f3f1182e Supported ExternalId IMM. 2019-10-22 10:07:21 +08:00
sdk-team
63f8b47b8d Release first version. 2019-10-21 11:23:43 +08:00
sdk-team
e3c9867b49 Generated 2019-09-10 for DnsKnocker. 2019-10-18 18:48:15 +08:00
宋神宗
cef7d9d526 Merge pull request #73 from aliyun/fixed/issue_70
fixed #70
2019-10-17 15:14:36 +08:00
wb-hx510875
501fec720e fixed #70 2019-10-17 12:57:23 +08:00
sdk-team
031a93374f Add ListTagResources OpenApi. 2019-10-16 12:33:43 +08:00
sdk-team
8fe6dfd981 Support continuous pushing. 2019-10-14 14:05:26 +08:00
sdk-team
0dc8a66e75 Add VideoCancelScan Api. 2019-10-09 17:27:41 +08:00
sdk-team
dcd246f4ed Support API RecognizeImageColor. 2019-10-09 14:20:15 +08:00
sdk-team
82ba7e55bb Supported Grab Frame IMM. 2019-10-08 16:50:20 +08:00
749 changed files with 31348 additions and 22978 deletions

View File

@@ -1,3 +1,77 @@
2019-10-25 Version 1.36.161
- Initial construction.
- Public beta version.
- Supported AliyunController for Interface.
- Supported ConsoleController for Interface.
- Supported AccountController for Interface.
2019-10-25 Version 1.36.160
- Supported query push records.
2019-10-25 Version 1.36.159
- Add DescribeDBClusterPerformance, DescribeDBNodePerformance for performance.
2019-10-24 Version 1.36.158
- Generated 2017-12-14 for `BssOpenApi`.
2019-10-23 Version 1.36.157
- Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image.
- Add a new api named SubmitWorkflowJob to initiate the VoD workflow processing for audio and video.
- Add a new field AuditStatus in the structure ImageInfo to GetImageInfo api response, which is used to identify the audit status of the image.
- Modify the data type of return field StorageLocation to String.
- Add a new field named MediaType to SubmitAIMediaAuditJob api request.
2019-10-23 Version 1.36.156
- Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image.
- Add a new api named SubmitWorkflowJob to initiate the VoD workflow processing for audio and video.
- Add a new field AuditStatus in the structure ImageInfo to GetImageInfo api response, which is used to identify the audit status of the image.
- Modify the data type of return field StorageLocation to String.
- Add a new field named MediaType to SubmitAIMediaAuditJob api request.
2019-10-23 Version 1.36.155
- Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image.
- Add a new api named SubmitWorkflowJob to initiate the VoD workflow processing for audio and video.
- Add a new field AuditStatus in the structure ImageInfo to GetImageInfo api response, which is used to identify the audit status of the image.
- Modify the data type of return field StorageLocation to String.
- Add a new field named MediaType to SubmitAIMediaAuditJob api request.
2019-10-22 Version 1.36.154
- RunInstances support AutoSnapshotPolicyId.
2019-10-22 Version 1.36.153
- Supported ExternalId IMM.
2019-10-21 Version 1.36.152
- Release first version.
2019-10-18 Version 1.36.151
- Generated 2019-09-10 for `DnsKnocker`.
2019-10-16 Version 1.36.150
- Add ListTagResources OpenApi.
- Add TagResources OpenApi.
- Add UntagResources OpenApi.
- Add ModifyDBInstanceAutoUpgradeMinorVersion OpenApi.
2019-10-14 Version 1.36.149
- Support continuous pushing.
2019-10-09 Version 1.36.148
- Add VideoCancelScan Api.
2019-10-09 Version 1.36.147
- Support API RecognizeImageColor.
- Support API DetectImageElements.
- Support API RecolorImage.
- Support API SegmentImage.
- Support API ChangeImageSize.
- Support API ExtendImageStyle.
- Support API RecognizeImageStyle.
- Support API MakeSuperResolution.
2019-10-08 Version 1.36.146
- Supported Grab Frame IMM.
2019-10-08 Version 1.36.145
- Supported API MassPush for Push Message or Notice.

View File

@@ -1 +1 @@
1.36.145
1.36.161

146
aliyuncvc/CMakeLists.txt Normal file
View File

@@ -0,0 +1,146 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(aliyuncvc_public_header
include/alibabacloud/aliyuncvc/AliyuncvcClient.h
include/alibabacloud/aliyuncvc/AliyuncvcExport.h )
set(aliyuncvc_public_header_model
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h
include/alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h
include/alibabacloud/aliyuncvc/model/CheckMeetingCodeResult.h
include/alibabacloud/aliyuncvc/model/CreateMeetingRequest.h
include/alibabacloud/aliyuncvc/model/CreateMeetingResult.h
include/alibabacloud/aliyuncvc/model/CreateUserRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserResult.h
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h
include/alibabacloud/aliyuncvc/model/CreateUserEvaluationsResult.h
include/alibabacloud/aliyuncvc/model/DeleteUserRequest.h
include/alibabacloud/aliyuncvc/model/DeleteUserResult.h
include/alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h
include/alibabacloud/aliyuncvc/model/ListCommoditiesResult.h
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryMemberRecordRequest.h
include/alibabacloud/aliyuncvc/model/QueryMemberRecordResult.h
include/alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h
include/alibabacloud/aliyuncvc/model/QueryStatisticsResult.h
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserBuyAttributeResult.h
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserEvaluationResult.h
include/alibabacloud/aliyuncvc/model/QueryUserInfoRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserInfoResult.h
include/alibabacloud/aliyuncvc/model/QueryUserListRequest.h
include/alibabacloud/aliyuncvc/model/QueryUserListResult.h
include/alibabacloud/aliyuncvc/model/RemoveMeetingRequest.h
include/alibabacloud/aliyuncvc/model/RemoveMeetingResult.h )
set(aliyuncvc_src
src/AliyuncvcClient.cc
src/model/ActiveMeetingCodeRequest.cc
src/model/ActiveMeetingCodeResult.cc
src/model/CheckMeetingCodeRequest.cc
src/model/CheckMeetingCodeResult.cc
src/model/CreateMeetingRequest.cc
src/model/CreateMeetingResult.cc
src/model/CreateUserRequest.cc
src/model/CreateUserResult.cc
src/model/CreateUserEvaluationsRequest.cc
src/model/CreateUserEvaluationsResult.cc
src/model/DeleteUserRequest.cc
src/model/DeleteUserResult.cc
src/model/ListCommoditiesRequest.cc
src/model/ListCommoditiesResult.cc
src/model/QueryIsvUserInfoRequest.cc
src/model/QueryIsvUserInfoResult.cc
src/model/QueryMeetingInfoRequest.cc
src/model/QueryMeetingInfoResult.cc
src/model/QueryMemberRecordRequest.cc
src/model/QueryMemberRecordResult.cc
src/model/QueryStatisticsRequest.cc
src/model/QueryStatisticsResult.cc
src/model/QueryUserBuyAttributeRequest.cc
src/model/QueryUserBuyAttributeResult.cc
src/model/QueryUserEvaluationRequest.cc
src/model/QueryUserEvaluationResult.cc
src/model/QueryUserInfoRequest.cc
src/model/QueryUserInfoResult.cc
src/model/QueryUserListRequest.cc
src/model/QueryUserListResult.cc
src/model/RemoveMeetingRequest.cc
src/model/RemoveMeetingResult.cc )
add_library(aliyuncvc ${LIB_TYPE}
${aliyuncvc_public_header}
${aliyuncvc_public_header_model}
${aliyuncvc_src})
set_target_properties(aliyuncvc
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}aliyuncvc
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(aliyuncvc
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ALIYUNCVC_LIBRARY)
endif()
target_include_directories(aliyuncvc
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(aliyuncvc
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(aliyuncvc
jsoncpp)
target_include_directories(aliyuncvc
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(aliyuncvc
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(aliyuncvc
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(aliyuncvc
PRIVATE /usr/include/jsoncpp)
target_link_libraries(aliyuncvc
jsoncpp)
endif()
install(FILES ${aliyuncvc_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/aliyuncvc)
install(FILES ${aliyuncvc_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/aliyuncvc/model)
install(TARGETS aliyuncvc
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,174 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCCLIENT_H_
#define ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "AliyuncvcExport.h"
#include "model/ActiveMeetingCodeRequest.h"
#include "model/ActiveMeetingCodeResult.h"
#include "model/CheckMeetingCodeRequest.h"
#include "model/CheckMeetingCodeResult.h"
#include "model/CreateMeetingRequest.h"
#include "model/CreateMeetingResult.h"
#include "model/CreateUserRequest.h"
#include "model/CreateUserResult.h"
#include "model/CreateUserEvaluationsRequest.h"
#include "model/CreateUserEvaluationsResult.h"
#include "model/DeleteUserRequest.h"
#include "model/DeleteUserResult.h"
#include "model/ListCommoditiesRequest.h"
#include "model/ListCommoditiesResult.h"
#include "model/QueryIsvUserInfoRequest.h"
#include "model/QueryIsvUserInfoResult.h"
#include "model/QueryMeetingInfoRequest.h"
#include "model/QueryMeetingInfoResult.h"
#include "model/QueryMemberRecordRequest.h"
#include "model/QueryMemberRecordResult.h"
#include "model/QueryStatisticsRequest.h"
#include "model/QueryStatisticsResult.h"
#include "model/QueryUserBuyAttributeRequest.h"
#include "model/QueryUserBuyAttributeResult.h"
#include "model/QueryUserEvaluationRequest.h"
#include "model/QueryUserEvaluationResult.h"
#include "model/QueryUserInfoRequest.h"
#include "model/QueryUserInfoResult.h"
#include "model/QueryUserListRequest.h"
#include "model/QueryUserListResult.h"
#include "model/RemoveMeetingRequest.h"
#include "model/RemoveMeetingResult.h"
namespace AlibabaCloud
{
namespace Aliyuncvc
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT AliyuncvcClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ActiveMeetingCodeResult> ActiveMeetingCodeOutcome;
typedef std::future<ActiveMeetingCodeOutcome> ActiveMeetingCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ActiveMeetingCodeRequest&, const ActiveMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActiveMeetingCodeAsyncHandler;
typedef Outcome<Error, Model::CheckMeetingCodeResult> CheckMeetingCodeOutcome;
typedef std::future<CheckMeetingCodeOutcome> CheckMeetingCodeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CheckMeetingCodeRequest&, const CheckMeetingCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckMeetingCodeAsyncHandler;
typedef Outcome<Error, Model::CreateMeetingResult> CreateMeetingOutcome;
typedef std::future<CreateMeetingOutcome> CreateMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateMeetingRequest&, const CreateMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMeetingAsyncHandler;
typedef Outcome<Error, Model::CreateUserResult> CreateUserOutcome;
typedef std::future<CreateUserOutcome> CreateUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserRequest&, const CreateUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAsyncHandler;
typedef Outcome<Error, Model::CreateUserEvaluationsResult> CreateUserEvaluationsOutcome;
typedef std::future<CreateUserEvaluationsOutcome> CreateUserEvaluationsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::CreateUserEvaluationsRequest&, const CreateUserEvaluationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserEvaluationsAsyncHandler;
typedef Outcome<Error, Model::DeleteUserResult> DeleteUserOutcome;
typedef std::future<DeleteUserOutcome> DeleteUserOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::DeleteUserRequest&, const DeleteUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserAsyncHandler;
typedef Outcome<Error, Model::ListCommoditiesResult> ListCommoditiesOutcome;
typedef std::future<ListCommoditiesOutcome> ListCommoditiesOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::ListCommoditiesRequest&, const ListCommoditiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCommoditiesAsyncHandler;
typedef Outcome<Error, Model::QueryIsvUserInfoResult> QueryIsvUserInfoOutcome;
typedef std::future<QueryIsvUserInfoOutcome> QueryIsvUserInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryIsvUserInfoRequest&, const QueryIsvUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryIsvUserInfoAsyncHandler;
typedef Outcome<Error, Model::QueryMeetingInfoResult> QueryMeetingInfoOutcome;
typedef std::future<QueryMeetingInfoOutcome> QueryMeetingInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMeetingInfoRequest&, const QueryMeetingInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMeetingInfoAsyncHandler;
typedef Outcome<Error, Model::QueryMemberRecordResult> QueryMemberRecordOutcome;
typedef std::future<QueryMemberRecordOutcome> QueryMemberRecordOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryMemberRecordRequest&, const QueryMemberRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMemberRecordAsyncHandler;
typedef Outcome<Error, Model::QueryStatisticsResult> QueryStatisticsOutcome;
typedef std::future<QueryStatisticsOutcome> QueryStatisticsOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryStatisticsRequest&, const QueryStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryStatisticsAsyncHandler;
typedef Outcome<Error, Model::QueryUserBuyAttributeResult> QueryUserBuyAttributeOutcome;
typedef std::future<QueryUserBuyAttributeOutcome> QueryUserBuyAttributeOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserBuyAttributeRequest&, const QueryUserBuyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserBuyAttributeAsyncHandler;
typedef Outcome<Error, Model::QueryUserEvaluationResult> QueryUserEvaluationOutcome;
typedef std::future<QueryUserEvaluationOutcome> QueryUserEvaluationOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserEvaluationRequest&, const QueryUserEvaluationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserEvaluationAsyncHandler;
typedef Outcome<Error, Model::QueryUserInfoResult> QueryUserInfoOutcome;
typedef std::future<QueryUserInfoOutcome> QueryUserInfoOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserInfoRequest&, const QueryUserInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserInfoAsyncHandler;
typedef Outcome<Error, Model::QueryUserListResult> QueryUserListOutcome;
typedef std::future<QueryUserListOutcome> QueryUserListOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::QueryUserListRequest&, const QueryUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserListAsyncHandler;
typedef Outcome<Error, Model::RemoveMeetingResult> RemoveMeetingOutcome;
typedef std::future<RemoveMeetingOutcome> RemoveMeetingOutcomeCallable;
typedef std::function<void(const AliyuncvcClient*, const Model::RemoveMeetingRequest&, const RemoveMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMeetingAsyncHandler;
AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration);
AliyuncvcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AliyuncvcClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AliyuncvcClient();
ActiveMeetingCodeOutcome activeMeetingCode(const Model::ActiveMeetingCodeRequest &request)const;
void activeMeetingCodeAsync(const Model::ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ActiveMeetingCodeOutcomeCallable activeMeetingCodeCallable(const Model::ActiveMeetingCodeRequest& request) const;
CheckMeetingCodeOutcome checkMeetingCode(const Model::CheckMeetingCodeRequest &request)const;
void checkMeetingCodeAsync(const Model::CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckMeetingCodeOutcomeCallable checkMeetingCodeCallable(const Model::CheckMeetingCodeRequest& request) const;
CreateMeetingOutcome createMeeting(const Model::CreateMeetingRequest &request)const;
void createMeetingAsync(const Model::CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMeetingOutcomeCallable createMeetingCallable(const Model::CreateMeetingRequest& request) const;
CreateUserOutcome createUser(const Model::CreateUserRequest &request)const;
void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const;
CreateUserEvaluationsOutcome createUserEvaluations(const Model::CreateUserEvaluationsRequest &request)const;
void createUserEvaluationsAsync(const Model::CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserEvaluationsOutcomeCallable createUserEvaluationsCallable(const Model::CreateUserEvaluationsRequest& request) const;
DeleteUserOutcome deleteUser(const Model::DeleteUserRequest &request)const;
void deleteUserAsync(const Model::DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUserOutcomeCallable deleteUserCallable(const Model::DeleteUserRequest& request) const;
ListCommoditiesOutcome listCommodities(const Model::ListCommoditiesRequest &request)const;
void listCommoditiesAsync(const Model::ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCommoditiesOutcomeCallable listCommoditiesCallable(const Model::ListCommoditiesRequest& request) const;
QueryIsvUserInfoOutcome queryIsvUserInfo(const Model::QueryIsvUserInfoRequest &request)const;
void queryIsvUserInfoAsync(const Model::QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryIsvUserInfoOutcomeCallable queryIsvUserInfoCallable(const Model::QueryIsvUserInfoRequest& request) const;
QueryMeetingInfoOutcome queryMeetingInfo(const Model::QueryMeetingInfoRequest &request)const;
void queryMeetingInfoAsync(const Model::QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMeetingInfoOutcomeCallable queryMeetingInfoCallable(const Model::QueryMeetingInfoRequest& request) const;
QueryMemberRecordOutcome queryMemberRecord(const Model::QueryMemberRecordRequest &request)const;
void queryMemberRecordAsync(const Model::QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryMemberRecordOutcomeCallable queryMemberRecordCallable(const Model::QueryMemberRecordRequest& request) const;
QueryStatisticsOutcome queryStatistics(const Model::QueryStatisticsRequest &request)const;
void queryStatisticsAsync(const Model::QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryStatisticsOutcomeCallable queryStatisticsCallable(const Model::QueryStatisticsRequest& request) const;
QueryUserBuyAttributeOutcome queryUserBuyAttribute(const Model::QueryUserBuyAttributeRequest &request)const;
void queryUserBuyAttributeAsync(const Model::QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserBuyAttributeOutcomeCallable queryUserBuyAttributeCallable(const Model::QueryUserBuyAttributeRequest& request) const;
QueryUserEvaluationOutcome queryUserEvaluation(const Model::QueryUserEvaluationRequest &request)const;
void queryUserEvaluationAsync(const Model::QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserEvaluationOutcomeCallable queryUserEvaluationCallable(const Model::QueryUserEvaluationRequest& request) const;
QueryUserInfoOutcome queryUserInfo(const Model::QueryUserInfoRequest &request)const;
void queryUserInfoAsync(const Model::QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserInfoOutcomeCallable queryUserInfoCallable(const Model::QueryUserInfoRequest& request) const;
QueryUserListOutcome queryUserList(const Model::QueryUserListRequest &request)const;
void queryUserListAsync(const Model::QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryUserListOutcomeCallable queryUserListCallable(const Model::QueryUserListRequest& request) const;
RemoveMeetingOutcome removeMeeting(const Model::RemoveMeetingRequest &request)const;
void removeMeetingAsync(const Model::RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveMeetingOutcomeCallable removeMeetingCallable(const Model::RemoveMeetingRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCCLIENT_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_ALIYUNCVC_ALIYUNCVCEXPORT_H_
#define ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ALIYUNCVC_LIBRARY)
# define ALIBABACLOUD_ALIYUNCVC_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ALIYUNCVC_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ALIYUNCVC_EXPORT
#endif
#endif // !ALIBABACLOUD_ALIYUNCVC_ALIYUNCVCEXPORT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ActiveMeetingCodeRequest : public RpcServiceRequest
{
public:
ActiveMeetingCodeRequest();
~ActiveMeetingCodeRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
private:
std::string meetingUUID_;
std::string meetingCode_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_ACTIVEMEETINGCODEREQUEST_H_

View File

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

View File

@@ -14,41 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetTagJobRequest : public RpcServiceRequest
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeRequest : public RpcServiceRequest
{
public:
GetTagJobRequest();
~GetTagJobRequest();
CheckMeetingCodeRequest();
~CheckMeetingCodeRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getJobId()const;
void setJobId(const std::string& jobId);
std::string getMeetingCode()const;
void setMeetingCode(const std::string& meetingCode);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string project_;
std::string accessKeyId_;
std::string jobId_;
std::string meetingCode_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODEREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CheckMeetingCodeResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct SlsInfo
{
std::string project;
std::string logstore;
std::string logServiceEndpoint;
};
SlsInfo slsInfo;
std::string meetingDomain;
std::string meetingCode;
std::string memberUUID;
std::string meetingUUID;
std::string clientAppId;
std::string meetingAppId;
std::string meetingToken;
};
CheckMeetingCodeResult();
explicit CheckMeetingCodeResult(const std::string &payload);
~CheckMeetingCodeResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CHECKMEETINGCODERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateMeetingRequest : public RpcServiceRequest
{
public:
CreateMeetingRequest();
~CreateMeetingRequest();
std::string getMeetingName()const;
void setMeetingName(const std::string& meetingName);
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string meetingName_;
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEMEETINGREQUEST_H_

View File

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

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.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsRequest : public RpcServiceRequest
{
public:
CreateUserEvaluationsRequest();
~CreateUserEvaluationsRequest();
std::string getMemo()const;
void setMemo(const std::string& memo);
std::string getDescription()const;
void setDescription(const std::string& description);
long getCreateDate()const;
void setCreateDate(long createDate);
std::string getMemberUUID()const;
void setMemberUUID(const std::string& memberUUID);
std::string getUserId()const;
void setUserId(const std::string& userId);
std::string getEvaluation()const;
void setEvaluation(const std::string& evaluation);
std::string getScore()const;
void setScore(const std::string& score);
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
std::string memo_;
std::string description_;
long createDate_;
std::string memberUUID_;
std::string userId_;
std::string evaluation_;
std::string score_;
std::string meetingUUID_;
std::string appId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSREQUEST_H_

View File

@@ -14,36 +14,42 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_POLARDB_MODEL_UNLOCKDBCLUSTERDELETIONRESULT_H_
#define ALIBABACLOUD_POLARDB_MODEL_UNLOCKDBCLUSTERDELETIONRESULT_H_
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/polardb/PolardbExport.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Polardb
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_POLARDB_EXPORT UnlockDBClusterDeletionResult : public ServiceResult
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserEvaluationsResult : public ServiceResult
{
public:
UnlockDBClusterDeletionResult();
explicit UnlockDBClusterDeletionResult(const std::string &payload);
~UnlockDBClusterDeletionResult();
CreateUserEvaluationsResult();
explicit CreateUserEvaluationsResult(const std::string &payload);
~CreateUserEvaluationsResult();
std::string getMessage()const;
std::string getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_POLARDB_MODEL_UNLOCKDBCLUSTERDELETIONRESULT_H_
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSEREVALUATIONSRESULT_H_

View File

@@ -14,38 +14,38 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATETAGSETREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATETAGSETREQUEST_H_
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateTagSetRequest : public RpcServiceRequest
class ALIBABACLOUD_ALIYUNCVC_EXPORT CreateUserRequest : public RpcServiceRequest
{
public:
CreateTagSetRequest();
~CreateTagSetRequest();
CreateUserRequest();
~CreateUserRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getCount()const;
void setCount(int count);
std::string getUserInfo()const;
void setUserInfo(const std::string& userInfo);
private:
std::string project_;
std::string accessKeyId_;
int count_;
std::string userInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGSETREQUEST_H_
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_CREATEUSERREQUEST_H_

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT DeleteUserRequest : public RpcServiceRequest
{
public:
DeleteUserRequest();
~DeleteUserRequest();
int getCount()const;
void setCount(int count);
std::string getUserInfo()const;
void setUserInfo(const std::string& userInfo);
private:
int count_;
std::string userInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_DELETEUSERREQUEST_H_

View File

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

View File

@@ -14,41 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesRequest : public RpcServiceRequest
{
public:
DeleteFaceSearchGroupRequest();
~DeleteFaceSearchGroupRequest();
ListCommoditiesRequest();
~ListCommoditiesRequest();
std::string getProject()const;
void setProject(const std::string& project);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string project_;
std::string groupName_;
std::string accessKeyId_;
int pageSize_;
std::string endTime_;
std::string startTime_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT ListCommoditiesResult : public ServiceResult
{
public:
struct Data
{
struct Commodity
{
std::string endTime;
std::string startTime;
std::string instancepropertyvalue;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<Commodity> commodities;
};
ListCommoditiesResult();
explicit ListCommoditiesResult(const std::string &payload);
~ListCommoditiesResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_LISTCOMMODITIESRESULT_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_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoRequest : public RpcServiceRequest
{
public:
QueryIsvUserInfoRequest();
~QueryIsvUserInfoRequest();
std::string getUserId()const;
void setUserId(const std::string& userId);
private:
std::string userId_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFOREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryIsvUserInfoResult : public ServiceResult
{
public:
struct UserInfo
{
std::string groupName;
std::string userMobile;
std::string userName;
std::string userTel;
std::string userId;
long createTime;
std::string userAvatarUrl;
std::string userEmail;
std::string departName;
std::string groupId;
std::string departId;
};
QueryIsvUserInfoResult();
explicit QueryIsvUserInfoResult(const std::string &payload);
~QueryIsvUserInfoResult();
std::string getMessage()const;
UserInfo getUserInfo()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
UserInfo userInfo_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYISVUSERINFORESULT_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_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoRequest : public RpcServiceRequest
{
public:
QueryMeetingInfoRequest();
~QueryMeetingInfoRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFOREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMeetingInfoResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct MemberListItem
{
std::string status;
std::string userName;
std::string memberUUID;
std::string userId;
std::string userAvatarUrl;
};
std::string meetingCode;
long validDate;
std::string meetingUUID;
std::vector<MemberListItem> memberList;
std::string userId;
std::string meetingName;
long createDate;
};
QueryMeetingInfoResult();
explicit QueryMeetingInfoResult(const std::string &payload);
~QueryMeetingInfoResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEETINGINFORESULT_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_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordRequest : public RpcServiceRequest
{
public:
QueryMemberRecordRequest();
~QueryMemberRecordRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryMemberRecordResult : public ServiceResult
{
public:
struct MeetingInfo
{
struct MemberRecord
{
std::string status;
std::string memberUUID;
std::string userId;
};
std::string meetingCode;
std::string userName;
std::string meetingUUID;
std::string userId;
std::string meetingName;
std::vector<MemberRecord> memberRecordsList;
long createDate;
std::string memo;
};
QueryMemberRecordResult();
explicit QueryMemberRecordResult(const std::string &payload);
~QueryMemberRecordResult();
MeetingInfo getMeetingInfo()const;
std::string getMessage()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
MeetingInfo meetingInfo_;
std::string message_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYMEMBERRECORDRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsRequest : public RpcServiceRequest
{
public:
QueryStatisticsRequest();
~QueryStatisticsRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
private:
std::string endTime_;
std::string startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryStatisticsResult : public ServiceResult
{
public:
struct Data
{
struct Total
{
int meetingNum;
int meetingLength;
int memberNum;
};
struct DayInfoItem
{
std::string meetingNum;
std::string meetingLength;
std::string day;
std::string memberNum;
};
std::vector<DayInfoItem> dayInfo;
Total total;
};
QueryStatisticsResult();
explicit QueryStatisticsResult(const std::string &payload);
~QueryStatisticsResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYSTATISTICSRESULT_H_

View File

@@ -14,36 +14,32 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETETAGSETRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETAGSETRESULT_H_
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Imm
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteTagSetResult : public ServiceResult
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeRequest : public RpcServiceRequest
{
public:
QueryUserBuyAttributeRequest();
~QueryUserBuyAttributeRequest();
DeleteTagSetResult();
explicit DeleteTagSetResult(const std::string &payload);
~DeleteTagSetResult();
protected:
void parse(const std::string &payload);
private:
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGSETRESULT_H_
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTEREQUEST_H_

View File

@@ -14,36 +14,44 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_POLARDB_MODEL_ABORTDBCLUSTERMIGRATIONRESULT_H_
#define ALIBABACLOUD_POLARDB_MODEL_ABORTDBCLUSTERMIGRATIONRESULT_H_
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/polardb/PolardbExport.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Polardb
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_POLARDB_EXPORT AbortDBClusterMigrationResult : public ServiceResult
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserBuyAttributeResult : public ServiceResult
{
public:
AbortDBClusterMigrationResult();
explicit AbortDBClusterMigrationResult(const std::string &payload);
~AbortDBClusterMigrationResult();
QueryUserBuyAttributeResult();
explicit QueryUserBuyAttributeResult(const std::string &payload);
~QueryUserBuyAttributeResult();
std::string getMessage()const;
bool getUserBuyAttribute()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
bool userBuyAttribute_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_POLARDB_MODEL_ABORTDBCLUSTERMIGRATIONRESULT_H_
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERBUYATTRIBUTERESULT_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_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationRequest : public RpcServiceRequest
{
public:
QueryUserEvaluationRequest();
~QueryUserEvaluationRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONREQUEST_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_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserEvaluationResult : public ServiceResult
{
public:
QueryUserEvaluationResult();
explicit QueryUserEvaluationResult(const std::string &payload);
~QueryUserEvaluationResult();
std::string getMessage()const;
int getErrorCode()const;
std::string getUserEvaluation()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int errorCode_;
std::string userEvaluation_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSEREVALUATIONRESULT_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_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserInfoRequest : public RpcServiceRequest
{
public:
QueryUserInfoRequest();
~QueryUserInfoRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERINFOREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT QueryUserListResult : public ServiceResult
{
public:
struct Data
{
struct UserInfo
{
std::string groupName;
std::string userMobile;
std::string userName;
std::string userTel;
long createTime;
std::string userAvatarUrl;
std::string groupName1;
std::string userEmail;
std::string departName;
std::string groupId;
std::string departId;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<UserInfo> userInfos;
};
QueryUserListResult();
explicit QueryUserListResult(const std::string &payload);
~QueryUserListResult();
std::string getMessage()const;
Data getData()const;
int getErrorCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int errorCode_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_QUERYUSERLISTRESULT_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_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
#define ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
namespace AlibabaCloud
{
namespace Aliyuncvc
{
namespace Model
{
class ALIBABACLOUD_ALIYUNCVC_EXPORT RemoveMeetingRequest : public RpcServiceRequest
{
public:
RemoveMeetingRequest();
~RemoveMeetingRequest();
std::string getMeetingUUID()const;
void setMeetingUUID(const std::string& meetingUUID);
private:
std::string meetingUUID_;
};
}
}
}
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_REMOVEMEETINGREQUEST_H_

View File

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

View File

@@ -0,0 +1,629 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/AliyuncvcClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
namespace
{
const std::string SERVICE_NAME = "aliyuncvc";
}
AliyuncvcClient::AliyuncvcClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "aliyuncvc");
}
AliyuncvcClient::AliyuncvcClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "aliyuncvc");
}
AliyuncvcClient::AliyuncvcClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "aliyuncvc");
}
AliyuncvcClient::~AliyuncvcClient()
{}
AliyuncvcClient::ActiveMeetingCodeOutcome AliyuncvcClient::activeMeetingCode(const ActiveMeetingCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ActiveMeetingCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ActiveMeetingCodeOutcome(ActiveMeetingCodeResult(outcome.result()));
else
return ActiveMeetingCodeOutcome(outcome.error());
}
void AliyuncvcClient::activeMeetingCodeAsync(const ActiveMeetingCodeRequest& request, const ActiveMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, activeMeetingCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ActiveMeetingCodeOutcomeCallable AliyuncvcClient::activeMeetingCodeCallable(const ActiveMeetingCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ActiveMeetingCodeOutcome()>>(
[this, request]()
{
return this->activeMeetingCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CheckMeetingCodeOutcome AliyuncvcClient::checkMeetingCode(const CheckMeetingCodeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CheckMeetingCodeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CheckMeetingCodeOutcome(CheckMeetingCodeResult(outcome.result()));
else
return CheckMeetingCodeOutcome(outcome.error());
}
void AliyuncvcClient::checkMeetingCodeAsync(const CheckMeetingCodeRequest& request, const CheckMeetingCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, checkMeetingCode(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CheckMeetingCodeOutcomeCallable AliyuncvcClient::checkMeetingCodeCallable(const CheckMeetingCodeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CheckMeetingCodeOutcome()>>(
[this, request]()
{
return this->checkMeetingCode(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateMeetingOutcome AliyuncvcClient::createMeeting(const CreateMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateMeetingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateMeetingOutcome(CreateMeetingResult(outcome.result()));
else
return CreateMeetingOutcome(outcome.error());
}
void AliyuncvcClient::createMeetingAsync(const CreateMeetingRequest& request, const CreateMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createMeeting(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CreateMeetingOutcomeCallable AliyuncvcClient::createMeetingCallable(const CreateMeetingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateMeetingOutcome()>>(
[this, request]()
{
return this->createMeeting(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateUserOutcome AliyuncvcClient::createUser(const CreateUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateUserOutcome(CreateUserResult(outcome.result()));
else
return CreateUserOutcome(outcome.error());
}
void AliyuncvcClient::createUserAsync(const CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createUser(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CreateUserOutcomeCallable AliyuncvcClient::createUserCallable(const CreateUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateUserOutcome()>>(
[this, request]()
{
return this->createUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::CreateUserEvaluationsOutcome AliyuncvcClient::createUserEvaluations(const CreateUserEvaluationsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateUserEvaluationsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateUserEvaluationsOutcome(CreateUserEvaluationsResult(outcome.result()));
else
return CreateUserEvaluationsOutcome(outcome.error());
}
void AliyuncvcClient::createUserEvaluationsAsync(const CreateUserEvaluationsRequest& request, const CreateUserEvaluationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createUserEvaluations(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::CreateUserEvaluationsOutcomeCallable AliyuncvcClient::createUserEvaluationsCallable(const CreateUserEvaluationsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateUserEvaluationsOutcome()>>(
[this, request]()
{
return this->createUserEvaluations(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::DeleteUserOutcome AliyuncvcClient::deleteUser(const DeleteUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteUserOutcome(DeleteUserResult(outcome.result()));
else
return DeleteUserOutcome(outcome.error());
}
void AliyuncvcClient::deleteUserAsync(const DeleteUserRequest& request, const DeleteUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteUser(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::DeleteUserOutcomeCallable AliyuncvcClient::deleteUserCallable(const DeleteUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteUserOutcome()>>(
[this, request]()
{
return this->deleteUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::ListCommoditiesOutcome AliyuncvcClient::listCommodities(const ListCommoditiesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListCommoditiesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListCommoditiesOutcome(ListCommoditiesResult(outcome.result()));
else
return ListCommoditiesOutcome(outcome.error());
}
void AliyuncvcClient::listCommoditiesAsync(const ListCommoditiesRequest& request, const ListCommoditiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listCommodities(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::ListCommoditiesOutcomeCallable AliyuncvcClient::listCommoditiesCallable(const ListCommoditiesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListCommoditiesOutcome()>>(
[this, request]()
{
return this->listCommodities(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryIsvUserInfoOutcome AliyuncvcClient::queryIsvUserInfo(const QueryIsvUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryIsvUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryIsvUserInfoOutcome(QueryIsvUserInfoResult(outcome.result()));
else
return QueryIsvUserInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryIsvUserInfoAsync(const QueryIsvUserInfoRequest& request, const QueryIsvUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryIsvUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryIsvUserInfoOutcomeCallable AliyuncvcClient::queryIsvUserInfoCallable(const QueryIsvUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryIsvUserInfoOutcome()>>(
[this, request]()
{
return this->queryIsvUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryMeetingInfoOutcome AliyuncvcClient::queryMeetingInfo(const QueryMeetingInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMeetingInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMeetingInfoOutcome(QueryMeetingInfoResult(outcome.result()));
else
return QueryMeetingInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryMeetingInfoAsync(const QueryMeetingInfoRequest& request, const QueryMeetingInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMeetingInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryMeetingInfoOutcomeCallable AliyuncvcClient::queryMeetingInfoCallable(const QueryMeetingInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMeetingInfoOutcome()>>(
[this, request]()
{
return this->queryMeetingInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryMemberRecordOutcome AliyuncvcClient::queryMemberRecord(const QueryMemberRecordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryMemberRecordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryMemberRecordOutcome(QueryMemberRecordResult(outcome.result()));
else
return QueryMemberRecordOutcome(outcome.error());
}
void AliyuncvcClient::queryMemberRecordAsync(const QueryMemberRecordRequest& request, const QueryMemberRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryMemberRecord(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryMemberRecordOutcomeCallable AliyuncvcClient::queryMemberRecordCallable(const QueryMemberRecordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryMemberRecordOutcome()>>(
[this, request]()
{
return this->queryMemberRecord(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryStatisticsOutcome AliyuncvcClient::queryStatistics(const QueryStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryStatisticsOutcome(QueryStatisticsResult(outcome.result()));
else
return QueryStatisticsOutcome(outcome.error());
}
void AliyuncvcClient::queryStatisticsAsync(const QueryStatisticsRequest& request, const QueryStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryStatisticsOutcomeCallable AliyuncvcClient::queryStatisticsCallable(const QueryStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryStatisticsOutcome()>>(
[this, request]()
{
return this->queryStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserBuyAttributeOutcome AliyuncvcClient::queryUserBuyAttribute(const QueryUserBuyAttributeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserBuyAttributeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserBuyAttributeOutcome(QueryUserBuyAttributeResult(outcome.result()));
else
return QueryUserBuyAttributeOutcome(outcome.error());
}
void AliyuncvcClient::queryUserBuyAttributeAsync(const QueryUserBuyAttributeRequest& request, const QueryUserBuyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserBuyAttribute(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserBuyAttributeOutcomeCallable AliyuncvcClient::queryUserBuyAttributeCallable(const QueryUserBuyAttributeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserBuyAttributeOutcome()>>(
[this, request]()
{
return this->queryUserBuyAttribute(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserEvaluationOutcome AliyuncvcClient::queryUserEvaluation(const QueryUserEvaluationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserEvaluationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserEvaluationOutcome(QueryUserEvaluationResult(outcome.result()));
else
return QueryUserEvaluationOutcome(outcome.error());
}
void AliyuncvcClient::queryUserEvaluationAsync(const QueryUserEvaluationRequest& request, const QueryUserEvaluationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserEvaluation(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserEvaluationOutcomeCallable AliyuncvcClient::queryUserEvaluationCallable(const QueryUserEvaluationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserEvaluationOutcome()>>(
[this, request]()
{
return this->queryUserEvaluation(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserInfoOutcome AliyuncvcClient::queryUserInfo(const QueryUserInfoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserInfoOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserInfoOutcome(QueryUserInfoResult(outcome.result()));
else
return QueryUserInfoOutcome(outcome.error());
}
void AliyuncvcClient::queryUserInfoAsync(const QueryUserInfoRequest& request, const QueryUserInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserInfo(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserInfoOutcomeCallable AliyuncvcClient::queryUserInfoCallable(const QueryUserInfoRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserInfoOutcome()>>(
[this, request]()
{
return this->queryUserInfo(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::QueryUserListOutcome AliyuncvcClient::queryUserList(const QueryUserListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryUserListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryUserListOutcome(QueryUserListResult(outcome.result()));
else
return QueryUserListOutcome(outcome.error());
}
void AliyuncvcClient::queryUserListAsync(const QueryUserListRequest& request, const QueryUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryUserList(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::QueryUserListOutcomeCallable AliyuncvcClient::queryUserListCallable(const QueryUserListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryUserListOutcome()>>(
[this, request]()
{
return this->queryUserList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AliyuncvcClient::RemoveMeetingOutcome AliyuncvcClient::removeMeeting(const RemoveMeetingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemoveMeetingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RemoveMeetingOutcome(RemoveMeetingResult(outcome.result()));
else
return RemoveMeetingOutcome(outcome.error());
}
void AliyuncvcClient::removeMeetingAsync(const RemoveMeetingRequest& request, const RemoveMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, removeMeeting(request), context);
};
asyncExecute(new Runnable(fn));
}
AliyuncvcClient::RemoveMeetingOutcomeCallable AliyuncvcClient::removeMeetingCallable(const RemoveMeetingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RemoveMeetingOutcome()>>(
[this, request]()
{
return this->removeMeeting(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ActiveMeetingCodeRequest;
ActiveMeetingCodeRequest::ActiveMeetingCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "ActiveMeetingCode")
{
setMethod(HttpRequest::Method::Post);
}
ActiveMeetingCodeRequest::~ActiveMeetingCodeRequest()
{}
std::string ActiveMeetingCodeRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void ActiveMeetingCodeRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setCoreParameter("MeetingUUID", meetingUUID);
}
std::string ActiveMeetingCodeRequest::getMeetingCode()const
{
return meetingCode_;
}
void ActiveMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setCoreParameter("MeetingCode", meetingCode);
}

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ActiveMeetingCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ActiveMeetingCodeResult::ActiveMeetingCodeResult() :
ServiceResult()
{}
ActiveMeetingCodeResult::ActiveMeetingCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ActiveMeetingCodeResult::~ActiveMeetingCodeResult()
{}
void ActiveMeetingCodeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["ValidDate"].isNull())
meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
ActiveMeetingCodeResult::MeetingInfo ActiveMeetingCodeResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string ActiveMeetingCodeResult::getMessage()const
{
return message_;
}
int ActiveMeetingCodeResult::getErrorCode()const
{
return errorCode_;
}
bool ActiveMeetingCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CheckMeetingCodeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CheckMeetingCodeRequest;
CheckMeetingCodeRequest::CheckMeetingCodeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CheckMeetingCode")
{
setMethod(HttpRequest::Method::Post);
}
CheckMeetingCodeRequest::~CheckMeetingCodeRequest()
{}
std::string CheckMeetingCodeRequest::getMeetingCode()const
{
return meetingCode_;
}
void CheckMeetingCodeRequest::setMeetingCode(const std::string& meetingCode)
{
meetingCode_ = meetingCode;
setCoreParameter("MeetingCode", meetingCode);
}
std::string CheckMeetingCodeRequest::getUserId()const
{
return userId_;
}
void CheckMeetingCodeRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setCoreParameter("UserId", userId);
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/CheckMeetingCodeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CheckMeetingCodeResult::CheckMeetingCodeResult() :
ServiceResult()
{}
CheckMeetingCodeResult::CheckMeetingCodeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CheckMeetingCodeResult::~CheckMeetingCodeResult()
{}
void CheckMeetingCodeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingDomain"].isNull())
meetingInfo_.meetingDomain = meetingInfoNode["MeetingDomain"].asString();
if(!meetingInfoNode["MeetingToken"].isNull())
meetingInfo_.meetingToken = meetingInfoNode["MeetingToken"].asString();
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["MemberUUID"].isNull())
meetingInfo_.memberUUID = meetingInfoNode["MemberUUID"].asString();
if(!meetingInfoNode["ClientAppId"].isNull())
meetingInfo_.clientAppId = meetingInfoNode["ClientAppId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
if(!meetingInfoNode["MeetingAppId"].isNull())
meetingInfo_.meetingAppId = meetingInfoNode["MeetingAppId"].asString();
auto slsInfoNode = meetingInfoNode["SlsInfo"];
if(!slsInfoNode["LogServiceEndpoint"].isNull())
meetingInfo_.slsInfo.logServiceEndpoint = slsInfoNode["LogServiceEndpoint"].asString();
if(!slsInfoNode["Logstore"].isNull())
meetingInfo_.slsInfo.logstore = slsInfoNode["Logstore"].asString();
if(!slsInfoNode["Project"].isNull())
meetingInfo_.slsInfo.project = slsInfoNode["Project"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
CheckMeetingCodeResult::MeetingInfo CheckMeetingCodeResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string CheckMeetingCodeResult::getMessage()const
{
return message_;
}
int CheckMeetingCodeResult::getErrorCode()const
{
return errorCode_;
}
bool CheckMeetingCodeResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CreateMeetingRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CreateMeetingRequest;
CreateMeetingRequest::CreateMeetingRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateMeeting")
{
setMethod(HttpRequest::Method::Post);
}
CreateMeetingRequest::~CreateMeetingRequest()
{}
std::string CreateMeetingRequest::getMeetingName()const
{
return meetingName_;
}
void CreateMeetingRequest::setMeetingName(const std::string& meetingName)
{
meetingName_ = meetingName;
setCoreParameter("MeetingName", meetingName);
}
std::string CreateMeetingRequest::getUserId()const
{
return userId_;
}
void CreateMeetingRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setCoreParameter("UserId", userId);
}

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CreateMeetingResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
CreateMeetingResult::CreateMeetingResult() :
ServiceResult()
{}
CreateMeetingResult::CreateMeetingResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMeetingResult::~CreateMeetingResult()
{}
void CreateMeetingResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
CreateMeetingResult::MeetingInfo CreateMeetingResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string CreateMeetingResult::getMessage()const
{
return message_;
}
int CreateMeetingResult::getErrorCode()const
{
return errorCode_;
}
bool CreateMeetingResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,128 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CreateUserEvaluationsRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CreateUserEvaluationsRequest;
CreateUserEvaluationsRequest::CreateUserEvaluationsRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUserEvaluations")
{
setMethod(HttpRequest::Method::Post);
}
CreateUserEvaluationsRequest::~CreateUserEvaluationsRequest()
{}
std::string CreateUserEvaluationsRequest::getMemo()const
{
return memo_;
}
void CreateUserEvaluationsRequest::setMemo(const std::string& memo)
{
memo_ = memo;
setCoreParameter("Memo", memo);
}
std::string CreateUserEvaluationsRequest::getDescription()const
{
return description_;
}
void CreateUserEvaluationsRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
long CreateUserEvaluationsRequest::getCreateDate()const
{
return createDate_;
}
void CreateUserEvaluationsRequest::setCreateDate(long createDate)
{
createDate_ = createDate;
setCoreParameter("CreateDate", std::to_string(createDate));
}
std::string CreateUserEvaluationsRequest::getMemberUUID()const
{
return memberUUID_;
}
void CreateUserEvaluationsRequest::setMemberUUID(const std::string& memberUUID)
{
memberUUID_ = memberUUID;
setCoreParameter("MemberUUID", memberUUID);
}
std::string CreateUserEvaluationsRequest::getUserId()const
{
return userId_;
}
void CreateUserEvaluationsRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setCoreParameter("UserId", userId);
}
std::string CreateUserEvaluationsRequest::getEvaluation()const
{
return evaluation_;
}
void CreateUserEvaluationsRequest::setEvaluation(const std::string& evaluation)
{
evaluation_ = evaluation;
setCoreParameter("Evaluation", evaluation);
}
std::string CreateUserEvaluationsRequest::getScore()const
{
return score_;
}
void CreateUserEvaluationsRequest::setScore(const std::string& score)
{
score_ = score;
setCoreParameter("Score", score);
}
std::string CreateUserEvaluationsRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void CreateUserEvaluationsRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setCoreParameter("MeetingUUID", meetingUUID);
}
std::string CreateUserEvaluationsRequest::getAppId()const
{
return appId_;
}
void CreateUserEvaluationsRequest::setAppId(const std::string& appId)
{
appId_ = appId;
setCoreParameter("AppId", appId);
}

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/CreateUserRequest.h>
using AlibabaCloud::Aliyuncvc::Model::CreateUserRequest;
CreateUserRequest::CreateUserRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "CreateUser")
{
setMethod(HttpRequest::Method::Post);
}
CreateUserRequest::~CreateUserRequest()
{}
int CreateUserRequest::getCount()const
{
return count_;
}
void CreateUserRequest::setCount(int count)
{
count_ = count;
setCoreParameter("Count", std::to_string(count));
}
std::string CreateUserRequest::getUserInfo()const
{
return userInfo_;
}
void CreateUserRequest::setUserInfo(const std::string& userInfo)
{
userInfo_ = userInfo;
setCoreParameter("UserInfo", userInfo);
}

View File

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

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/DeleteUserRequest.h>
using AlibabaCloud::Aliyuncvc::Model::DeleteUserRequest;
DeleteUserRequest::DeleteUserRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "DeleteUser")
{
setMethod(HttpRequest::Method::Post);
}
DeleteUserRequest::~DeleteUserRequest()
{}
int DeleteUserRequest::getCount()const
{
return count_;
}
void DeleteUserRequest::setCount(int count)
{
count_ = count;
setCoreParameter("Count", std::to_string(count));
}
std::string DeleteUserRequest::getUserInfo()const
{
return userInfo_;
}
void DeleteUserRequest::setUserInfo(const std::string& userInfo)
{
userInfo_ = userInfo;
setCoreParameter("UserInfo", userInfo);
}

View File

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

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/ListCommoditiesRequest.h>
using AlibabaCloud::Aliyuncvc::Model::ListCommoditiesRequest;
ListCommoditiesRequest::ListCommoditiesRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "ListCommodities")
{
setMethod(HttpRequest::Method::Post);
}
ListCommoditiesRequest::~ListCommoditiesRequest()
{}
int ListCommoditiesRequest::getPageSize()const
{
return pageSize_;
}
void ListCommoditiesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
std::string ListCommoditiesRequest::getEndTime()const
{
return endTime_;
}
void ListCommoditiesRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", endTime);
}
std::string ListCommoditiesRequest::getStartTime()const
{
return startTime_;
}
void ListCommoditiesRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", startTime);
}
int ListCommoditiesRequest::getPageNumber()const
{
return pageNumber_;
}
void ListCommoditiesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/ListCommoditiesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
ListCommoditiesResult::ListCommoditiesResult() :
ServiceResult()
{}
ListCommoditiesResult::ListCommoditiesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListCommoditiesResult::~ListCommoditiesResult()
{}
void ListCommoditiesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allCommoditiesNode = dataNode["Commodities"]["Commodity"];
for (auto dataNodeCommoditiesCommodity : allCommoditiesNode)
{
Data::Commodity commodityObject;
if(!dataNodeCommoditiesCommodity["EndTime"].isNull())
commodityObject.endTime = dataNodeCommoditiesCommodity["EndTime"].asString();
if(!dataNodeCommoditiesCommodity["Instancepropertyvalue"].isNull())
commodityObject.instancepropertyvalue = dataNodeCommoditiesCommodity["Instancepropertyvalue"].asString();
if(!dataNodeCommoditiesCommodity["StartTime"].isNull())
commodityObject.startTime = dataNodeCommoditiesCommodity["StartTime"].asString();
data_.commodities.push_back(commodityObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string ListCommoditiesResult::getMessage()const
{
return message_;
}
ListCommoditiesResult::Data ListCommoditiesResult::getData()const
{
return data_;
}
int ListCommoditiesResult::getErrorCode()const
{
return errorCode_;
}
bool ListCommoditiesResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryIsvUserInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryIsvUserInfoRequest;
QueryIsvUserInfoRequest::QueryIsvUserInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryIsvUserInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryIsvUserInfoRequest::~QueryIsvUserInfoRequest()
{}
std::string QueryIsvUserInfoRequest::getUserId()const
{
return userId_;
}
void QueryIsvUserInfoRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setCoreParameter("UserId", userId);
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryIsvUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryIsvUserInfoResult::QueryIsvUserInfoResult() :
ServiceResult()
{}
QueryIsvUserInfoResult::QueryIsvUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryIsvUserInfoResult::~QueryIsvUserInfoResult()
{}
void QueryIsvUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto userInfoNode = value["UserInfo"];
if(!userInfoNode["UserName"].isNull())
userInfo_.userName = userInfoNode["UserName"].asString();
if(!userInfoNode["CreateTime"].isNull())
userInfo_.createTime = std::stol(userInfoNode["CreateTime"].asString());
if(!userInfoNode["GroupId"].isNull())
userInfo_.groupId = userInfoNode["GroupId"].asString();
if(!userInfoNode["GroupName"].isNull())
userInfo_.groupName = userInfoNode["GroupName"].asString();
if(!userInfoNode["UserId"].isNull())
userInfo_.userId = userInfoNode["UserId"].asString();
if(!userInfoNode["UserTel"].isNull())
userInfo_.userTel = userInfoNode["UserTel"].asString();
if(!userInfoNode["UserEmail"].isNull())
userInfo_.userEmail = userInfoNode["UserEmail"].asString();
if(!userInfoNode["UserMobile"].isNull())
userInfo_.userMobile = userInfoNode["UserMobile"].asString();
if(!userInfoNode["UserAvatarUrl"].isNull())
userInfo_.userAvatarUrl = userInfoNode["UserAvatarUrl"].asString();
if(!userInfoNode["DepartId"].isNull())
userInfo_.departId = userInfoNode["DepartId"].asString();
if(!userInfoNode["DepartName"].isNull())
userInfo_.departName = userInfoNode["DepartName"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryIsvUserInfoResult::getMessage()const
{
return message_;
}
QueryIsvUserInfoResult::UserInfo QueryIsvUserInfoResult::getUserInfo()const
{
return userInfo_;
}
int QueryIsvUserInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryIsvUserInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryMeetingInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryMeetingInfoRequest;
QueryMeetingInfoRequest::QueryMeetingInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMeetingInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryMeetingInfoRequest::~QueryMeetingInfoRequest()
{}
std::string QueryMeetingInfoRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void QueryMeetingInfoRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setCoreParameter("MeetingUUID", meetingUUID);
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryMeetingInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryMeetingInfoResult::QueryMeetingInfoResult() :
ServiceResult()
{}
QueryMeetingInfoResult::QueryMeetingInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMeetingInfoResult::~QueryMeetingInfoResult()
{}
void QueryMeetingInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingName"].isNull())
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
if(!meetingInfoNode["ValidDate"].isNull())
meetingInfo_.validDate = std::stol(meetingInfoNode["ValidDate"].asString());
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["CreateDate"].isNull())
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberListNode = meetingInfoNode["MemberList"]["MemberListItem"];
for (auto meetingInfoNodeMemberListMemberListItem : allMemberListNode)
{
MeetingInfo::MemberListItem memberListItemObject;
if(!meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].isNull())
memberListItemObject.userAvatarUrl = meetingInfoNodeMemberListMemberListItem["UserAvatarUrl"].asString();
if(!meetingInfoNodeMemberListMemberListItem["MemberUUID"].isNull())
memberListItemObject.memberUUID = meetingInfoNodeMemberListMemberListItem["MemberUUID"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserName"].isNull())
memberListItemObject.userName = meetingInfoNodeMemberListMemberListItem["UserName"].asString();
if(!meetingInfoNodeMemberListMemberListItem["UserId"].isNull())
memberListItemObject.userId = meetingInfoNodeMemberListMemberListItem["UserId"].asString();
if(!meetingInfoNodeMemberListMemberListItem["Status"].isNull())
memberListItemObject.status = meetingInfoNodeMemberListMemberListItem["Status"].asString();
meetingInfo_.memberList.push_back(memberListItemObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
QueryMeetingInfoResult::MeetingInfo QueryMeetingInfoResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string QueryMeetingInfoResult::getMessage()const
{
return message_;
}
int QueryMeetingInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryMeetingInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryMemberRecordRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryMemberRecordRequest;
QueryMemberRecordRequest::QueryMemberRecordRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryMemberRecord")
{
setMethod(HttpRequest::Method::Post);
}
QueryMemberRecordRequest::~QueryMemberRecordRequest()
{}
std::string QueryMemberRecordRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void QueryMemberRecordRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setCoreParameter("MeetingUUID", meetingUUID);
}

View File

@@ -0,0 +1,97 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryMemberRecordResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryMemberRecordResult::QueryMemberRecordResult() :
ServiceResult()
{}
QueryMemberRecordResult::QueryMemberRecordResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryMemberRecordResult::~QueryMemberRecordResult()
{}
void QueryMemberRecordResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto meetingInfoNode = value["MeetingInfo"];
if(!meetingInfoNode["MeetingName"].isNull())
meetingInfo_.meetingName = meetingInfoNode["MeetingName"].asString();
if(!meetingInfoNode["MeetingCode"].isNull())
meetingInfo_.meetingCode = meetingInfoNode["MeetingCode"].asString();
if(!meetingInfoNode["Memo"].isNull())
meetingInfo_.memo = meetingInfoNode["Memo"].asString();
if(!meetingInfoNode["UserName"].isNull())
meetingInfo_.userName = meetingInfoNode["UserName"].asString();
if(!meetingInfoNode["CreateDate"].isNull())
meetingInfo_.createDate = std::stol(meetingInfoNode["CreateDate"].asString());
if(!meetingInfoNode["UserId"].isNull())
meetingInfo_.userId = meetingInfoNode["UserId"].asString();
if(!meetingInfoNode["MeetingUUID"].isNull())
meetingInfo_.meetingUUID = meetingInfoNode["MeetingUUID"].asString();
auto allMemberRecordsListNode = meetingInfoNode["MemberRecordsList"]["MemberRecord"];
for (auto meetingInfoNodeMemberRecordsListMemberRecord : allMemberRecordsListNode)
{
MeetingInfo::MemberRecord memberRecordObject;
if(!meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].isNull())
memberRecordObject.memberUUID = meetingInfoNodeMemberRecordsListMemberRecord["MemberUUID"].asString();
if(!meetingInfoNodeMemberRecordsListMemberRecord["UserId"].isNull())
memberRecordObject.userId = meetingInfoNodeMemberRecordsListMemberRecord["UserId"].asString();
if(!meetingInfoNodeMemberRecordsListMemberRecord["Status"].isNull())
memberRecordObject.status = meetingInfoNodeMemberRecordsListMemberRecord["Status"].asString();
meetingInfo_.memberRecordsList.push_back(memberRecordObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
QueryMemberRecordResult::MeetingInfo QueryMemberRecordResult::getMeetingInfo()const
{
return meetingInfo_;
}
std::string QueryMemberRecordResult::getMessage()const
{
return message_;
}
int QueryMemberRecordResult::getErrorCode()const
{
return errorCode_;
}
bool QueryMemberRecordResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryStatisticsRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryStatisticsRequest;
QueryStatisticsRequest::QueryStatisticsRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryStatistics")
{
setMethod(HttpRequest::Method::Post);
}
QueryStatisticsRequest::~QueryStatisticsRequest()
{}
std::string QueryStatisticsRequest::getEndTime()const
{
return endTime_;
}
void QueryStatisticsRequest::setEndTime(const std::string& endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", endTime);
}
std::string QueryStatisticsRequest::getStartTime()const
{
return startTime_;
}
void QueryStatisticsRequest::setStartTime(const std::string& startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", startTime);
}

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryStatisticsResult::QueryStatisticsResult() :
ServiceResult()
{}
QueryStatisticsResult::QueryStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryStatisticsResult::~QueryStatisticsResult()
{}
void QueryStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
auto allDayInfoNode = dataNode["DayInfo"]["DayInfoItem"];
for (auto dataNodeDayInfoDayInfoItem : allDayInfoNode)
{
Data::DayInfoItem dayInfoItemObject;
if(!dataNodeDayInfoDayInfoItem["MeetingNum"].isNull())
dayInfoItemObject.meetingNum = dataNodeDayInfoDayInfoItem["MeetingNum"].asString();
if(!dataNodeDayInfoDayInfoItem["MeetingLength"].isNull())
dayInfoItemObject.meetingLength = dataNodeDayInfoDayInfoItem["MeetingLength"].asString();
if(!dataNodeDayInfoDayInfoItem["MemberNum"].isNull())
dayInfoItemObject.memberNum = dataNodeDayInfoDayInfoItem["MemberNum"].asString();
if(!dataNodeDayInfoDayInfoItem["Day"].isNull())
dayInfoItemObject.day = dataNodeDayInfoDayInfoItem["Day"].asString();
data_.dayInfo.push_back(dayInfoItemObject);
}
auto totalNode = dataNode["Total"];
if(!totalNode["MeetingNum"].isNull())
data_.total.meetingNum = std::stoi(totalNode["MeetingNum"].asString());
if(!totalNode["MeetingLength"].isNull())
data_.total.meetingLength = std::stoi(totalNode["MeetingLength"].asString());
if(!totalNode["MemberNum"].isNull())
data_.total.memberNum = std::stoi(totalNode["MemberNum"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryStatisticsResult::getMessage()const
{
return message_;
}
QueryStatisticsResult::Data QueryStatisticsResult::getData()const
{
return data_;
}
int QueryStatisticsResult::getErrorCode()const
{
return errorCode_;
}
bool QueryStatisticsResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryUserBuyAttributeRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserBuyAttributeRequest;
QueryUserBuyAttributeRequest::QueryUserBuyAttributeRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserBuyAttribute")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserBuyAttributeRequest::~QueryUserBuyAttributeRequest()
{}

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/aliyuncvc/model/QueryUserBuyAttributeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserBuyAttributeResult::QueryUserBuyAttributeResult() :
ServiceResult()
{}
QueryUserBuyAttributeResult::QueryUserBuyAttributeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserBuyAttributeResult::~QueryUserBuyAttributeResult()
{}
void QueryUserBuyAttributeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["UserBuyAttribute"].isNull())
userBuyAttribute_ = value["UserBuyAttribute"].asString() == "true";
}
std::string QueryUserBuyAttributeResult::getMessage()const
{
return message_;
}
bool QueryUserBuyAttributeResult::getUserBuyAttribute()const
{
return userBuyAttribute_;
}
int QueryUserBuyAttributeResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserBuyAttributeResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryUserEvaluationRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserEvaluationRequest;
QueryUserEvaluationRequest::QueryUserEvaluationRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserEvaluation")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserEvaluationRequest::~QueryUserEvaluationRequest()
{}

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/aliyuncvc/model/QueryUserEvaluationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserEvaluationResult::QueryUserEvaluationResult() :
ServiceResult()
{}
QueryUserEvaluationResult::QueryUserEvaluationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserEvaluationResult::~QueryUserEvaluationResult()
{}
void QueryUserEvaluationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["UserEvaluation"].isNull())
userEvaluation_ = value["UserEvaluation"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryUserEvaluationResult::getMessage()const
{
return message_;
}
int QueryUserEvaluationResult::getErrorCode()const
{
return errorCode_;
}
std::string QueryUserEvaluationResult::getUserEvaluation()const
{
return userEvaluation_;
}
bool QueryUserEvaluationResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/QueryUserInfoRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserInfoRequest;
QueryUserInfoRequest::QueryUserInfoRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserInfo")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserInfoRequest::~QueryUserInfoRequest()
{}

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserInfoResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserInfoResult::QueryUserInfoResult() :
ServiceResult()
{}
QueryUserInfoResult::QueryUserInfoResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserInfoResult::~QueryUserInfoResult()
{}
void QueryUserInfoResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto userInfoNode = value["UserInfo"];
if(!userInfoNode["CurNum"].isNull())
userInfo_.curNum = std::stoi(userInfoNode["CurNum"].asString());
if(!userInfoNode["MemberConcurrentMax"].isNull())
userInfo_.memberConcurrentMax = std::stoi(userInfoNode["MemberConcurrentMax"].asString());
if(!userInfoNode["MaxNum"].isNull())
userInfo_.maxNum = std::stoi(userInfoNode["MaxNum"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryUserInfoResult::getMessage()const
{
return message_;
}
QueryUserInfoResult::UserInfo QueryUserInfoResult::getUserInfo()const
{
return userInfo_;
}
int QueryUserInfoResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserInfoResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserListRequest.h>
using AlibabaCloud::Aliyuncvc::Model::QueryUserListRequest;
QueryUserListRequest::QueryUserListRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "QueryUserList")
{
setMethod(HttpRequest::Method::Post);
}
QueryUserListRequest::~QueryUserListRequest()
{}
int QueryUserListRequest::getPageSize()const
{
return pageSize_;
}
void QueryUserListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
int QueryUserListRequest::getPageNum()const
{
return pageNum_;
}
void QueryUserListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
}

View File

@@ -0,0 +1,105 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/aliyuncvc/model/QueryUserListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Aliyuncvc;
using namespace AlibabaCloud::Aliyuncvc::Model;
QueryUserListResult::QueryUserListResult() :
ServiceResult()
{}
QueryUserListResult::QueryUserListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryUserListResult::~QueryUserListResult()
{}
void QueryUserListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["PageNumber"].isNull())
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
auto allUserInfosNode = dataNode["UserInfos"]["UserInfo"];
for (auto dataNodeUserInfosUserInfo : allUserInfosNode)
{
Data::UserInfo userInfoObject;
if(!dataNodeUserInfosUserInfo["CreateTime"].isNull())
userInfoObject.createTime = std::stol(dataNodeUserInfosUserInfo["CreateTime"].asString());
if(!dataNodeUserInfosUserInfo["GroupName"].isNull())
userInfoObject.groupName = dataNodeUserInfosUserInfo["GroupName"].asString();
if(!dataNodeUserInfosUserInfo["UserName"].isNull())
userInfoObject.userName = dataNodeUserInfosUserInfo["UserName"].asString();
if(!dataNodeUserInfosUserInfo["GroupId"].isNull())
userInfoObject.groupId = dataNodeUserInfosUserInfo["GroupId"].asString();
if(!dataNodeUserInfosUserInfo["GroupName"].isNull())
userInfoObject.groupName1 = dataNodeUserInfosUserInfo["GroupName"].asString();
if(!dataNodeUserInfosUserInfo["DepartName"].isNull())
userInfoObject.departName = dataNodeUserInfosUserInfo["DepartName"].asString();
if(!dataNodeUserInfosUserInfo["DepartId"].isNull())
userInfoObject.departId = dataNodeUserInfosUserInfo["DepartId"].asString();
if(!dataNodeUserInfosUserInfo["UserEmail"].isNull())
userInfoObject.userEmail = dataNodeUserInfosUserInfo["UserEmail"].asString();
if(!dataNodeUserInfosUserInfo["UserTel"].isNull())
userInfoObject.userTel = dataNodeUserInfosUserInfo["UserTel"].asString();
if(!dataNodeUserInfosUserInfo["UserMobile"].isNull())
userInfoObject.userMobile = dataNodeUserInfosUserInfo["UserMobile"].asString();
if(!dataNodeUserInfosUserInfo["UserAvatarUrl"].isNull())
userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString();
data_.userInfos.push_back(userInfoObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = std::stoi(value["ErrorCode"].asString());
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string QueryUserListResult::getMessage()const
{
return message_;
}
QueryUserListResult::Data QueryUserListResult::getData()const
{
return data_;
}
int QueryUserListResult::getErrorCode()const
{
return errorCode_;
}
bool QueryUserListResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/aliyuncvc/model/RemoveMeetingRequest.h>
using AlibabaCloud::Aliyuncvc::Model::RemoveMeetingRequest;
RemoveMeetingRequest::RemoveMeetingRequest() :
RpcServiceRequest("aliyuncvc", "2019-09-19", "RemoveMeeting")
{
setMethod(HttpRequest::Method::Post);
}
RemoveMeetingRequest::~RemoveMeetingRequest()
{}
std::string RemoveMeetingRequest::getMeetingUUID()const
{
return meetingUUID_;
}
void RemoveMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
{
meetingUUID_ = meetingUUID;
setCoreParameter("MeetingUUID", meetingUUID);
}

View File

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

View File

@@ -21,8 +21,8 @@ set(bssopenapi_public_header
include/alibabacloud/bssopenapi/BssOpenApiExport.h )
set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/AllocateFinanceUnitResourceRequest.h
include/alibabacloud/bssopenapi/model/AllocateFinanceUnitResourceResult.h
include/alibabacloud/bssopenapi/model/AllocateCostUnitResourceRequest.h
include/alibabacloud/bssopenapi/model/AllocateCostUnitResourceResult.h
include/alibabacloud/bssopenapi/model/ApplyInvoiceRequest.h
include/alibabacloud/bssopenapi/model/ApplyInvoiceResult.h
include/alibabacloud/bssopenapi/model/CancelOrderRequest.h
@@ -33,16 +33,16 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/ConvertChargeTypeResult.h
include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h
include/alibabacloud/bssopenapi/model/CreateAgAccountResult.h
include/alibabacloud/bssopenapi/model/CreateFinanceUnitRequest.h
include/alibabacloud/bssopenapi/model/CreateFinanceUnitResult.h
include/alibabacloud/bssopenapi/model/CreateCostUnitRequest.h
include/alibabacloud/bssopenapi/model/CreateCostUnitResult.h
include/alibabacloud/bssopenapi/model/CreateInstanceRequest.h
include/alibabacloud/bssopenapi/model/CreateInstanceResult.h
include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaRequest.h
include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaResult.h
include/alibabacloud/bssopenapi/model/CreateResourcePackageRequest.h
include/alibabacloud/bssopenapi/model/CreateResourcePackageResult.h
include/alibabacloud/bssopenapi/model/DeleteFinanceUnitRequest.h
include/alibabacloud/bssopenapi/model/DeleteFinanceUnitResult.h
include/alibabacloud/bssopenapi/model/DeleteCostUnitRequest.h
include/alibabacloud/bssopenapi/model/DeleteCostUnitResult.h
include/alibabacloud/bssopenapi/model/DescribePricingModuleRequest.h
include/alibabacloud/bssopenapi/model/DescribePricingModuleResult.h
include/alibabacloud/bssopenapi/model/DescribeResourcePackageProductRequest.h
@@ -61,8 +61,8 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/GetResourcePackagePriceResult.h
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceRequest.h
include/alibabacloud/bssopenapi/model/GetSubscriptionPriceResult.h
include/alibabacloud/bssopenapi/model/ModifyFinanceUnitRequest.h
include/alibabacloud/bssopenapi/model/ModifyFinanceUnitResult.h
include/alibabacloud/bssopenapi/model/ModifyCostUnitRequest.h
include/alibabacloud/bssopenapi/model/ModifyCostUnitResult.h
include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h
include/alibabacloud/bssopenapi/model/ModifyInstanceResult.h
include/alibabacloud/bssopenapi/model/QueryAccountBalanceRequest.h
@@ -77,14 +77,14 @@ set(bssopenapi_public_header_model
include/alibabacloud/bssopenapi/model/QueryBillOverviewResult.h
include/alibabacloud/bssopenapi/model/QueryCashCouponsRequest.h
include/alibabacloud/bssopenapi/model/QueryCashCouponsResult.h
include/alibabacloud/bssopenapi/model/QueryCostUnitRequest.h
include/alibabacloud/bssopenapi/model/QueryCostUnitResult.h
include/alibabacloud/bssopenapi/model/QueryCostUnitResourceRequest.h
include/alibabacloud/bssopenapi/model/QueryCostUnitResourceResult.h
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListRequest.h
include/alibabacloud/bssopenapi/model/QueryCustomerAddressListResult.h
include/alibabacloud/bssopenapi/model/QueryEvaluateListRequest.h
include/alibabacloud/bssopenapi/model/QueryEvaluateListResult.h
include/alibabacloud/bssopenapi/model/QueryFinanceUnitRequest.h
include/alibabacloud/bssopenapi/model/QueryFinanceUnitResult.h
include/alibabacloud/bssopenapi/model/QueryFinanceUnitResourceRequest.h
include/alibabacloud/bssopenapi/model/QueryFinanceUnitResourceResult.h
include/alibabacloud/bssopenapi/model/QueryInstanceBillRequest.h
include/alibabacloud/bssopenapi/model/QueryInstanceBillResult.h
include/alibabacloud/bssopenapi/model/QueryInstanceGaapCostRequest.h
@@ -132,8 +132,8 @@ set(bssopenapi_public_header_model
set(bssopenapi_src
src/BssOpenApiClient.cc
src/model/AllocateFinanceUnitResourceRequest.cc
src/model/AllocateFinanceUnitResourceResult.cc
src/model/AllocateCostUnitResourceRequest.cc
src/model/AllocateCostUnitResourceResult.cc
src/model/ApplyInvoiceRequest.cc
src/model/ApplyInvoiceResult.cc
src/model/CancelOrderRequest.cc
@@ -144,16 +144,16 @@ set(bssopenapi_src
src/model/ConvertChargeTypeResult.cc
src/model/CreateAgAccountRequest.cc
src/model/CreateAgAccountResult.cc
src/model/CreateFinanceUnitRequest.cc
src/model/CreateFinanceUnitResult.cc
src/model/CreateCostUnitRequest.cc
src/model/CreateCostUnitResult.cc
src/model/CreateInstanceRequest.cc
src/model/CreateInstanceResult.cc
src/model/CreateResellerUserQuotaRequest.cc
src/model/CreateResellerUserQuotaResult.cc
src/model/CreateResourcePackageRequest.cc
src/model/CreateResourcePackageResult.cc
src/model/DeleteFinanceUnitRequest.cc
src/model/DeleteFinanceUnitResult.cc
src/model/DeleteCostUnitRequest.cc
src/model/DeleteCostUnitResult.cc
src/model/DescribePricingModuleRequest.cc
src/model/DescribePricingModuleResult.cc
src/model/DescribeResourcePackageProductRequest.cc
@@ -172,8 +172,8 @@ set(bssopenapi_src
src/model/GetResourcePackagePriceResult.cc
src/model/GetSubscriptionPriceRequest.cc
src/model/GetSubscriptionPriceResult.cc
src/model/ModifyFinanceUnitRequest.cc
src/model/ModifyFinanceUnitResult.cc
src/model/ModifyCostUnitRequest.cc
src/model/ModifyCostUnitResult.cc
src/model/ModifyInstanceRequest.cc
src/model/ModifyInstanceResult.cc
src/model/QueryAccountBalanceRequest.cc
@@ -188,14 +188,14 @@ set(bssopenapi_src
src/model/QueryBillOverviewResult.cc
src/model/QueryCashCouponsRequest.cc
src/model/QueryCashCouponsResult.cc
src/model/QueryCostUnitRequest.cc
src/model/QueryCostUnitResult.cc
src/model/QueryCostUnitResourceRequest.cc
src/model/QueryCostUnitResourceResult.cc
src/model/QueryCustomerAddressListRequest.cc
src/model/QueryCustomerAddressListResult.cc
src/model/QueryEvaluateListRequest.cc
src/model/QueryEvaluateListResult.cc
src/model/QueryFinanceUnitRequest.cc
src/model/QueryFinanceUnitResult.cc
src/model/QueryFinanceUnitResourceRequest.cc
src/model/QueryFinanceUnitResourceResult.cc
src/model/QueryInstanceBillRequest.cc
src/model/QueryInstanceBillResult.cc
src/model/QueryInstanceGaapCostRequest.cc

View File

@@ -22,8 +22,8 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "BssOpenApiExport.h"
#include "model/AllocateFinanceUnitResourceRequest.h"
#include "model/AllocateFinanceUnitResourceResult.h"
#include "model/AllocateCostUnitResourceRequest.h"
#include "model/AllocateCostUnitResourceResult.h"
#include "model/ApplyInvoiceRequest.h"
#include "model/ApplyInvoiceResult.h"
#include "model/CancelOrderRequest.h"
@@ -34,16 +34,16 @@
#include "model/ConvertChargeTypeResult.h"
#include "model/CreateAgAccountRequest.h"
#include "model/CreateAgAccountResult.h"
#include "model/CreateFinanceUnitRequest.h"
#include "model/CreateFinanceUnitResult.h"
#include "model/CreateCostUnitRequest.h"
#include "model/CreateCostUnitResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/CreateResellerUserQuotaRequest.h"
#include "model/CreateResellerUserQuotaResult.h"
#include "model/CreateResourcePackageRequest.h"
#include "model/CreateResourcePackageResult.h"
#include "model/DeleteFinanceUnitRequest.h"
#include "model/DeleteFinanceUnitResult.h"
#include "model/DeleteCostUnitRequest.h"
#include "model/DeleteCostUnitResult.h"
#include "model/DescribePricingModuleRequest.h"
#include "model/DescribePricingModuleResult.h"
#include "model/DescribeResourcePackageProductRequest.h"
@@ -62,8 +62,8 @@
#include "model/GetResourcePackagePriceResult.h"
#include "model/GetSubscriptionPriceRequest.h"
#include "model/GetSubscriptionPriceResult.h"
#include "model/ModifyFinanceUnitRequest.h"
#include "model/ModifyFinanceUnitResult.h"
#include "model/ModifyCostUnitRequest.h"
#include "model/ModifyCostUnitResult.h"
#include "model/ModifyInstanceRequest.h"
#include "model/ModifyInstanceResult.h"
#include "model/QueryAccountBalanceRequest.h"
@@ -78,14 +78,14 @@
#include "model/QueryBillOverviewResult.h"
#include "model/QueryCashCouponsRequest.h"
#include "model/QueryCashCouponsResult.h"
#include "model/QueryCostUnitRequest.h"
#include "model/QueryCostUnitResult.h"
#include "model/QueryCostUnitResourceRequest.h"
#include "model/QueryCostUnitResourceResult.h"
#include "model/QueryCustomerAddressListRequest.h"
#include "model/QueryCustomerAddressListResult.h"
#include "model/QueryEvaluateListRequest.h"
#include "model/QueryEvaluateListResult.h"
#include "model/QueryFinanceUnitRequest.h"
#include "model/QueryFinanceUnitResult.h"
#include "model/QueryFinanceUnitResourceRequest.h"
#include "model/QueryFinanceUnitResourceResult.h"
#include "model/QueryInstanceBillRequest.h"
#include "model/QueryInstanceBillResult.h"
#include "model/QueryInstanceGaapCostRequest.h"
@@ -139,9 +139,9 @@ namespace AlibabaCloud
class ALIBABACLOUD_BSSOPENAPI_EXPORT BssOpenApiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AllocateFinanceUnitResourceResult> AllocateFinanceUnitResourceOutcome;
typedef std::future<AllocateFinanceUnitResourceOutcome> AllocateFinanceUnitResourceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::AllocateFinanceUnitResourceRequest&, const AllocateFinanceUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateFinanceUnitResourceAsyncHandler;
typedef Outcome<Error, Model::AllocateCostUnitResourceResult> AllocateCostUnitResourceOutcome;
typedef std::future<AllocateCostUnitResourceOutcome> AllocateCostUnitResourceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::AllocateCostUnitResourceRequest&, const AllocateCostUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateCostUnitResourceAsyncHandler;
typedef Outcome<Error, Model::ApplyInvoiceResult> ApplyInvoiceOutcome;
typedef std::future<ApplyInvoiceOutcome> ApplyInvoiceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ApplyInvoiceRequest&, const ApplyInvoiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApplyInvoiceAsyncHandler;
@@ -157,9 +157,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateAgAccountResult> CreateAgAccountOutcome;
typedef std::future<CreateAgAccountOutcome> CreateAgAccountOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateAgAccountRequest&, const CreateAgAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAgAccountAsyncHandler;
typedef Outcome<Error, Model::CreateFinanceUnitResult> CreateFinanceUnitOutcome;
typedef std::future<CreateFinanceUnitOutcome> CreateFinanceUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateFinanceUnitRequest&, const CreateFinanceUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFinanceUnitAsyncHandler;
typedef Outcome<Error, Model::CreateCostUnitResult> CreateCostUnitOutcome;
typedef std::future<CreateCostUnitOutcome> CreateCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateCostUnitRequest&, const CreateCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCostUnitAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
@@ -169,9 +169,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateResourcePackageResult> CreateResourcePackageOutcome;
typedef std::future<CreateResourcePackageOutcome> CreateResourcePackageOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::CreateResourcePackageRequest&, const CreateResourcePackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateResourcePackageAsyncHandler;
typedef Outcome<Error, Model::DeleteFinanceUnitResult> DeleteFinanceUnitOutcome;
typedef std::future<DeleteFinanceUnitOutcome> DeleteFinanceUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DeleteFinanceUnitRequest&, const DeleteFinanceUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFinanceUnitAsyncHandler;
typedef Outcome<Error, Model::DeleteCostUnitResult> DeleteCostUnitOutcome;
typedef std::future<DeleteCostUnitOutcome> DeleteCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DeleteCostUnitRequest&, const DeleteCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCostUnitAsyncHandler;
typedef Outcome<Error, Model::DescribePricingModuleResult> DescribePricingModuleOutcome;
typedef std::future<DescribePricingModuleOutcome> DescribePricingModuleOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::DescribePricingModuleRequest&, const DescribePricingModuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePricingModuleAsyncHandler;
@@ -199,9 +199,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSubscriptionPriceResult> GetSubscriptionPriceOutcome;
typedef std::future<GetSubscriptionPriceOutcome> GetSubscriptionPriceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::GetSubscriptionPriceRequest&, const GetSubscriptionPriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSubscriptionPriceAsyncHandler;
typedef Outcome<Error, Model::ModifyFinanceUnitResult> ModifyFinanceUnitOutcome;
typedef std::future<ModifyFinanceUnitOutcome> ModifyFinanceUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyFinanceUnitRequest&, const ModifyFinanceUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyFinanceUnitAsyncHandler;
typedef Outcome<Error, Model::ModifyCostUnitResult> ModifyCostUnitOutcome;
typedef std::future<ModifyCostUnitOutcome> ModifyCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyCostUnitRequest&, const ModifyCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCostUnitAsyncHandler;
typedef Outcome<Error, Model::ModifyInstanceResult> ModifyInstanceOutcome;
typedef std::future<ModifyInstanceOutcome> ModifyInstanceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::ModifyInstanceRequest&, const ModifyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAsyncHandler;
@@ -223,18 +223,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::QueryCashCouponsResult> QueryCashCouponsOutcome;
typedef std::future<QueryCashCouponsOutcome> QueryCashCouponsOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCashCouponsRequest&, const QueryCashCouponsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCashCouponsAsyncHandler;
typedef Outcome<Error, Model::QueryCostUnitResult> QueryCostUnitOutcome;
typedef std::future<QueryCostUnitOutcome> QueryCostUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCostUnitRequest&, const QueryCostUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCostUnitAsyncHandler;
typedef Outcome<Error, Model::QueryCostUnitResourceResult> QueryCostUnitResourceOutcome;
typedef std::future<QueryCostUnitResourceOutcome> QueryCostUnitResourceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCostUnitResourceRequest&, const QueryCostUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCostUnitResourceAsyncHandler;
typedef Outcome<Error, Model::QueryCustomerAddressListResult> QueryCustomerAddressListOutcome;
typedef std::future<QueryCustomerAddressListOutcome> QueryCustomerAddressListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryCustomerAddressListRequest&, const QueryCustomerAddressListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerAddressListAsyncHandler;
typedef Outcome<Error, Model::QueryEvaluateListResult> QueryEvaluateListOutcome;
typedef std::future<QueryEvaluateListOutcome> QueryEvaluateListOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryEvaluateListRequest&, const QueryEvaluateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryEvaluateListAsyncHandler;
typedef Outcome<Error, Model::QueryFinanceUnitResult> QueryFinanceUnitOutcome;
typedef std::future<QueryFinanceUnitOutcome> QueryFinanceUnitOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryFinanceUnitRequest&, const QueryFinanceUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryFinanceUnitAsyncHandler;
typedef Outcome<Error, Model::QueryFinanceUnitResourceResult> QueryFinanceUnitResourceOutcome;
typedef std::future<QueryFinanceUnitResourceOutcome> QueryFinanceUnitResourceOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryFinanceUnitResourceRequest&, const QueryFinanceUnitResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryFinanceUnitResourceAsyncHandler;
typedef Outcome<Error, Model::QueryInstanceBillResult> QueryInstanceBillOutcome;
typedef std::future<QueryInstanceBillOutcome> QueryInstanceBillOutcomeCallable;
typedef std::function<void(const BssOpenApiClient*, const Model::QueryInstanceBillRequest&, const QueryInstanceBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryInstanceBillAsyncHandler;
@@ -306,9 +306,9 @@ namespace AlibabaCloud
BssOpenApiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
BssOpenApiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~BssOpenApiClient();
AllocateFinanceUnitResourceOutcome allocateFinanceUnitResource(const Model::AllocateFinanceUnitResourceRequest &request)const;
void allocateFinanceUnitResourceAsync(const Model::AllocateFinanceUnitResourceRequest& request, const AllocateFinanceUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateFinanceUnitResourceOutcomeCallable allocateFinanceUnitResourceCallable(const Model::AllocateFinanceUnitResourceRequest& request) const;
AllocateCostUnitResourceOutcome allocateCostUnitResource(const Model::AllocateCostUnitResourceRequest &request)const;
void allocateCostUnitResourceAsync(const Model::AllocateCostUnitResourceRequest& request, const AllocateCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AllocateCostUnitResourceOutcomeCallable allocateCostUnitResourceCallable(const Model::AllocateCostUnitResourceRequest& request) const;
ApplyInvoiceOutcome applyInvoice(const Model::ApplyInvoiceRequest &request)const;
void applyInvoiceAsync(const Model::ApplyInvoiceRequest& request, const ApplyInvoiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApplyInvoiceOutcomeCallable applyInvoiceCallable(const Model::ApplyInvoiceRequest& request) const;
@@ -324,9 +324,9 @@ namespace AlibabaCloud
CreateAgAccountOutcome createAgAccount(const Model::CreateAgAccountRequest &request)const;
void createAgAccountAsync(const Model::CreateAgAccountRequest& request, const CreateAgAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAgAccountOutcomeCallable createAgAccountCallable(const Model::CreateAgAccountRequest& request) const;
CreateFinanceUnitOutcome createFinanceUnit(const Model::CreateFinanceUnitRequest &request)const;
void createFinanceUnitAsync(const Model::CreateFinanceUnitRequest& request, const CreateFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFinanceUnitOutcomeCallable createFinanceUnitCallable(const Model::CreateFinanceUnitRequest& request) const;
CreateCostUnitOutcome createCostUnit(const Model::CreateCostUnitRequest &request)const;
void createCostUnitAsync(const Model::CreateCostUnitRequest& request, const CreateCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCostUnitOutcomeCallable createCostUnitCallable(const Model::CreateCostUnitRequest& request) const;
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
@@ -336,9 +336,9 @@ namespace AlibabaCloud
CreateResourcePackageOutcome createResourcePackage(const Model::CreateResourcePackageRequest &request)const;
void createResourcePackageAsync(const Model::CreateResourcePackageRequest& request, const CreateResourcePackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateResourcePackageOutcomeCallable createResourcePackageCallable(const Model::CreateResourcePackageRequest& request) const;
DeleteFinanceUnitOutcome deleteFinanceUnit(const Model::DeleteFinanceUnitRequest &request)const;
void deleteFinanceUnitAsync(const Model::DeleteFinanceUnitRequest& request, const DeleteFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFinanceUnitOutcomeCallable deleteFinanceUnitCallable(const Model::DeleteFinanceUnitRequest& request) const;
DeleteCostUnitOutcome deleteCostUnit(const Model::DeleteCostUnitRequest &request)const;
void deleteCostUnitAsync(const Model::DeleteCostUnitRequest& request, const DeleteCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCostUnitOutcomeCallable deleteCostUnitCallable(const Model::DeleteCostUnitRequest& request) const;
DescribePricingModuleOutcome describePricingModule(const Model::DescribePricingModuleRequest &request)const;
void describePricingModuleAsync(const Model::DescribePricingModuleRequest& request, const DescribePricingModuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePricingModuleOutcomeCallable describePricingModuleCallable(const Model::DescribePricingModuleRequest& request) const;
@@ -366,9 +366,9 @@ namespace AlibabaCloud
GetSubscriptionPriceOutcome getSubscriptionPrice(const Model::GetSubscriptionPriceRequest &request)const;
void getSubscriptionPriceAsync(const Model::GetSubscriptionPriceRequest& request, const GetSubscriptionPriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSubscriptionPriceOutcomeCallable getSubscriptionPriceCallable(const Model::GetSubscriptionPriceRequest& request) const;
ModifyFinanceUnitOutcome modifyFinanceUnit(const Model::ModifyFinanceUnitRequest &request)const;
void modifyFinanceUnitAsync(const Model::ModifyFinanceUnitRequest& request, const ModifyFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyFinanceUnitOutcomeCallable modifyFinanceUnitCallable(const Model::ModifyFinanceUnitRequest& request) const;
ModifyCostUnitOutcome modifyCostUnit(const Model::ModifyCostUnitRequest &request)const;
void modifyCostUnitAsync(const Model::ModifyCostUnitRequest& request, const ModifyCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCostUnitOutcomeCallable modifyCostUnitCallable(const Model::ModifyCostUnitRequest& request) const;
ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const;
void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const;
@@ -390,18 +390,18 @@ namespace AlibabaCloud
QueryCashCouponsOutcome queryCashCoupons(const Model::QueryCashCouponsRequest &request)const;
void queryCashCouponsAsync(const Model::QueryCashCouponsRequest& request, const QueryCashCouponsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCashCouponsOutcomeCallable queryCashCouponsCallable(const Model::QueryCashCouponsRequest& request) const;
QueryCostUnitOutcome queryCostUnit(const Model::QueryCostUnitRequest &request)const;
void queryCostUnitAsync(const Model::QueryCostUnitRequest& request, const QueryCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCostUnitOutcomeCallable queryCostUnitCallable(const Model::QueryCostUnitRequest& request) const;
QueryCostUnitResourceOutcome queryCostUnitResource(const Model::QueryCostUnitResourceRequest &request)const;
void queryCostUnitResourceAsync(const Model::QueryCostUnitResourceRequest& request, const QueryCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCostUnitResourceOutcomeCallable queryCostUnitResourceCallable(const Model::QueryCostUnitResourceRequest& request) const;
QueryCustomerAddressListOutcome queryCustomerAddressList(const Model::QueryCustomerAddressListRequest &request)const;
void queryCustomerAddressListAsync(const Model::QueryCustomerAddressListRequest& request, const QueryCustomerAddressListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCustomerAddressListOutcomeCallable queryCustomerAddressListCallable(const Model::QueryCustomerAddressListRequest& request) const;
QueryEvaluateListOutcome queryEvaluateList(const Model::QueryEvaluateListRequest &request)const;
void queryEvaluateListAsync(const Model::QueryEvaluateListRequest& request, const QueryEvaluateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryEvaluateListOutcomeCallable queryEvaluateListCallable(const Model::QueryEvaluateListRequest& request) const;
QueryFinanceUnitOutcome queryFinanceUnit(const Model::QueryFinanceUnitRequest &request)const;
void queryFinanceUnitAsync(const Model::QueryFinanceUnitRequest& request, const QueryFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryFinanceUnitOutcomeCallable queryFinanceUnitCallable(const Model::QueryFinanceUnitRequest& request) const;
QueryFinanceUnitResourceOutcome queryFinanceUnitResource(const Model::QueryFinanceUnitResourceRequest &request)const;
void queryFinanceUnitResourceAsync(const Model::QueryFinanceUnitResourceRequest& request, const QueryFinanceUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryFinanceUnitResourceOutcomeCallable queryFinanceUnitResourceCallable(const Model::QueryFinanceUnitResourceRequest& request) const;
QueryInstanceBillOutcome queryInstanceBill(const Model::QueryInstanceBillRequest &request)const;
void queryInstanceBillAsync(const Model::QueryInstanceBillRequest& request, const QueryInstanceBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryInstanceBillOutcomeCallable queryInstanceBillCallable(const Model::QueryInstanceBillRequest& request) const;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATEFINANCEUNITRESOURCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATEFINANCEUNITRESOURCEREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_
#include <string>
#include <vector>
@@ -28,39 +28,39 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT AllocateFinanceUnitResourceRequest : public RpcServiceRequest
class ALIBABACLOUD_BSSOPENAPI_EXPORT AllocateCostUnitResourceRequest : public RpcServiceRequest
{
struct ResourceInstanceList
{
std::string resourceId;
std::string commodityCode;
long resourceUserId;
};
struct ResourceInstanceList
{
std::string resourceId;
std::string commodityCode;
long resourceUserId;
};
public:
AllocateFinanceUnitResourceRequest();
~AllocateFinanceUnitResourceRequest();
AllocateCostUnitResourceRequest();
~AllocateCostUnitResourceRequest();
std::vector<ResourceInstanceList> getResourceInstanceList()const;
void setResourceInstanceList(const std::vector<ResourceInstanceList>& resourceInstanceList);
long getFromUnitId()const;
void setFromUnitId(long fromUnitId);
long getToUnitId()const;
void setToUnitId(long toUnitId);
long getFromUnitUserId()const;
void setFromUnitUserId(long fromUnitUserId);
long getToUnitUserId()const;
void setToUnitUserId(long toUnitUserId);
std::vector<ResourceInstanceList> getResourceInstanceList()const;
void setResourceInstanceList(const std::vector<ResourceInstanceList>& resourceInstanceList);
long getFromUnitId()const;
void setFromUnitId(long fromUnitId);
long getToUnitId()const;
void setToUnitId(long toUnitId);
long getFromUnitUserId()const;
void setFromUnitUserId(long fromUnitUserId);
long getToUnitUserId()const;
void setToUnitUserId(long toUnitUserId);
private:
std::vector<ResourceInstanceList> resourceInstanceList_;
long fromUnitId_;
long toUnitId_;
long fromUnitUserId_;
long toUnitUserId_;
std::vector<ResourceInstanceList> resourceInstanceList_;
long fromUnitId_;
long toUnitId_;
long fromUnitUserId_;
long toUnitUserId_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATEFINANCEUNITRESOURCEREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATEFINANCEUNITRESOURCERESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATEFINANCEUNITRESOURCERESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCERESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCERESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT AllocateFinanceUnitResourceResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT AllocateCostUnitResourceResult : public ServiceResult
{
public:
struct Data
@@ -40,9 +40,9 @@ namespace AlibabaCloud
};
AllocateFinanceUnitResourceResult();
explicit AllocateFinanceUnitResourceResult(const std::string &payload);
~AllocateFinanceUnitResourceResult();
AllocateCostUnitResourceResult();
explicit AllocateCostUnitResourceResult(const std::string &payload);
~AllocateCostUnitResourceResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -60,4 +60,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATEFINANCEUNITRESOURCERESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_ALLOCATECOSTUNITRESOURCERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEFINANCEUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEFINANCEUNITREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateFinanceUnitRequest : public RpcServiceRequest
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateCostUnitRequest : public RpcServiceRequest
{
struct UnitEntityList
{
std::string unitName;
long parentUnitId;
long ownerUid;
};
struct UnitEntityList
{
std::string unitName;
long parentUnitId;
long ownerUid;
};
public:
CreateFinanceUnitRequest();
~CreateFinanceUnitRequest();
CreateCostUnitRequest();
~CreateCostUnitRequest();
std::vector<UnitEntityList> getUnitEntityList()const;
void setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList);
std::vector<UnitEntityList> getUnitEntityList()const;
void setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList);
private:
std::vector<UnitEntityList> unitEntityList_;
std::vector<UnitEntityList> unitEntityList_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEFINANCEUNITREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEFINANCEUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEFINANCEUNITRESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITRESULT_H_
#include <string>
#include <vector>
@@ -29,25 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateFinanceUnitResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateCostUnitResult : public ServiceResult
{
public:
struct Data
{
struct FinanceUnitDtoListItem
struct CostUnitDtoListItem
{
long unitId;
long ownerUid;
long parentUnitId;
std::string unitName;
};
std::vector<FinanceUnitDtoListItem> financeUnitDtoList;
std::vector<CostUnitDtoListItem> costUnitDtoList;
};
CreateFinanceUnitResult();
explicit CreateFinanceUnitResult(const std::string &payload);
~CreateFinanceUnitResult();
CreateCostUnitResult();
explicit CreateCostUnitResult(const std::string &payload);
~CreateCostUnitResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -65,4 +65,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEFINANCEUNITRESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATECOSTUNITRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DELETEFINANCEUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DELETEFINANCEUNITREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_
#include <string>
#include <vector>
@@ -28,24 +28,24 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DeleteFinanceUnitRequest : public RpcServiceRequest
class ALIBABACLOUD_BSSOPENAPI_EXPORT DeleteCostUnitRequest : public RpcServiceRequest
{
public:
DeleteFinanceUnitRequest();
~DeleteFinanceUnitRequest();
DeleteCostUnitRequest();
~DeleteCostUnitRequest();
long getUnitId()const;
void setUnitId(long unitId);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
long getUnitId()const;
void setUnitId(long unitId);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
private:
long unitId_;
long ownerUid_;
long unitId_;
long ownerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DELETEFINANCEUNITREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DELETEFINANCEUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DELETEFINANCEUNITRESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITRESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT DeleteFinanceUnitResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT DeleteCostUnitResult : public ServiceResult
{
public:
struct Data
@@ -40,9 +40,9 @@ namespace AlibabaCloud
};
DeleteFinanceUnitResult();
explicit DeleteFinanceUnitResult(const std::string &payload);
~DeleteFinanceUnitResult();
DeleteCostUnitResult();
explicit DeleteCostUnitResult(const std::string &payload);
~DeleteCostUnitResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -60,4 +60,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DELETEFINANCEUNITRESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_DELETECOSTUNITRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYFINANCEUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYFINANCEUNITREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_
#include <string>
#include <vector>
@@ -28,27 +28,27 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyFinanceUnitRequest : public RpcServiceRequest
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyCostUnitRequest : public RpcServiceRequest
{
struct UnitEntityList
{
std::string unitName;
long unitId;
long ownerUid;
};
struct UnitEntityList
{
std::string newUnitName;
long unitId;
long ownerUid;
};
public:
ModifyFinanceUnitRequest();
~ModifyFinanceUnitRequest();
ModifyCostUnitRequest();
~ModifyCostUnitRequest();
std::vector<UnitEntityList> getUnitEntityList()const;
void setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList);
std::vector<UnitEntityList> getUnitEntityList()const;
void setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList);
private:
std::vector<UnitEntityList> unitEntityList_;
std::vector<UnitEntityList> unitEntityList_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYFINANCEUNITREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYFINANCEUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYFINANCEUNITRESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITRESULT_H_
#include <string>
#include <vector>
@@ -29,7 +29,7 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyFinanceUnitResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT ModifyCostUnitResult : public ServiceResult
{
public:
struct DataItem
@@ -40,9 +40,9 @@ namespace AlibabaCloud
};
ModifyFinanceUnitResult();
explicit ModifyFinanceUnitResult(const std::string &payload);
~ModifyFinanceUnitResult();
ModifyCostUnitResult();
explicit ModifyCostUnitResult(const std::string &payload);
~ModifyCostUnitResult();
std::string getMessage()const;
std::vector<DataItem> getData()const;
std::string getCode()const;
@@ -60,4 +60,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYFINANCEUNITRESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_MODIFYCOSTUNITRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESOURCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESOURCEREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryFinanceUnitResourceRequest : public RpcServiceRequest
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCostUnitRequest : public RpcServiceRequest
{
public:
QueryFinanceUnitResourceRequest();
~QueryFinanceUnitResourceRequest();
QueryCostUnitRequest();
~QueryCostUnitRequest();
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
long getUnitId()const;
void setUnitId(long unitId);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
long getParentUnitId()const;
void setParentUnitId(long parentUnitId);
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
private:
int pageNum_;
int pageSize_;
long unitId_;
long ownerUid_;
long parentUnitId_;
int pageNum_;
int pageSize_;
long ownerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESOURCEREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITREQUEST_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESOURCEREQUEST_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESOURCEREQUEST_H_
#include <string>
#include <vector>
@@ -28,30 +28,30 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryFinanceUnitRequest : public RpcServiceRequest
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCostUnitResourceRequest : public RpcServiceRequest
{
public:
QueryFinanceUnitRequest();
~QueryFinanceUnitRequest();
QueryCostUnitResourceRequest();
~QueryCostUnitResourceRequest();
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
long getUnitId()const;
void setUnitId(long unitId);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
int getPageNum()const;
void setPageNum(int pageNum);
int getPageSize()const;
void setPageSize(int pageSize);
long getUnitId()const;
void setUnitId(long unitId);
long getOwnerUid()const;
void setOwnerUid(long ownerUid);
private:
int pageNum_;
int pageSize_;
long unitId_;
long ownerUid_;
int pageNum_;
int pageSize_;
long unitId_;
long ownerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITREQUEST_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESOURCEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESOURCERESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESOURCERESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESOURCERESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESOURCERESULT_H_
#include <string>
#include <vector>
@@ -29,19 +29,19 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryFinanceUnitResourceResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCostUnitResourceResult : public ServiceResult
{
public:
struct Data
{
struct FinanceUnit
struct CostUnit
{
long unitId;
long ownerUid;
long parentUnitId;
std::string unitName;
};
struct FinanceUnitStatisInfo
struct CostUnitStatisInfo
{
long subUnitCount;
long totalResourceCount;
@@ -70,15 +70,15 @@ namespace AlibabaCloud
int totalCount;
int pageNum;
int pageSize;
FinanceUnit financeUnit;
FinanceUnitStatisInfo financeUnitStatisInfo;
CostUnit costUnit;
std::vector<ResourceInstanceList> resourceInstanceDtoList;
CostUnitStatisInfo costUnitStatisInfo;
};
QueryFinanceUnitResourceResult();
explicit QueryFinanceUnitResourceResult(const std::string &payload);
~QueryFinanceUnitResourceResult();
QueryCostUnitResourceResult();
explicit QueryCostUnitResourceResult(const std::string &payload);
~QueryCostUnitResourceResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -96,4 +96,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESOURCERESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESOURCERESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESULT_H_
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESULT_H_
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESULT_H_
#include <string>
#include <vector>
@@ -29,12 +29,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryFinanceUnitResult : public ServiceResult
class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryCostUnitResult : public ServiceResult
{
public:
struct Data
{
struct FinanceUnitDtoListItem
struct CostUnitDtoListItem
{
long unitId;
long ownerUid;
@@ -44,13 +44,13 @@ namespace AlibabaCloud
int totalCount;
int pageNum;
int pageSize;
std::vector<FinanceUnitDtoListItem> financeUnitDtoList;
std::vector<CostUnitDtoListItem> costUnitDtoList;
};
QueryFinanceUnitResult();
explicit QueryFinanceUnitResult(const std::string &payload);
~QueryFinanceUnitResult();
QueryCostUnitResult();
explicit QueryCostUnitResult(const std::string &payload);
~QueryCostUnitResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
@@ -68,4 +68,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYFINANCEUNITRESULT_H_
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYCOSTUNITRESULT_H_

View File

@@ -51,36 +51,36 @@ BssOpenApiClient::BssOpenApiClient(const std::string & accessKeyId, const std::s
BssOpenApiClient::~BssOpenApiClient()
{}
BssOpenApiClient::AllocateFinanceUnitResourceOutcome BssOpenApiClient::allocateFinanceUnitResource(const AllocateFinanceUnitResourceRequest &request) const
BssOpenApiClient::AllocateCostUnitResourceOutcome BssOpenApiClient::allocateCostUnitResource(const AllocateCostUnitResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AllocateFinanceUnitResourceOutcome(endpointOutcome.error());
return AllocateCostUnitResourceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AllocateFinanceUnitResourceOutcome(AllocateFinanceUnitResourceResult(outcome.result()));
return AllocateCostUnitResourceOutcome(AllocateCostUnitResourceResult(outcome.result()));
else
return AllocateFinanceUnitResourceOutcome(outcome.error());
return AllocateCostUnitResourceOutcome(outcome.error());
}
void BssOpenApiClient::allocateFinanceUnitResourceAsync(const AllocateFinanceUnitResourceRequest& request, const AllocateFinanceUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void BssOpenApiClient::allocateCostUnitResourceAsync(const AllocateCostUnitResourceRequest& request, const AllocateCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, allocateFinanceUnitResource(request), context);
handler(this, request, allocateCostUnitResource(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::AllocateFinanceUnitResourceOutcomeCallable BssOpenApiClient::allocateFinanceUnitResourceCallable(const AllocateFinanceUnitResourceRequest &request) const
BssOpenApiClient::AllocateCostUnitResourceOutcomeCallable BssOpenApiClient::allocateCostUnitResourceCallable(const AllocateCostUnitResourceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AllocateFinanceUnitResourceOutcome()>>(
auto task = std::make_shared<std::packaged_task<AllocateCostUnitResourceOutcome()>>(
[this, request]()
{
return this->allocateFinanceUnitResource(request);
return this->allocateCostUnitResource(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -267,36 +267,36 @@ BssOpenApiClient::CreateAgAccountOutcomeCallable BssOpenApiClient::createAgAccou
return task->get_future();
}
BssOpenApiClient::CreateFinanceUnitOutcome BssOpenApiClient::createFinanceUnit(const CreateFinanceUnitRequest &request) const
BssOpenApiClient::CreateCostUnitOutcome BssOpenApiClient::createCostUnit(const CreateCostUnitRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateFinanceUnitOutcome(endpointOutcome.error());
return CreateCostUnitOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateFinanceUnitOutcome(CreateFinanceUnitResult(outcome.result()));
return CreateCostUnitOutcome(CreateCostUnitResult(outcome.result()));
else
return CreateFinanceUnitOutcome(outcome.error());
return CreateCostUnitOutcome(outcome.error());
}
void BssOpenApiClient::createFinanceUnitAsync(const CreateFinanceUnitRequest& request, const CreateFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void BssOpenApiClient::createCostUnitAsync(const CreateCostUnitRequest& request, const CreateCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createFinanceUnit(request), context);
handler(this, request, createCostUnit(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::CreateFinanceUnitOutcomeCallable BssOpenApiClient::createFinanceUnitCallable(const CreateFinanceUnitRequest &request) const
BssOpenApiClient::CreateCostUnitOutcomeCallable BssOpenApiClient::createCostUnitCallable(const CreateCostUnitRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateFinanceUnitOutcome()>>(
auto task = std::make_shared<std::packaged_task<CreateCostUnitOutcome()>>(
[this, request]()
{
return this->createFinanceUnit(request);
return this->createCostUnit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -411,36 +411,36 @@ BssOpenApiClient::CreateResourcePackageOutcomeCallable BssOpenApiClient::createR
return task->get_future();
}
BssOpenApiClient::DeleteFinanceUnitOutcome BssOpenApiClient::deleteFinanceUnit(const DeleteFinanceUnitRequest &request) const
BssOpenApiClient::DeleteCostUnitOutcome BssOpenApiClient::deleteCostUnit(const DeleteCostUnitRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteFinanceUnitOutcome(endpointOutcome.error());
return DeleteCostUnitOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteFinanceUnitOutcome(DeleteFinanceUnitResult(outcome.result()));
return DeleteCostUnitOutcome(DeleteCostUnitResult(outcome.result()));
else
return DeleteFinanceUnitOutcome(outcome.error());
return DeleteCostUnitOutcome(outcome.error());
}
void BssOpenApiClient::deleteFinanceUnitAsync(const DeleteFinanceUnitRequest& request, const DeleteFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void BssOpenApiClient::deleteCostUnitAsync(const DeleteCostUnitRequest& request, const DeleteCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteFinanceUnit(request), context);
handler(this, request, deleteCostUnit(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::DeleteFinanceUnitOutcomeCallable BssOpenApiClient::deleteFinanceUnitCallable(const DeleteFinanceUnitRequest &request) const
BssOpenApiClient::DeleteCostUnitOutcomeCallable BssOpenApiClient::deleteCostUnitCallable(const DeleteCostUnitRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteFinanceUnitOutcome()>>(
auto task = std::make_shared<std::packaged_task<DeleteCostUnitOutcome()>>(
[this, request]()
{
return this->deleteFinanceUnit(request);
return this->deleteCostUnit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -771,36 +771,36 @@ BssOpenApiClient::GetSubscriptionPriceOutcomeCallable BssOpenApiClient::getSubsc
return task->get_future();
}
BssOpenApiClient::ModifyFinanceUnitOutcome BssOpenApiClient::modifyFinanceUnit(const ModifyFinanceUnitRequest &request) const
BssOpenApiClient::ModifyCostUnitOutcome BssOpenApiClient::modifyCostUnit(const ModifyCostUnitRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyFinanceUnitOutcome(endpointOutcome.error());
return ModifyCostUnitOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyFinanceUnitOutcome(ModifyFinanceUnitResult(outcome.result()));
return ModifyCostUnitOutcome(ModifyCostUnitResult(outcome.result()));
else
return ModifyFinanceUnitOutcome(outcome.error());
return ModifyCostUnitOutcome(outcome.error());
}
void BssOpenApiClient::modifyFinanceUnitAsync(const ModifyFinanceUnitRequest& request, const ModifyFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
void BssOpenApiClient::modifyCostUnitAsync(const ModifyCostUnitRequest& request, const ModifyCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyFinanceUnit(request), context);
handler(this, request, modifyCostUnit(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::ModifyFinanceUnitOutcomeCallable BssOpenApiClient::modifyFinanceUnitCallable(const ModifyFinanceUnitRequest &request) const
BssOpenApiClient::ModifyCostUnitOutcomeCallable BssOpenApiClient::modifyCostUnitCallable(const ModifyCostUnitRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyFinanceUnitOutcome()>>(
auto task = std::make_shared<std::packaged_task<ModifyCostUnitOutcome()>>(
[this, request]()
{
return this->modifyFinanceUnit(request);
return this->modifyCostUnit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
@@ -1059,6 +1059,78 @@ BssOpenApiClient::QueryCashCouponsOutcomeCallable BssOpenApiClient::queryCashCou
return task->get_future();
}
BssOpenApiClient::QueryCostUnitOutcome BssOpenApiClient::queryCostUnit(const QueryCostUnitRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCostUnitOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryCostUnitOutcome(QueryCostUnitResult(outcome.result()));
else
return QueryCostUnitOutcome(outcome.error());
}
void BssOpenApiClient::queryCostUnitAsync(const QueryCostUnitRequest& request, const QueryCostUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryCostUnit(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QueryCostUnitOutcomeCallable BssOpenApiClient::queryCostUnitCallable(const QueryCostUnitRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryCostUnitOutcome()>>(
[this, request]()
{
return this->queryCostUnit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryCostUnitResourceOutcome BssOpenApiClient::queryCostUnitResource(const QueryCostUnitResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryCostUnitResourceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryCostUnitResourceOutcome(QueryCostUnitResourceResult(outcome.result()));
else
return QueryCostUnitResourceOutcome(outcome.error());
}
void BssOpenApiClient::queryCostUnitResourceAsync(const QueryCostUnitResourceRequest& request, const QueryCostUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryCostUnitResource(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QueryCostUnitResourceOutcomeCallable BssOpenApiClient::queryCostUnitResourceCallable(const QueryCostUnitResourceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryCostUnitResourceOutcome()>>(
[this, request]()
{
return this->queryCostUnitResource(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryCustomerAddressListOutcome BssOpenApiClient::queryCustomerAddressList(const QueryCustomerAddressListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1131,78 +1203,6 @@ BssOpenApiClient::QueryEvaluateListOutcomeCallable BssOpenApiClient::queryEvalua
return task->get_future();
}
BssOpenApiClient::QueryFinanceUnitOutcome BssOpenApiClient::queryFinanceUnit(const QueryFinanceUnitRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryFinanceUnitOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryFinanceUnitOutcome(QueryFinanceUnitResult(outcome.result()));
else
return QueryFinanceUnitOutcome(outcome.error());
}
void BssOpenApiClient::queryFinanceUnitAsync(const QueryFinanceUnitRequest& request, const QueryFinanceUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryFinanceUnit(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QueryFinanceUnitOutcomeCallable BssOpenApiClient::queryFinanceUnitCallable(const QueryFinanceUnitRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryFinanceUnitOutcome()>>(
[this, request]()
{
return this->queryFinanceUnit(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryFinanceUnitResourceOutcome BssOpenApiClient::queryFinanceUnitResource(const QueryFinanceUnitResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return QueryFinanceUnitResourceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return QueryFinanceUnitResourceOutcome(QueryFinanceUnitResourceResult(outcome.result()));
else
return QueryFinanceUnitResourceOutcome(outcome.error());
}
void BssOpenApiClient::queryFinanceUnitResourceAsync(const QueryFinanceUnitResourceRequest& request, const QueryFinanceUnitResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, queryFinanceUnitResource(request), context);
};
asyncExecute(new Runnable(fn));
}
BssOpenApiClient::QueryFinanceUnitResourceOutcomeCallable BssOpenApiClient::queryFinanceUnitResourceCallable(const QueryFinanceUnitResourceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<QueryFinanceUnitResourceOutcome()>>(
[this, request]()
{
return this->queryFinanceUnitResource(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
BssOpenApiClient::QueryInstanceBillOutcome BssOpenApiClient::queryInstanceBill(const QueryInstanceBillRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -14,76 +14,76 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/AllocateFinanceUnitResourceRequest.h>
#include <alibabacloud/bssopenapi/model/AllocateCostUnitResourceRequest.h>
using AlibabaCloud::BssOpenApi::Model::AllocateFinanceUnitResourceRequest;
using AlibabaCloud::BssOpenApi::Model::AllocateCostUnitResourceRequest;
AllocateFinanceUnitResourceRequest::AllocateFinanceUnitResourceRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "AllocateFinanceUnitResource")
AllocateCostUnitResourceRequest::AllocateCostUnitResourceRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "AllocateCostUnitResource")
{}
AllocateFinanceUnitResourceRequest::~AllocateFinanceUnitResourceRequest()
AllocateCostUnitResourceRequest::~AllocateCostUnitResourceRequest()
{}
std::vector<AllocateFinanceUnitResourceRequest::ResourceInstanceList> AllocateFinanceUnitResourceRequest::getResourceInstanceList()const
{
return resourceInstanceList_;
}
void AllocateFinanceUnitResourceRequest::setResourceInstanceList(const std::vector<ResourceInstanceList>& resourceInstanceList)
{
resourceInstanceList_ = resourceInstanceList;
int i = 0;
for(int i = 0; i!= resourceInstanceList.size(); i++) {
auto obj = resourceInstanceList.at(i);
std::string str ="ResourceInstanceList."+ std::to_string(i);
setCoreParameter(str + ".ResourceId", obj.resourceId);
setCoreParameter(str + ".CommodityCode", obj.commodityCode);
setCoreParameter(str + ".ResourceUserId", std::to_string(obj.resourceUserId));
}
}
long AllocateFinanceUnitResourceRequest::getFromUnitId()const
{
return fromUnitId_;
}
void AllocateFinanceUnitResourceRequest::setFromUnitId(long fromUnitId)
{
fromUnitId_ = fromUnitId;
setCoreParameter("FromUnitId", std::to_string(fromUnitId));
}
long AllocateFinanceUnitResourceRequest::getToUnitId()const
{
return toUnitId_;
}
void AllocateFinanceUnitResourceRequest::setToUnitId(long toUnitId)
{
toUnitId_ = toUnitId;
setCoreParameter("ToUnitId", std::to_string(toUnitId));
}
long AllocateFinanceUnitResourceRequest::getFromUnitUserId()const
{
return fromUnitUserId_;
}
void AllocateFinanceUnitResourceRequest::setFromUnitUserId(long fromUnitUserId)
{
fromUnitUserId_ = fromUnitUserId;
setCoreParameter("FromUnitUserId", std::to_string(fromUnitUserId));
}
long AllocateFinanceUnitResourceRequest::getToUnitUserId()const
{
return toUnitUserId_;
}
void AllocateFinanceUnitResourceRequest::setToUnitUserId(long toUnitUserId)
{
toUnitUserId_ = toUnitUserId;
setCoreParameter("ToUnitUserId", std::to_string(toUnitUserId));
}
std::vector<AllocateCostUnitResourceRequest::ResourceInstanceList> AllocateCostUnitResourceRequest::getResourceInstanceList()const
{
return resourceInstanceList_;
}
void AllocateCostUnitResourceRequest::setResourceInstanceList(const std::vector<ResourceInstanceList>& resourceInstanceList)
{
resourceInstanceList_ = resourceInstanceList;
int i = 0;
for(int i = 0; i!= resourceInstanceList.size(); i++) {
auto obj = resourceInstanceList.at(i);
std::string str ="ResourceInstanceList."+ std::to_string(i);
setCoreParameter(str + ".ResourceId", obj.resourceId);
setCoreParameter(str + ".CommodityCode", obj.commodityCode);
setCoreParameter(str + ".ResourceUserId", std::to_string(obj.resourceUserId));
}
}
long AllocateCostUnitResourceRequest::getFromUnitId()const
{
return fromUnitId_;
}
void AllocateCostUnitResourceRequest::setFromUnitId(long fromUnitId)
{
fromUnitId_ = fromUnitId;
setCoreParameter("FromUnitId", std::to_string(fromUnitId));
}
long AllocateCostUnitResourceRequest::getToUnitId()const
{
return toUnitId_;
}
void AllocateCostUnitResourceRequest::setToUnitId(long toUnitId)
{
toUnitId_ = toUnitId;
setCoreParameter("ToUnitId", std::to_string(toUnitId));
}
long AllocateCostUnitResourceRequest::getFromUnitUserId()const
{
return fromUnitUserId_;
}
void AllocateCostUnitResourceRequest::setFromUnitUserId(long fromUnitUserId)
{
fromUnitUserId_ = fromUnitUserId;
setCoreParameter("FromUnitUserId", std::to_string(fromUnitUserId));
}
long AllocateCostUnitResourceRequest::getToUnitUserId()const
{
return toUnitUserId_;
}
void AllocateCostUnitResourceRequest::setToUnitUserId(long toUnitUserId)
{
toUnitUserId_ = toUnitUserId;
setCoreParameter("ToUnitUserId", std::to_string(toUnitUserId));
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/AllocateFinanceUnitResourceResult.h>
#include <alibabacloud/bssopenapi/model/AllocateCostUnitResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
AllocateFinanceUnitResourceResult::AllocateFinanceUnitResourceResult() :
AllocateCostUnitResourceResult::AllocateCostUnitResourceResult() :
ServiceResult()
{}
AllocateFinanceUnitResourceResult::AllocateFinanceUnitResourceResult(const std::string &payload) :
AllocateCostUnitResourceResult::AllocateCostUnitResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AllocateFinanceUnitResourceResult::~AllocateFinanceUnitResourceResult()
AllocateCostUnitResourceResult::~AllocateCostUnitResourceResult()
{}
void AllocateFinanceUnitResourceResult::parse(const std::string &payload)
void AllocateCostUnitResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -55,22 +55,22 @@ void AllocateFinanceUnitResourceResult::parse(const std::string &payload)
}
std::string AllocateFinanceUnitResourceResult::getMessage()const
std::string AllocateCostUnitResourceResult::getMessage()const
{
return message_;
}
AllocateFinanceUnitResourceResult::Data AllocateFinanceUnitResourceResult::getData()const
AllocateCostUnitResourceResult::Data AllocateCostUnitResourceResult::getData()const
{
return data_;
}
std::string AllocateFinanceUnitResourceResult::getCode()const
std::string AllocateCostUnitResourceResult::getCode()const
{
return code_;
}
bool AllocateFinanceUnitResourceResult::getSuccess()const
bool AllocateCostUnitResourceResult::getSuccess()const
{
return success_;
}

View File

@@ -14,32 +14,32 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/CreateFinanceUnitRequest.h>
#include <alibabacloud/bssopenapi/model/CreateCostUnitRequest.h>
using AlibabaCloud::BssOpenApi::Model::CreateFinanceUnitRequest;
using AlibabaCloud::BssOpenApi::Model::CreateCostUnitRequest;
CreateFinanceUnitRequest::CreateFinanceUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "CreateFinanceUnit")
CreateCostUnitRequest::CreateCostUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "CreateCostUnit")
{}
CreateFinanceUnitRequest::~CreateFinanceUnitRequest()
CreateCostUnitRequest::~CreateCostUnitRequest()
{}
std::vector<CreateFinanceUnitRequest::UnitEntityList> CreateFinanceUnitRequest::getUnitEntityList()const
{
return unitEntityList_;
}
void CreateFinanceUnitRequest::setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList)
{
unitEntityList_ = unitEntityList;
int i = 0;
for(int i = 0; i!= unitEntityList.size(); i++) {
auto obj = unitEntityList.at(i);
std::string str ="UnitEntityList."+ std::to_string(i);
setCoreParameter(str + ".UnitName", obj.unitName);
setCoreParameter(str + ".ParentUnitId", std::to_string(obj.parentUnitId));
setCoreParameter(str + ".OwnerUid", std::to_string(obj.ownerUid));
}
}
std::vector<CreateCostUnitRequest::UnitEntityList> CreateCostUnitRequest::getUnitEntityList()const
{
return unitEntityList_;
}
void CreateCostUnitRequest::setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList)
{
unitEntityList_ = unitEntityList;
int i = 0;
for(int i = 0; i!= unitEntityList.size(); i++) {
auto obj = unitEntityList.at(i);
std::string str ="UnitEntityList."+ std::to_string(i);
setCoreParameter(str + ".UnitName", obj.unitName);
setCoreParameter(str + ".ParentUnitId", std::to_string(obj.parentUnitId));
setCoreParameter(str + ".OwnerUid", std::to_string(obj.ownerUid));
}
}

View File

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

View File

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

View File

@@ -14,36 +14,36 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/DeleteFinanceUnitRequest.h>
#include <alibabacloud/bssopenapi/model/DeleteCostUnitRequest.h>
using AlibabaCloud::BssOpenApi::Model::DeleteFinanceUnitRequest;
using AlibabaCloud::BssOpenApi::Model::DeleteCostUnitRequest;
DeleteFinanceUnitRequest::DeleteFinanceUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "DeleteFinanceUnit")
DeleteCostUnitRequest::DeleteCostUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "DeleteCostUnit")
{}
DeleteFinanceUnitRequest::~DeleteFinanceUnitRequest()
DeleteCostUnitRequest::~DeleteCostUnitRequest()
{}
long DeleteFinanceUnitRequest::getUnitId()const
{
return unitId_;
}
void DeleteFinanceUnitRequest::setUnitId(long unitId)
{
unitId_ = unitId;
setCoreParameter("UnitId", std::to_string(unitId));
}
long DeleteFinanceUnitRequest::getOwnerUid()const
{
return ownerUid_;
}
void DeleteFinanceUnitRequest::setOwnerUid(long ownerUid)
{
ownerUid_ = ownerUid;
setCoreParameter("OwnerUid", std::to_string(ownerUid));
}
long DeleteCostUnitRequest::getUnitId()const
{
return unitId_;
}
void DeleteCostUnitRequest::setUnitId(long unitId)
{
unitId_ = unitId;
setCoreParameter("UnitId", std::to_string(unitId));
}
long DeleteCostUnitRequest::getOwnerUid()const
{
return ownerUid_;
}
void DeleteCostUnitRequest::setOwnerUid(long ownerUid)
{
ownerUid_ = ownerUid;
setCoreParameter("OwnerUid", std::to_string(ownerUid));
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/DeleteFinanceUnitResult.h>
#include <alibabacloud/bssopenapi/model/DeleteCostUnitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
DeleteFinanceUnitResult::DeleteFinanceUnitResult() :
DeleteCostUnitResult::DeleteCostUnitResult() :
ServiceResult()
{}
DeleteFinanceUnitResult::DeleteFinanceUnitResult(const std::string &payload) :
DeleteCostUnitResult::DeleteCostUnitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteFinanceUnitResult::~DeleteFinanceUnitResult()
DeleteCostUnitResult::~DeleteCostUnitResult()
{}
void DeleteFinanceUnitResult::parse(const std::string &payload)
void DeleteCostUnitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -55,22 +55,22 @@ void DeleteFinanceUnitResult::parse(const std::string &payload)
}
std::string DeleteFinanceUnitResult::getMessage()const
std::string DeleteCostUnitResult::getMessage()const
{
return message_;
}
DeleteFinanceUnitResult::Data DeleteFinanceUnitResult::getData()const
DeleteCostUnitResult::Data DeleteCostUnitResult::getData()const
{
return data_;
}
std::string DeleteFinanceUnitResult::getCode()const
std::string DeleteCostUnitResult::getCode()const
{
return code_;
}
bool DeleteFinanceUnitResult::getSuccess()const
bool DeleteCostUnitResult::getSuccess()const
{
return success_;
}

View File

@@ -14,32 +14,32 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/ModifyFinanceUnitRequest.h>
#include <alibabacloud/bssopenapi/model/ModifyCostUnitRequest.h>
using AlibabaCloud::BssOpenApi::Model::ModifyFinanceUnitRequest;
using AlibabaCloud::BssOpenApi::Model::ModifyCostUnitRequest;
ModifyFinanceUnitRequest::ModifyFinanceUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "ModifyFinanceUnit")
ModifyCostUnitRequest::ModifyCostUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "ModifyCostUnit")
{}
ModifyFinanceUnitRequest::~ModifyFinanceUnitRequest()
ModifyCostUnitRequest::~ModifyCostUnitRequest()
{}
std::vector<ModifyFinanceUnitRequest::UnitEntityList> ModifyFinanceUnitRequest::getUnitEntityList()const
{
return unitEntityList_;
}
void ModifyFinanceUnitRequest::setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList)
{
unitEntityList_ = unitEntityList;
int i = 0;
for(int i = 0; i!= unitEntityList.size(); i++) {
auto obj = unitEntityList.at(i);
std::string str ="UnitEntityList."+ std::to_string(i);
setCoreParameter(str + ".UnitName", obj.unitName);
setCoreParameter(str + ".UnitId", std::to_string(obj.unitId));
setCoreParameter(str + ".OwnerUid", std::to_string(obj.ownerUid));
}
}
std::vector<ModifyCostUnitRequest::UnitEntityList> ModifyCostUnitRequest::getUnitEntityList()const
{
return unitEntityList_;
}
void ModifyCostUnitRequest::setUnitEntityList(const std::vector<UnitEntityList>& unitEntityList)
{
unitEntityList_ = unitEntityList;
int i = 0;
for(int i = 0; i!= unitEntityList.size(); i++) {
auto obj = unitEntityList.at(i);
std::string str ="UnitEntityList."+ std::to_string(i);
setCoreParameter(str + ".NewUnitName", obj.newUnitName);
setCoreParameter(str + ".UnitId", std::to_string(obj.unitId));
setCoreParameter(str + ".OwnerUid", std::to_string(obj.ownerUid));
}
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/ModifyFinanceUnitResult.h>
#include <alibabacloud/bssopenapi/model/ModifyCostUnitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
ModifyFinanceUnitResult::ModifyFinanceUnitResult() :
ModifyCostUnitResult::ModifyCostUnitResult() :
ServiceResult()
{}
ModifyFinanceUnitResult::ModifyFinanceUnitResult(const std::string &payload) :
ModifyCostUnitResult::ModifyCostUnitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyFinanceUnitResult::~ModifyFinanceUnitResult()
ModifyCostUnitResult::~ModifyCostUnitResult()
{}
void ModifyFinanceUnitResult::parse(const std::string &payload)
void ModifyCostUnitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -60,22 +60,22 @@ void ModifyFinanceUnitResult::parse(const std::string &payload)
}
std::string ModifyFinanceUnitResult::getMessage()const
std::string ModifyCostUnitResult::getMessage()const
{
return message_;
}
std::vector<ModifyFinanceUnitResult::DataItem> ModifyFinanceUnitResult::getData()const
std::vector<ModifyCostUnitResult::DataItem> ModifyCostUnitResult::getData()const
{
return data_;
}
std::string ModifyFinanceUnitResult::getCode()const
std::string ModifyCostUnitResult::getCode()const
{
return code_;
}
bool ModifyFinanceUnitResult::getSuccess()const
bool ModifyCostUnitResult::getSuccess()const
{
return success_;
}

View File

@@ -14,58 +14,58 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QueryFinanceUnitResourceRequest.h>
#include <alibabacloud/bssopenapi/model/QueryCostUnitRequest.h>
using AlibabaCloud::BssOpenApi::Model::QueryFinanceUnitResourceRequest;
using AlibabaCloud::BssOpenApi::Model::QueryCostUnitRequest;
QueryFinanceUnitResourceRequest::QueryFinanceUnitResourceRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryFinanceUnitResource")
QueryCostUnitRequest::QueryCostUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryCostUnit")
{}
QueryFinanceUnitResourceRequest::~QueryFinanceUnitResourceRequest()
QueryCostUnitRequest::~QueryCostUnitRequest()
{}
int QueryFinanceUnitResourceRequest::getPageNum()const
{
return pageNum_;
}
void QueryFinanceUnitResourceRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
}
int QueryFinanceUnitResourceRequest::getPageSize()const
{
return pageSize_;
}
void QueryFinanceUnitResourceRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
long QueryFinanceUnitResourceRequest::getUnitId()const
{
return unitId_;
}
void QueryFinanceUnitResourceRequest::setUnitId(long unitId)
{
unitId_ = unitId;
setCoreParameter("UnitId", std::to_string(unitId));
}
long QueryFinanceUnitResourceRequest::getOwnerUid()const
{
return ownerUid_;
}
void QueryFinanceUnitResourceRequest::setOwnerUid(long ownerUid)
{
ownerUid_ = ownerUid;
setCoreParameter("OwnerUid", std::to_string(ownerUid));
}
long QueryCostUnitRequest::getParentUnitId()const
{
return parentUnitId_;
}
void QueryCostUnitRequest::setParentUnitId(long parentUnitId)
{
parentUnitId_ = parentUnitId;
setCoreParameter("ParentUnitId", std::to_string(parentUnitId));
}
int QueryCostUnitRequest::getPageNum()const
{
return pageNum_;
}
void QueryCostUnitRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
}
int QueryCostUnitRequest::getPageSize()const
{
return pageSize_;
}
void QueryCostUnitRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
long QueryCostUnitRequest::getOwnerUid()const
{
return ownerUid_;
}
void QueryCostUnitRequest::setOwnerUid(long ownerUid)
{
ownerUid_ = ownerUid;
setCoreParameter("OwnerUid", std::to_string(ownerUid));
}

View File

@@ -14,58 +14,58 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QueryFinanceUnitRequest.h>
#include <alibabacloud/bssopenapi/model/QueryCostUnitResourceRequest.h>
using AlibabaCloud::BssOpenApi::Model::QueryFinanceUnitRequest;
using AlibabaCloud::BssOpenApi::Model::QueryCostUnitResourceRequest;
QueryFinanceUnitRequest::QueryFinanceUnitRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryFinanceUnit")
QueryCostUnitResourceRequest::QueryCostUnitResourceRequest() :
RpcServiceRequest("bssopenapi", "2017-12-14", "QueryCostUnitResource")
{}
QueryFinanceUnitRequest::~QueryFinanceUnitRequest()
QueryCostUnitResourceRequest::~QueryCostUnitResourceRequest()
{}
int QueryFinanceUnitRequest::getPageNum()const
{
return pageNum_;
}
void QueryFinanceUnitRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
}
int QueryFinanceUnitRequest::getPageSize()const
{
return pageSize_;
}
void QueryFinanceUnitRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
long QueryFinanceUnitRequest::getUnitId()const
{
return unitId_;
}
void QueryFinanceUnitRequest::setUnitId(long unitId)
{
unitId_ = unitId;
setCoreParameter("UnitId", std::to_string(unitId));
}
long QueryFinanceUnitRequest::getOwnerUid()const
{
return ownerUid_;
}
void QueryFinanceUnitRequest::setOwnerUid(long ownerUid)
{
ownerUid_ = ownerUid;
setCoreParameter("OwnerUid", std::to_string(ownerUid));
}
int QueryCostUnitResourceRequest::getPageNum()const
{
return pageNum_;
}
void QueryCostUnitResourceRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setCoreParameter("PageNum", std::to_string(pageNum));
}
int QueryCostUnitResourceRequest::getPageSize()const
{
return pageSize_;
}
void QueryCostUnitResourceRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
long QueryCostUnitResourceRequest::getUnitId()const
{
return unitId_;
}
void QueryCostUnitResourceRequest::setUnitId(long unitId)
{
unitId_ = unitId;
setCoreParameter("UnitId", std::to_string(unitId));
}
long QueryCostUnitResourceRequest::getOwnerUid()const
{
return ownerUid_;
}
void QueryCostUnitResourceRequest::setOwnerUid(long ownerUid)
{
ownerUid_ = ownerUid;
setCoreParameter("OwnerUid", std::to_string(ownerUid));
}

View File

@@ -14,26 +14,26 @@
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QueryFinanceUnitResourceResult.h>
#include <alibabacloud/bssopenapi/model/QueryCostUnitResourceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QueryFinanceUnitResourceResult::QueryFinanceUnitResourceResult() :
QueryCostUnitResourceResult::QueryCostUnitResourceResult() :
ServiceResult()
{}
QueryFinanceUnitResourceResult::QueryFinanceUnitResourceResult(const std::string &payload) :
QueryCostUnitResourceResult::QueryCostUnitResourceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryFinanceUnitResourceResult::~QueryFinanceUnitResourceResult()
QueryCostUnitResourceResult::~QueryCostUnitResourceResult()
{}
void QueryFinanceUnitResourceResult::parse(const std::string &payload)
void QueryCostUnitResourceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
@@ -78,30 +78,30 @@ void QueryFinanceUnitResourceResult::parse(const std::string &payload)
resourceInstanceListObject.apportionName = dataNodeResourceInstanceDtoListResourceInstanceList["ApportionName"].asString();
data_.resourceInstanceDtoList.push_back(resourceInstanceListObject);
}
auto financeUnitNode = dataNode["FinanceUnit"];
if(!financeUnitNode["OwnerUid"].isNull())
data_.financeUnit.ownerUid = std::stol(financeUnitNode["OwnerUid"].asString());
if(!financeUnitNode["ParentUnitId"].isNull())
data_.financeUnit.parentUnitId = std::stol(financeUnitNode["ParentUnitId"].asString());
if(!financeUnitNode["UnitId"].isNull())
data_.financeUnit.unitId = std::stol(financeUnitNode["UnitId"].asString());
if(!financeUnitNode["UnitName"].isNull())
data_.financeUnit.unitName = financeUnitNode["UnitName"].asString();
auto financeUnitStatisInfoNode = dataNode["FinanceUnitStatisInfo"];
if(!financeUnitStatisInfoNode["ResourceCount"].isNull())
data_.financeUnitStatisInfo.resourceCount = std::stol(financeUnitStatisInfoNode["ResourceCount"].asString());
if(!financeUnitStatisInfoNode["ResourceGroupCount"].isNull())
data_.financeUnitStatisInfo.resourceGroupCount = std::stol(financeUnitStatisInfoNode["ResourceGroupCount"].asString());
if(!financeUnitStatisInfoNode["SubUnitCount"].isNull())
data_.financeUnitStatisInfo.subUnitCount = std::stol(financeUnitStatisInfoNode["SubUnitCount"].asString());
if(!financeUnitStatisInfoNode["UserCount"].isNull())
data_.financeUnitStatisInfo.userCount = std::stol(financeUnitStatisInfoNode["UserCount"].asString());
if(!financeUnitStatisInfoNode["TotalResourceCount"].isNull())
data_.financeUnitStatisInfo.totalResourceCount = std::stol(financeUnitStatisInfoNode["TotalResourceCount"].asString());
if(!financeUnitStatisInfoNode["TotalUserCount"].isNull())
data_.financeUnitStatisInfo.totalUserCount = std::stol(financeUnitStatisInfoNode["TotalUserCount"].asString());
if(!financeUnitStatisInfoNode["TotalResourceGroupCount"].isNull())
data_.financeUnitStatisInfo.totalResourceGroupCount = std::stol(financeUnitStatisInfoNode["TotalResourceGroupCount"].asString());
auto costUnitNode = dataNode["CostUnit"];
if(!costUnitNode["OwnerUid"].isNull())
data_.costUnit.ownerUid = std::stol(costUnitNode["OwnerUid"].asString());
if(!costUnitNode["ParentUnitId"].isNull())
data_.costUnit.parentUnitId = std::stol(costUnitNode["ParentUnitId"].asString());
if(!costUnitNode["UnitId"].isNull())
data_.costUnit.unitId = std::stol(costUnitNode["UnitId"].asString());
if(!costUnitNode["UnitName"].isNull())
data_.costUnit.unitName = costUnitNode["UnitName"].asString();
auto costUnitStatisInfoNode = dataNode["CostUnitStatisInfo"];
if(!costUnitStatisInfoNode["ResourceCount"].isNull())
data_.costUnitStatisInfo.resourceCount = std::stol(costUnitStatisInfoNode["ResourceCount"].asString());
if(!costUnitStatisInfoNode["ResourceGroupCount"].isNull())
data_.costUnitStatisInfo.resourceGroupCount = std::stol(costUnitStatisInfoNode["ResourceGroupCount"].asString());
if(!costUnitStatisInfoNode["SubUnitCount"].isNull())
data_.costUnitStatisInfo.subUnitCount = std::stol(costUnitStatisInfoNode["SubUnitCount"].asString());
if(!costUnitStatisInfoNode["UserCount"].isNull())
data_.costUnitStatisInfo.userCount = std::stol(costUnitStatisInfoNode["UserCount"].asString());
if(!costUnitStatisInfoNode["TotalResourceCount"].isNull())
data_.costUnitStatisInfo.totalResourceCount = std::stol(costUnitStatisInfoNode["TotalResourceCount"].asString());
if(!costUnitStatisInfoNode["TotalUserCount"].isNull())
data_.costUnitStatisInfo.totalUserCount = std::stol(costUnitStatisInfoNode["TotalUserCount"].asString());
if(!costUnitStatisInfoNode["TotalResourceGroupCount"].isNull())
data_.costUnitStatisInfo.totalResourceGroupCount = std::stol(costUnitStatisInfoNode["TotalResourceGroupCount"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
@@ -111,22 +111,22 @@ void QueryFinanceUnitResourceResult::parse(const std::string &payload)
}
std::string QueryFinanceUnitResourceResult::getMessage()const
std::string QueryCostUnitResourceResult::getMessage()const
{
return message_;
}
QueryFinanceUnitResourceResult::Data QueryFinanceUnitResourceResult::getData()const
QueryCostUnitResourceResult::Data QueryCostUnitResourceResult::getData()const
{
return data_;
}
std::string QueryFinanceUnitResourceResult::getCode()const
std::string QueryCostUnitResourceResult::getCode()const
{
return code_;
}
bool QueryFinanceUnitResourceResult::getSuccess()const
bool QueryCostUnitResourceResult::getSuccess()const
{
return success_;
}

View File

@@ -0,0 +1,91 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QueryCostUnitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QueryCostUnitResult::QueryCostUnitResult() :
ServiceResult()
{}
QueryCostUnitResult::QueryCostUnitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryCostUnitResult::~QueryCostUnitResult()
{}
void QueryCostUnitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
auto allCostUnitDtoListNode = dataNode["CostUnitDtoList"]["CostUnitDtoListItem"];
for (auto dataNodeCostUnitDtoListCostUnitDtoListItem : allCostUnitDtoListNode)
{
Data::CostUnitDtoListItem costUnitDtoListItemObject;
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].isNull())
costUnitDtoListItemObject.ownerUid = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["OwnerUid"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].isNull())
costUnitDtoListItemObject.parentUnitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["ParentUnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["UnitId"].isNull())
costUnitDtoListItemObject.unitId = std::stol(dataNodeCostUnitDtoListCostUnitDtoListItem["UnitId"].asString());
if(!dataNodeCostUnitDtoListCostUnitDtoListItem["UnitName"].isNull())
costUnitDtoListItemObject.unitName = dataNodeCostUnitDtoListCostUnitDtoListItem["UnitName"].asString();
data_.costUnitDtoList.push_back(costUnitDtoListItemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryCostUnitResult::getMessage()const
{
return message_;
}
QueryCostUnitResult::Data QueryCostUnitResult::getData()const
{
return data_;
}
std::string QueryCostUnitResult::getCode()const
{
return code_;
}
bool QueryCostUnitResult::getSuccess()const
{
return success_;
}

View File

@@ -1,91 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/bssopenapi/model/QueryFinanceUnitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::BssOpenApi;
using namespace AlibabaCloud::BssOpenApi::Model;
QueryFinanceUnitResult::QueryFinanceUnitResult() :
ServiceResult()
{}
QueryFinanceUnitResult::QueryFinanceUnitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryFinanceUnitResult::~QueryFinanceUnitResult()
{}
void QueryFinanceUnitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["PageNum"].isNull())
data_.pageNum = std::stoi(dataNode["PageNum"].asString());
if(!dataNode["PageSize"].isNull())
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
if(!dataNode["TotalCount"].isNull())
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
auto allFinanceUnitDtoListNode = dataNode["FinanceUnitDtoList"]["FinanceUnitDtoListItem"];
for (auto dataNodeFinanceUnitDtoListFinanceUnitDtoListItem : allFinanceUnitDtoListNode)
{
Data::FinanceUnitDtoListItem financeUnitDtoListItemObject;
if(!dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["OwnerUid"].isNull())
financeUnitDtoListItemObject.ownerUid = std::stol(dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["OwnerUid"].asString());
if(!dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["ParentUnitId"].isNull())
financeUnitDtoListItemObject.parentUnitId = std::stol(dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["ParentUnitId"].asString());
if(!dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["UnitId"].isNull())
financeUnitDtoListItemObject.unitId = std::stol(dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["UnitId"].asString());
if(!dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["UnitName"].isNull())
financeUnitDtoListItemObject.unitName = dataNodeFinanceUnitDtoListFinanceUnitDtoListItem["UnitName"].asString();
data_.financeUnitDtoList.push_back(financeUnitDtoListItemObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string QueryFinanceUnitResult::getMessage()const
{
return message_;
}
QueryFinanceUnitResult::Data QueryFinanceUnitResult::getData()const
{
return data_;
}
std::string QueryFinanceUnitResult::getCode()const
{
return code_;
}
bool QueryFinanceUnitResult::getSuccess()const
{
return success_;
}

View File

@@ -40,13 +40,12 @@ class ALIBABACLOUD_CORE_EXPORT RoaServiceClient : public CoreClient {
virtual ~RoaServiceClient();
protected:
JsonOutcome makeRequest(const std::string &endpoint,
const RoaServiceRequest &msg, HttpRequest::Method method =
HttpRequest::Method::Get)const;
HttpRequest buildHttpRequest(const std::string & endpoint,
const ServiceRequest &msg, HttpRequest::Method method)const override;
HttpRequest buildHttpRequest(const std::string & endpoint,
const RoaServiceRequest &msg, HttpRequest::Method method)const;
JsonOutcome makeRequest(const std::string &endpoint,
const RoaServiceRequest &msg, HttpRequest::Method method = HttpRequest::Method::Get) const;
HttpRequest buildHttpRequest(const std::string &endpoint,
const ServiceRequest &msg, HttpRequest::Method method) const override;
HttpRequest buildHttpRequest(const std::string &endpoint,
const RoaServiceRequest &msg, HttpRequest::Method method) const;
private:
std::shared_ptr<CredentialsProvider> credentialsProvider_;

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