CRM SDK Auto Released By shenshi,Version:1.34.56
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2019-03-21 Version: 1.34.56
|
||||
1, Update Dependency
|
||||
|
||||
2019-03-20 Version: 1.34.55
|
||||
1, Update the Dependency
|
||||
|
||||
|
||||
@@ -107,3 +107,5 @@ add_subdirectory(cas)
|
||||
add_subdirectory(cloudwf)
|
||||
add_subdirectory(alidns)
|
||||
add_subdirectory(httpdns)
|
||||
|
||||
add_subdirectory(crm)
|
||||
130
crm/CMakeLists.txt
Normal file
130
crm/CMakeLists.txt
Normal file
@@ -0,0 +1,130 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(crm_public_header
|
||||
include/alibabacloud/crm/CrmClient.h
|
||||
include/alibabacloud/crm/CrmExport.h )
|
||||
|
||||
set(crm_public_header_model
|
||||
include/alibabacloud/crm/model/CheckLabelForBidRequest.h
|
||||
include/alibabacloud/crm/model/CheckLabelForBidResult.h
|
||||
include/alibabacloud/crm/model/CheckLabelRequest.h
|
||||
include/alibabacloud/crm/model/CheckLabelResult.h
|
||||
include/alibabacloud/crm/model/DeleteLabelForBidRequest.h
|
||||
include/alibabacloud/crm/model/DeleteLabelForBidResult.h
|
||||
include/alibabacloud/crm/model/AddIdentityCertifiedForBidUserRequest.h
|
||||
include/alibabacloud/crm/model/AddIdentityCertifiedForBidUserResult.h
|
||||
include/alibabacloud/crm/model/GetAliyunPkByAliyunIdRequest.h
|
||||
include/alibabacloud/crm/model/GetAliyunPkByAliyunIdResult.h
|
||||
include/alibabacloud/crm/model/QueryCustomerLabelRequest.h
|
||||
include/alibabacloud/crm/model/QueryCustomerLabelResult.h
|
||||
include/alibabacloud/crm/model/RemoveIdentityCertifiedForBidUserRequest.h
|
||||
include/alibabacloud/crm/model/RemoveIdentityCertifiedForBidUserResult.h
|
||||
include/alibabacloud/crm/model/QueryBidUserCertifiedInfoRequest.h
|
||||
include/alibabacloud/crm/model/QueryBidUserCertifiedInfoResult.h
|
||||
include/alibabacloud/crm/model/AddLabelForBidRequest.h
|
||||
include/alibabacloud/crm/model/AddLabelForBidResult.h
|
||||
include/alibabacloud/crm/model/BatchGetAliyunIdByAliyunPkRequest.h
|
||||
include/alibabacloud/crm/model/BatchGetAliyunIdByAliyunPkResult.h
|
||||
include/alibabacloud/crm/model/DeleteLabelRequest.h
|
||||
include/alibabacloud/crm/model/DeleteLabelResult.h
|
||||
include/alibabacloud/crm/model/AddLabelRequest.h
|
||||
include/alibabacloud/crm/model/AddLabelResult.h )
|
||||
|
||||
set(crm_src
|
||||
src/CrmClient.cc
|
||||
src/model/CheckLabelForBidRequest.cc
|
||||
src/model/CheckLabelForBidResult.cc
|
||||
src/model/CheckLabelRequest.cc
|
||||
src/model/CheckLabelResult.cc
|
||||
src/model/DeleteLabelForBidRequest.cc
|
||||
src/model/DeleteLabelForBidResult.cc
|
||||
src/model/AddIdentityCertifiedForBidUserRequest.cc
|
||||
src/model/AddIdentityCertifiedForBidUserResult.cc
|
||||
src/model/GetAliyunPkByAliyunIdRequest.cc
|
||||
src/model/GetAliyunPkByAliyunIdResult.cc
|
||||
src/model/QueryCustomerLabelRequest.cc
|
||||
src/model/QueryCustomerLabelResult.cc
|
||||
src/model/RemoveIdentityCertifiedForBidUserRequest.cc
|
||||
src/model/RemoveIdentityCertifiedForBidUserResult.cc
|
||||
src/model/QueryBidUserCertifiedInfoRequest.cc
|
||||
src/model/QueryBidUserCertifiedInfoResult.cc
|
||||
src/model/AddLabelForBidRequest.cc
|
||||
src/model/AddLabelForBidResult.cc
|
||||
src/model/BatchGetAliyunIdByAliyunPkRequest.cc
|
||||
src/model/BatchGetAliyunIdByAliyunPkResult.cc
|
||||
src/model/DeleteLabelRequest.cc
|
||||
src/model/DeleteLabelResult.cc
|
||||
src/model/AddLabelRequest.cc
|
||||
src/model/AddLabelResult.cc )
|
||||
|
||||
add_library(crm ${LIB_TYPE}
|
||||
${crm_public_header}
|
||||
${crm_public_header_model}
|
||||
${crm_src})
|
||||
|
||||
set_target_properties(crm
|
||||
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}crm
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(crm
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CRM_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(crm
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(crm
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(crm
|
||||
jsoncpp)
|
||||
target_include_directories(crm
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(crm
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(crm
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(crm
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(crm
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${crm_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/crm)
|
||||
install(FILES ${crm_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/crm/model)
|
||||
install(TARGETS crm
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
142
crm/include/alibabacloud/crm/CrmClient.h
Normal file
142
crm/include/alibabacloud/crm/CrmClient.h
Normal file
@@ -0,0 +1,142 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_CRMCLIENT_H_
|
||||
#define ALIBABACLOUD_CRM_CRMCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CrmExport.h"
|
||||
#include "model/CheckLabelForBidRequest.h"
|
||||
#include "model/CheckLabelForBidResult.h"
|
||||
#include "model/CheckLabelRequest.h"
|
||||
#include "model/CheckLabelResult.h"
|
||||
#include "model/DeleteLabelForBidRequest.h"
|
||||
#include "model/DeleteLabelForBidResult.h"
|
||||
#include "model/AddIdentityCertifiedForBidUserRequest.h"
|
||||
#include "model/AddIdentityCertifiedForBidUserResult.h"
|
||||
#include "model/GetAliyunPkByAliyunIdRequest.h"
|
||||
#include "model/GetAliyunPkByAliyunIdResult.h"
|
||||
#include "model/QueryCustomerLabelRequest.h"
|
||||
#include "model/QueryCustomerLabelResult.h"
|
||||
#include "model/RemoveIdentityCertifiedForBidUserRequest.h"
|
||||
#include "model/RemoveIdentityCertifiedForBidUserResult.h"
|
||||
#include "model/QueryBidUserCertifiedInfoRequest.h"
|
||||
#include "model/QueryBidUserCertifiedInfoResult.h"
|
||||
#include "model/AddLabelForBidRequest.h"
|
||||
#include "model/AddLabelForBidResult.h"
|
||||
#include "model/BatchGetAliyunIdByAliyunPkRequest.h"
|
||||
#include "model/BatchGetAliyunIdByAliyunPkResult.h"
|
||||
#include "model/DeleteLabelRequest.h"
|
||||
#include "model/DeleteLabelResult.h"
|
||||
#include "model/AddLabelRequest.h"
|
||||
#include "model/AddLabelResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT CrmClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CheckLabelForBidResult> CheckLabelForBidOutcome;
|
||||
typedef std::future<CheckLabelForBidOutcome> CheckLabelForBidOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::CheckLabelForBidRequest&, const CheckLabelForBidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckLabelForBidAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckLabelResult> CheckLabelOutcome;
|
||||
typedef std::future<CheckLabelOutcome> CheckLabelOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::CheckLabelRequest&, const CheckLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLabelForBidResult> DeleteLabelForBidOutcome;
|
||||
typedef std::future<DeleteLabelForBidOutcome> DeleteLabelForBidOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::DeleteLabelForBidRequest&, const DeleteLabelForBidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLabelForBidAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddIdentityCertifiedForBidUserResult> AddIdentityCertifiedForBidUserOutcome;
|
||||
typedef std::future<AddIdentityCertifiedForBidUserOutcome> AddIdentityCertifiedForBidUserOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::AddIdentityCertifiedForBidUserRequest&, const AddIdentityCertifiedForBidUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIdentityCertifiedForBidUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAliyunPkByAliyunIdResult> GetAliyunPkByAliyunIdOutcome;
|
||||
typedef std::future<GetAliyunPkByAliyunIdOutcome> GetAliyunPkByAliyunIdOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::GetAliyunPkByAliyunIdRequest&, const GetAliyunPkByAliyunIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAliyunPkByAliyunIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomerLabelResult> QueryCustomerLabelOutcome;
|
||||
typedef std::future<QueryCustomerLabelOutcome> QueryCustomerLabelOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::QueryCustomerLabelRequest&, const QueryCustomerLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomerLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveIdentityCertifiedForBidUserResult> RemoveIdentityCertifiedForBidUserOutcome;
|
||||
typedef std::future<RemoveIdentityCertifiedForBidUserOutcome> RemoveIdentityCertifiedForBidUserOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::RemoveIdentityCertifiedForBidUserRequest&, const RemoveIdentityCertifiedForBidUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveIdentityCertifiedForBidUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryBidUserCertifiedInfoResult> QueryBidUserCertifiedInfoOutcome;
|
||||
typedef std::future<QueryBidUserCertifiedInfoOutcome> QueryBidUserCertifiedInfoOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::QueryBidUserCertifiedInfoRequest&, const QueryBidUserCertifiedInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryBidUserCertifiedInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddLabelForBidResult> AddLabelForBidOutcome;
|
||||
typedef std::future<AddLabelForBidOutcome> AddLabelForBidOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::AddLabelForBidRequest&, const AddLabelForBidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLabelForBidAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchGetAliyunIdByAliyunPkResult> BatchGetAliyunIdByAliyunPkOutcome;
|
||||
typedef std::future<BatchGetAliyunIdByAliyunPkOutcome> BatchGetAliyunIdByAliyunPkOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::BatchGetAliyunIdByAliyunPkRequest&, const BatchGetAliyunIdByAliyunPkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchGetAliyunIdByAliyunPkAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLabelResult> DeleteLabelOutcome;
|
||||
typedef std::future<DeleteLabelOutcome> DeleteLabelOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::DeleteLabelRequest&, const DeleteLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLabelAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddLabelResult> AddLabelOutcome;
|
||||
typedef std::future<AddLabelOutcome> AddLabelOutcomeCallable;
|
||||
typedef std::function<void(const CrmClient*, const Model::AddLabelRequest&, const AddLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddLabelAsyncHandler;
|
||||
|
||||
CrmClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CrmClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CrmClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CrmClient();
|
||||
CheckLabelForBidOutcome checkLabelForBid(const Model::CheckLabelForBidRequest &request)const;
|
||||
void checkLabelForBidAsync(const Model::CheckLabelForBidRequest& request, const CheckLabelForBidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckLabelForBidOutcomeCallable checkLabelForBidCallable(const Model::CheckLabelForBidRequest& request) const;
|
||||
CheckLabelOutcome checkLabel(const Model::CheckLabelRequest &request)const;
|
||||
void checkLabelAsync(const Model::CheckLabelRequest& request, const CheckLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckLabelOutcomeCallable checkLabelCallable(const Model::CheckLabelRequest& request) const;
|
||||
DeleteLabelForBidOutcome deleteLabelForBid(const Model::DeleteLabelForBidRequest &request)const;
|
||||
void deleteLabelForBidAsync(const Model::DeleteLabelForBidRequest& request, const DeleteLabelForBidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLabelForBidOutcomeCallable deleteLabelForBidCallable(const Model::DeleteLabelForBidRequest& request) const;
|
||||
AddIdentityCertifiedForBidUserOutcome addIdentityCertifiedForBidUser(const Model::AddIdentityCertifiedForBidUserRequest &request)const;
|
||||
void addIdentityCertifiedForBidUserAsync(const Model::AddIdentityCertifiedForBidUserRequest& request, const AddIdentityCertifiedForBidUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddIdentityCertifiedForBidUserOutcomeCallable addIdentityCertifiedForBidUserCallable(const Model::AddIdentityCertifiedForBidUserRequest& request) const;
|
||||
GetAliyunPkByAliyunIdOutcome getAliyunPkByAliyunId(const Model::GetAliyunPkByAliyunIdRequest &request)const;
|
||||
void getAliyunPkByAliyunIdAsync(const Model::GetAliyunPkByAliyunIdRequest& request, const GetAliyunPkByAliyunIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAliyunPkByAliyunIdOutcomeCallable getAliyunPkByAliyunIdCallable(const Model::GetAliyunPkByAliyunIdRequest& request) const;
|
||||
QueryCustomerLabelOutcome queryCustomerLabel(const Model::QueryCustomerLabelRequest &request)const;
|
||||
void queryCustomerLabelAsync(const Model::QueryCustomerLabelRequest& request, const QueryCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomerLabelOutcomeCallable queryCustomerLabelCallable(const Model::QueryCustomerLabelRequest& request) const;
|
||||
RemoveIdentityCertifiedForBidUserOutcome removeIdentityCertifiedForBidUser(const Model::RemoveIdentityCertifiedForBidUserRequest &request)const;
|
||||
void removeIdentityCertifiedForBidUserAsync(const Model::RemoveIdentityCertifiedForBidUserRequest& request, const RemoveIdentityCertifiedForBidUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveIdentityCertifiedForBidUserOutcomeCallable removeIdentityCertifiedForBidUserCallable(const Model::RemoveIdentityCertifiedForBidUserRequest& request) const;
|
||||
QueryBidUserCertifiedInfoOutcome queryBidUserCertifiedInfo(const Model::QueryBidUserCertifiedInfoRequest &request)const;
|
||||
void queryBidUserCertifiedInfoAsync(const Model::QueryBidUserCertifiedInfoRequest& request, const QueryBidUserCertifiedInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryBidUserCertifiedInfoOutcomeCallable queryBidUserCertifiedInfoCallable(const Model::QueryBidUserCertifiedInfoRequest& request) const;
|
||||
AddLabelForBidOutcome addLabelForBid(const Model::AddLabelForBidRequest &request)const;
|
||||
void addLabelForBidAsync(const Model::AddLabelForBidRequest& request, const AddLabelForBidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddLabelForBidOutcomeCallable addLabelForBidCallable(const Model::AddLabelForBidRequest& request) const;
|
||||
BatchGetAliyunIdByAliyunPkOutcome batchGetAliyunIdByAliyunPk(const Model::BatchGetAliyunIdByAliyunPkRequest &request)const;
|
||||
void batchGetAliyunIdByAliyunPkAsync(const Model::BatchGetAliyunIdByAliyunPkRequest& request, const BatchGetAliyunIdByAliyunPkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchGetAliyunIdByAliyunPkOutcomeCallable batchGetAliyunIdByAliyunPkCallable(const Model::BatchGetAliyunIdByAliyunPkRequest& request) const;
|
||||
DeleteLabelOutcome deleteLabel(const Model::DeleteLabelRequest &request)const;
|
||||
void deleteLabelAsync(const Model::DeleteLabelRequest& request, const DeleteLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLabelOutcomeCallable deleteLabelCallable(const Model::DeleteLabelRequest& request) const;
|
||||
AddLabelOutcome addLabel(const Model::AddLabelRequest &request)const;
|
||||
void addLabelAsync(const Model::AddLabelRequest& request, const AddLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddLabelOutcomeCallable addLabelCallable(const Model::AddLabelRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CRM_CRMCLIENT_H_
|
||||
32
crm/include/alibabacloud/crm/CrmExport.h
Normal file
32
crm/include/alibabacloud/crm/CrmExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_CRMEXPORT_H_
|
||||
#define ALIBABACLOUD_CRM_CRMEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CRM_LIBRARY)
|
||||
# define ALIBABACLOUD_CRM_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CRM_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CRM_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CRM_CRMEXPORT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_ADDIDENTITYCERTIFIEDFORBIDUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_ADDIDENTITYCERTIFIEDFORBIDUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT AddIdentityCertifiedForBidUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddIdentityCertifiedForBidUserRequest();
|
||||
~AddIdentityCertifiedForBidUserRequest();
|
||||
|
||||
std::string getBidType()const;
|
||||
void setBidType(const std::string& bidType);
|
||||
std::string getLicenseNumber()const;
|
||||
void setLicenseNumber(const std::string& licenseNumber);
|
||||
std::string getLicenseType()const;
|
||||
void setLicenseType(const std::string& licenseType);
|
||||
std::string getPhone()const;
|
||||
void setPhone(const std::string& phone);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
bool getIsEnterprise()const;
|
||||
void setIsEnterprise(bool isEnterprise);
|
||||
|
||||
private:
|
||||
std::string bidType_;
|
||||
std::string licenseNumber_;
|
||||
std::string licenseType_;
|
||||
std::string phone_;
|
||||
std::string name_;
|
||||
std::string pK_;
|
||||
bool isEnterprise_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_ADDIDENTITYCERTIFIEDFORBIDUSERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_ADDIDENTITYCERTIFIEDFORBIDUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_ADDIDENTITYCERTIFIEDFORBIDUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT AddIdentityCertifiedForBidUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddIdentityCertifiedForBidUserResult();
|
||||
explicit AddIdentityCertifiedForBidUserResult(const std::string &payload);
|
||||
~AddIdentityCertifiedForBidUserResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_ADDIDENTITYCERTIFIEDFORBIDUSERRESULT_H_
|
||||
57
crm/include/alibabacloud/crm/model/AddLabelForBidRequest.h
Normal file
57
crm/include/alibabacloud/crm/model/AddLabelForBidRequest.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_ADDLABELFORBIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_ADDLABELFORBIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT AddLabelForBidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddLabelForBidRequest();
|
||||
~AddLabelForBidRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
std::string getLabel()const;
|
||||
void setLabel(const std::string& label);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string endTime_;
|
||||
std::string pK_;
|
||||
std::string label_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_ADDLABELFORBIDREQUEST_H_
|
||||
51
crm/include/alibabacloud/crm/model/AddLabelForBidResult.h
Normal file
51
crm/include/alibabacloud/crm/model/AddLabelForBidResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_ADDLABELFORBIDRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_ADDLABELFORBIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT AddLabelForBidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddLabelForBidResult();
|
||||
explicit AddLabelForBidResult(const std::string &payload);
|
||||
~AddLabelForBidResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_ADDLABELFORBIDRESULT_H_
|
||||
63
crm/include/alibabacloud/crm/model/AddLabelRequest.h
Normal file
63
crm/include/alibabacloud/crm/model/AddLabelRequest.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_ADDLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_ADDLABELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT AddLabelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddLabelRequest();
|
||||
~AddLabelRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
std::string getOrganization()const;
|
||||
void setOrganization(const std::string& organization);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
std::string getLabelName()const;
|
||||
void setLabelName(const std::string& labelName);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string organization_;
|
||||
std::string endTime_;
|
||||
std::string pK_;
|
||||
std::string labelName_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_ADDLABELREQUEST_H_
|
||||
51
crm/include/alibabacloud/crm/model/AddLabelResult.h
Normal file
51
crm/include/alibabacloud/crm/model/AddLabelResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_ADDLABELRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_ADDLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT AddLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddLabelResult();
|
||||
explicit AddLabelResult(const std::string &payload);
|
||||
~AddLabelResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_ADDLABELRESULT_H_
|
||||
@@ -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_CRM_MODEL_BATCHGETALIYUNIDBYALIYUNPKREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_BATCHGETALIYUNIDBYALIYUNPKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT BatchGetAliyunIdByAliyunPkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchGetAliyunIdByAliyunPkRequest();
|
||||
~BatchGetAliyunIdByAliyunPkRequest();
|
||||
|
||||
std::vector<std::string> getPkList()const;
|
||||
void setPkList(const std::vector<std::string>& pkList);
|
||||
|
||||
private:
|
||||
std::vector<std::string> pkList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_BATCHGETALIYUNIDBYALIYUNPKREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_BATCHGETALIYUNIDBYALIYUNPKRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_BATCHGETALIYUNIDBYALIYUNPKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT BatchGetAliyunIdByAliyunPkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ProfileItem
|
||||
{
|
||||
std::string aliyunId;
|
||||
std::string aliyunPk;
|
||||
};
|
||||
|
||||
|
||||
BatchGetAliyunIdByAliyunPkResult();
|
||||
explicit BatchGetAliyunIdByAliyunPkResult(const std::string &payload);
|
||||
~BatchGetAliyunIdByAliyunPkResult();
|
||||
std::vector<ProfileItem> getProfileList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ProfileItem> profileList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_BATCHGETALIYUNIDBYALIYUNPKRESULT_H_
|
||||
54
crm/include/alibabacloud/crm/model/CheckLabelForBidRequest.h
Normal file
54
crm/include/alibabacloud/crm/model/CheckLabelForBidRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_CHECKLABELFORBIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_CHECKLABELFORBIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT CheckLabelForBidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckLabelForBidRequest();
|
||||
~CheckLabelForBidRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
std::string getLabel()const;
|
||||
void setLabel(const std::string& label);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string pK_;
|
||||
std::string label_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_CHECKLABELFORBIDREQUEST_H_
|
||||
51
crm/include/alibabacloud/crm/model/CheckLabelForBidResult.h
Normal file
51
crm/include/alibabacloud/crm/model/CheckLabelForBidResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_CHECKLABELFORBIDRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_CHECKLABELFORBIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT CheckLabelForBidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckLabelForBidResult();
|
||||
explicit CheckLabelForBidResult(const std::string &payload);
|
||||
~CheckLabelForBidResult();
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_CHECKLABELFORBIDRESULT_H_
|
||||
54
crm/include/alibabacloud/crm/model/CheckLabelRequest.h
Normal file
54
crm/include/alibabacloud/crm/model/CheckLabelRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_CHECKLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_CHECKLABELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT CheckLabelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckLabelRequest();
|
||||
~CheckLabelRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
std::string getLabelName()const;
|
||||
void setLabelName(const std::string& labelName);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string pK_;
|
||||
std::string labelName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_CHECKLABELREQUEST_H_
|
||||
51
crm/include/alibabacloud/crm/model/CheckLabelResult.h
Normal file
51
crm/include/alibabacloud/crm/model/CheckLabelResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_CHECKLABELRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_CHECKLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT CheckLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckLabelResult();
|
||||
explicit CheckLabelResult(const std::string &payload);
|
||||
~CheckLabelResult();
|
||||
bool getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_CHECKLABELRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_DELETELABELFORBIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_DELETELABELFORBIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT DeleteLabelForBidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLabelForBidRequest();
|
||||
~DeleteLabelForBidRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
std::string getLabel()const;
|
||||
void setLabel(const std::string& label);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string pK_;
|
||||
std::string label_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_DELETELABELFORBIDREQUEST_H_
|
||||
51
crm/include/alibabacloud/crm/model/DeleteLabelForBidResult.h
Normal file
51
crm/include/alibabacloud/crm/model/DeleteLabelForBidResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_DELETELABELFORBIDRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_DELETELABELFORBIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT DeleteLabelForBidResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLabelForBidResult();
|
||||
explicit DeleteLabelForBidResult(const std::string &payload);
|
||||
~DeleteLabelForBidResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_DELETELABELFORBIDRESULT_H_
|
||||
60
crm/include/alibabacloud/crm/model/DeleteLabelRequest.h
Normal file
60
crm/include/alibabacloud/crm/model/DeleteLabelRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_DELETELABELREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_DELETELABELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT DeleteLabelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLabelRequest();
|
||||
~DeleteLabelRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
std::string getOrganization()const;
|
||||
void setOrganization(const std::string& organization);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
std::string getLabelName()const;
|
||||
void setLabelName(const std::string& labelName);
|
||||
std::string getUserName()const;
|
||||
void setUserName(const std::string& userName);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
std::string organization_;
|
||||
std::string pK_;
|
||||
std::string labelName_;
|
||||
std::string userName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_DELETELABELREQUEST_H_
|
||||
51
crm/include/alibabacloud/crm/model/DeleteLabelResult.h
Normal file
51
crm/include/alibabacloud/crm/model/DeleteLabelResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_DELETELABELRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_DELETELABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT DeleteLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLabelResult();
|
||||
explicit DeleteLabelResult(const std::string &payload);
|
||||
~DeleteLabelResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_DELETELABELRESULT_H_
|
||||
@@ -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_CRM_MODEL_GETALIYUNPKBYALIYUNIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_GETALIYUNPKBYALIYUNIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT GetAliyunPkByAliyunIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAliyunPkByAliyunIdRequest();
|
||||
~GetAliyunPkByAliyunIdRequest();
|
||||
|
||||
std::string getAliyunId()const;
|
||||
void setAliyunId(const std::string& aliyunId);
|
||||
|
||||
private:
|
||||
std::string aliyunId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_GETALIYUNPKBYALIYUNIDREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_GETALIYUNPKBYALIYUNIDRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_GETALIYUNPKBYALIYUNIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT GetAliyunPkByAliyunIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetAliyunPkByAliyunIdResult();
|
||||
explicit GetAliyunPkByAliyunIdResult(const std::string &payload);
|
||||
~GetAliyunPkByAliyunIdResult();
|
||||
std::string getAliyunPk()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string aliyunPk_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_GETALIYUNPKBYALIYUNIDRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_QUERYBIDUSERCERTIFIEDINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_QUERYBIDUSERCERTIFIEDINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT QueryBidUserCertifiedInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryBidUserCertifiedInfoRequest();
|
||||
~QueryBidUserCertifiedInfoRequest();
|
||||
|
||||
std::string getBidType()const;
|
||||
void setBidType(const std::string& bidType);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
|
||||
private:
|
||||
std::string bidType_;
|
||||
std::string pK_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_QUERYBIDUSERCERTIFIEDINFOREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_QUERYBIDUSERCERTIFIEDINFORESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_QUERYBIDUSERCERTIFIEDINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT QueryBidUserCertifiedInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryBidUserCertifiedInfoResult();
|
||||
explicit QueryBidUserCertifiedInfoResult(const std::string &payload);
|
||||
~QueryBidUserCertifiedInfoResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_QUERYBIDUSERCERTIFIEDINFORESULT_H_
|
||||
@@ -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_CRM_MODEL_QUERYCUSTOMERLABELREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_QUERYCUSTOMERLABELREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT QueryCustomerLabelRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCustomerLabelRequest();
|
||||
~QueryCustomerLabelRequest();
|
||||
|
||||
std::string getLabelSeries()const;
|
||||
void setLabelSeries(const std::string& labelSeries);
|
||||
|
||||
private:
|
||||
std::string labelSeries_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_QUERYCUSTOMERLABELREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_QUERYCUSTOMERLABELRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_QUERYCUSTOMERLABELRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT QueryCustomerLabelResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomerLabel
|
||||
{
|
||||
std::string labelSeries;
|
||||
std::string label;
|
||||
};
|
||||
|
||||
|
||||
QueryCustomerLabelResult();
|
||||
explicit QueryCustomerLabelResult(const std::string &payload);
|
||||
~QueryCustomerLabelResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<CustomerLabel> getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<CustomerLabel> data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_QUERYCUSTOMERLABELRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_REMOVEIDENTITYCERTIFIEDFORBIDUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_REMOVEIDENTITYCERTIFIEDFORBIDUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT RemoveIdentityCertifiedForBidUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveIdentityCertifiedForBidUserRequest();
|
||||
~RemoveIdentityCertifiedForBidUserRequest();
|
||||
|
||||
std::string getBidType()const;
|
||||
void setBidType(const std::string& bidType);
|
||||
std::string getPK()const;
|
||||
void setPK(const std::string& pK);
|
||||
|
||||
private:
|
||||
std::string bidType_;
|
||||
std::string pK_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_REMOVEIDENTITYCERTIFIEDFORBIDUSERREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CRM_MODEL_REMOVEIDENTITYCERTIFIEDFORBIDUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CRM_MODEL_REMOVEIDENTITYCERTIFIEDFORBIDUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/crm/CrmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Crm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CRM_EXPORT RemoveIdentityCertifiedForBidUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveIdentityCertifiedForBidUserResult();
|
||||
explicit RemoveIdentityCertifiedForBidUserResult(const std::string &payload);
|
||||
~RemoveIdentityCertifiedForBidUserResult();
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CRM_MODEL_REMOVEIDENTITYCERTIFIEDFORBIDUSERRESULT_H_
|
||||
485
crm/src/CrmClient.cc
Normal file
485
crm/src/CrmClient.cc
Normal file
@@ -0,0 +1,485 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/crm/CrmClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "Crm";
|
||||
}
|
||||
|
||||
CrmClient::CrmClient(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, "crm");
|
||||
}
|
||||
|
||||
CrmClient::CrmClient(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, "crm");
|
||||
}
|
||||
|
||||
CrmClient::CrmClient(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, "crm");
|
||||
}
|
||||
|
||||
CrmClient::~CrmClient()
|
||||
{}
|
||||
|
||||
CrmClient::CheckLabelForBidOutcome CrmClient::checkLabelForBid(const CheckLabelForBidRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckLabelForBidOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckLabelForBidOutcome(CheckLabelForBidResult(outcome.result()));
|
||||
else
|
||||
return CheckLabelForBidOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::checkLabelForBidAsync(const CheckLabelForBidRequest& request, const CheckLabelForBidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkLabelForBid(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::CheckLabelForBidOutcomeCallable CrmClient::checkLabelForBidCallable(const CheckLabelForBidRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckLabelForBidOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkLabelForBid(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::CheckLabelOutcome CrmClient::checkLabel(const CheckLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckLabelOutcome(CheckLabelResult(outcome.result()));
|
||||
else
|
||||
return CheckLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::checkLabelAsync(const CheckLabelRequest& request, const CheckLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::CheckLabelOutcomeCallable CrmClient::checkLabelCallable(const CheckLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::DeleteLabelForBidOutcome CrmClient::deleteLabelForBid(const DeleteLabelForBidRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLabelForBidOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLabelForBidOutcome(DeleteLabelForBidResult(outcome.result()));
|
||||
else
|
||||
return DeleteLabelForBidOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::deleteLabelForBidAsync(const DeleteLabelForBidRequest& request, const DeleteLabelForBidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLabelForBid(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::DeleteLabelForBidOutcomeCallable CrmClient::deleteLabelForBidCallable(const DeleteLabelForBidRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLabelForBidOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLabelForBid(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::AddIdentityCertifiedForBidUserOutcome CrmClient::addIdentityCertifiedForBidUser(const AddIdentityCertifiedForBidUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddIdentityCertifiedForBidUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddIdentityCertifiedForBidUserOutcome(AddIdentityCertifiedForBidUserResult(outcome.result()));
|
||||
else
|
||||
return AddIdentityCertifiedForBidUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::addIdentityCertifiedForBidUserAsync(const AddIdentityCertifiedForBidUserRequest& request, const AddIdentityCertifiedForBidUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addIdentityCertifiedForBidUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::AddIdentityCertifiedForBidUserOutcomeCallable CrmClient::addIdentityCertifiedForBidUserCallable(const AddIdentityCertifiedForBidUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddIdentityCertifiedForBidUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addIdentityCertifiedForBidUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::GetAliyunPkByAliyunIdOutcome CrmClient::getAliyunPkByAliyunId(const GetAliyunPkByAliyunIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAliyunPkByAliyunIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAliyunPkByAliyunIdOutcome(GetAliyunPkByAliyunIdResult(outcome.result()));
|
||||
else
|
||||
return GetAliyunPkByAliyunIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::getAliyunPkByAliyunIdAsync(const GetAliyunPkByAliyunIdRequest& request, const GetAliyunPkByAliyunIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAliyunPkByAliyunId(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::GetAliyunPkByAliyunIdOutcomeCallable CrmClient::getAliyunPkByAliyunIdCallable(const GetAliyunPkByAliyunIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAliyunPkByAliyunIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAliyunPkByAliyunId(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::QueryCustomerLabelOutcome CrmClient::queryCustomerLabel(const QueryCustomerLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCustomerLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCustomerLabelOutcome(QueryCustomerLabelResult(outcome.result()));
|
||||
else
|
||||
return QueryCustomerLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::queryCustomerLabelAsync(const QueryCustomerLabelRequest& request, const QueryCustomerLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCustomerLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::QueryCustomerLabelOutcomeCallable CrmClient::queryCustomerLabelCallable(const QueryCustomerLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCustomerLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCustomerLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::RemoveIdentityCertifiedForBidUserOutcome CrmClient::removeIdentityCertifiedForBidUser(const RemoveIdentityCertifiedForBidUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveIdentityCertifiedForBidUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveIdentityCertifiedForBidUserOutcome(RemoveIdentityCertifiedForBidUserResult(outcome.result()));
|
||||
else
|
||||
return RemoveIdentityCertifiedForBidUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::removeIdentityCertifiedForBidUserAsync(const RemoveIdentityCertifiedForBidUserRequest& request, const RemoveIdentityCertifiedForBidUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeIdentityCertifiedForBidUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::RemoveIdentityCertifiedForBidUserOutcomeCallable CrmClient::removeIdentityCertifiedForBidUserCallable(const RemoveIdentityCertifiedForBidUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveIdentityCertifiedForBidUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeIdentityCertifiedForBidUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::QueryBidUserCertifiedInfoOutcome CrmClient::queryBidUserCertifiedInfo(const QueryBidUserCertifiedInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryBidUserCertifiedInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryBidUserCertifiedInfoOutcome(QueryBidUserCertifiedInfoResult(outcome.result()));
|
||||
else
|
||||
return QueryBidUserCertifiedInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::queryBidUserCertifiedInfoAsync(const QueryBidUserCertifiedInfoRequest& request, const QueryBidUserCertifiedInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryBidUserCertifiedInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::QueryBidUserCertifiedInfoOutcomeCallable CrmClient::queryBidUserCertifiedInfoCallable(const QueryBidUserCertifiedInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryBidUserCertifiedInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryBidUserCertifiedInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::AddLabelForBidOutcome CrmClient::addLabelForBid(const AddLabelForBidRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddLabelForBidOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddLabelForBidOutcome(AddLabelForBidResult(outcome.result()));
|
||||
else
|
||||
return AddLabelForBidOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::addLabelForBidAsync(const AddLabelForBidRequest& request, const AddLabelForBidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addLabelForBid(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::AddLabelForBidOutcomeCallable CrmClient::addLabelForBidCallable(const AddLabelForBidRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddLabelForBidOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addLabelForBid(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::BatchGetAliyunIdByAliyunPkOutcome CrmClient::batchGetAliyunIdByAliyunPk(const BatchGetAliyunIdByAliyunPkRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchGetAliyunIdByAliyunPkOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchGetAliyunIdByAliyunPkOutcome(BatchGetAliyunIdByAliyunPkResult(outcome.result()));
|
||||
else
|
||||
return BatchGetAliyunIdByAliyunPkOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::batchGetAliyunIdByAliyunPkAsync(const BatchGetAliyunIdByAliyunPkRequest& request, const BatchGetAliyunIdByAliyunPkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchGetAliyunIdByAliyunPk(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::BatchGetAliyunIdByAliyunPkOutcomeCallable CrmClient::batchGetAliyunIdByAliyunPkCallable(const BatchGetAliyunIdByAliyunPkRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchGetAliyunIdByAliyunPkOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchGetAliyunIdByAliyunPk(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::DeleteLabelOutcome CrmClient::deleteLabel(const DeleteLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLabelOutcome(DeleteLabelResult(outcome.result()));
|
||||
else
|
||||
return DeleteLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::deleteLabelAsync(const DeleteLabelRequest& request, const DeleteLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::DeleteLabelOutcomeCallable CrmClient::deleteLabelCallable(const DeleteLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CrmClient::AddLabelOutcome CrmClient::addLabel(const AddLabelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddLabelOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddLabelOutcome(AddLabelResult(outcome.result()));
|
||||
else
|
||||
return AddLabelOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CrmClient::addLabelAsync(const AddLabelRequest& request, const AddLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addLabel(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CrmClient::AddLabelOutcomeCallable CrmClient::addLabelCallable(const AddLabelRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddLabelOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addLabel(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
104
crm/src/model/AddIdentityCertifiedForBidUserRequest.cc
Normal file
104
crm/src/model/AddIdentityCertifiedForBidUserRequest.cc
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/AddIdentityCertifiedForBidUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::AddIdentityCertifiedForBidUserRequest;
|
||||
|
||||
AddIdentityCertifiedForBidUserRequest::AddIdentityCertifiedForBidUserRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "AddIdentityCertifiedForBidUser")
|
||||
{}
|
||||
|
||||
AddIdentityCertifiedForBidUserRequest::~AddIdentityCertifiedForBidUserRequest()
|
||||
{}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserRequest::getBidType()const
|
||||
{
|
||||
return bidType_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setBidType(const std::string& bidType)
|
||||
{
|
||||
bidType_ = bidType;
|
||||
setParameter("BidType", bidType);
|
||||
}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserRequest::getLicenseNumber()const
|
||||
{
|
||||
return licenseNumber_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setLicenseNumber(const std::string& licenseNumber)
|
||||
{
|
||||
licenseNumber_ = licenseNumber;
|
||||
setParameter("LicenseNumber", licenseNumber);
|
||||
}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserRequest::getLicenseType()const
|
||||
{
|
||||
return licenseType_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setLicenseType(const std::string& licenseType)
|
||||
{
|
||||
licenseType_ = licenseType;
|
||||
setParameter("LicenseType", licenseType);
|
||||
}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserRequest::getPhone()const
|
||||
{
|
||||
return phone_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setPhone(const std::string& phone)
|
||||
{
|
||||
phone_ = phone;
|
||||
setParameter("Phone", phone);
|
||||
}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
bool AddIdentityCertifiedForBidUserRequest::getIsEnterprise()const
|
||||
{
|
||||
return isEnterprise_;
|
||||
}
|
||||
|
||||
void AddIdentityCertifiedForBidUserRequest::setIsEnterprise(bool isEnterprise)
|
||||
{
|
||||
isEnterprise_ = isEnterprise;
|
||||
setParameter("IsEnterprise", std::to_string(isEnterprise));
|
||||
}
|
||||
|
||||
52
crm/src/model/AddIdentityCertifiedForBidUserResult.cc
Normal file
52
crm/src/model/AddIdentityCertifiedForBidUserResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/AddIdentityCertifiedForBidUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
AddIdentityCertifiedForBidUserResult::AddIdentityCertifiedForBidUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddIdentityCertifiedForBidUserResult::AddIdentityCertifiedForBidUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddIdentityCertifiedForBidUserResult::~AddIdentityCertifiedForBidUserResult()
|
||||
{}
|
||||
|
||||
void AddIdentityCertifiedForBidUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddIdentityCertifiedForBidUserResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
71
crm/src/model/AddLabelForBidRequest.cc
Normal file
71
crm/src/model/AddLabelForBidRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/AddLabelForBidRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::AddLabelForBidRequest;
|
||||
|
||||
AddLabelForBidRequest::AddLabelForBidRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "AddLabelForBid")
|
||||
{}
|
||||
|
||||
AddLabelForBidRequest::~AddLabelForBidRequest()
|
||||
{}
|
||||
|
||||
std::string AddLabelForBidRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void AddLabelForBidRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
std::string AddLabelForBidRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void AddLabelForBidRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string AddLabelForBidRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void AddLabelForBidRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
std::string AddLabelForBidRequest::getLabel()const
|
||||
{
|
||||
return label_;
|
||||
}
|
||||
|
||||
void AddLabelForBidRequest::setLabel(const std::string& label)
|
||||
{
|
||||
label_ = label;
|
||||
setParameter("Label", label);
|
||||
}
|
||||
|
||||
52
crm/src/model/AddLabelForBidResult.cc
Normal file
52
crm/src/model/AddLabelForBidResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/AddLabelForBidResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
AddLabelForBidResult::AddLabelForBidResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLabelForBidResult::AddLabelForBidResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLabelForBidResult::~AddLabelForBidResult()
|
||||
{}
|
||||
|
||||
void AddLabelForBidResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddLabelForBidResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
93
crm/src/model/AddLabelRequest.cc
Normal file
93
crm/src/model/AddLabelRequest.cc
Normal 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/crm/model/AddLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::AddLabelRequest;
|
||||
|
||||
AddLabelRequest::AddLabelRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "AddLabel")
|
||||
{}
|
||||
|
||||
AddLabelRequest::~AddLabelRequest()
|
||||
{}
|
||||
|
||||
std::string AddLabelRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void AddLabelRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
std::string AddLabelRequest::getOrganization()const
|
||||
{
|
||||
return organization_;
|
||||
}
|
||||
|
||||
void AddLabelRequest::setOrganization(const std::string& organization)
|
||||
{
|
||||
organization_ = organization;
|
||||
setParameter("Organization", organization);
|
||||
}
|
||||
|
||||
std::string AddLabelRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void AddLabelRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string AddLabelRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void AddLabelRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
std::string AddLabelRequest::getLabelName()const
|
||||
{
|
||||
return labelName_;
|
||||
}
|
||||
|
||||
void AddLabelRequest::setLabelName(const std::string& labelName)
|
||||
{
|
||||
labelName_ = labelName;
|
||||
setParameter("LabelName", labelName);
|
||||
}
|
||||
|
||||
std::string AddLabelRequest::getUserName()const
|
||||
{
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void AddLabelRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
52
crm/src/model/AddLabelResult.cc
Normal file
52
crm/src/model/AddLabelResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/AddLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
AddLabelResult::AddLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddLabelResult::AddLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddLabelResult::~AddLabelResult()
|
||||
{}
|
||||
|
||||
void AddLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddLabelResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
39
crm/src/model/BatchGetAliyunIdByAliyunPkRequest.cc
Normal file
39
crm/src/model/BatchGetAliyunIdByAliyunPkRequest.cc
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/BatchGetAliyunIdByAliyunPkRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::BatchGetAliyunIdByAliyunPkRequest;
|
||||
|
||||
BatchGetAliyunIdByAliyunPkRequest::BatchGetAliyunIdByAliyunPkRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "BatchGetAliyunIdByAliyunPk")
|
||||
{}
|
||||
|
||||
BatchGetAliyunIdByAliyunPkRequest::~BatchGetAliyunIdByAliyunPkRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> BatchGetAliyunIdByAliyunPkRequest::getPkList()const
|
||||
{
|
||||
return pkList_;
|
||||
}
|
||||
|
||||
void BatchGetAliyunIdByAliyunPkRequest::setPkList(const std::vector<std::string>& pkList)
|
||||
{
|
||||
pkList_ = pkList;
|
||||
for(int i = 0; i!= pkList.size(); i++)
|
||||
setParameter("PkList."+ std::to_string(i), pkList.at(i));
|
||||
}
|
||||
|
||||
60
crm/src/model/BatchGetAliyunIdByAliyunPkResult.cc
Normal file
60
crm/src/model/BatchGetAliyunIdByAliyunPkResult.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/BatchGetAliyunIdByAliyunPkResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
BatchGetAliyunIdByAliyunPkResult::BatchGetAliyunIdByAliyunPkResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchGetAliyunIdByAliyunPkResult::BatchGetAliyunIdByAliyunPkResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchGetAliyunIdByAliyunPkResult::~BatchGetAliyunIdByAliyunPkResult()
|
||||
{}
|
||||
|
||||
void BatchGetAliyunIdByAliyunPkResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allProfileList = value["ProfileList"]["ProfileItem"];
|
||||
for (auto value : allProfileList)
|
||||
{
|
||||
ProfileItem profileListObject;
|
||||
if(!value["AliyunId"].isNull())
|
||||
profileListObject.aliyunId = value["AliyunId"].asString();
|
||||
if(!value["AliyunPk"].isNull())
|
||||
profileListObject.aliyunPk = value["AliyunPk"].asString();
|
||||
profileList_.push_back(profileListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<BatchGetAliyunIdByAliyunPkResult::ProfileItem> BatchGetAliyunIdByAliyunPkResult::getProfileList()const
|
||||
{
|
||||
return profileList_;
|
||||
}
|
||||
|
||||
60
crm/src/model/CheckLabelForBidRequest.cc
Normal file
60
crm/src/model/CheckLabelForBidRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/CheckLabelForBidRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::CheckLabelForBidRequest;
|
||||
|
||||
CheckLabelForBidRequest::CheckLabelForBidRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "CheckLabelForBid")
|
||||
{}
|
||||
|
||||
CheckLabelForBidRequest::~CheckLabelForBidRequest()
|
||||
{}
|
||||
|
||||
std::string CheckLabelForBidRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void CheckLabelForBidRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
std::string CheckLabelForBidRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void CheckLabelForBidRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
std::string CheckLabelForBidRequest::getLabel()const
|
||||
{
|
||||
return label_;
|
||||
}
|
||||
|
||||
void CheckLabelForBidRequest::setLabel(const std::string& label)
|
||||
{
|
||||
label_ = label;
|
||||
setParameter("Label", label);
|
||||
}
|
||||
|
||||
52
crm/src/model/CheckLabelForBidResult.cc
Normal file
52
crm/src/model/CheckLabelForBidResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/CheckLabelForBidResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
CheckLabelForBidResult::CheckLabelForBidResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckLabelForBidResult::CheckLabelForBidResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckLabelForBidResult::~CheckLabelForBidResult()
|
||||
{}
|
||||
|
||||
void CheckLabelForBidResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool CheckLabelForBidResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
60
crm/src/model/CheckLabelRequest.cc
Normal file
60
crm/src/model/CheckLabelRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/CheckLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::CheckLabelRequest;
|
||||
|
||||
CheckLabelRequest::CheckLabelRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "CheckLabel")
|
||||
{}
|
||||
|
||||
CheckLabelRequest::~CheckLabelRequest()
|
||||
{}
|
||||
|
||||
std::string CheckLabelRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void CheckLabelRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
std::string CheckLabelRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void CheckLabelRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
std::string CheckLabelRequest::getLabelName()const
|
||||
{
|
||||
return labelName_;
|
||||
}
|
||||
|
||||
void CheckLabelRequest::setLabelName(const std::string& labelName)
|
||||
{
|
||||
labelName_ = labelName;
|
||||
setParameter("LabelName", labelName);
|
||||
}
|
||||
|
||||
52
crm/src/model/CheckLabelResult.cc
Normal file
52
crm/src/model/CheckLabelResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/CheckLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
CheckLabelResult::CheckLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckLabelResult::CheckLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckLabelResult::~CheckLabelResult()
|
||||
{}
|
||||
|
||||
void CheckLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool CheckLabelResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
60
crm/src/model/DeleteLabelForBidRequest.cc
Normal file
60
crm/src/model/DeleteLabelForBidRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/DeleteLabelForBidRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::DeleteLabelForBidRequest;
|
||||
|
||||
DeleteLabelForBidRequest::DeleteLabelForBidRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "DeleteLabelForBid")
|
||||
{}
|
||||
|
||||
DeleteLabelForBidRequest::~DeleteLabelForBidRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLabelForBidRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void DeleteLabelForBidRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
std::string DeleteLabelForBidRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void DeleteLabelForBidRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
std::string DeleteLabelForBidRequest::getLabel()const
|
||||
{
|
||||
return label_;
|
||||
}
|
||||
|
||||
void DeleteLabelForBidRequest::setLabel(const std::string& label)
|
||||
{
|
||||
label_ = label;
|
||||
setParameter("Label", label);
|
||||
}
|
||||
|
||||
52
crm/src/model/DeleteLabelForBidResult.cc
Normal file
52
crm/src/model/DeleteLabelForBidResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/DeleteLabelForBidResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
DeleteLabelForBidResult::DeleteLabelForBidResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLabelForBidResult::DeleteLabelForBidResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLabelForBidResult::~DeleteLabelForBidResult()
|
||||
{}
|
||||
|
||||
void DeleteLabelForBidResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteLabelForBidResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
82
crm/src/model/DeleteLabelRequest.cc
Normal file
82
crm/src/model/DeleteLabelRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/DeleteLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::DeleteLabelRequest;
|
||||
|
||||
DeleteLabelRequest::DeleteLabelRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "DeleteLabel")
|
||||
{}
|
||||
|
||||
DeleteLabelRequest::~DeleteLabelRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLabelRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void DeleteLabelRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
std::string DeleteLabelRequest::getOrganization()const
|
||||
{
|
||||
return organization_;
|
||||
}
|
||||
|
||||
void DeleteLabelRequest::setOrganization(const std::string& organization)
|
||||
{
|
||||
organization_ = organization;
|
||||
setParameter("Organization", organization);
|
||||
}
|
||||
|
||||
std::string DeleteLabelRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void DeleteLabelRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
std::string DeleteLabelRequest::getLabelName()const
|
||||
{
|
||||
return labelName_;
|
||||
}
|
||||
|
||||
void DeleteLabelRequest::setLabelName(const std::string& labelName)
|
||||
{
|
||||
labelName_ = labelName;
|
||||
setParameter("LabelName", labelName);
|
||||
}
|
||||
|
||||
std::string DeleteLabelRequest::getUserName()const
|
||||
{
|
||||
return userName_;
|
||||
}
|
||||
|
||||
void DeleteLabelRequest::setUserName(const std::string& userName)
|
||||
{
|
||||
userName_ = userName;
|
||||
setParameter("UserName", userName);
|
||||
}
|
||||
|
||||
52
crm/src/model/DeleteLabelResult.cc
Normal file
52
crm/src/model/DeleteLabelResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/DeleteLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
DeleteLabelResult::DeleteLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLabelResult::DeleteLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLabelResult::~DeleteLabelResult()
|
||||
{}
|
||||
|
||||
void DeleteLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteLabelResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
38
crm/src/model/GetAliyunPkByAliyunIdRequest.cc
Normal file
38
crm/src/model/GetAliyunPkByAliyunIdRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/crm/model/GetAliyunPkByAliyunIdRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::GetAliyunPkByAliyunIdRequest;
|
||||
|
||||
GetAliyunPkByAliyunIdRequest::GetAliyunPkByAliyunIdRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "GetAliyunPkByAliyunId")
|
||||
{}
|
||||
|
||||
GetAliyunPkByAliyunIdRequest::~GetAliyunPkByAliyunIdRequest()
|
||||
{}
|
||||
|
||||
std::string GetAliyunPkByAliyunIdRequest::getAliyunId()const
|
||||
{
|
||||
return aliyunId_;
|
||||
}
|
||||
|
||||
void GetAliyunPkByAliyunIdRequest::setAliyunId(const std::string& aliyunId)
|
||||
{
|
||||
aliyunId_ = aliyunId;
|
||||
setParameter("AliyunId", aliyunId);
|
||||
}
|
||||
|
||||
52
crm/src/model/GetAliyunPkByAliyunIdResult.cc
Normal file
52
crm/src/model/GetAliyunPkByAliyunIdResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/GetAliyunPkByAliyunIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
GetAliyunPkByAliyunIdResult::GetAliyunPkByAliyunIdResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAliyunPkByAliyunIdResult::GetAliyunPkByAliyunIdResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAliyunPkByAliyunIdResult::~GetAliyunPkByAliyunIdResult()
|
||||
{}
|
||||
|
||||
void GetAliyunPkByAliyunIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AliyunPk"].isNull())
|
||||
aliyunPk_ = value["AliyunPk"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAliyunPkByAliyunIdResult::getAliyunPk()const
|
||||
{
|
||||
return aliyunPk_;
|
||||
}
|
||||
|
||||
49
crm/src/model/QueryBidUserCertifiedInfoRequest.cc
Normal file
49
crm/src/model/QueryBidUserCertifiedInfoRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/QueryBidUserCertifiedInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::QueryBidUserCertifiedInfoRequest;
|
||||
|
||||
QueryBidUserCertifiedInfoRequest::QueryBidUserCertifiedInfoRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "QueryBidUserCertifiedInfo")
|
||||
{}
|
||||
|
||||
QueryBidUserCertifiedInfoRequest::~QueryBidUserCertifiedInfoRequest()
|
||||
{}
|
||||
|
||||
std::string QueryBidUserCertifiedInfoRequest::getBidType()const
|
||||
{
|
||||
return bidType_;
|
||||
}
|
||||
|
||||
void QueryBidUserCertifiedInfoRequest::setBidType(const std::string& bidType)
|
||||
{
|
||||
bidType_ = bidType;
|
||||
setParameter("BidType", bidType);
|
||||
}
|
||||
|
||||
std::string QueryBidUserCertifiedInfoRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void QueryBidUserCertifiedInfoRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
52
crm/src/model/QueryBidUserCertifiedInfoResult.cc
Normal file
52
crm/src/model/QueryBidUserCertifiedInfoResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/QueryBidUserCertifiedInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
QueryBidUserCertifiedInfoResult::QueryBidUserCertifiedInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryBidUserCertifiedInfoResult::QueryBidUserCertifiedInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryBidUserCertifiedInfoResult::~QueryBidUserCertifiedInfoResult()
|
||||
{}
|
||||
|
||||
void QueryBidUserCertifiedInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryBidUserCertifiedInfoResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
38
crm/src/model/QueryCustomerLabelRequest.cc
Normal file
38
crm/src/model/QueryCustomerLabelRequest.cc
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/crm/model/QueryCustomerLabelRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::QueryCustomerLabelRequest;
|
||||
|
||||
QueryCustomerLabelRequest::QueryCustomerLabelRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "QueryCustomerLabel")
|
||||
{}
|
||||
|
||||
QueryCustomerLabelRequest::~QueryCustomerLabelRequest()
|
||||
{}
|
||||
|
||||
std::string QueryCustomerLabelRequest::getLabelSeries()const
|
||||
{
|
||||
return labelSeries_;
|
||||
}
|
||||
|
||||
void QueryCustomerLabelRequest::setLabelSeries(const std::string& labelSeries)
|
||||
{
|
||||
labelSeries_ = labelSeries;
|
||||
setParameter("LabelSeries", labelSeries);
|
||||
}
|
||||
|
||||
81
crm/src/model/QueryCustomerLabelResult.cc
Normal file
81
crm/src/model/QueryCustomerLabelResult.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/QueryCustomerLabelResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
QueryCustomerLabelResult::QueryCustomerLabelResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryCustomerLabelResult::QueryCustomerLabelResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryCustomerLabelResult::~QueryCustomerLabelResult()
|
||||
{}
|
||||
|
||||
void QueryCustomerLabelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["CustomerLabel"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
CustomerLabel dataObject;
|
||||
if(!value["Label"].isNull())
|
||||
dataObject.label = value["Label"].asString();
|
||||
if(!value["LabelSeries"].isNull())
|
||||
dataObject.labelSeries = value["LabelSeries"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
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 QueryCustomerLabelResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<QueryCustomerLabelResult::CustomerLabel> QueryCustomerLabelResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryCustomerLabelResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryCustomerLabelResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
49
crm/src/model/RemoveIdentityCertifiedForBidUserRequest.cc
Normal file
49
crm/src/model/RemoveIdentityCertifiedForBidUserRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/RemoveIdentityCertifiedForBidUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Crm::Model::RemoveIdentityCertifiedForBidUserRequest;
|
||||
|
||||
RemoveIdentityCertifiedForBidUserRequest::RemoveIdentityCertifiedForBidUserRequest() :
|
||||
RpcServiceRequest("crm", "2015-04-08", "RemoveIdentityCertifiedForBidUser")
|
||||
{}
|
||||
|
||||
RemoveIdentityCertifiedForBidUserRequest::~RemoveIdentityCertifiedForBidUserRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveIdentityCertifiedForBidUserRequest::getBidType()const
|
||||
{
|
||||
return bidType_;
|
||||
}
|
||||
|
||||
void RemoveIdentityCertifiedForBidUserRequest::setBidType(const std::string& bidType)
|
||||
{
|
||||
bidType_ = bidType;
|
||||
setParameter("BidType", bidType);
|
||||
}
|
||||
|
||||
std::string RemoveIdentityCertifiedForBidUserRequest::getPK()const
|
||||
{
|
||||
return pK_;
|
||||
}
|
||||
|
||||
void RemoveIdentityCertifiedForBidUserRequest::setPK(const std::string& pK)
|
||||
{
|
||||
pK_ = pK;
|
||||
setParameter("PK", pK);
|
||||
}
|
||||
|
||||
52
crm/src/model/RemoveIdentityCertifiedForBidUserResult.cc
Normal file
52
crm/src/model/RemoveIdentityCertifiedForBidUserResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/crm/model/RemoveIdentityCertifiedForBidUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Crm;
|
||||
using namespace AlibabaCloud::Crm::Model;
|
||||
|
||||
RemoveIdentityCertifiedForBidUserResult::RemoveIdentityCertifiedForBidUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RemoveIdentityCertifiedForBidUserResult::RemoveIdentityCertifiedForBidUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RemoveIdentityCertifiedForBidUserResult::~RemoveIdentityCertifiedForBidUserResult()
|
||||
{}
|
||||
|
||||
void RemoveIdentityCertifiedForBidUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Result"].isNull())
|
||||
result_ = value["Result"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RemoveIdentityCertifiedForBidUserResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user