Add bizSubCode and so on.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2019-09-19 Version 1.36.138
|
||||
- Add bizSubCode and so on.
|
||||
|
||||
2019-09-18 Version 1.36.137
|
||||
- Supported Video Abstract for IMM.
|
||||
|
||||
|
||||
114
companyreg/CMakeLists.txt
Normal file
114
companyreg/CMakeLists.txt
Normal file
@@ -0,0 +1,114 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(companyreg_public_header
|
||||
include/alibabacloud/companyreg/CompanyregClient.h
|
||||
include/alibabacloud/companyreg/CompanyregExport.h )
|
||||
|
||||
set(companyreg_public_header_model
|
||||
include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h
|
||||
include/alibabacloud/companyreg/model/GenerateCompanyRegUploadPolicyResult.h
|
||||
include/alibabacloud/companyreg/model/GetCompanyRegOrderRequest.h
|
||||
include/alibabacloud/companyreg/model/GetCompanyRegOrderResult.h
|
||||
include/alibabacloud/companyreg/model/ListCompanyRegConsultationsRequest.h
|
||||
include/alibabacloud/companyreg/model/ListCompanyRegConsultationsResult.h
|
||||
include/alibabacloud/companyreg/model/ListCompanyRegOrdersRequest.h
|
||||
include/alibabacloud/companyreg/model/ListCompanyRegOrdersResult.h
|
||||
include/alibabacloud/companyreg/model/ProcessCompanyRegOrderRequest.h
|
||||
include/alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.h
|
||||
include/alibabacloud/companyreg/model/SendVcodeRequest.h
|
||||
include/alibabacloud/companyreg/model/SendVcodeResult.h
|
||||
include/alibabacloud/companyreg/model/SubmitCommunicationNoteRequest.h
|
||||
include/alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h
|
||||
include/alibabacloud/companyreg/model/SubmitConsultationRequest.h
|
||||
include/alibabacloud/companyreg/model/SubmitConsultationResult.h )
|
||||
|
||||
set(companyreg_src
|
||||
src/CompanyregClient.cc
|
||||
src/model/GenerateCompanyRegUploadPolicyRequest.cc
|
||||
src/model/GenerateCompanyRegUploadPolicyResult.cc
|
||||
src/model/GetCompanyRegOrderRequest.cc
|
||||
src/model/GetCompanyRegOrderResult.cc
|
||||
src/model/ListCompanyRegConsultationsRequest.cc
|
||||
src/model/ListCompanyRegConsultationsResult.cc
|
||||
src/model/ListCompanyRegOrdersRequest.cc
|
||||
src/model/ListCompanyRegOrdersResult.cc
|
||||
src/model/ProcessCompanyRegOrderRequest.cc
|
||||
src/model/ProcessCompanyRegOrderResult.cc
|
||||
src/model/SendVcodeRequest.cc
|
||||
src/model/SendVcodeResult.cc
|
||||
src/model/SubmitCommunicationNoteRequest.cc
|
||||
src/model/SubmitCommunicationNoteResult.cc
|
||||
src/model/SubmitConsultationRequest.cc
|
||||
src/model/SubmitConsultationResult.cc )
|
||||
|
||||
add_library(companyreg ${LIB_TYPE}
|
||||
${companyreg_public_header}
|
||||
${companyreg_public_header_model}
|
||||
${companyreg_src})
|
||||
|
||||
set_target_properties(companyreg
|
||||
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}companyreg
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(companyreg
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_COMPANYREG_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(companyreg
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(companyreg
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(companyreg
|
||||
jsoncpp)
|
||||
target_include_directories(companyreg
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(companyreg
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(companyreg
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(companyreg
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(companyreg
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${companyreg_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/companyreg)
|
||||
install(FILES ${companyreg_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/companyreg/model)
|
||||
install(TARGETS companyreg
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
110
companyreg/include/alibabacloud/companyreg/CompanyregClient.h
Normal file
110
companyreg/include/alibabacloud/companyreg/CompanyregClient.h
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_COMPANYREGCLIENT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_COMPANYREGCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CompanyregExport.h"
|
||||
#include "model/GenerateCompanyRegUploadPolicyRequest.h"
|
||||
#include "model/GenerateCompanyRegUploadPolicyResult.h"
|
||||
#include "model/GetCompanyRegOrderRequest.h"
|
||||
#include "model/GetCompanyRegOrderResult.h"
|
||||
#include "model/ListCompanyRegConsultationsRequest.h"
|
||||
#include "model/ListCompanyRegConsultationsResult.h"
|
||||
#include "model/ListCompanyRegOrdersRequest.h"
|
||||
#include "model/ListCompanyRegOrdersResult.h"
|
||||
#include "model/ProcessCompanyRegOrderRequest.h"
|
||||
#include "model/ProcessCompanyRegOrderResult.h"
|
||||
#include "model/SendVcodeRequest.h"
|
||||
#include "model/SendVcodeResult.h"
|
||||
#include "model/SubmitCommunicationNoteRequest.h"
|
||||
#include "model/SubmitCommunicationNoteResult.h"
|
||||
#include "model/SubmitConsultationRequest.h"
|
||||
#include "model/SubmitConsultationResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT CompanyregClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::GenerateCompanyRegUploadPolicyResult> GenerateCompanyRegUploadPolicyOutcome;
|
||||
typedef std::future<GenerateCompanyRegUploadPolicyOutcome> GenerateCompanyRegUploadPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::GenerateCompanyRegUploadPolicyRequest&, const GenerateCompanyRegUploadPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateCompanyRegUploadPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCompanyRegOrderResult> GetCompanyRegOrderOutcome;
|
||||
typedef std::future<GetCompanyRegOrderOutcome> GetCompanyRegOrderOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::GetCompanyRegOrderRequest&, const GetCompanyRegOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCompanyRegOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCompanyRegConsultationsResult> ListCompanyRegConsultationsOutcome;
|
||||
typedef std::future<ListCompanyRegConsultationsOutcome> ListCompanyRegConsultationsOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::ListCompanyRegConsultationsRequest&, const ListCompanyRegConsultationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCompanyRegConsultationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCompanyRegOrdersResult> ListCompanyRegOrdersOutcome;
|
||||
typedef std::future<ListCompanyRegOrdersOutcome> ListCompanyRegOrdersOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::ListCompanyRegOrdersRequest&, const ListCompanyRegOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCompanyRegOrdersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ProcessCompanyRegOrderResult> ProcessCompanyRegOrderOutcome;
|
||||
typedef std::future<ProcessCompanyRegOrderOutcome> ProcessCompanyRegOrderOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::ProcessCompanyRegOrderRequest&, const ProcessCompanyRegOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ProcessCompanyRegOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendVcodeResult> SendVcodeOutcome;
|
||||
typedef std::future<SendVcodeOutcome> SendVcodeOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::SendVcodeRequest&, const SendVcodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendVcodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitCommunicationNoteResult> SubmitCommunicationNoteOutcome;
|
||||
typedef std::future<SubmitCommunicationNoteOutcome> SubmitCommunicationNoteOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::SubmitCommunicationNoteRequest&, const SubmitCommunicationNoteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitCommunicationNoteAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitConsultationResult> SubmitConsultationOutcome;
|
||||
typedef std::future<SubmitConsultationOutcome> SubmitConsultationOutcomeCallable;
|
||||
typedef std::function<void(const CompanyregClient*, const Model::SubmitConsultationRequest&, const SubmitConsultationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitConsultationAsyncHandler;
|
||||
|
||||
CompanyregClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CompanyregClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CompanyregClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CompanyregClient();
|
||||
GenerateCompanyRegUploadPolicyOutcome generateCompanyRegUploadPolicy(const Model::GenerateCompanyRegUploadPolicyRequest &request)const;
|
||||
void generateCompanyRegUploadPolicyAsync(const Model::GenerateCompanyRegUploadPolicyRequest& request, const GenerateCompanyRegUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateCompanyRegUploadPolicyOutcomeCallable generateCompanyRegUploadPolicyCallable(const Model::GenerateCompanyRegUploadPolicyRequest& request) const;
|
||||
GetCompanyRegOrderOutcome getCompanyRegOrder(const Model::GetCompanyRegOrderRequest &request)const;
|
||||
void getCompanyRegOrderAsync(const Model::GetCompanyRegOrderRequest& request, const GetCompanyRegOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCompanyRegOrderOutcomeCallable getCompanyRegOrderCallable(const Model::GetCompanyRegOrderRequest& request) const;
|
||||
ListCompanyRegConsultationsOutcome listCompanyRegConsultations(const Model::ListCompanyRegConsultationsRequest &request)const;
|
||||
void listCompanyRegConsultationsAsync(const Model::ListCompanyRegConsultationsRequest& request, const ListCompanyRegConsultationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCompanyRegConsultationsOutcomeCallable listCompanyRegConsultationsCallable(const Model::ListCompanyRegConsultationsRequest& request) const;
|
||||
ListCompanyRegOrdersOutcome listCompanyRegOrders(const Model::ListCompanyRegOrdersRequest &request)const;
|
||||
void listCompanyRegOrdersAsync(const Model::ListCompanyRegOrdersRequest& request, const ListCompanyRegOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCompanyRegOrdersOutcomeCallable listCompanyRegOrdersCallable(const Model::ListCompanyRegOrdersRequest& request) const;
|
||||
ProcessCompanyRegOrderOutcome processCompanyRegOrder(const Model::ProcessCompanyRegOrderRequest &request)const;
|
||||
void processCompanyRegOrderAsync(const Model::ProcessCompanyRegOrderRequest& request, const ProcessCompanyRegOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ProcessCompanyRegOrderOutcomeCallable processCompanyRegOrderCallable(const Model::ProcessCompanyRegOrderRequest& request) const;
|
||||
SendVcodeOutcome sendVcode(const Model::SendVcodeRequest &request)const;
|
||||
void sendVcodeAsync(const Model::SendVcodeRequest& request, const SendVcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendVcodeOutcomeCallable sendVcodeCallable(const Model::SendVcodeRequest& request) const;
|
||||
SubmitCommunicationNoteOutcome submitCommunicationNote(const Model::SubmitCommunicationNoteRequest &request)const;
|
||||
void submitCommunicationNoteAsync(const Model::SubmitCommunicationNoteRequest& request, const SubmitCommunicationNoteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitCommunicationNoteOutcomeCallable submitCommunicationNoteCallable(const Model::SubmitCommunicationNoteRequest& request) const;
|
||||
SubmitConsultationOutcome submitConsultation(const Model::SubmitConsultationRequest &request)const;
|
||||
void submitConsultationAsync(const Model::SubmitConsultationRequest& request, const SubmitConsultationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitConsultationOutcomeCallable submitConsultationCallable(const Model::SubmitConsultationRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_COMPANYREGCLIENT_H_
|
||||
@@ -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_COMPANYREG_COMPANYREGEXPORT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_COMPANYREGEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_COMPANYREG_LIBRARY)
|
||||
# define ALIBABACLOUD_COMPANYREG_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_COMPANYREG_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_COMPANYREG_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_COMPANYREGEXPORT_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_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT GenerateCompanyRegUploadPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GenerateCompanyRegUploadPolicyRequest();
|
||||
~GenerateCompanyRegUploadPolicyRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getBizSubCode()const;
|
||||
void setBizSubCode(const std::string& bizSubCode);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string bizCode_;
|
||||
std::string bizSubCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT GenerateCompanyRegUploadPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GenerateCompanyRegUploadPolicyResult();
|
||||
explicit GenerateCompanyRegUploadPolicyResult(const std::string &payload);
|
||||
~GenerateCompanyRegUploadPolicyResult();
|
||||
std::string getFileDir()const;
|
||||
std::string getEncodedPolicy()const;
|
||||
long getMin()const;
|
||||
std::string getAccessId()const;
|
||||
long getMax()const;
|
||||
std::string getSignature()const;
|
||||
std::string getHost()const;
|
||||
std::string getEncryption()const;
|
||||
long getExpireTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string fileDir_;
|
||||
std::string encodedPolicy_;
|
||||
long min_;
|
||||
std::string accessId_;
|
||||
long max_;
|
||||
std::string signature_;
|
||||
std::string host_;
|
||||
std::string encryption_;
|
||||
long expireTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GENERATECOMPANYREGUPLOADPOLICYRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT GetCompanyRegOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetCompanyRegOrderRequest();
|
||||
~GetCompanyRegOrderRequest();
|
||||
|
||||
std::string getActionTypes()const;
|
||||
void setActionTypes(const std::string& actionTypes);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
int getMaxOperationSize()const;
|
||||
void setMaxOperationSize(int maxOperationSize);
|
||||
std::string getBizSubCode()const;
|
||||
void setBizSubCode(const std::string& bizSubCode);
|
||||
|
||||
private:
|
||||
std::string actionTypes_;
|
||||
std::string bizCode_;
|
||||
std::string bizId_;
|
||||
int maxOperationSize_;
|
||||
std::string bizSubCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERREQUEST_H_
|
||||
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERRESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT GetCompanyRegOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BizOperation
|
||||
{
|
||||
std::string actionType;
|
||||
long gmtAction;
|
||||
std::string actionInfo;
|
||||
};
|
||||
|
||||
|
||||
GetCompanyRegOrderResult();
|
||||
explicit GetCompanyRegOrderResult(const std::string &payload);
|
||||
~GetCompanyRegOrderResult();
|
||||
std::string getBizInfo()const;
|
||||
std::string getOutboundPhone()const;
|
||||
std::string getSupplementBizInfo()const;
|
||||
long getGmtModified()const;
|
||||
std::string getBizStatus()const;
|
||||
std::string getBizStatusStage()const;
|
||||
std::string getPlatformName()const;
|
||||
std::string getCompanyName()const;
|
||||
std::string getAliyunOrderId()const;
|
||||
std::string getExtend()const;
|
||||
float getOrderAmount()const;
|
||||
long getGmtPaid()const;
|
||||
std::string getBizSubCode()const;
|
||||
std::vector<BizOperation> getOperations()const;
|
||||
std::string getBizId()const;
|
||||
float getYunMarketOrderAmount()const;
|
||||
std::string getInboundPhone()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string bizInfo_;
|
||||
std::string outboundPhone_;
|
||||
std::string supplementBizInfo_;
|
||||
long gmtModified_;
|
||||
std::string bizStatus_;
|
||||
std::string bizStatusStage_;
|
||||
std::string platformName_;
|
||||
std::string companyName_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string extend_;
|
||||
float orderAmount_;
|
||||
long gmtPaid_;
|
||||
std::string bizSubCode_;
|
||||
std::vector<BizOperation> operations_;
|
||||
std::string bizId_;
|
||||
float yunMarketOrderAmount_;
|
||||
std::string inboundPhone_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_GETCOMPANYREGORDERRESULT_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_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegConsultationsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCompanyRegConsultationsRequest();
|
||||
~ListCompanyRegConsultationsRequest();
|
||||
|
||||
long getEndGmtCreate()const;
|
||||
void setEndGmtCreate(long endGmtCreate);
|
||||
std::string getCity()const;
|
||||
void setCity(const std::string& city);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
long getStartGmtCreate()const;
|
||||
void setStartGmtCreate(long startGmtCreate);
|
||||
|
||||
private:
|
||||
long endGmtCreate_;
|
||||
std::string city_;
|
||||
int pageNum_;
|
||||
std::string bizCode_;
|
||||
int pageSize_;
|
||||
std::string bizId_;
|
||||
long startGmtCreate_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSRESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegConsultationsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CompanyRegConsultation
|
||||
{
|
||||
std::string platformName;
|
||||
std::string consultInfo;
|
||||
std::string outboundPhone;
|
||||
long gmtModified;
|
||||
std::string city;
|
||||
std::string bizId;
|
||||
std::string inboundPhone;
|
||||
};
|
||||
|
||||
|
||||
ListCompanyRegConsultationsResult();
|
||||
explicit ListCompanyRegConsultationsResult(const std::string &payload);
|
||||
~ListCompanyRegConsultationsResult();
|
||||
bool getPrePage()const;
|
||||
int getCurrentPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPageNum()const;
|
||||
std::vector<CompanyRegConsultation> getData()const;
|
||||
int getTotalItemNum()const;
|
||||
bool getNextPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool prePage_;
|
||||
int currentPageNum_;
|
||||
int pageSize_;
|
||||
int totalPageNum_;
|
||||
std::vector<CompanyRegConsultation> data_;
|
||||
int totalItemNum_;
|
||||
bool nextPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGCONSULTATIONSRESULT_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_COMPANYREG_MODEL_LISTCOMPANYREGORDERSREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegOrdersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCompanyRegOrdersRequest();
|
||||
~ListCompanyRegOrdersRequest();
|
||||
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getBizStatus()const;
|
||||
void setBizStatus(const std::string& bizStatus);
|
||||
std::string getCompanyName()const;
|
||||
void setCompanyName(const std::string& companyName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAliyunOrderId()const;
|
||||
void setAliyunOrderId(const std::string& aliyunOrderId);
|
||||
std::string getBizSubCode()const;
|
||||
void setBizSubCode(const std::string& bizSubCode);
|
||||
|
||||
private:
|
||||
int pageNum_;
|
||||
std::string bizCode_;
|
||||
std::string bizStatus_;
|
||||
std::string companyName_;
|
||||
int pageSize_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string bizSubCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSRESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT ListCompanyRegOrdersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CompanyRegOrder
|
||||
{
|
||||
std::string companyName;
|
||||
std::string aliyunOrderId;
|
||||
std::string bizInfo;
|
||||
std::string supplementBizInfo;
|
||||
std::string extend;
|
||||
long gmtModified;
|
||||
std::string bizSubCode;
|
||||
std::string bizId;
|
||||
std::string bizStatus;
|
||||
};
|
||||
|
||||
|
||||
ListCompanyRegOrdersResult();
|
||||
explicit ListCompanyRegOrdersResult(const std::string &payload);
|
||||
~ListCompanyRegOrdersResult();
|
||||
bool getPrePage()const;
|
||||
int getCurrentPageNum()const;
|
||||
int getPageSize()const;
|
||||
int getTotalPageNum()const;
|
||||
std::vector<CompanyRegOrder> getData()const;
|
||||
int getTotalItemNum()const;
|
||||
bool getNextPage()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool prePage_;
|
||||
int currentPageNum_;
|
||||
int pageSize_;
|
||||
int totalPageNum_;
|
||||
std::vector<CompanyRegOrder> data_;
|
||||
int totalItemNum_;
|
||||
bool nextPage_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_LISTCOMPANYREGORDERSRESULT_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_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT ProcessCompanyRegOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ProcessCompanyRegOrderRequest();
|
||||
~ProcessCompanyRegOrderRequest();
|
||||
|
||||
std::string getActionType()const;
|
||||
void setActionType(const std::string& actionType);
|
||||
std::string getActionRequestId()const;
|
||||
void setActionRequestId(const std::string& actionRequestId);
|
||||
int getOperatorType()const;
|
||||
void setOperatorType(int operatorType);
|
||||
std::string getActionInfo()const;
|
||||
void setActionInfo(const std::string& actionInfo);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getBizSubCode()const;
|
||||
void setBizSubCode(const std::string& bizSubCode);
|
||||
|
||||
private:
|
||||
std::string actionType_;
|
||||
std::string actionRequestId_;
|
||||
int operatorType_;
|
||||
std::string actionInfo_;
|
||||
std::string bizCode_;
|
||||
std::string bizId_;
|
||||
std::string bizSubCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERREQUEST_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_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERRESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT ProcessCompanyRegOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ProcessCompanyRegOrderResult();
|
||||
explicit ProcessCompanyRegOrderResult(const std::string &payload);
|
||||
~ProcessCompanyRegOrderResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_PROCESSCOMPANYREGORDERRESULT_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_COMPANYREG_MODEL_SENDVCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT SendVcodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendVcodeRequest();
|
||||
~SendVcodeRequest();
|
||||
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
|
||||
private:
|
||||
std::string mobile_;
|
||||
std::string bizCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODERESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT SendVcodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SendVcodeResult();
|
||||
explicit SendVcodeResult(const std::string &payload);
|
||||
~SendVcodeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SENDVCODERESULT_H_
|
||||
@@ -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_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTEREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT SubmitCommunicationNoteRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitCommunicationNoteRequest();
|
||||
~SubmitCommunicationNoteRequest();
|
||||
|
||||
std::string getNote()const;
|
||||
void setNote(const std::string& note);
|
||||
int getType()const;
|
||||
void setType(int type);
|
||||
std::string getActionRequestId()const;
|
||||
void setActionRequestId(const std::string& actionRequestId);
|
||||
int getOperatorType()const;
|
||||
void setOperatorType(int operatorType);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
|
||||
private:
|
||||
std::string note_;
|
||||
int type_;
|
||||
std::string actionRequestId_;
|
||||
int operatorType_;
|
||||
std::string bizCode_;
|
||||
std::string bizId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTERESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT SubmitCommunicationNoteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitCommunicationNoteResult();
|
||||
explicit SubmitCommunicationNoteResult(const std::string &payload);
|
||||
~SubmitCommunicationNoteResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCOMMUNICATIONNOTERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT SubmitConsultationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitConsultationRequest();
|
||||
~SubmitConsultationRequest();
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getVcode()const;
|
||||
void setVcode(const std::string& vcode);
|
||||
std::string getBizCode()const;
|
||||
void setBizCode(const std::string& bizCode);
|
||||
std::string getConsultRequestId()const;
|
||||
void setConsultRequestId(const std::string& consultRequestId);
|
||||
std::string getBizSubCode()const;
|
||||
void setBizSubCode(const std::string& bizSubCode);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string vcode_;
|
||||
std::string bizCode_;
|
||||
std::string consultRequestId_;
|
||||
std::string bizSubCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONRESULT_H_
|
||||
#define ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/companyreg/CompanyregExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Companyreg
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPANYREG_EXPORT SubmitConsultationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitConsultationResult();
|
||||
explicit SubmitConsultationResult(const std::string &payload);
|
||||
~SubmitConsultationResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPANYREG_MODEL_SUBMITCONSULTATIONRESULT_H_
|
||||
341
companyreg/src/CompanyregClient.cc
Normal file
341
companyreg/src/CompanyregClient.cc
Normal file
@@ -0,0 +1,341 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/companyreg/CompanyregClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "companyreg";
|
||||
}
|
||||
|
||||
CompanyregClient::CompanyregClient(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, "companyreg");
|
||||
}
|
||||
|
||||
CompanyregClient::CompanyregClient(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, "companyreg");
|
||||
}
|
||||
|
||||
CompanyregClient::CompanyregClient(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, "companyreg");
|
||||
}
|
||||
|
||||
CompanyregClient::~CompanyregClient()
|
||||
{}
|
||||
|
||||
CompanyregClient::GenerateCompanyRegUploadPolicyOutcome CompanyregClient::generateCompanyRegUploadPolicy(const GenerateCompanyRegUploadPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GenerateCompanyRegUploadPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GenerateCompanyRegUploadPolicyOutcome(GenerateCompanyRegUploadPolicyResult(outcome.result()));
|
||||
else
|
||||
return GenerateCompanyRegUploadPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::generateCompanyRegUploadPolicyAsync(const GenerateCompanyRegUploadPolicyRequest& request, const GenerateCompanyRegUploadPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, generateCompanyRegUploadPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::GenerateCompanyRegUploadPolicyOutcomeCallable CompanyregClient::generateCompanyRegUploadPolicyCallable(const GenerateCompanyRegUploadPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GenerateCompanyRegUploadPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->generateCompanyRegUploadPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::GetCompanyRegOrderOutcome CompanyregClient::getCompanyRegOrder(const GetCompanyRegOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetCompanyRegOrderOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetCompanyRegOrderOutcome(GetCompanyRegOrderResult(outcome.result()));
|
||||
else
|
||||
return GetCompanyRegOrderOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::getCompanyRegOrderAsync(const GetCompanyRegOrderRequest& request, const GetCompanyRegOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getCompanyRegOrder(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::GetCompanyRegOrderOutcomeCallable CompanyregClient::getCompanyRegOrderCallable(const GetCompanyRegOrderRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetCompanyRegOrderOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getCompanyRegOrder(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::ListCompanyRegConsultationsOutcome CompanyregClient::listCompanyRegConsultations(const ListCompanyRegConsultationsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCompanyRegConsultationsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCompanyRegConsultationsOutcome(ListCompanyRegConsultationsResult(outcome.result()));
|
||||
else
|
||||
return ListCompanyRegConsultationsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::listCompanyRegConsultationsAsync(const ListCompanyRegConsultationsRequest& request, const ListCompanyRegConsultationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCompanyRegConsultations(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::ListCompanyRegConsultationsOutcomeCallable CompanyregClient::listCompanyRegConsultationsCallable(const ListCompanyRegConsultationsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCompanyRegConsultationsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCompanyRegConsultations(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::ListCompanyRegOrdersOutcome CompanyregClient::listCompanyRegOrders(const ListCompanyRegOrdersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCompanyRegOrdersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCompanyRegOrdersOutcome(ListCompanyRegOrdersResult(outcome.result()));
|
||||
else
|
||||
return ListCompanyRegOrdersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::listCompanyRegOrdersAsync(const ListCompanyRegOrdersRequest& request, const ListCompanyRegOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCompanyRegOrders(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::ListCompanyRegOrdersOutcomeCallable CompanyregClient::listCompanyRegOrdersCallable(const ListCompanyRegOrdersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCompanyRegOrdersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCompanyRegOrders(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::ProcessCompanyRegOrderOutcome CompanyregClient::processCompanyRegOrder(const ProcessCompanyRegOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ProcessCompanyRegOrderOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ProcessCompanyRegOrderOutcome(ProcessCompanyRegOrderResult(outcome.result()));
|
||||
else
|
||||
return ProcessCompanyRegOrderOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::processCompanyRegOrderAsync(const ProcessCompanyRegOrderRequest& request, const ProcessCompanyRegOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, processCompanyRegOrder(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::ProcessCompanyRegOrderOutcomeCallable CompanyregClient::processCompanyRegOrderCallable(const ProcessCompanyRegOrderRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ProcessCompanyRegOrderOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->processCompanyRegOrder(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::SendVcodeOutcome CompanyregClient::sendVcode(const SendVcodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendVcodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendVcodeOutcome(SendVcodeResult(outcome.result()));
|
||||
else
|
||||
return SendVcodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::sendVcodeAsync(const SendVcodeRequest& request, const SendVcodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendVcode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::SendVcodeOutcomeCallable CompanyregClient::sendVcodeCallable(const SendVcodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendVcodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendVcode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::SubmitCommunicationNoteOutcome CompanyregClient::submitCommunicationNote(const SubmitCommunicationNoteRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SubmitCommunicationNoteOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SubmitCommunicationNoteOutcome(SubmitCommunicationNoteResult(outcome.result()));
|
||||
else
|
||||
return SubmitCommunicationNoteOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::submitCommunicationNoteAsync(const SubmitCommunicationNoteRequest& request, const SubmitCommunicationNoteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, submitCommunicationNote(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::SubmitCommunicationNoteOutcomeCallable CompanyregClient::submitCommunicationNoteCallable(const SubmitCommunicationNoteRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SubmitCommunicationNoteOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->submitCommunicationNote(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CompanyregClient::SubmitConsultationOutcome CompanyregClient::submitConsultation(const SubmitConsultationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SubmitConsultationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SubmitConsultationOutcome(SubmitConsultationResult(outcome.result()));
|
||||
else
|
||||
return SubmitConsultationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CompanyregClient::submitConsultationAsync(const SubmitConsultationRequest& request, const SubmitConsultationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, submitConsultation(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CompanyregClient::SubmitConsultationOutcomeCallable CompanyregClient::submitConsultationCallable(const SubmitConsultationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SubmitConsultationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->submitConsultation(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
@@ -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/companyreg/model/GenerateCompanyRegUploadPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::GenerateCompanyRegUploadPolicyRequest;
|
||||
|
||||
GenerateCompanyRegUploadPolicyRequest::GenerateCompanyRegUploadPolicyRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "GenerateCompanyRegUploadPolicy")
|
||||
{}
|
||||
|
||||
GenerateCompanyRegUploadPolicyRequest::~GenerateCompanyRegUploadPolicyRequest()
|
||||
{}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyRequest::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
void GenerateCompanyRegUploadPolicyRequest::setData(const std::string& data)
|
||||
{
|
||||
data_ = data;
|
||||
setCoreParameter("Data", data);
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void GenerateCompanyRegUploadPolicyRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyRequest::getBizSubCode()const
|
||||
{
|
||||
return bizSubCode_;
|
||||
}
|
||||
|
||||
void GenerateCompanyRegUploadPolicyRequest::setBizSubCode(const std::string& bizSubCode)
|
||||
{
|
||||
bizSubCode_ = bizSubCode;
|
||||
setCoreParameter("BizSubCode", bizSubCode);
|
||||
}
|
||||
|
||||
107
companyreg/src/model/GenerateCompanyRegUploadPolicyResult.cc
Normal file
107
companyreg/src/model/GenerateCompanyRegUploadPolicyResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/companyreg/model/GenerateCompanyRegUploadPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
GenerateCompanyRegUploadPolicyResult::GenerateCompanyRegUploadPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GenerateCompanyRegUploadPolicyResult::GenerateCompanyRegUploadPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GenerateCompanyRegUploadPolicyResult::~GenerateCompanyRegUploadPolicyResult()
|
||||
{}
|
||||
|
||||
void GenerateCompanyRegUploadPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["AccessId"].isNull())
|
||||
accessId_ = value["AccessId"].asString();
|
||||
if(!value["Signature"].isNull())
|
||||
signature_ = value["Signature"].asString();
|
||||
if(!value["FileDir"].isNull())
|
||||
fileDir_ = value["FileDir"].asString();
|
||||
if(!value["Host"].isNull())
|
||||
host_ = value["Host"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = std::stol(value["ExpireTime"].asString());
|
||||
if(!value["EncodedPolicy"].isNull())
|
||||
encodedPolicy_ = value["EncodedPolicy"].asString();
|
||||
if(!value["Min"].isNull())
|
||||
min_ = std::stol(value["Min"].asString());
|
||||
if(!value["Max"].isNull())
|
||||
max_ = std::stol(value["Max"].asString());
|
||||
if(!value["Encryption"].isNull())
|
||||
encryption_ = value["Encryption"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyResult::getFileDir()const
|
||||
{
|
||||
return fileDir_;
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyResult::getEncodedPolicy()const
|
||||
{
|
||||
return encodedPolicy_;
|
||||
}
|
||||
|
||||
long GenerateCompanyRegUploadPolicyResult::getMin()const
|
||||
{
|
||||
return min_;
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyResult::getAccessId()const
|
||||
{
|
||||
return accessId_;
|
||||
}
|
||||
|
||||
long GenerateCompanyRegUploadPolicyResult::getMax()const
|
||||
{
|
||||
return max_;
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyResult::getSignature()const
|
||||
{
|
||||
return signature_;
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyResult::getHost()const
|
||||
{
|
||||
return host_;
|
||||
}
|
||||
|
||||
std::string GenerateCompanyRegUploadPolicyResult::getEncryption()const
|
||||
{
|
||||
return encryption_;
|
||||
}
|
||||
|
||||
long GenerateCompanyRegUploadPolicyResult::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
82
companyreg/src/model/GetCompanyRegOrderRequest.cc
Normal file
82
companyreg/src/model/GetCompanyRegOrderRequest.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/companyreg/model/GetCompanyRegOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::GetCompanyRegOrderRequest;
|
||||
|
||||
GetCompanyRegOrderRequest::GetCompanyRegOrderRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "GetCompanyRegOrder")
|
||||
{}
|
||||
|
||||
GetCompanyRegOrderRequest::~GetCompanyRegOrderRequest()
|
||||
{}
|
||||
|
||||
std::string GetCompanyRegOrderRequest::getActionTypes()const
|
||||
{
|
||||
return actionTypes_;
|
||||
}
|
||||
|
||||
void GetCompanyRegOrderRequest::setActionTypes(const std::string& actionTypes)
|
||||
{
|
||||
actionTypes_ = actionTypes;
|
||||
setCoreParameter("ActionTypes", actionTypes);
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void GetCompanyRegOrderRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void GetCompanyRegOrderRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setCoreParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
int GetCompanyRegOrderRequest::getMaxOperationSize()const
|
||||
{
|
||||
return maxOperationSize_;
|
||||
}
|
||||
|
||||
void GetCompanyRegOrderRequest::setMaxOperationSize(int maxOperationSize)
|
||||
{
|
||||
maxOperationSize_ = maxOperationSize;
|
||||
setCoreParameter("MaxOperationSize", std::to_string(maxOperationSize));
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderRequest::getBizSubCode()const
|
||||
{
|
||||
return bizSubCode_;
|
||||
}
|
||||
|
||||
void GetCompanyRegOrderRequest::setBizSubCode(const std::string& bizSubCode)
|
||||
{
|
||||
bizSubCode_ = bizSubCode;
|
||||
setCoreParameter("BizSubCode", bizSubCode);
|
||||
}
|
||||
|
||||
173
companyreg/src/model/GetCompanyRegOrderResult.cc
Normal file
173
companyreg/src/model/GetCompanyRegOrderResult.cc
Normal file
@@ -0,0 +1,173 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/companyreg/model/GetCompanyRegOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
GetCompanyRegOrderResult::GetCompanyRegOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetCompanyRegOrderResult::GetCompanyRegOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetCompanyRegOrderResult::~GetCompanyRegOrderResult()
|
||||
{}
|
||||
|
||||
void GetCompanyRegOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOperations = value["Operations"]["BizOperation"];
|
||||
for (auto value : allOperations)
|
||||
{
|
||||
BizOperation operationsObject;
|
||||
if(!value["GmtAction"].isNull())
|
||||
operationsObject.gmtAction = std::stol(value["GmtAction"].asString());
|
||||
if(!value["ActionType"].isNull())
|
||||
operationsObject.actionType = value["ActionType"].asString();
|
||||
if(!value["ActionInfo"].isNull())
|
||||
operationsObject.actionInfo = value["ActionInfo"].asString();
|
||||
operations_.push_back(operationsObject);
|
||||
}
|
||||
if(!value["BizId"].isNull())
|
||||
bizId_ = value["BizId"].asString();
|
||||
if(!value["CompanyName"].isNull())
|
||||
companyName_ = value["CompanyName"].asString();
|
||||
if(!value["BizStatus"].isNull())
|
||||
bizStatus_ = value["BizStatus"].asString();
|
||||
if(!value["BizInfo"].isNull())
|
||||
bizInfo_ = value["BizInfo"].asString();
|
||||
if(!value["SupplementBizInfo"].isNull())
|
||||
supplementBizInfo_ = value["SupplementBizInfo"].asString();
|
||||
if(!value["AliyunOrderId"].isNull())
|
||||
aliyunOrderId_ = value["AliyunOrderId"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
gmtModified_ = std::stol(value["GmtModified"].asString());
|
||||
if(!value["OrderAmount"].isNull())
|
||||
orderAmount_ = std::stof(value["OrderAmount"].asString());
|
||||
if(!value["YunMarketOrderAmount"].isNull())
|
||||
yunMarketOrderAmount_ = std::stof(value["YunMarketOrderAmount"].asString());
|
||||
if(!value["GmtPaid"].isNull())
|
||||
gmtPaid_ = std::stol(value["GmtPaid"].asString());
|
||||
if(!value["Extend"].isNull())
|
||||
extend_ = value["Extend"].asString();
|
||||
if(!value["BizStatusStage"].isNull())
|
||||
bizStatusStage_ = value["BizStatusStage"].asString();
|
||||
if(!value["PlatformName"].isNull())
|
||||
platformName_ = value["PlatformName"].asString();
|
||||
if(!value["InboundPhone"].isNull())
|
||||
inboundPhone_ = value["InboundPhone"].asString();
|
||||
if(!value["OutboundPhone"].isNull())
|
||||
outboundPhone_ = value["OutboundPhone"].asString();
|
||||
if(!value["BizSubCode"].isNull())
|
||||
bizSubCode_ = value["BizSubCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getBizInfo()const
|
||||
{
|
||||
return bizInfo_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getOutboundPhone()const
|
||||
{
|
||||
return outboundPhone_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getSupplementBizInfo()const
|
||||
{
|
||||
return supplementBizInfo_;
|
||||
}
|
||||
|
||||
long GetCompanyRegOrderResult::getGmtModified()const
|
||||
{
|
||||
return gmtModified_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getBizStatus()const
|
||||
{
|
||||
return bizStatus_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getBizStatusStage()const
|
||||
{
|
||||
return bizStatusStage_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getPlatformName()const
|
||||
{
|
||||
return platformName_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getCompanyName()const
|
||||
{
|
||||
return companyName_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getAliyunOrderId()const
|
||||
{
|
||||
return aliyunOrderId_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getExtend()const
|
||||
{
|
||||
return extend_;
|
||||
}
|
||||
|
||||
float GetCompanyRegOrderResult::getOrderAmount()const
|
||||
{
|
||||
return orderAmount_;
|
||||
}
|
||||
|
||||
long GetCompanyRegOrderResult::getGmtPaid()const
|
||||
{
|
||||
return gmtPaid_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getBizSubCode()const
|
||||
{
|
||||
return bizSubCode_;
|
||||
}
|
||||
|
||||
std::vector<GetCompanyRegOrderResult::BizOperation> GetCompanyRegOrderResult::getOperations()const
|
||||
{
|
||||
return operations_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
float GetCompanyRegOrderResult::getYunMarketOrderAmount()const
|
||||
{
|
||||
return yunMarketOrderAmount_;
|
||||
}
|
||||
|
||||
std::string GetCompanyRegOrderResult::getInboundPhone()const
|
||||
{
|
||||
return inboundPhone_;
|
||||
}
|
||||
|
||||
104
companyreg/src/model/ListCompanyRegConsultationsRequest.cc
Normal file
104
companyreg/src/model/ListCompanyRegConsultationsRequest.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/companyreg/model/ListCompanyRegConsultationsRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::ListCompanyRegConsultationsRequest;
|
||||
|
||||
ListCompanyRegConsultationsRequest::ListCompanyRegConsultationsRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "ListCompanyRegConsultations")
|
||||
{}
|
||||
|
||||
ListCompanyRegConsultationsRequest::~ListCompanyRegConsultationsRequest()
|
||||
{}
|
||||
|
||||
long ListCompanyRegConsultationsRequest::getEndGmtCreate()const
|
||||
{
|
||||
return endGmtCreate_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setEndGmtCreate(long endGmtCreate)
|
||||
{
|
||||
endGmtCreate_ = endGmtCreate;
|
||||
setCoreParameter("EndGmtCreate", std::to_string(endGmtCreate));
|
||||
}
|
||||
|
||||
std::string ListCompanyRegConsultationsRequest::getCity()const
|
||||
{
|
||||
return city_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setCity(const std::string& city)
|
||||
{
|
||||
city_ = city;
|
||||
setCoreParameter("City", city);
|
||||
}
|
||||
|
||||
int ListCompanyRegConsultationsRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string ListCompanyRegConsultationsRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
int ListCompanyRegConsultationsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListCompanyRegConsultationsRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setCoreParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
long ListCompanyRegConsultationsRequest::getStartGmtCreate()const
|
||||
{
|
||||
return startGmtCreate_;
|
||||
}
|
||||
|
||||
void ListCompanyRegConsultationsRequest::setStartGmtCreate(long startGmtCreate)
|
||||
{
|
||||
startGmtCreate_ = startGmtCreate;
|
||||
setCoreParameter("StartGmtCreate", std::to_string(startGmtCreate));
|
||||
}
|
||||
|
||||
111
companyreg/src/model/ListCompanyRegConsultationsResult.cc
Normal file
111
companyreg/src/model/ListCompanyRegConsultationsResult.cc
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/companyreg/model/ListCompanyRegConsultationsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
ListCompanyRegConsultationsResult::ListCompanyRegConsultationsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCompanyRegConsultationsResult::ListCompanyRegConsultationsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCompanyRegConsultationsResult::~ListCompanyRegConsultationsResult()
|
||||
{}
|
||||
|
||||
void ListCompanyRegConsultationsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["CompanyRegConsultation"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
CompanyRegConsultation dataObject;
|
||||
if(!value["BizId"].isNull())
|
||||
dataObject.bizId = value["BizId"].asString();
|
||||
if(!value["ConsultInfo"].isNull())
|
||||
dataObject.consultInfo = value["ConsultInfo"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
dataObject.gmtModified = std::stol(value["GmtModified"].asString());
|
||||
if(!value["City"].isNull())
|
||||
dataObject.city = value["City"].asString();
|
||||
if(!value["PlatformName"].isNull())
|
||||
dataObject.platformName = value["PlatformName"].asString();
|
||||
if(!value["InboundPhone"].isNull())
|
||||
dataObject.inboundPhone = value["InboundPhone"].asString();
|
||||
if(!value["OutboundPhone"].isNull())
|
||||
dataObject.outboundPhone = value["OutboundPhone"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool ListCompanyRegConsultationsResult::getPrePage()const
|
||||
{
|
||||
return prePage_;
|
||||
}
|
||||
|
||||
int ListCompanyRegConsultationsResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int ListCompanyRegConsultationsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int ListCompanyRegConsultationsResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<ListCompanyRegConsultationsResult::CompanyRegConsultation> ListCompanyRegConsultationsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int ListCompanyRegConsultationsResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
bool ListCompanyRegConsultationsResult::getNextPage()const
|
||||
{
|
||||
return nextPage_;
|
||||
}
|
||||
|
||||
104
companyreg/src/model/ListCompanyRegOrdersRequest.cc
Normal file
104
companyreg/src/model/ListCompanyRegOrdersRequest.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/companyreg/model/ListCompanyRegOrdersRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::ListCompanyRegOrdersRequest;
|
||||
|
||||
ListCompanyRegOrdersRequest::ListCompanyRegOrdersRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "ListCompanyRegOrders")
|
||||
{}
|
||||
|
||||
ListCompanyRegOrdersRequest::~ListCompanyRegOrdersRequest()
|
||||
{}
|
||||
|
||||
int ListCompanyRegOrdersRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string ListCompanyRegOrdersRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
std::string ListCompanyRegOrdersRequest::getBizStatus()const
|
||||
{
|
||||
return bizStatus_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setBizStatus(const std::string& bizStatus)
|
||||
{
|
||||
bizStatus_ = bizStatus;
|
||||
setCoreParameter("BizStatus", bizStatus);
|
||||
}
|
||||
|
||||
std::string ListCompanyRegOrdersRequest::getCompanyName()const
|
||||
{
|
||||
return companyName_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setCompanyName(const std::string& companyName)
|
||||
{
|
||||
companyName_ = companyName;
|
||||
setCoreParameter("CompanyName", companyName);
|
||||
}
|
||||
|
||||
int ListCompanyRegOrdersRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListCompanyRegOrdersRequest::getAliyunOrderId()const
|
||||
{
|
||||
return aliyunOrderId_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setAliyunOrderId(const std::string& aliyunOrderId)
|
||||
{
|
||||
aliyunOrderId_ = aliyunOrderId;
|
||||
setCoreParameter("AliyunOrderId", aliyunOrderId);
|
||||
}
|
||||
|
||||
std::string ListCompanyRegOrdersRequest::getBizSubCode()const
|
||||
{
|
||||
return bizSubCode_;
|
||||
}
|
||||
|
||||
void ListCompanyRegOrdersRequest::setBizSubCode(const std::string& bizSubCode)
|
||||
{
|
||||
bizSubCode_ = bizSubCode;
|
||||
setCoreParameter("BizSubCode", bizSubCode);
|
||||
}
|
||||
|
||||
115
companyreg/src/model/ListCompanyRegOrdersResult.cc
Normal file
115
companyreg/src/model/ListCompanyRegOrdersResult.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/companyreg/model/ListCompanyRegOrdersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
ListCompanyRegOrdersResult::ListCompanyRegOrdersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCompanyRegOrdersResult::ListCompanyRegOrdersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCompanyRegOrdersResult::~ListCompanyRegOrdersResult()
|
||||
{}
|
||||
|
||||
void ListCompanyRegOrdersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allData = value["Data"]["CompanyRegOrder"];
|
||||
for (auto value : allData)
|
||||
{
|
||||
CompanyRegOrder dataObject;
|
||||
if(!value["BizId"].isNull())
|
||||
dataObject.bizId = value["BizId"].asString();
|
||||
if(!value["CompanyName"].isNull())
|
||||
dataObject.companyName = value["CompanyName"].asString();
|
||||
if(!value["BizStatus"].isNull())
|
||||
dataObject.bizStatus = value["BizStatus"].asString();
|
||||
if(!value["BizInfo"].isNull())
|
||||
dataObject.bizInfo = value["BizInfo"].asString();
|
||||
if(!value["SupplementBizInfo"].isNull())
|
||||
dataObject.supplementBizInfo = value["SupplementBizInfo"].asString();
|
||||
if(!value["AliyunOrderId"].isNull())
|
||||
dataObject.aliyunOrderId = value["AliyunOrderId"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
dataObject.gmtModified = std::stol(value["GmtModified"].asString());
|
||||
if(!value["Extend"].isNull())
|
||||
dataObject.extend = value["Extend"].asString();
|
||||
if(!value["BizSubCode"].isNull())
|
||||
dataObject.bizSubCode = value["BizSubCode"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["TotalItemNum"].isNull())
|
||||
totalItemNum_ = std::stoi(value["TotalItemNum"].asString());
|
||||
if(!value["CurrentPageNum"].isNull())
|
||||
currentPageNum_ = std::stoi(value["CurrentPageNum"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalPageNum"].isNull())
|
||||
totalPageNum_ = std::stoi(value["TotalPageNum"].asString());
|
||||
if(!value["PrePage"].isNull())
|
||||
prePage_ = value["PrePage"].asString() == "true";
|
||||
if(!value["NextPage"].isNull())
|
||||
nextPage_ = value["NextPage"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
bool ListCompanyRegOrdersResult::getPrePage()const
|
||||
{
|
||||
return prePage_;
|
||||
}
|
||||
|
||||
int ListCompanyRegOrdersResult::getCurrentPageNum()const
|
||||
{
|
||||
return currentPageNum_;
|
||||
}
|
||||
|
||||
int ListCompanyRegOrdersResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int ListCompanyRegOrdersResult::getTotalPageNum()const
|
||||
{
|
||||
return totalPageNum_;
|
||||
}
|
||||
|
||||
std::vector<ListCompanyRegOrdersResult::CompanyRegOrder> ListCompanyRegOrdersResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int ListCompanyRegOrdersResult::getTotalItemNum()const
|
||||
{
|
||||
return totalItemNum_;
|
||||
}
|
||||
|
||||
bool ListCompanyRegOrdersResult::getNextPage()const
|
||||
{
|
||||
return nextPage_;
|
||||
}
|
||||
|
||||
104
companyreg/src/model/ProcessCompanyRegOrderRequest.cc
Normal file
104
companyreg/src/model/ProcessCompanyRegOrderRequest.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/companyreg/model/ProcessCompanyRegOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::ProcessCompanyRegOrderRequest;
|
||||
|
||||
ProcessCompanyRegOrderRequest::ProcessCompanyRegOrderRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "ProcessCompanyRegOrder")
|
||||
{}
|
||||
|
||||
ProcessCompanyRegOrderRequest::~ProcessCompanyRegOrderRequest()
|
||||
{}
|
||||
|
||||
std::string ProcessCompanyRegOrderRequest::getActionType()const
|
||||
{
|
||||
return actionType_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setActionType(const std::string& actionType)
|
||||
{
|
||||
actionType_ = actionType;
|
||||
setCoreParameter("ActionType", actionType);
|
||||
}
|
||||
|
||||
std::string ProcessCompanyRegOrderRequest::getActionRequestId()const
|
||||
{
|
||||
return actionRequestId_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setActionRequestId(const std::string& actionRequestId)
|
||||
{
|
||||
actionRequestId_ = actionRequestId;
|
||||
setCoreParameter("ActionRequestId", actionRequestId);
|
||||
}
|
||||
|
||||
int ProcessCompanyRegOrderRequest::getOperatorType()const
|
||||
{
|
||||
return operatorType_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setOperatorType(int operatorType)
|
||||
{
|
||||
operatorType_ = operatorType;
|
||||
setCoreParameter("OperatorType", std::to_string(operatorType));
|
||||
}
|
||||
|
||||
std::string ProcessCompanyRegOrderRequest::getActionInfo()const
|
||||
{
|
||||
return actionInfo_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setActionInfo(const std::string& actionInfo)
|
||||
{
|
||||
actionInfo_ = actionInfo;
|
||||
setCoreParameter("ActionInfo", actionInfo);
|
||||
}
|
||||
|
||||
std::string ProcessCompanyRegOrderRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
std::string ProcessCompanyRegOrderRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setCoreParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
std::string ProcessCompanyRegOrderRequest::getBizSubCode()const
|
||||
{
|
||||
return bizSubCode_;
|
||||
}
|
||||
|
||||
void ProcessCompanyRegOrderRequest::setBizSubCode(const std::string& bizSubCode)
|
||||
{
|
||||
bizSubCode_ = bizSubCode;
|
||||
setCoreParameter("BizSubCode", bizSubCode);
|
||||
}
|
||||
|
||||
51
companyreg/src/model/ProcessCompanyRegOrderResult.cc
Normal file
51
companyreg/src/model/ProcessCompanyRegOrderResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/companyreg/model/ProcessCompanyRegOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
ProcessCompanyRegOrderResult::ProcessCompanyRegOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ProcessCompanyRegOrderResult::ProcessCompanyRegOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ProcessCompanyRegOrderResult::~ProcessCompanyRegOrderResult()
|
||||
{}
|
||||
|
||||
void ProcessCompanyRegOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ProcessCompanyRegOrderResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
49
companyreg/src/model/SendVcodeRequest.cc
Normal file
49
companyreg/src/model/SendVcodeRequest.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/companyreg/model/SendVcodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::SendVcodeRequest;
|
||||
|
||||
SendVcodeRequest::SendVcodeRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "SendVcode")
|
||||
{}
|
||||
|
||||
SendVcodeRequest::~SendVcodeRequest()
|
||||
{}
|
||||
|
||||
std::string SendVcodeRequest::getMobile()const
|
||||
{
|
||||
return mobile_;
|
||||
}
|
||||
|
||||
void SendVcodeRequest::setMobile(const std::string& mobile)
|
||||
{
|
||||
mobile_ = mobile;
|
||||
setCoreParameter("Mobile", mobile);
|
||||
}
|
||||
|
||||
std::string SendVcodeRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void SendVcodeRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/SendVcodeResult.cc
Normal file
44
companyreg/src/model/SendVcodeResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/companyreg/model/SendVcodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
SendVcodeResult::SendVcodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendVcodeResult::SendVcodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendVcodeResult::~SendVcodeResult()
|
||||
{}
|
||||
|
||||
void SendVcodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
93
companyreg/src/model/SubmitCommunicationNoteRequest.cc
Normal file
93
companyreg/src/model/SubmitCommunicationNoteRequest.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/companyreg/model/SubmitCommunicationNoteRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::SubmitCommunicationNoteRequest;
|
||||
|
||||
SubmitCommunicationNoteRequest::SubmitCommunicationNoteRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "SubmitCommunicationNote")
|
||||
{}
|
||||
|
||||
SubmitCommunicationNoteRequest::~SubmitCommunicationNoteRequest()
|
||||
{}
|
||||
|
||||
std::string SubmitCommunicationNoteRequest::getNote()const
|
||||
{
|
||||
return note_;
|
||||
}
|
||||
|
||||
void SubmitCommunicationNoteRequest::setNote(const std::string& note)
|
||||
{
|
||||
note_ = note;
|
||||
setCoreParameter("Note", note);
|
||||
}
|
||||
|
||||
int SubmitCommunicationNoteRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void SubmitCommunicationNoteRequest::setType(int type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", std::to_string(type));
|
||||
}
|
||||
|
||||
std::string SubmitCommunicationNoteRequest::getActionRequestId()const
|
||||
{
|
||||
return actionRequestId_;
|
||||
}
|
||||
|
||||
void SubmitCommunicationNoteRequest::setActionRequestId(const std::string& actionRequestId)
|
||||
{
|
||||
actionRequestId_ = actionRequestId;
|
||||
setCoreParameter("ActionRequestId", actionRequestId);
|
||||
}
|
||||
|
||||
int SubmitCommunicationNoteRequest::getOperatorType()const
|
||||
{
|
||||
return operatorType_;
|
||||
}
|
||||
|
||||
void SubmitCommunicationNoteRequest::setOperatorType(int operatorType)
|
||||
{
|
||||
operatorType_ = operatorType;
|
||||
setCoreParameter("OperatorType", std::to_string(operatorType));
|
||||
}
|
||||
|
||||
std::string SubmitCommunicationNoteRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void SubmitCommunicationNoteRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
std::string SubmitCommunicationNoteRequest::getBizId()const
|
||||
{
|
||||
return bizId_;
|
||||
}
|
||||
|
||||
void SubmitCommunicationNoteRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setCoreParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/SubmitCommunicationNoteResult.cc
Normal file
44
companyreg/src/model/SubmitCommunicationNoteResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/companyreg/model/SubmitCommunicationNoteResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
SubmitCommunicationNoteResult::SubmitCommunicationNoteResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SubmitCommunicationNoteResult::SubmitCommunicationNoteResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SubmitCommunicationNoteResult::~SubmitCommunicationNoteResult()
|
||||
{}
|
||||
|
||||
void SubmitCommunicationNoteResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
82
companyreg/src/model/SubmitConsultationRequest.cc
Normal file
82
companyreg/src/model/SubmitConsultationRequest.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/companyreg/model/SubmitConsultationRequest.h>
|
||||
|
||||
using AlibabaCloud::Companyreg::Model::SubmitConsultationRequest;
|
||||
|
||||
SubmitConsultationRequest::SubmitConsultationRequest() :
|
||||
RpcServiceRequest("companyreg", "2019-05-08", "SubmitConsultation")
|
||||
{}
|
||||
|
||||
SubmitConsultationRequest::~SubmitConsultationRequest()
|
||||
{}
|
||||
|
||||
std::string SubmitConsultationRequest::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
void SubmitConsultationRequest::setData(const std::string& data)
|
||||
{
|
||||
data_ = data;
|
||||
setCoreParameter("Data", data);
|
||||
}
|
||||
|
||||
std::string SubmitConsultationRequest::getVcode()const
|
||||
{
|
||||
return vcode_;
|
||||
}
|
||||
|
||||
void SubmitConsultationRequest::setVcode(const std::string& vcode)
|
||||
{
|
||||
vcode_ = vcode;
|
||||
setCoreParameter("Vcode", vcode);
|
||||
}
|
||||
|
||||
std::string SubmitConsultationRequest::getBizCode()const
|
||||
{
|
||||
return bizCode_;
|
||||
}
|
||||
|
||||
void SubmitConsultationRequest::setBizCode(const std::string& bizCode)
|
||||
{
|
||||
bizCode_ = bizCode;
|
||||
setCoreParameter("BizCode", bizCode);
|
||||
}
|
||||
|
||||
std::string SubmitConsultationRequest::getConsultRequestId()const
|
||||
{
|
||||
return consultRequestId_;
|
||||
}
|
||||
|
||||
void SubmitConsultationRequest::setConsultRequestId(const std::string& consultRequestId)
|
||||
{
|
||||
consultRequestId_ = consultRequestId;
|
||||
setCoreParameter("ConsultRequestId", consultRequestId);
|
||||
}
|
||||
|
||||
std::string SubmitConsultationRequest::getBizSubCode()const
|
||||
{
|
||||
return bizSubCode_;
|
||||
}
|
||||
|
||||
void SubmitConsultationRequest::setBizSubCode(const std::string& bizSubCode)
|
||||
{
|
||||
bizSubCode_ = bizSubCode;
|
||||
setCoreParameter("BizSubCode", bizSubCode);
|
||||
}
|
||||
|
||||
44
companyreg/src/model/SubmitConsultationResult.cc
Normal file
44
companyreg/src/model/SubmitConsultationResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/companyreg/model/SubmitConsultationResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Companyreg;
|
||||
using namespace AlibabaCloud::Companyreg::Model;
|
||||
|
||||
SubmitConsultationResult::SubmitConsultationResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SubmitConsultationResult::SubmitConsultationResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SubmitConsultationResult::~SubmitConsultationResult()
|
||||
{}
|
||||
|
||||
void SubmitConsultationResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user