Compare commits
43 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40e28f2005 | ||
|
|
2e0f1478c6 | ||
|
|
8c7efaba0f | ||
|
|
fd5e85ebf9 | ||
|
|
ef538b5d54 | ||
|
|
4e92d5b648 | ||
|
|
befcff9add | ||
|
|
78426b2c35 | ||
|
|
1c37d47f07 | ||
|
|
afc1ac57c3 | ||
|
|
7ad42a297f | ||
|
|
b2cade322d | ||
|
|
5d8d514785 | ||
|
|
d4d30d5bb7 | ||
|
|
8c606d0357 | ||
|
|
4a7816979a | ||
|
|
ca3378ac03 | ||
|
|
0859b911b2 | ||
|
|
29b4bc0ce3 | ||
|
|
d37523f568 | ||
|
|
928fc975b9 | ||
|
|
6365b9f02d | ||
|
|
fbc3817ea1 | ||
|
|
db6a17b08c | ||
|
|
d80ca0d7e2 | ||
|
|
83f9047345 | ||
|
|
458e22b006 | ||
|
|
a375fa9d99 | ||
|
|
c8d90808f0 | ||
|
|
886cef155f | ||
|
|
051077c805 | ||
|
|
589d7c0177 | ||
|
|
22313c7d61 | ||
|
|
192ded93b1 | ||
|
|
dde68d8a28 | ||
|
|
b299d10992 | ||
|
|
5c871c6dcd | ||
|
|
3312e299ac | ||
|
|
60bb031e74 | ||
|
|
d74432d350 | ||
|
|
7ddae594ab | ||
|
|
3a727a7cb8 | ||
|
|
c0327a8b18 |
138
beian/CMakeLists.txt
Normal file
138
beian/CMakeLists.txt
Normal file
@@ -0,0 +1,138 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(beian_public_header
|
||||
include/alibabacloud/beian/BeianClient.h
|
||||
include/alibabacloud/beian/BeianExport.h )
|
||||
|
||||
set(beian_public_header_model
|
||||
include/alibabacloud/beian/model/DeleteUnbeianIpCheckTypeRequest.h
|
||||
include/alibabacloud/beian/model/DeleteUnbeianIpCheckTypeResult.h
|
||||
include/alibabacloud/beian/model/GetMainDomainRequest.h
|
||||
include/alibabacloud/beian/model/GetMainDomainResult.h
|
||||
include/alibabacloud/beian/model/InsertUnbeianIpCheckTypeRequest.h
|
||||
include/alibabacloud/beian/model/InsertUnbeianIpCheckTypeResult.h
|
||||
include/alibabacloud/beian/model/ListUnbeianIpCheckTypeRequest.h
|
||||
include/alibabacloud/beian/model/ListUnbeianIpCheckTypeResult.h
|
||||
include/alibabacloud/beian/model/ManageAccessorDomainRequest.h
|
||||
include/alibabacloud/beian/model/ManageAccessorDomainResult.h
|
||||
include/alibabacloud/beian/model/ManageAccessorDomainWhiteListRequest.h
|
||||
include/alibabacloud/beian/model/ManageAccessorDomainWhiteListResult.h
|
||||
include/alibabacloud/beian/model/ManageAccessorIpRequest.h
|
||||
include/alibabacloud/beian/model/ManageAccessorIpResult.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainRequest.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainResult.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainListRequest.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainListResult.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainStatusRequest.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainStatusResult.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainWhiteListRequest.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainWhiteListResult.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainsStatusRequest.h
|
||||
include/alibabacloud/beian/model/QueryAccessorDomainsStatusResult.h
|
||||
include/alibabacloud/beian/model/QueryAccessorIpRequest.h
|
||||
include/alibabacloud/beian/model/QueryAccessorIpResult.h
|
||||
include/alibabacloud/beian/model/SubmitAccessorFullDomainsOssListRequest.h
|
||||
include/alibabacloud/beian/model/SubmitAccessorFullDomainsOssListResult.h )
|
||||
|
||||
set(beian_src
|
||||
src/BeianClient.cc
|
||||
src/model/DeleteUnbeianIpCheckTypeRequest.cc
|
||||
src/model/DeleteUnbeianIpCheckTypeResult.cc
|
||||
src/model/GetMainDomainRequest.cc
|
||||
src/model/GetMainDomainResult.cc
|
||||
src/model/InsertUnbeianIpCheckTypeRequest.cc
|
||||
src/model/InsertUnbeianIpCheckTypeResult.cc
|
||||
src/model/ListUnbeianIpCheckTypeRequest.cc
|
||||
src/model/ListUnbeianIpCheckTypeResult.cc
|
||||
src/model/ManageAccessorDomainRequest.cc
|
||||
src/model/ManageAccessorDomainResult.cc
|
||||
src/model/ManageAccessorDomainWhiteListRequest.cc
|
||||
src/model/ManageAccessorDomainWhiteListResult.cc
|
||||
src/model/ManageAccessorIpRequest.cc
|
||||
src/model/ManageAccessorIpResult.cc
|
||||
src/model/QueryAccessorDomainRequest.cc
|
||||
src/model/QueryAccessorDomainResult.cc
|
||||
src/model/QueryAccessorDomainListRequest.cc
|
||||
src/model/QueryAccessorDomainListResult.cc
|
||||
src/model/QueryAccessorDomainStatusRequest.cc
|
||||
src/model/QueryAccessorDomainStatusResult.cc
|
||||
src/model/QueryAccessorDomainWhiteListRequest.cc
|
||||
src/model/QueryAccessorDomainWhiteListResult.cc
|
||||
src/model/QueryAccessorDomainsStatusRequest.cc
|
||||
src/model/QueryAccessorDomainsStatusResult.cc
|
||||
src/model/QueryAccessorIpRequest.cc
|
||||
src/model/QueryAccessorIpResult.cc
|
||||
src/model/SubmitAccessorFullDomainsOssListRequest.cc
|
||||
src/model/SubmitAccessorFullDomainsOssListResult.cc )
|
||||
|
||||
add_library(beian ${LIB_TYPE}
|
||||
${beian_public_header}
|
||||
${beian_public_header_model}
|
||||
${beian_src})
|
||||
|
||||
set_target_properties(beian
|
||||
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}beian
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(beian
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_BEIAN_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(beian
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(beian
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(beian
|
||||
jsoncpp)
|
||||
target_include_directories(beian
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(beian
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(beian
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(beian
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(beian
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${beian_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/beian)
|
||||
install(FILES ${beian_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/beian/model)
|
||||
install(TARGETS beian
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
158
beian/include/alibabacloud/beian/BeianClient.h
Normal file
158
beian/include/alibabacloud/beian/BeianClient.h
Normal file
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BEIAN_BEIANCLIENT_H_
|
||||
#define ALIBABACLOUD_BEIAN_BEIANCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "BeianExport.h"
|
||||
#include "model/DeleteUnbeianIpCheckTypeRequest.h"
|
||||
#include "model/DeleteUnbeianIpCheckTypeResult.h"
|
||||
#include "model/GetMainDomainRequest.h"
|
||||
#include "model/GetMainDomainResult.h"
|
||||
#include "model/InsertUnbeianIpCheckTypeRequest.h"
|
||||
#include "model/InsertUnbeianIpCheckTypeResult.h"
|
||||
#include "model/ListUnbeianIpCheckTypeRequest.h"
|
||||
#include "model/ListUnbeianIpCheckTypeResult.h"
|
||||
#include "model/ManageAccessorDomainRequest.h"
|
||||
#include "model/ManageAccessorDomainResult.h"
|
||||
#include "model/ManageAccessorDomainWhiteListRequest.h"
|
||||
#include "model/ManageAccessorDomainWhiteListResult.h"
|
||||
#include "model/ManageAccessorIpRequest.h"
|
||||
#include "model/ManageAccessorIpResult.h"
|
||||
#include "model/QueryAccessorDomainRequest.h"
|
||||
#include "model/QueryAccessorDomainResult.h"
|
||||
#include "model/QueryAccessorDomainListRequest.h"
|
||||
#include "model/QueryAccessorDomainListResult.h"
|
||||
#include "model/QueryAccessorDomainStatusRequest.h"
|
||||
#include "model/QueryAccessorDomainStatusResult.h"
|
||||
#include "model/QueryAccessorDomainWhiteListRequest.h"
|
||||
#include "model/QueryAccessorDomainWhiteListResult.h"
|
||||
#include "model/QueryAccessorDomainsStatusRequest.h"
|
||||
#include "model/QueryAccessorDomainsStatusResult.h"
|
||||
#include "model/QueryAccessorIpRequest.h"
|
||||
#include "model/QueryAccessorIpResult.h"
|
||||
#include "model/SubmitAccessorFullDomainsOssListRequest.h"
|
||||
#include "model/SubmitAccessorFullDomainsOssListResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT BeianClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::DeleteUnbeianIpCheckTypeResult> DeleteUnbeianIpCheckTypeOutcome;
|
||||
typedef std::future<DeleteUnbeianIpCheckTypeOutcome> DeleteUnbeianIpCheckTypeOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::DeleteUnbeianIpCheckTypeRequest&, const DeleteUnbeianIpCheckTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUnbeianIpCheckTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMainDomainResult> GetMainDomainOutcome;
|
||||
typedef std::future<GetMainDomainOutcome> GetMainDomainOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::GetMainDomainRequest&, const GetMainDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMainDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::InsertUnbeianIpCheckTypeResult> InsertUnbeianIpCheckTypeOutcome;
|
||||
typedef std::future<InsertUnbeianIpCheckTypeOutcome> InsertUnbeianIpCheckTypeOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::InsertUnbeianIpCheckTypeRequest&, const InsertUnbeianIpCheckTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertUnbeianIpCheckTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUnbeianIpCheckTypeResult> ListUnbeianIpCheckTypeOutcome;
|
||||
typedef std::future<ListUnbeianIpCheckTypeOutcome> ListUnbeianIpCheckTypeOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::ListUnbeianIpCheckTypeRequest&, const ListUnbeianIpCheckTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUnbeianIpCheckTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ManageAccessorDomainResult> ManageAccessorDomainOutcome;
|
||||
typedef std::future<ManageAccessorDomainOutcome> ManageAccessorDomainOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::ManageAccessorDomainRequest&, const ManageAccessorDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ManageAccessorDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::ManageAccessorDomainWhiteListResult> ManageAccessorDomainWhiteListOutcome;
|
||||
typedef std::future<ManageAccessorDomainWhiteListOutcome> ManageAccessorDomainWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::ManageAccessorDomainWhiteListRequest&, const ManageAccessorDomainWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ManageAccessorDomainWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ManageAccessorIpResult> ManageAccessorIpOutcome;
|
||||
typedef std::future<ManageAccessorIpOutcome> ManageAccessorIpOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::ManageAccessorIpRequest&, const ManageAccessorIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ManageAccessorIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccessorDomainResult> QueryAccessorDomainOutcome;
|
||||
typedef std::future<QueryAccessorDomainOutcome> QueryAccessorDomainOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::QueryAccessorDomainRequest&, const QueryAccessorDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccessorDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccessorDomainListResult> QueryAccessorDomainListOutcome;
|
||||
typedef std::future<QueryAccessorDomainListOutcome> QueryAccessorDomainListOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::QueryAccessorDomainListRequest&, const QueryAccessorDomainListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccessorDomainListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccessorDomainStatusResult> QueryAccessorDomainStatusOutcome;
|
||||
typedef std::future<QueryAccessorDomainStatusOutcome> QueryAccessorDomainStatusOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::QueryAccessorDomainStatusRequest&, const QueryAccessorDomainStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccessorDomainStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccessorDomainWhiteListResult> QueryAccessorDomainWhiteListOutcome;
|
||||
typedef std::future<QueryAccessorDomainWhiteListOutcome> QueryAccessorDomainWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::QueryAccessorDomainWhiteListRequest&, const QueryAccessorDomainWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccessorDomainWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccessorDomainsStatusResult> QueryAccessorDomainsStatusOutcome;
|
||||
typedef std::future<QueryAccessorDomainsStatusOutcome> QueryAccessorDomainsStatusOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::QueryAccessorDomainsStatusRequest&, const QueryAccessorDomainsStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccessorDomainsStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryAccessorIpResult> QueryAccessorIpOutcome;
|
||||
typedef std::future<QueryAccessorIpOutcome> QueryAccessorIpOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::QueryAccessorIpRequest&, const QueryAccessorIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryAccessorIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitAccessorFullDomainsOssListResult> SubmitAccessorFullDomainsOssListOutcome;
|
||||
typedef std::future<SubmitAccessorFullDomainsOssListOutcome> SubmitAccessorFullDomainsOssListOutcomeCallable;
|
||||
typedef std::function<void(const BeianClient*, const Model::SubmitAccessorFullDomainsOssListRequest&, const SubmitAccessorFullDomainsOssListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitAccessorFullDomainsOssListAsyncHandler;
|
||||
|
||||
BeianClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
BeianClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
BeianClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~BeianClient();
|
||||
DeleteUnbeianIpCheckTypeOutcome deleteUnbeianIpCheckType(const Model::DeleteUnbeianIpCheckTypeRequest &request)const;
|
||||
void deleteUnbeianIpCheckTypeAsync(const Model::DeleteUnbeianIpCheckTypeRequest& request, const DeleteUnbeianIpCheckTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUnbeianIpCheckTypeOutcomeCallable deleteUnbeianIpCheckTypeCallable(const Model::DeleteUnbeianIpCheckTypeRequest& request) const;
|
||||
GetMainDomainOutcome getMainDomain(const Model::GetMainDomainRequest &request)const;
|
||||
void getMainDomainAsync(const Model::GetMainDomainRequest& request, const GetMainDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMainDomainOutcomeCallable getMainDomainCallable(const Model::GetMainDomainRequest& request) const;
|
||||
InsertUnbeianIpCheckTypeOutcome insertUnbeianIpCheckType(const Model::InsertUnbeianIpCheckTypeRequest &request)const;
|
||||
void insertUnbeianIpCheckTypeAsync(const Model::InsertUnbeianIpCheckTypeRequest& request, const InsertUnbeianIpCheckTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InsertUnbeianIpCheckTypeOutcomeCallable insertUnbeianIpCheckTypeCallable(const Model::InsertUnbeianIpCheckTypeRequest& request) const;
|
||||
ListUnbeianIpCheckTypeOutcome listUnbeianIpCheckType(const Model::ListUnbeianIpCheckTypeRequest &request)const;
|
||||
void listUnbeianIpCheckTypeAsync(const Model::ListUnbeianIpCheckTypeRequest& request, const ListUnbeianIpCheckTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUnbeianIpCheckTypeOutcomeCallable listUnbeianIpCheckTypeCallable(const Model::ListUnbeianIpCheckTypeRequest& request) const;
|
||||
ManageAccessorDomainOutcome manageAccessorDomain(const Model::ManageAccessorDomainRequest &request)const;
|
||||
void manageAccessorDomainAsync(const Model::ManageAccessorDomainRequest& request, const ManageAccessorDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ManageAccessorDomainOutcomeCallable manageAccessorDomainCallable(const Model::ManageAccessorDomainRequest& request) const;
|
||||
ManageAccessorDomainWhiteListOutcome manageAccessorDomainWhiteList(const Model::ManageAccessorDomainWhiteListRequest &request)const;
|
||||
void manageAccessorDomainWhiteListAsync(const Model::ManageAccessorDomainWhiteListRequest& request, const ManageAccessorDomainWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ManageAccessorDomainWhiteListOutcomeCallable manageAccessorDomainWhiteListCallable(const Model::ManageAccessorDomainWhiteListRequest& request) const;
|
||||
ManageAccessorIpOutcome manageAccessorIp(const Model::ManageAccessorIpRequest &request)const;
|
||||
void manageAccessorIpAsync(const Model::ManageAccessorIpRequest& request, const ManageAccessorIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ManageAccessorIpOutcomeCallable manageAccessorIpCallable(const Model::ManageAccessorIpRequest& request) const;
|
||||
QueryAccessorDomainOutcome queryAccessorDomain(const Model::QueryAccessorDomainRequest &request)const;
|
||||
void queryAccessorDomainAsync(const Model::QueryAccessorDomainRequest& request, const QueryAccessorDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccessorDomainOutcomeCallable queryAccessorDomainCallable(const Model::QueryAccessorDomainRequest& request) const;
|
||||
QueryAccessorDomainListOutcome queryAccessorDomainList(const Model::QueryAccessorDomainListRequest &request)const;
|
||||
void queryAccessorDomainListAsync(const Model::QueryAccessorDomainListRequest& request, const QueryAccessorDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccessorDomainListOutcomeCallable queryAccessorDomainListCallable(const Model::QueryAccessorDomainListRequest& request) const;
|
||||
QueryAccessorDomainStatusOutcome queryAccessorDomainStatus(const Model::QueryAccessorDomainStatusRequest &request)const;
|
||||
void queryAccessorDomainStatusAsync(const Model::QueryAccessorDomainStatusRequest& request, const QueryAccessorDomainStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccessorDomainStatusOutcomeCallable queryAccessorDomainStatusCallable(const Model::QueryAccessorDomainStatusRequest& request) const;
|
||||
QueryAccessorDomainWhiteListOutcome queryAccessorDomainWhiteList(const Model::QueryAccessorDomainWhiteListRequest &request)const;
|
||||
void queryAccessorDomainWhiteListAsync(const Model::QueryAccessorDomainWhiteListRequest& request, const QueryAccessorDomainWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccessorDomainWhiteListOutcomeCallable queryAccessorDomainWhiteListCallable(const Model::QueryAccessorDomainWhiteListRequest& request) const;
|
||||
QueryAccessorDomainsStatusOutcome queryAccessorDomainsStatus(const Model::QueryAccessorDomainsStatusRequest &request)const;
|
||||
void queryAccessorDomainsStatusAsync(const Model::QueryAccessorDomainsStatusRequest& request, const QueryAccessorDomainsStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccessorDomainsStatusOutcomeCallable queryAccessorDomainsStatusCallable(const Model::QueryAccessorDomainsStatusRequest& request) const;
|
||||
QueryAccessorIpOutcome queryAccessorIp(const Model::QueryAccessorIpRequest &request)const;
|
||||
void queryAccessorIpAsync(const Model::QueryAccessorIpRequest& request, const QueryAccessorIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryAccessorIpOutcomeCallable queryAccessorIpCallable(const Model::QueryAccessorIpRequest& request) const;
|
||||
SubmitAccessorFullDomainsOssListOutcome submitAccessorFullDomainsOssList(const Model::SubmitAccessorFullDomainsOssListRequest &request)const;
|
||||
void submitAccessorFullDomainsOssListAsync(const Model::SubmitAccessorFullDomainsOssListRequest& request, const SubmitAccessorFullDomainsOssListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitAccessorFullDomainsOssListOutcomeCallable submitAccessorFullDomainsOssListCallable(const Model::SubmitAccessorFullDomainsOssListRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_BEIAN_BEIANCLIENT_H_
|
||||
32
beian/include/alibabacloud/beian/BeianExport.h
Normal file
32
beian/include/alibabacloud/beian/BeianExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_BEIANEXPORT_H_
|
||||
#define ALIBABACLOUD_BEIAN_BEIANEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_BEIAN_LIBRARY)
|
||||
# define ALIBABACLOUD_BEIAN_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_BEIAN_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_BEIAN_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_BEIAN_BEIANEXPORT_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_BEIAN_MODEL_DELETEUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_DELETEUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT DeleteUnbeianIpCheckTypeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteUnbeianIpCheckTypeRequest();
|
||||
~DeleteUnbeianIpCheckTypeRequest();
|
||||
std::string getIp() const;
|
||||
void setIp(const std::string &ip);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
|
||||
private:
|
||||
std::string ip_;
|
||||
std::string remark_;
|
||||
int checkType_;
|
||||
std::string caller_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_DELETEUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_DELETEUNBEIANIPCHECKTYPERESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_DELETEUNBEIANIPCHECKTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT DeleteUnbeianIpCheckTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HuntressIpCheckTypeResultDO
|
||||
{
|
||||
std::string msg;
|
||||
bool success;
|
||||
};
|
||||
|
||||
|
||||
DeleteUnbeianIpCheckTypeResult();
|
||||
explicit DeleteUnbeianIpCheckTypeResult(const std::string &payload);
|
||||
~DeleteUnbeianIpCheckTypeResult();
|
||||
HuntressIpCheckTypeResultDO getHuntressIpCheckTypeResultDO()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_DELETEUNBEIANIPCHECKTYPERESULT_H_
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_GETMAINDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_GETMAINDOMAINREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT GetMainDomainRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetMainDomainRequest();
|
||||
~GetMainDomainRequest();
|
||||
std::string getDomain() const;
|
||||
void setDomain(const std::string &domain);
|
||||
|
||||
private:
|
||||
std::string domain_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_GETMAINDOMAINREQUEST_H_
|
||||
55
beian/include/alibabacloud/beian/model/GetMainDomainResult.h
Normal file
55
beian/include/alibabacloud/beian/model/GetMainDomainResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_GETMAINDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_GETMAINDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT GetMainDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetMainDomainResult();
|
||||
explicit GetMainDomainResult(const std::string &payload);
|
||||
~GetMainDomainResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_GETMAINDOMAINRESULT_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_BEIAN_MODEL_INSERTUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_INSERTUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT InsertUnbeianIpCheckTypeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
InsertUnbeianIpCheckTypeRequest();
|
||||
~InsertUnbeianIpCheckTypeRequest();
|
||||
std::string getIp() const;
|
||||
void setIp(const std::string &ip);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
|
||||
private:
|
||||
std::string ip_;
|
||||
std::string remark_;
|
||||
int checkType_;
|
||||
std::string caller_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_INSERTUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_INSERTUNBEIANIPCHECKTYPERESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_INSERTUNBEIANIPCHECKTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT InsertUnbeianIpCheckTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HuntressIpCheckTypeResultDO
|
||||
{
|
||||
std::string msg;
|
||||
bool success;
|
||||
};
|
||||
|
||||
|
||||
InsertUnbeianIpCheckTypeResult();
|
||||
explicit InsertUnbeianIpCheckTypeResult(const std::string &payload);
|
||||
~InsertUnbeianIpCheckTypeResult();
|
||||
HuntressIpCheckTypeResultDO getHuntressIpCheckTypeResultDO()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_INSERTUNBEIANIPCHECKTYPERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_LISTUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_LISTUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ListUnbeianIpCheckTypeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListUnbeianIpCheckTypeRequest();
|
||||
~ListUnbeianIpCheckTypeRequest();
|
||||
std::string getIp() const;
|
||||
void setIp(const std::string &ip);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
int getCheckType() const;
|
||||
void setCheckType(int checkType);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
int getLimit() const;
|
||||
void setLimit(int limit);
|
||||
int getPage() const;
|
||||
void setPage(int page);
|
||||
|
||||
private:
|
||||
std::string ip_;
|
||||
std::string remark_;
|
||||
int checkType_;
|
||||
std::string caller_;
|
||||
int limit_;
|
||||
int page_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_LISTUNBEIANIPCHECKTYPEREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_LISTUNBEIANIPCHECKTYPERESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_LISTUNBEIANIPCHECKTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ListUnbeianIpCheckTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct HuntressIpCheckTypeResultDO
|
||||
{
|
||||
struct ListItem
|
||||
{
|
||||
std::string caller;
|
||||
int checkType;
|
||||
std::string ip;
|
||||
long aliuid;
|
||||
std::string remark;
|
||||
};
|
||||
std::string msg;
|
||||
std::vector<ListItem> list;
|
||||
bool success;
|
||||
};
|
||||
|
||||
|
||||
ListUnbeianIpCheckTypeResult();
|
||||
explicit ListUnbeianIpCheckTypeResult(const std::string &payload);
|
||||
~ListUnbeianIpCheckTypeResult();
|
||||
HuntressIpCheckTypeResultDO getHuntressIpCheckTypeResultDO()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
HuntressIpCheckTypeResultDO huntressIpCheckTypeResultDO_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_LISTUNBEIANIPCHECKTYPERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ManageAccessorDomainRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ManageAccessorDomainRequest();
|
||||
~ManageAccessorDomainRequest();
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
std::string getDomain() const;
|
||||
void setDomain(const std::string &domain);
|
||||
std::string getOperation() const;
|
||||
void setOperation(const std::string &operation);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
std::string domain_;
|
||||
std::string operation_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINREQUEST_H_
|
||||
@@ -14,29 +14,29 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DeleteMultiRateConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ManageAccessorDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMultiRateConfigResult();
|
||||
explicit DeleteMultiRateConfigResult(const std::string &payload);
|
||||
~DeleteMultiRateConfigResult();
|
||||
ManageAccessorDomainResult();
|
||||
explicit ManageAccessorDomainResult(const std::string &payload);
|
||||
~ManageAccessorDomainResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
@@ -50,4 +50,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETEMULTIRATECONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINWHITELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ManageAccessorDomainWhiteListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ManageAccessorDomainWhiteListRequest();
|
||||
~ManageAccessorDomainWhiteListRequest();
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::vector<std::string> getDomains() const;
|
||||
void setDomains(const std::vector<std::string> &domains);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
std::string getOperation() const;
|
||||
void setOperation(const std::string &operation);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::vector<std::string> domains_;
|
||||
std::string remark_;
|
||||
std::string startTime_;
|
||||
std::string caller_;
|
||||
std::string operation_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINWHITELISTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BEIAN_MODEL_MANAGEACCESSORDOMAINWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ManageAccessorDomainWhiteListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ManageAccessorDomainWhiteListResult();
|
||||
explicit ManageAccessorDomainWhiteListResult(const std::string &payload);
|
||||
~ManageAccessorDomainWhiteListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORDOMAINWHITELISTRESULT_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_BEIAN_MODEL_MANAGEACCESSORIPREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORIPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ManageAccessorIpRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ManageAccessorIpRequest();
|
||||
~ManageAccessorIpRequest();
|
||||
std::string getIp() const;
|
||||
void setIp(const std::string &ip);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
int getIpVersion() const;
|
||||
void setIpVersion(int ipVersion);
|
||||
std::string getOperation() const;
|
||||
void setOperation(const std::string &operation);
|
||||
|
||||
private:
|
||||
std::string ip_;
|
||||
std::string remark_;
|
||||
std::string caller_;
|
||||
int ipVersion_;
|
||||
std::string operation_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORIPREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BEIAN_MODEL_MANAGEACCESSORIPRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORIPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT ManageAccessorIpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ManageAccessorIpResult();
|
||||
explicit ManageAccessorIpResult(const std::string &payload);
|
||||
~ManageAccessorIpResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_MANAGEACCESSORIPRESULT_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_BEIAN_MODEL_QUERYACCESSORDOMAINLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAccessorDomainListRequest();
|
||||
~QueryAccessorDomainListRequest();
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
int getPageNo() const;
|
||||
void setPageNo(int pageNo);
|
||||
std::string getDomain() const;
|
||||
void setDomain(const std::string &domain);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
int pageNo_;
|
||||
std::string domain_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINLISTREQUEST_H_
|
||||
@@ -14,49 +14,46 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINLISTRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT GetMultiRateConfigListResult : public ServiceResult
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Info
|
||||
struct Data
|
||||
{
|
||||
std::string app;
|
||||
int count;
|
||||
std::string avFormat;
|
||||
std::string groupId;
|
||||
std::vector<std::string> domains;
|
||||
};
|
||||
|
||||
|
||||
GetMultiRateConfigListResult();
|
||||
explicit GetMultiRateConfigListResult(const std::string &payload);
|
||||
~GetMultiRateConfigListResult();
|
||||
QueryAccessorDomainListResult();
|
||||
explicit QueryAccessorDomainListResult(const std::string &payload);
|
||||
~QueryAccessorDomainListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Info> getGroupInfo()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Info> groupInfo_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_GETMULTIRATECONFIGLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINLISTRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAccessorDomainRequest();
|
||||
~QueryAccessorDomainRequest();
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
std::string getDomain() const;
|
||||
void setDomain(const std::string &domain);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
std::string domain_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryAccessorDomainResult();
|
||||
explicit QueryAccessorDomainResult(const std::string &payload);
|
||||
~QueryAccessorDomainResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAccessorDomainStatusRequest();
|
||||
~QueryAccessorDomainStatusRequest();
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
std::string getDomain() const;
|
||||
void setDomain(const std::string &domain);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
std::string domain_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
std::string domain;
|
||||
int reasonCode;
|
||||
std::string reason;
|
||||
};
|
||||
|
||||
|
||||
QueryAccessorDomainStatusResult();
|
||||
explicit QueryAccessorDomainStatusResult(const std::string &payload);
|
||||
~QueryAccessorDomainStatusResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSTATUSRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINWHITELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINWHITELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainWhiteListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAccessorDomainWhiteListRequest();
|
||||
~QueryAccessorDomainWhiteListRequest();
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
std::string getDomain() const;
|
||||
void setDomain(const std::string &domain);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
std::string domain_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINWHITELISTREQUEST_H_
|
||||
@@ -14,59 +14,55 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINWHITELISTRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINWHITELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT AddMultiRateConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainWhiteListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FailedTemplates
|
||||
struct Data
|
||||
{
|
||||
std::string _template;
|
||||
int fps;
|
||||
std::string gop;
|
||||
std::string templateType;
|
||||
int profile;
|
||||
int bandWidth;
|
||||
int audioBitrate;
|
||||
std::string audioProfile;
|
||||
int height;
|
||||
int audioChannelNum;
|
||||
int width;
|
||||
int audioRate;
|
||||
std::string audioCodec;
|
||||
int videoBitrate;
|
||||
struct ItemsItem
|
||||
{
|
||||
std::string type;
|
||||
std::string endTime;
|
||||
bool valid;
|
||||
std::string createTime;
|
||||
std::string startTime;
|
||||
};
|
||||
bool white;
|
||||
std::vector<ItemsItem> items;
|
||||
};
|
||||
|
||||
|
||||
AddMultiRateConfigResult();
|
||||
explicit AddMultiRateConfigResult(const std::string &payload);
|
||||
~AddMultiRateConfigResult();
|
||||
QueryAccessorDomainWhiteListResult();
|
||||
explicit QueryAccessorDomainWhiteListResult(const std::string &payload);
|
||||
~QueryAccessorDomainWhiteListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<FailedTemplates> getBody()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<FailedTemplates> body_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDMULTIRATECONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINWHITELISTRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainsStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAccessorDomainsStatusRequest();
|
||||
~QueryAccessorDomainsStatusRequest();
|
||||
std::vector<std::string> getDomains() const;
|
||||
void setDomains(const std::vector<std::string> &domains);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
|
||||
private:
|
||||
std::vector<std::string> domains_;
|
||||
std::string caller_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorDomainsStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
{
|
||||
std::string status;
|
||||
std::string domain;
|
||||
int reasonCode;
|
||||
std::string reason;
|
||||
};
|
||||
|
||||
|
||||
QueryAccessorDomainsStatusResult();
|
||||
explicit QueryAccessorDomainsStatusResult(const std::string &payload);
|
||||
~QueryAccessorDomainsStatusResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<DataItem> data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORDOMAINSSTATUSRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORIPREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORIPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorIpRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAccessorIpRequest();
|
||||
~QueryAccessorIpRequest();
|
||||
std::string getIp() const;
|
||||
void setIp(const std::string &ip);
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
|
||||
private:
|
||||
std::string ip_;
|
||||
std::string caller_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORIPREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORIPRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORIPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT QueryAccessorIpResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryAccessorIpResult();
|
||||
explicit QueryAccessorIpResult(const std::string &payload);
|
||||
~QueryAccessorIpResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_QUERYACCESSORIPRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BEIAN_MODEL_SUBMITACCESSORFULLDOMAINSOSSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_SUBMITACCESSORFULLDOMAINSOSSLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Beian {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_BEIAN_EXPORT SubmitAccessorFullDomainsOssListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
SubmitAccessorFullDomainsOssListRequest();
|
||||
~SubmitAccessorFullDomainsOssListRequest();
|
||||
std::string getCaller() const;
|
||||
void setCaller(const std::string &caller);
|
||||
std::vector<std::string> getOssList() const;
|
||||
void setOssList(const std::vector<std::string> &ossList);
|
||||
|
||||
private:
|
||||
std::string caller_;
|
||||
std::vector<std::string> ossList_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Beian
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_SUBMITACCESSORFULLDOMAINSOSSLISTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_BEIAN_MODEL_SUBMITACCESSORFULLDOMAINSOSSLISTRESULT_H_
|
||||
#define ALIBABACLOUD_BEIAN_MODEL_SUBMITACCESSORFULLDOMAINSOSSLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/beian/BeianExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Beian
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_BEIAN_EXPORT SubmitAccessorFullDomainsOssListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitAccessorFullDomainsOssListResult();
|
||||
explicit SubmitAccessorFullDomainsOssListResult(const std::string &payload);
|
||||
~SubmitAccessorFullDomainsOssListResult();
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BEIAN_MODEL_SUBMITACCESSORFULLDOMAINSOSSLISTRESULT_H_
|
||||
557
beian/src/BeianClient.cc
Normal file
557
beian/src/BeianClient.cc
Normal file
@@ -0,0 +1,557 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/beian/BeianClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "Beian";
|
||||
}
|
||||
|
||||
BeianClient::BeianClient(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, "");
|
||||
}
|
||||
|
||||
BeianClient::BeianClient(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, "");
|
||||
}
|
||||
|
||||
BeianClient::BeianClient(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, "");
|
||||
}
|
||||
|
||||
BeianClient::~BeianClient()
|
||||
{}
|
||||
|
||||
BeianClient::DeleteUnbeianIpCheckTypeOutcome BeianClient::deleteUnbeianIpCheckType(const DeleteUnbeianIpCheckTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteUnbeianIpCheckTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteUnbeianIpCheckTypeOutcome(DeleteUnbeianIpCheckTypeResult(outcome.result()));
|
||||
else
|
||||
return DeleteUnbeianIpCheckTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::deleteUnbeianIpCheckTypeAsync(const DeleteUnbeianIpCheckTypeRequest& request, const DeleteUnbeianIpCheckTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteUnbeianIpCheckType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::DeleteUnbeianIpCheckTypeOutcomeCallable BeianClient::deleteUnbeianIpCheckTypeCallable(const DeleteUnbeianIpCheckTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteUnbeianIpCheckTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteUnbeianIpCheckType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::GetMainDomainOutcome BeianClient::getMainDomain(const GetMainDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMainDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMainDomainOutcome(GetMainDomainResult(outcome.result()));
|
||||
else
|
||||
return GetMainDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::getMainDomainAsync(const GetMainDomainRequest& request, const GetMainDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMainDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::GetMainDomainOutcomeCallable BeianClient::getMainDomainCallable(const GetMainDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMainDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMainDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::InsertUnbeianIpCheckTypeOutcome BeianClient::insertUnbeianIpCheckType(const InsertUnbeianIpCheckTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return InsertUnbeianIpCheckTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return InsertUnbeianIpCheckTypeOutcome(InsertUnbeianIpCheckTypeResult(outcome.result()));
|
||||
else
|
||||
return InsertUnbeianIpCheckTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::insertUnbeianIpCheckTypeAsync(const InsertUnbeianIpCheckTypeRequest& request, const InsertUnbeianIpCheckTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, insertUnbeianIpCheckType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::InsertUnbeianIpCheckTypeOutcomeCallable BeianClient::insertUnbeianIpCheckTypeCallable(const InsertUnbeianIpCheckTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<InsertUnbeianIpCheckTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->insertUnbeianIpCheckType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::ListUnbeianIpCheckTypeOutcome BeianClient::listUnbeianIpCheckType(const ListUnbeianIpCheckTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListUnbeianIpCheckTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListUnbeianIpCheckTypeOutcome(ListUnbeianIpCheckTypeResult(outcome.result()));
|
||||
else
|
||||
return ListUnbeianIpCheckTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::listUnbeianIpCheckTypeAsync(const ListUnbeianIpCheckTypeRequest& request, const ListUnbeianIpCheckTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listUnbeianIpCheckType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::ListUnbeianIpCheckTypeOutcomeCallable BeianClient::listUnbeianIpCheckTypeCallable(const ListUnbeianIpCheckTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListUnbeianIpCheckTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listUnbeianIpCheckType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::ManageAccessorDomainOutcome BeianClient::manageAccessorDomain(const ManageAccessorDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ManageAccessorDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ManageAccessorDomainOutcome(ManageAccessorDomainResult(outcome.result()));
|
||||
else
|
||||
return ManageAccessorDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::manageAccessorDomainAsync(const ManageAccessorDomainRequest& request, const ManageAccessorDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, manageAccessorDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::ManageAccessorDomainOutcomeCallable BeianClient::manageAccessorDomainCallable(const ManageAccessorDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ManageAccessorDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->manageAccessorDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::ManageAccessorDomainWhiteListOutcome BeianClient::manageAccessorDomainWhiteList(const ManageAccessorDomainWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ManageAccessorDomainWhiteListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ManageAccessorDomainWhiteListOutcome(ManageAccessorDomainWhiteListResult(outcome.result()));
|
||||
else
|
||||
return ManageAccessorDomainWhiteListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::manageAccessorDomainWhiteListAsync(const ManageAccessorDomainWhiteListRequest& request, const ManageAccessorDomainWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, manageAccessorDomainWhiteList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::ManageAccessorDomainWhiteListOutcomeCallable BeianClient::manageAccessorDomainWhiteListCallable(const ManageAccessorDomainWhiteListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ManageAccessorDomainWhiteListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->manageAccessorDomainWhiteList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::ManageAccessorIpOutcome BeianClient::manageAccessorIp(const ManageAccessorIpRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ManageAccessorIpOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ManageAccessorIpOutcome(ManageAccessorIpResult(outcome.result()));
|
||||
else
|
||||
return ManageAccessorIpOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::manageAccessorIpAsync(const ManageAccessorIpRequest& request, const ManageAccessorIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, manageAccessorIp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::ManageAccessorIpOutcomeCallable BeianClient::manageAccessorIpCallable(const ManageAccessorIpRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ManageAccessorIpOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->manageAccessorIp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainOutcome BeianClient::queryAccessorDomain(const QueryAccessorDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryAccessorDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryAccessorDomainOutcome(QueryAccessorDomainResult(outcome.result()));
|
||||
else
|
||||
return QueryAccessorDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::queryAccessorDomainAsync(const QueryAccessorDomainRequest& request, const QueryAccessorDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryAccessorDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainOutcomeCallable BeianClient::queryAccessorDomainCallable(const QueryAccessorDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryAccessorDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryAccessorDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainListOutcome BeianClient::queryAccessorDomainList(const QueryAccessorDomainListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryAccessorDomainListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryAccessorDomainListOutcome(QueryAccessorDomainListResult(outcome.result()));
|
||||
else
|
||||
return QueryAccessorDomainListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::queryAccessorDomainListAsync(const QueryAccessorDomainListRequest& request, const QueryAccessorDomainListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryAccessorDomainList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainListOutcomeCallable BeianClient::queryAccessorDomainListCallable(const QueryAccessorDomainListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryAccessorDomainListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryAccessorDomainList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainStatusOutcome BeianClient::queryAccessorDomainStatus(const QueryAccessorDomainStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryAccessorDomainStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryAccessorDomainStatusOutcome(QueryAccessorDomainStatusResult(outcome.result()));
|
||||
else
|
||||
return QueryAccessorDomainStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::queryAccessorDomainStatusAsync(const QueryAccessorDomainStatusRequest& request, const QueryAccessorDomainStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryAccessorDomainStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainStatusOutcomeCallable BeianClient::queryAccessorDomainStatusCallable(const QueryAccessorDomainStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryAccessorDomainStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryAccessorDomainStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainWhiteListOutcome BeianClient::queryAccessorDomainWhiteList(const QueryAccessorDomainWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryAccessorDomainWhiteListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryAccessorDomainWhiteListOutcome(QueryAccessorDomainWhiteListResult(outcome.result()));
|
||||
else
|
||||
return QueryAccessorDomainWhiteListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::queryAccessorDomainWhiteListAsync(const QueryAccessorDomainWhiteListRequest& request, const QueryAccessorDomainWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryAccessorDomainWhiteList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainWhiteListOutcomeCallable BeianClient::queryAccessorDomainWhiteListCallable(const QueryAccessorDomainWhiteListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryAccessorDomainWhiteListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryAccessorDomainWhiteList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainsStatusOutcome BeianClient::queryAccessorDomainsStatus(const QueryAccessorDomainsStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryAccessorDomainsStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryAccessorDomainsStatusOutcome(QueryAccessorDomainsStatusResult(outcome.result()));
|
||||
else
|
||||
return QueryAccessorDomainsStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::queryAccessorDomainsStatusAsync(const QueryAccessorDomainsStatusRequest& request, const QueryAccessorDomainsStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryAccessorDomainsStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorDomainsStatusOutcomeCallable BeianClient::queryAccessorDomainsStatusCallable(const QueryAccessorDomainsStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryAccessorDomainsStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryAccessorDomainsStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorIpOutcome BeianClient::queryAccessorIp(const QueryAccessorIpRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryAccessorIpOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryAccessorIpOutcome(QueryAccessorIpResult(outcome.result()));
|
||||
else
|
||||
return QueryAccessorIpOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::queryAccessorIpAsync(const QueryAccessorIpRequest& request, const QueryAccessorIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryAccessorIp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::QueryAccessorIpOutcomeCallable BeianClient::queryAccessorIpCallable(const QueryAccessorIpRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryAccessorIpOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryAccessorIp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
BeianClient::SubmitAccessorFullDomainsOssListOutcome BeianClient::submitAccessorFullDomainsOssList(const SubmitAccessorFullDomainsOssListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SubmitAccessorFullDomainsOssListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SubmitAccessorFullDomainsOssListOutcome(SubmitAccessorFullDomainsOssListResult(outcome.result()));
|
||||
else
|
||||
return SubmitAccessorFullDomainsOssListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void BeianClient::submitAccessorFullDomainsOssListAsync(const SubmitAccessorFullDomainsOssListRequest& request, const SubmitAccessorFullDomainsOssListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, submitAccessorFullDomainsOssList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
BeianClient::SubmitAccessorFullDomainsOssListOutcomeCallable BeianClient::submitAccessorFullDomainsOssListCallable(const SubmitAccessorFullDomainsOssListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SubmitAccessorFullDomainsOssListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->submitAccessorFullDomainsOssList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
63
beian/src/model/DeleteUnbeianIpCheckTypeRequest.cc
Normal file
63
beian/src/model/DeleteUnbeianIpCheckTypeRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/DeleteUnbeianIpCheckTypeRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::DeleteUnbeianIpCheckTypeRequest;
|
||||
|
||||
DeleteUnbeianIpCheckTypeRequest::DeleteUnbeianIpCheckTypeRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "DeleteUnbeianIpCheckType") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteUnbeianIpCheckTypeRequest::~DeleteUnbeianIpCheckTypeRequest() {}
|
||||
|
||||
std::string DeleteUnbeianIpCheckTypeRequest::getIp() const {
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void DeleteUnbeianIpCheckTypeRequest::setIp(const std::string &ip) {
|
||||
ip_ = ip;
|
||||
setParameter(std::string("Ip"), ip);
|
||||
}
|
||||
|
||||
std::string DeleteUnbeianIpCheckTypeRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void DeleteUnbeianIpCheckTypeRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
int DeleteUnbeianIpCheckTypeRequest::getCheckType() const {
|
||||
return checkType_;
|
||||
}
|
||||
|
||||
void DeleteUnbeianIpCheckTypeRequest::setCheckType(int checkType) {
|
||||
checkType_ = checkType;
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
std::string DeleteUnbeianIpCheckTypeRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void DeleteUnbeianIpCheckTypeRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
75
beian/src/model/DeleteUnbeianIpCheckTypeResult.cc
Normal file
75
beian/src/model/DeleteUnbeianIpCheckTypeResult.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/DeleteUnbeianIpCheckTypeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
DeleteUnbeianIpCheckTypeResult::DeleteUnbeianIpCheckTypeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteUnbeianIpCheckTypeResult::DeleteUnbeianIpCheckTypeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteUnbeianIpCheckTypeResult::~DeleteUnbeianIpCheckTypeResult()
|
||||
{}
|
||||
|
||||
void DeleteUnbeianIpCheckTypeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto huntressIpCheckTypeResultDONode = value["HuntressIpCheckTypeResultDO"];
|
||||
if(!huntressIpCheckTypeResultDONode["Msg"].isNull())
|
||||
huntressIpCheckTypeResultDO_.msg = huntressIpCheckTypeResultDONode["Msg"].asString();
|
||||
if(!huntressIpCheckTypeResultDONode["Success"].isNull())
|
||||
huntressIpCheckTypeResultDO_.success = huntressIpCheckTypeResultDONode["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
DeleteUnbeianIpCheckTypeResult::HuntressIpCheckTypeResultDO DeleteUnbeianIpCheckTypeResult::getHuntressIpCheckTypeResultDO()const
|
||||
{
|
||||
return huntressIpCheckTypeResultDO_;
|
||||
}
|
||||
|
||||
int DeleteUnbeianIpCheckTypeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string DeleteUnbeianIpCheckTypeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool DeleteUnbeianIpCheckTypeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
36
beian/src/model/GetMainDomainRequest.cc
Normal file
36
beian/src/model/GetMainDomainRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/beian/model/GetMainDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::GetMainDomainRequest;
|
||||
|
||||
GetMainDomainRequest::GetMainDomainRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "GetMainDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMainDomainRequest::~GetMainDomainRequest() {}
|
||||
|
||||
std::string GetMainDomainRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void GetMainDomainRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
65
beian/src/model/GetMainDomainResult.cc
Normal file
65
beian/src/model/GetMainDomainResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/GetMainDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
GetMainDomainResult::GetMainDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMainDomainResult::GetMainDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMainDomainResult::~GetMainDomainResult()
|
||||
{}
|
||||
|
||||
void GetMainDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetMainDomainResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetMainDomainResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetMainDomainResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
63
beian/src/model/InsertUnbeianIpCheckTypeRequest.cc
Normal file
63
beian/src/model/InsertUnbeianIpCheckTypeRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/InsertUnbeianIpCheckTypeRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::InsertUnbeianIpCheckTypeRequest;
|
||||
|
||||
InsertUnbeianIpCheckTypeRequest::InsertUnbeianIpCheckTypeRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "InsertUnbeianIpCheckType") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
InsertUnbeianIpCheckTypeRequest::~InsertUnbeianIpCheckTypeRequest() {}
|
||||
|
||||
std::string InsertUnbeianIpCheckTypeRequest::getIp() const {
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void InsertUnbeianIpCheckTypeRequest::setIp(const std::string &ip) {
|
||||
ip_ = ip;
|
||||
setParameter(std::string("Ip"), ip);
|
||||
}
|
||||
|
||||
std::string InsertUnbeianIpCheckTypeRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void InsertUnbeianIpCheckTypeRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
int InsertUnbeianIpCheckTypeRequest::getCheckType() const {
|
||||
return checkType_;
|
||||
}
|
||||
|
||||
void InsertUnbeianIpCheckTypeRequest::setCheckType(int checkType) {
|
||||
checkType_ = checkType;
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
std::string InsertUnbeianIpCheckTypeRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void InsertUnbeianIpCheckTypeRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
75
beian/src/model/InsertUnbeianIpCheckTypeResult.cc
Normal file
75
beian/src/model/InsertUnbeianIpCheckTypeResult.cc
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/InsertUnbeianIpCheckTypeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
InsertUnbeianIpCheckTypeResult::InsertUnbeianIpCheckTypeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
InsertUnbeianIpCheckTypeResult::InsertUnbeianIpCheckTypeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
InsertUnbeianIpCheckTypeResult::~InsertUnbeianIpCheckTypeResult()
|
||||
{}
|
||||
|
||||
void InsertUnbeianIpCheckTypeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto huntressIpCheckTypeResultDONode = value["HuntressIpCheckTypeResultDO"];
|
||||
if(!huntressIpCheckTypeResultDONode["Msg"].isNull())
|
||||
huntressIpCheckTypeResultDO_.msg = huntressIpCheckTypeResultDONode["Msg"].asString();
|
||||
if(!huntressIpCheckTypeResultDONode["Success"].isNull())
|
||||
huntressIpCheckTypeResultDO_.success = huntressIpCheckTypeResultDONode["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
InsertUnbeianIpCheckTypeResult::HuntressIpCheckTypeResultDO InsertUnbeianIpCheckTypeResult::getHuntressIpCheckTypeResultDO()const
|
||||
{
|
||||
return huntressIpCheckTypeResultDO_;
|
||||
}
|
||||
|
||||
int InsertUnbeianIpCheckTypeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string InsertUnbeianIpCheckTypeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool InsertUnbeianIpCheckTypeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
81
beian/src/model/ListUnbeianIpCheckTypeRequest.cc
Normal file
81
beian/src/model/ListUnbeianIpCheckTypeRequest.cc
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/ListUnbeianIpCheckTypeRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::ListUnbeianIpCheckTypeRequest;
|
||||
|
||||
ListUnbeianIpCheckTypeRequest::ListUnbeianIpCheckTypeRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "ListUnbeianIpCheckType") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListUnbeianIpCheckTypeRequest::~ListUnbeianIpCheckTypeRequest() {}
|
||||
|
||||
std::string ListUnbeianIpCheckTypeRequest::getIp() const {
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void ListUnbeianIpCheckTypeRequest::setIp(const std::string &ip) {
|
||||
ip_ = ip;
|
||||
setParameter(std::string("Ip"), ip);
|
||||
}
|
||||
|
||||
std::string ListUnbeianIpCheckTypeRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void ListUnbeianIpCheckTypeRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
int ListUnbeianIpCheckTypeRequest::getCheckType() const {
|
||||
return checkType_;
|
||||
}
|
||||
|
||||
void ListUnbeianIpCheckTypeRequest::setCheckType(int checkType) {
|
||||
checkType_ = checkType;
|
||||
setParameter(std::string("CheckType"), std::to_string(checkType));
|
||||
}
|
||||
|
||||
std::string ListUnbeianIpCheckTypeRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void ListUnbeianIpCheckTypeRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
int ListUnbeianIpCheckTypeRequest::getLimit() const {
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void ListUnbeianIpCheckTypeRequest::setLimit(int limit) {
|
||||
limit_ = limit;
|
||||
setParameter(std::string("Limit"), std::to_string(limit));
|
||||
}
|
||||
|
||||
int ListUnbeianIpCheckTypeRequest::getPage() const {
|
||||
return page_;
|
||||
}
|
||||
|
||||
void ListUnbeianIpCheckTypeRequest::setPage(int page) {
|
||||
page_ = page;
|
||||
setParameter(std::string("Page"), std::to_string(page));
|
||||
}
|
||||
|
||||
91
beian/src/model/ListUnbeianIpCheckTypeResult.cc
Normal file
91
beian/src/model/ListUnbeianIpCheckTypeResult.cc
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/ListUnbeianIpCheckTypeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
ListUnbeianIpCheckTypeResult::ListUnbeianIpCheckTypeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListUnbeianIpCheckTypeResult::ListUnbeianIpCheckTypeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListUnbeianIpCheckTypeResult::~ListUnbeianIpCheckTypeResult()
|
||||
{}
|
||||
|
||||
void ListUnbeianIpCheckTypeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto huntressIpCheckTypeResultDONode = value["HuntressIpCheckTypeResultDO"];
|
||||
if(!huntressIpCheckTypeResultDONode["Msg"].isNull())
|
||||
huntressIpCheckTypeResultDO_.msg = huntressIpCheckTypeResultDONode["Msg"].asString();
|
||||
if(!huntressIpCheckTypeResultDONode["Success"].isNull())
|
||||
huntressIpCheckTypeResultDO_.success = huntressIpCheckTypeResultDONode["Success"].asString() == "true";
|
||||
auto allListNode = huntressIpCheckTypeResultDONode["List"]["ListItem"];
|
||||
for (auto huntressIpCheckTypeResultDONodeListListItem : allListNode)
|
||||
{
|
||||
HuntressIpCheckTypeResultDO::ListItem listItemObject;
|
||||
if(!huntressIpCheckTypeResultDONodeListListItem["Ip"].isNull())
|
||||
listItemObject.ip = huntressIpCheckTypeResultDONodeListListItem["Ip"].asString();
|
||||
if(!huntressIpCheckTypeResultDONodeListListItem["Aliuid"].isNull())
|
||||
listItemObject.aliuid = std::stol(huntressIpCheckTypeResultDONodeListListItem["Aliuid"].asString());
|
||||
if(!huntressIpCheckTypeResultDONodeListListItem["CheckType"].isNull())
|
||||
listItemObject.checkType = std::stoi(huntressIpCheckTypeResultDONodeListListItem["CheckType"].asString());
|
||||
if(!huntressIpCheckTypeResultDONodeListListItem["Caller"].isNull())
|
||||
listItemObject.caller = huntressIpCheckTypeResultDONodeListListItem["Caller"].asString();
|
||||
if(!huntressIpCheckTypeResultDONodeListListItem["Remark"].isNull())
|
||||
listItemObject.remark = huntressIpCheckTypeResultDONodeListListItem["Remark"].asString();
|
||||
huntressIpCheckTypeResultDO_.list.push_back(listItemObject);
|
||||
}
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
ListUnbeianIpCheckTypeResult::HuntressIpCheckTypeResultDO ListUnbeianIpCheckTypeResult::getHuntressIpCheckTypeResultDO()const
|
||||
{
|
||||
return huntressIpCheckTypeResultDO_;
|
||||
}
|
||||
|
||||
int ListUnbeianIpCheckTypeResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListUnbeianIpCheckTypeResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListUnbeianIpCheckTypeResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
54
beian/src/model/ManageAccessorDomainRequest.cc
Normal file
54
beian/src/model/ManageAccessorDomainRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/ManageAccessorDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::ManageAccessorDomainRequest;
|
||||
|
||||
ManageAccessorDomainRequest::ManageAccessorDomainRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "ManageAccessorDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ManageAccessorDomainRequest::~ManageAccessorDomainRequest() {}
|
||||
|
||||
std::string ManageAccessorDomainRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteMultiRateConfigResult.h>
|
||||
#include <alibabacloud/beian/model/ManageAccessorDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
DeleteMultiRateConfigResult::DeleteMultiRateConfigResult() :
|
||||
ManageAccessorDomainResult::ManageAccessorDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMultiRateConfigResult::DeleteMultiRateConfigResult(const std::string &payload) :
|
||||
ManageAccessorDomainResult::ManageAccessorDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMultiRateConfigResult::~DeleteMultiRateConfigResult()
|
||||
ManageAccessorDomainResult::~ManageAccessorDomainResult()
|
||||
{}
|
||||
|
||||
void DeleteMultiRateConfigResult::parse(const std::string &payload)
|
||||
void ManageAccessorDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -46,12 +46,12 @@ void DeleteMultiRateConfigResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteMultiRateConfigResult::getMessage()const
|
||||
std::string ManageAccessorDomainResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int DeleteMultiRateConfigResult::getCode()const
|
||||
int ManageAccessorDomainResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
80
beian/src/model/ManageAccessorDomainWhiteListRequest.cc
Normal file
80
beian/src/model/ManageAccessorDomainWhiteListRequest.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/beian/model/ManageAccessorDomainWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::ManageAccessorDomainWhiteListRequest;
|
||||
|
||||
ManageAccessorDomainWhiteListRequest::ManageAccessorDomainWhiteListRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "ManageAccessorDomainWhiteList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ManageAccessorDomainWhiteListRequest::~ManageAccessorDomainWhiteListRequest() {}
|
||||
|
||||
std::string ManageAccessorDomainWhiteListRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainWhiteListRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
std::vector<std::string> ManageAccessorDomainWhiteListRequest::getDomains() const {
|
||||
return domains_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainWhiteListRequest::setDomains(const std::vector<std::string> &domains) {
|
||||
domains_ = domains;
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainWhiteListRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainWhiteListRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainWhiteListRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainWhiteListRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainWhiteListRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainWhiteListRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainWhiteListRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void ManageAccessorDomainWhiteListRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
58
beian/src/model/ManageAccessorDomainWhiteListResult.cc
Normal file
58
beian/src/model/ManageAccessorDomainWhiteListResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/beian/model/ManageAccessorDomainWhiteListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
ManageAccessorDomainWhiteListResult::ManageAccessorDomainWhiteListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ManageAccessorDomainWhiteListResult::ManageAccessorDomainWhiteListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ManageAccessorDomainWhiteListResult::~ManageAccessorDomainWhiteListResult()
|
||||
{}
|
||||
|
||||
void ManageAccessorDomainWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ManageAccessorDomainWhiteListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ManageAccessorDomainWhiteListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
72
beian/src/model/ManageAccessorIpRequest.cc
Normal file
72
beian/src/model/ManageAccessorIpRequest.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/ManageAccessorIpRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::ManageAccessorIpRequest;
|
||||
|
||||
ManageAccessorIpRequest::ManageAccessorIpRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "ManageAccessorIp") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ManageAccessorIpRequest::~ManageAccessorIpRequest() {}
|
||||
|
||||
std::string ManageAccessorIpRequest::getIp() const {
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void ManageAccessorIpRequest::setIp(const std::string &ip) {
|
||||
ip_ = ip;
|
||||
setParameter(std::string("Ip"), ip);
|
||||
}
|
||||
|
||||
std::string ManageAccessorIpRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void ManageAccessorIpRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
std::string ManageAccessorIpRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void ManageAccessorIpRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
int ManageAccessorIpRequest::getIpVersion() const {
|
||||
return ipVersion_;
|
||||
}
|
||||
|
||||
void ManageAccessorIpRequest::setIpVersion(int ipVersion) {
|
||||
ipVersion_ = ipVersion;
|
||||
setParameter(std::string("IpVersion"), std::to_string(ipVersion));
|
||||
}
|
||||
|
||||
std::string ManageAccessorIpRequest::getOperation() const {
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void ManageAccessorIpRequest::setOperation(const std::string &operation) {
|
||||
operation_ = operation;
|
||||
setParameter(std::string("Operation"), operation);
|
||||
}
|
||||
|
||||
58
beian/src/model/ManageAccessorIpResult.cc
Normal file
58
beian/src/model/ManageAccessorIpResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/beian/model/ManageAccessorIpResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
ManageAccessorIpResult::ManageAccessorIpResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ManageAccessorIpResult::ManageAccessorIpResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ManageAccessorIpResult::~ManageAccessorIpResult()
|
||||
{}
|
||||
|
||||
void ManageAccessorIpResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ManageAccessorIpResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ManageAccessorIpResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
63
beian/src/model/QueryAccessorDomainListRequest.cc
Normal file
63
beian/src/model/QueryAccessorDomainListRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainListRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::QueryAccessorDomainListRequest;
|
||||
|
||||
QueryAccessorDomainListRequest::QueryAccessorDomainListRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "QueryAccessorDomainList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAccessorDomainListRequest::~QueryAccessorDomainListRequest() {}
|
||||
|
||||
std::string QueryAccessorDomainListRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainListRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
int QueryAccessorDomainListRequest::getPageNo() const {
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainListRequest::setPageNo(int pageNo) {
|
||||
pageNo_ = pageNo;
|
||||
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainListRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainListRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
int QueryAccessorDomainListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
67
beian/src/model/QueryAccessorDomainListResult.cc
Normal file
67
beian/src/model/QueryAccessorDomainListResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
QueryAccessorDomainListResult::QueryAccessorDomainListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAccessorDomainListResult::QueryAccessorDomainListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAccessorDomainListResult::~QueryAccessorDomainListResult()
|
||||
{}
|
||||
|
||||
void QueryAccessorDomainListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
auto allDomains = dataNode["Domains"]["domains"];
|
||||
for (auto value : allDomains)
|
||||
data_.domains.push_back(value.asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryAccessorDomainListResult::Data QueryAccessorDomainListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryAccessorDomainListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
45
beian/src/model/QueryAccessorDomainRequest.cc
Normal file
45
beian/src/model/QueryAccessorDomainRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::QueryAccessorDomainRequest;
|
||||
|
||||
QueryAccessorDomainRequest::QueryAccessorDomainRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "QueryAccessorDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAccessorDomainRequest::~QueryAccessorDomainRequest() {}
|
||||
|
||||
std::string QueryAccessorDomainRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
65
beian/src/model/QueryAccessorDomainResult.cc
Normal file
65
beian/src/model/QueryAccessorDomainResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
QueryAccessorDomainResult::QueryAccessorDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAccessorDomainResult::QueryAccessorDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAccessorDomainResult::~QueryAccessorDomainResult()
|
||||
{}
|
||||
|
||||
void QueryAccessorDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool QueryAccessorDomainResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryAccessorDomainResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
45
beian/src/model/QueryAccessorDomainStatusRequest.cc
Normal file
45
beian/src/model/QueryAccessorDomainStatusRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::QueryAccessorDomainStatusRequest;
|
||||
|
||||
QueryAccessorDomainStatusRequest::QueryAccessorDomainStatusRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "QueryAccessorDomainStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAccessorDomainStatusRequest::~QueryAccessorDomainStatusRequest() {}
|
||||
|
||||
std::string QueryAccessorDomainStatusRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainStatusRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainStatusRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainStatusRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
72
beian/src/model/QueryAccessorDomainStatusResult.cc
Normal file
72
beian/src/model/QueryAccessorDomainStatusResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
QueryAccessorDomainStatusResult::QueryAccessorDomainStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAccessorDomainStatusResult::QueryAccessorDomainStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAccessorDomainStatusResult::~QueryAccessorDomainStatusResult()
|
||||
{}
|
||||
|
||||
void QueryAccessorDomainStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Domain"].isNull())
|
||||
data_.domain = dataNode["Domain"].asString();
|
||||
if(!dataNode["Status"].isNull())
|
||||
data_.status = dataNode["Status"].asString();
|
||||
if(!dataNode["ReasonCode"].isNull())
|
||||
data_.reasonCode = std::stoi(dataNode["ReasonCode"].asString());
|
||||
if(!dataNode["Reason"].isNull())
|
||||
data_.reason = dataNode["Reason"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainStatusResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryAccessorDomainStatusResult::Data QueryAccessorDomainStatusResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryAccessorDomainStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
45
beian/src/model/QueryAccessorDomainWhiteListRequest.cc
Normal file
45
beian/src/model/QueryAccessorDomainWhiteListRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainWhiteListRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::QueryAccessorDomainWhiteListRequest;
|
||||
|
||||
QueryAccessorDomainWhiteListRequest::QueryAccessorDomainWhiteListRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "QueryAccessorDomainWhiteList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAccessorDomainWhiteListRequest::~QueryAccessorDomainWhiteListRequest() {}
|
||||
|
||||
std::string QueryAccessorDomainWhiteListRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainWhiteListRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainWhiteListRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainWhiteListRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
82
beian/src/model/QueryAccessorDomainWhiteListResult.cc
Normal file
82
beian/src/model/QueryAccessorDomainWhiteListResult.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/beian/model/QueryAccessorDomainWhiteListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
QueryAccessorDomainWhiteListResult::QueryAccessorDomainWhiteListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAccessorDomainWhiteListResult::QueryAccessorDomainWhiteListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAccessorDomainWhiteListResult::~QueryAccessorDomainWhiteListResult()
|
||||
{}
|
||||
|
||||
void QueryAccessorDomainWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["White"].isNull())
|
||||
data_.white = dataNode["White"].asString() == "true";
|
||||
auto allItemsNode = dataNode["Items"]["itemsItem"];
|
||||
for (auto dataNodeItemsitemsItem : allItemsNode)
|
||||
{
|
||||
Data::ItemsItem itemsItemObject;
|
||||
if(!dataNodeItemsitemsItem["Type"].isNull())
|
||||
itemsItemObject.type = dataNodeItemsitemsItem["Type"].asString();
|
||||
if(!dataNodeItemsitemsItem["CreateTime"].isNull())
|
||||
itemsItemObject.createTime = dataNodeItemsitemsItem["CreateTime"].asString();
|
||||
if(!dataNodeItemsitemsItem["StartTime"].isNull())
|
||||
itemsItemObject.startTime = dataNodeItemsitemsItem["StartTime"].asString();
|
||||
if(!dataNodeItemsitemsItem["EndTime"].isNull())
|
||||
itemsItemObject.endTime = dataNodeItemsitemsItem["EndTime"].asString();
|
||||
if(!dataNodeItemsitemsItem["Valid"].isNull())
|
||||
itemsItemObject.valid = dataNodeItemsitemsItem["Valid"].asString() == "true";
|
||||
data_.items.push_back(itemsItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainWhiteListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
QueryAccessorDomainWhiteListResult::Data QueryAccessorDomainWhiteListResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryAccessorDomainWhiteListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
44
beian/src/model/QueryAccessorDomainsStatusRequest.cc
Normal file
44
beian/src/model/QueryAccessorDomainsStatusRequest.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/beian/model/QueryAccessorDomainsStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::QueryAccessorDomainsStatusRequest;
|
||||
|
||||
QueryAccessorDomainsStatusRequest::QueryAccessorDomainsStatusRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "QueryAccessorDomainsStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAccessorDomainsStatusRequest::~QueryAccessorDomainsStatusRequest() {}
|
||||
|
||||
std::vector<std::string> QueryAccessorDomainsStatusRequest::getDomains() const {
|
||||
return domains_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainsStatusRequest::setDomains(const std::vector<std::string> &domains) {
|
||||
domains_ = domains;
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainsStatusRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void QueryAccessorDomainsStatusRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
77
beian/src/model/QueryAccessorDomainsStatusResult.cc
Normal file
77
beian/src/model/QueryAccessorDomainsStatusResult.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorDomainsStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
QueryAccessorDomainsStatusResult::QueryAccessorDomainsStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAccessorDomainsStatusResult::QueryAccessorDomainsStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAccessorDomainsStatusResult::~QueryAccessorDomainsStatusResult()
|
||||
{}
|
||||
|
||||
void QueryAccessorDomainsStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["DataItem"];
|
||||
for (auto valueDataDataItem : allDataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valueDataDataItem["Domain"].isNull())
|
||||
dataObject.domain = valueDataDataItem["Domain"].asString();
|
||||
if(!valueDataDataItem["Status"].isNull())
|
||||
dataObject.status = valueDataDataItem["Status"].asString();
|
||||
if(!valueDataDataItem["ReasonCode"].isNull())
|
||||
dataObject.reasonCode = std::stoi(valueDataDataItem["ReasonCode"].asString());
|
||||
if(!valueDataDataItem["Reason"].isNull())
|
||||
dataObject.reason = valueDataDataItem["Reason"].asString();
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAccessorDomainsStatusResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<QueryAccessorDomainsStatusResult::DataItem> QueryAccessorDomainsStatusResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int QueryAccessorDomainsStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
45
beian/src/model/QueryAccessorIpRequest.cc
Normal file
45
beian/src/model/QueryAccessorIpRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorIpRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::QueryAccessorIpRequest;
|
||||
|
||||
QueryAccessorIpRequest::QueryAccessorIpRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "QueryAccessorIp") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAccessorIpRequest::~QueryAccessorIpRequest() {}
|
||||
|
||||
std::string QueryAccessorIpRequest::getIp() const {
|
||||
return ip_;
|
||||
}
|
||||
|
||||
void QueryAccessorIpRequest::setIp(const std::string &ip) {
|
||||
ip_ = ip;
|
||||
setParameter(std::string("Ip"), ip);
|
||||
}
|
||||
|
||||
std::string QueryAccessorIpRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void QueryAccessorIpRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
65
beian/src/model/QueryAccessorIpResult.cc
Normal file
65
beian/src/model/QueryAccessorIpResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/beian/model/QueryAccessorIpResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
QueryAccessorIpResult::QueryAccessorIpResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QueryAccessorIpResult::QueryAccessorIpResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QueryAccessorIpResult::~QueryAccessorIpResult()
|
||||
{}
|
||||
|
||||
void QueryAccessorIpResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string QueryAccessorIpResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
bool QueryAccessorIpResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QueryAccessorIpResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
44
beian/src/model/SubmitAccessorFullDomainsOssListRequest.cc
Normal file
44
beian/src/model/SubmitAccessorFullDomainsOssListRequest.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/beian/model/SubmitAccessorFullDomainsOssListRequest.h>
|
||||
|
||||
using AlibabaCloud::Beian::Model::SubmitAccessorFullDomainsOssListRequest;
|
||||
|
||||
SubmitAccessorFullDomainsOssListRequest::SubmitAccessorFullDomainsOssListRequest()
|
||||
: RpcServiceRequest("beian", "2016-08-10", "SubmitAccessorFullDomainsOssList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SubmitAccessorFullDomainsOssListRequest::~SubmitAccessorFullDomainsOssListRequest() {}
|
||||
|
||||
std::string SubmitAccessorFullDomainsOssListRequest::getCaller() const {
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void SubmitAccessorFullDomainsOssListRequest::setCaller(const std::string &caller) {
|
||||
caller_ = caller;
|
||||
setParameter(std::string("Caller"), caller);
|
||||
}
|
||||
|
||||
std::vector<std::string> SubmitAccessorFullDomainsOssListRequest::getOssList() const {
|
||||
return ossList_;
|
||||
}
|
||||
|
||||
void SubmitAccessorFullDomainsOssListRequest::setOssList(const std::vector<std::string> &ossList) {
|
||||
ossList_ = ossList;
|
||||
}
|
||||
|
||||
58
beian/src/model/SubmitAccessorFullDomainsOssListResult.cc
Normal file
58
beian/src/model/SubmitAccessorFullDomainsOssListResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/beian/model/SubmitAccessorFullDomainsOssListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Beian;
|
||||
using namespace AlibabaCloud::Beian::Model;
|
||||
|
||||
SubmitAccessorFullDomainsOssListResult::SubmitAccessorFullDomainsOssListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SubmitAccessorFullDomainsOssListResult::SubmitAccessorFullDomainsOssListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SubmitAccessorFullDomainsOssListResult::~SubmitAccessorFullDomainsOssListResult()
|
||||
{}
|
||||
|
||||
void SubmitAccessorFullDomainsOssListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SubmitAccessorFullDomainsOssListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int SubmitAccessorFullDomainsOssListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,12 @@ public:
|
||||
std::string flowId;
|
||||
std::string flowAction;
|
||||
std::string navigateScreen;
|
||||
struct SupportedAppsItem {
|
||||
std::string signatureHash;
|
||||
std::string packageName;
|
||||
};
|
||||
SupportedAppsItem supportedAppsItem;
|
||||
std::vector<SupportedAppsItem> supportedApps;
|
||||
};
|
||||
ButtonsItem buttonsItem;
|
||||
std::vector<ButtonsItem> buttons;
|
||||
|
||||
@@ -30,29 +30,20 @@ class ALIBABACLOUD_CAMS_EXPORT DeleteFlowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteFlowRequest();
|
||||
~DeleteFlowRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCode() const;
|
||||
void setCode(const std::string &code);
|
||||
std::string getExtendFunction() const;
|
||||
void setExtendFunction(const std::string &extendFunction);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
std::string getFlowId() const;
|
||||
void setFlowId(const std::string &flowId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string code_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
std::string custSpaceId_;
|
||||
std::string flowId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cams
|
||||
|
||||
@@ -37,20 +37,14 @@ namespace AlibabaCloud
|
||||
DeleteFlowResult();
|
||||
explicit DeleteFlowResult(const std::string &payload);
|
||||
~DeleteFlowResult();
|
||||
std::string getResponse()const;
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string response_;
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -46,6 +46,11 @@ namespace AlibabaCloud
|
||||
std::string intentCode;
|
||||
std::string nextTemplateName;
|
||||
};
|
||||
struct SupportedAppsItem
|
||||
{
|
||||
std::string signatureHash;
|
||||
std::string packageName;
|
||||
};
|
||||
std::string autofillText;
|
||||
std::string packageName;
|
||||
std::string text;
|
||||
@@ -59,6 +64,7 @@ namespace AlibabaCloud
|
||||
std::string signatureHash;
|
||||
std::string navigateScreen;
|
||||
std::string phoneNumber;
|
||||
std::vector<Button::SupportedAppsItem> supportedApps;
|
||||
std::string urlType;
|
||||
};
|
||||
struct 轮播卡片列表
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
};
|
||||
ListChatappTemplateRequest();
|
||||
~ListChatappTemplateRequest();
|
||||
std::string getCode() const;
|
||||
void setCode(const std::string &code);
|
||||
std::string getLanguage() const;
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getCustWabaId() const;
|
||||
@@ -56,6 +58,7 @@ public:
|
||||
void setPage(const Page &page);
|
||||
|
||||
private:
|
||||
std::string code_;
|
||||
std::string language_;
|
||||
std::string custWabaId_;
|
||||
std::string apiCode_;
|
||||
|
||||
@@ -28,37 +28,29 @@ namespace Cams {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_CAMS_EXPORT ListFlowRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Page {
|
||||
int size;
|
||||
int index;
|
||||
};
|
||||
ListFlowRequest();
|
||||
~ListFlowRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getExtendFunction() const;
|
||||
void setExtendFunction(const std::string &extendFunction);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getPageSize() const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getPageNo() const;
|
||||
void setPageNo(long pageNo);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
std::string getFlowName() const;
|
||||
void setFlowName(const std::string &flowName);
|
||||
Page getPage() const;
|
||||
void setPage(const Page &page);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
long pageSize_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
long pageNo_;
|
||||
std::string status_;
|
||||
std::string apiCode_;
|
||||
std::string prodCode_;
|
||||
std::string custSpaceId_;
|
||||
std::string flowName_;
|
||||
Page page_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Cams
|
||||
|
||||
@@ -32,39 +32,27 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CAMS_EXPORT ListFlowResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataItem
|
||||
struct 返回结果
|
||||
{
|
||||
std::string status;
|
||||
std::string gmtCreate;
|
||||
std::string gmtModified;
|
||||
std::string title;
|
||||
std::string partnerId;
|
||||
std::string id;
|
||||
std::string code;
|
||||
std::string bizCode;
|
||||
std::string remark;
|
||||
std::string flowId;
|
||||
std::vector<std::string> categories;
|
||||
std::string flowName;
|
||||
};
|
||||
|
||||
|
||||
ListFlowResult();
|
||||
explicit ListFlowResult(const std::string &payload);
|
||||
~ListFlowResult();
|
||||
std::string getResponse()const;
|
||||
std::string getAccessDeniedDetail()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
std::vector<返回结果> getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string response_;
|
||||
std::string accessDeniedDetail_;
|
||||
std::string message_;
|
||||
std::vector<DataItem> data_;
|
||||
std::vector<返回结果> data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -49,6 +49,12 @@ public:
|
||||
std::string flowId;
|
||||
std::string flowAction;
|
||||
std::string navigateScreen;
|
||||
struct SupportedAppsItem {
|
||||
std::string signatureHash;
|
||||
std::string packageName;
|
||||
};
|
||||
SupportedAppsItem supportedAppsItem;
|
||||
std::vector<SupportedAppsItem> supportedApps;
|
||||
};
|
||||
ButtonsItem buttonsItem;
|
||||
std::vector<ButtonsItem> buttons;
|
||||
|
||||
@@ -30,19 +30,40 @@ class ALIBABACLOUD_CAMS_EXPORT QueryChatappBindWabaRequest : public RpcServiceRe
|
||||
public:
|
||||
QueryChatappBindWabaRequest();
|
||||
~QueryChatappBindWabaRequest();
|
||||
std::string getApiCode() const;
|
||||
void setApiCode(const std::string &apiCode);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getLowcodeTenantId() const;
|
||||
void setLowcodeTenantId(const std::string &lowcodeTenantId);
|
||||
std::string getExtendFunction() const;
|
||||
void setExtendFunction(const std::string &extendFunction);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getLowcodePhysicAppName() const;
|
||||
void setLowcodePhysicAppName(const std::string &lowcodePhysicAppName);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getIsvCode() const;
|
||||
void setIsvCode(const std::string &isvCode);
|
||||
std::string getProdCode() const;
|
||||
void setProdCode(const std::string &prodCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
std::string getCustSpaceId() const;
|
||||
void setCustSpaceId(const std::string &custSpaceId);
|
||||
|
||||
private:
|
||||
std::string apiCode_;
|
||||
long resourceOwnerId_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string routeName_;
|
||||
std::string isvCode_;
|
||||
std::string prodCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
std::string custSpaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -34,11 +34,13 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string authInternationalRateEligibility;
|
||||
std::string currency;
|
||||
std::string id;
|
||||
std::string accountReviewStatus;
|
||||
std::string messageTemplateNamespace;
|
||||
std::string name;
|
||||
std::string primaryBusinessLocation;
|
||||
};
|
||||
|
||||
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -57,6 +60,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -52,6 +52,10 @@ void CreateChatappTemplateRequest::setComponents(const std::vector<CreateChatapp
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".FlowId", components[dep1].buttons[dep2].flowId);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".FlowAction", components[dep1].buttons[dep2].flowAction);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".NavigateScreen", components[dep1].buttons[dep2].navigateScreen);
|
||||
for(int dep3 = 0; dep3 != components[dep1].buttons[dep2].supportedApps.size(); dep3++) {
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".SupportedApps." + std::to_string(dep3 + 1) + ".SignatureHash", components[dep1].buttons[dep2].supportedApps[dep3].signatureHash);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".SupportedApps." + std::to_string(dep3 + 1) + ".PackageName", components[dep1].buttons[dep2].supportedApps[dep3].packageName);
|
||||
}
|
||||
}
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".ThumbUrl", components[dep1].thumbUrl);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Duration", std::to_string(components[dep1].duration));
|
||||
|
||||
@@ -25,66 +25,39 @@ DeleteFlowRequest::DeleteFlowRequest()
|
||||
|
||||
DeleteFlowRequest::~DeleteFlowRequest() {}
|
||||
|
||||
long DeleteFlowRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
std::string DeleteFlowRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
void DeleteFlowRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
}
|
||||
|
||||
std::string DeleteFlowRequest::getCode() const {
|
||||
return code_;
|
||||
std::string DeleteFlowRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setCode(const std::string &code) {
|
||||
code_ = code;
|
||||
setParameter(std::string("Code"), code);
|
||||
void DeleteFlowRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
}
|
||||
|
||||
std::string DeleteFlowRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
std::string DeleteFlowRequest::getCustSpaceId() const {
|
||||
return custSpaceId_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
void DeleteFlowRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
std::string DeleteFlowRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
std::string DeleteFlowRequest::getFlowId() const {
|
||||
return flowId_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteFlowRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string DeleteFlowRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DeleteFlowRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteFlowRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
void DeleteFlowRequest::setFlowId(const std::string &flowId) {
|
||||
flowId_ = flowId;
|
||||
setBodyParameter(std::string("FlowId"), flowId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,29 +39,13 @@ void DeleteFlowResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Response"].isNull())
|
||||
response_ = value["Response"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteFlowResult::getResponse()const
|
||||
{
|
||||
return response_;
|
||||
}
|
||||
|
||||
std::string DeleteFlowResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string DeleteFlowResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
@@ -72,8 +56,3 @@ std::string DeleteFlowResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DeleteFlowResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -128,6 +128,16 @@ void GetChatappTemplateDetailResult::parse(const std::string &payload)
|
||||
buttonsObject.flowAction = dataNodeComponentscomponentButtonsbutton["FlowAction"].asString();
|
||||
if(!dataNodeComponentscomponentButtonsbutton["NavigateScreen"].isNull())
|
||||
buttonsObject.navigateScreen = dataNodeComponentscomponentButtonsbutton["NavigateScreen"].asString();
|
||||
auto allSupportedAppsNode = dataNodeComponentscomponentButtonsbutton["SupportedApps"]["supportedAppsItem"];
|
||||
for (auto dataNodeComponentscomponentButtonsbuttonSupportedAppssupportedAppsItem : allSupportedAppsNode)
|
||||
{
|
||||
Data::Component::Button::SupportedAppsItem supportedAppsObject;
|
||||
if(!dataNodeComponentscomponentButtonsbuttonSupportedAppssupportedAppsItem["SignatureHash"].isNull())
|
||||
supportedAppsObject.signatureHash = dataNodeComponentscomponentButtonsbuttonSupportedAppssupportedAppsItem["SignatureHash"].asString();
|
||||
if(!dataNodeComponentscomponentButtonsbuttonSupportedAppssupportedAppsItem["PackageName"].isNull())
|
||||
supportedAppsObject.packageName = dataNodeComponentscomponentButtonsbuttonSupportedAppssupportedAppsItem["PackageName"].asString();
|
||||
buttonsObject.supportedApps.push_back(supportedAppsObject);
|
||||
}
|
||||
auto extendAttrsNode = value["ExtendAttrs"];
|
||||
if(!extendAttrsNode["NextTemplateCode"].isNull())
|
||||
buttonsObject.extendAttrs.nextTemplateCode = extendAttrsNode["NextTemplateCode"].asString();
|
||||
|
||||
@@ -25,6 +25,15 @@ ListChatappTemplateRequest::ListChatappTemplateRequest()
|
||||
|
||||
ListChatappTemplateRequest::~ListChatappTemplateRequest() {}
|
||||
|
||||
std::string ListChatappTemplateRequest::getCode() const {
|
||||
return code_;
|
||||
}
|
||||
|
||||
void ListChatappTemplateRequest::setCode(const std::string &code) {
|
||||
code_ = code;
|
||||
setParameter(std::string("Code"), code);
|
||||
}
|
||||
|
||||
std::string ListChatappTemplateRequest::getLanguage() const {
|
||||
return language_;
|
||||
}
|
||||
|
||||
@@ -25,84 +25,49 @@ ListFlowRequest::ListFlowRequest()
|
||||
|
||||
ListFlowRequest::~ListFlowRequest() {}
|
||||
|
||||
long ListFlowRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
std::string ListFlowRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
void ListFlowRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
}
|
||||
|
||||
std::string ListFlowRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
std::string ListFlowRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
void ListFlowRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
}
|
||||
|
||||
std::string ListFlowRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
std::string ListFlowRequest::getCustSpaceId() const {
|
||||
return custSpaceId_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
void ListFlowRequest::setCustSpaceId(const std::string &custSpaceId) {
|
||||
custSpaceId_ = custSpaceId;
|
||||
setBodyParameter(std::string("CustSpaceId"), custSpaceId);
|
||||
}
|
||||
|
||||
long ListFlowRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
std::string ListFlowRequest::getFlowName() const {
|
||||
return flowName_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setPageSize(long pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
void ListFlowRequest::setFlowName(const std::string &flowName) {
|
||||
flowName_ = flowName;
|
||||
setBodyParameter(std::string("FlowName"), flowName);
|
||||
}
|
||||
|
||||
std::string ListFlowRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
ListFlowRequest::Page ListFlowRequest::getPage() const {
|
||||
return page_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string ListFlowRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ListFlowRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long ListFlowRequest::getPageNo() const {
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setPageNo(long pageNo) {
|
||||
pageNo_ = pageNo;
|
||||
setParameter(std::string("PageNo"), std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string ListFlowRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void ListFlowRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
void ListFlowRequest::setPage(const ListFlowRequest::Page &page) {
|
||||
page_ = page;
|
||||
setBodyParameter(std::string("Page") + ".Size", std::to_string(page.size));
|
||||
setBodyParameter(std::string("Page") + ".Index", std::to_string(page.index));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,59 +39,32 @@ void ListFlowResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["dataItem"];
|
||||
for (auto valueDatadataItem : allDataNode)
|
||||
auto allDataNode = value["Data"]["返回结果"];
|
||||
for (auto valueData返回结果 : allDataNode)
|
||||
{
|
||||
DataItem dataObject;
|
||||
if(!valueDatadataItem["Status"].isNull())
|
||||
dataObject.status = valueDatadataItem["Status"].asString();
|
||||
if(!valueDatadataItem["GmtCreate"].isNull())
|
||||
dataObject.gmtCreate = valueDatadataItem["GmtCreate"].asString();
|
||||
if(!valueDatadataItem["GmtModified"].isNull())
|
||||
dataObject.gmtModified = valueDatadataItem["GmtModified"].asString();
|
||||
if(!valueDatadataItem["Title"].isNull())
|
||||
dataObject.title = valueDatadataItem["Title"].asString();
|
||||
if(!valueDatadataItem["PartnerId"].isNull())
|
||||
dataObject.partnerId = valueDatadataItem["PartnerId"].asString();
|
||||
if(!valueDatadataItem["Id"].isNull())
|
||||
dataObject.id = valueDatadataItem["Id"].asString();
|
||||
if(!valueDatadataItem["Code"].isNull())
|
||||
dataObject.code = valueDatadataItem["Code"].asString();
|
||||
if(!valueDatadataItem["BizCode"].isNull())
|
||||
dataObject.bizCode = valueDatadataItem["BizCode"].asString();
|
||||
if(!valueDatadataItem["Remark"].isNull())
|
||||
dataObject.remark = valueDatadataItem["Remark"].asString();
|
||||
返回结果 dataObject;
|
||||
if(!valueData返回结果["FlowId"].isNull())
|
||||
dataObject.flowId = valueData返回结果["FlowId"].asString();
|
||||
if(!valueData返回结果["FlowName"].isNull())
|
||||
dataObject.flowName = valueData返回结果["FlowName"].asString();
|
||||
auto allCategories = value["Categories"]["目录"];
|
||||
for (auto value : allCategories)
|
||||
dataObject.categories.push_back(value.asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Response"].isNull())
|
||||
response_ = value["Response"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListFlowResult::getResponse()const
|
||||
{
|
||||
return response_;
|
||||
}
|
||||
|
||||
std::string ListFlowResult::getAccessDeniedDetail()const
|
||||
{
|
||||
return accessDeniedDetail_;
|
||||
}
|
||||
|
||||
std::string ListFlowResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ListFlowResult::DataItem> ListFlowResult::getData()const
|
||||
std::vector<ListFlowResult::返回结果> ListFlowResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
@@ -101,8 +74,3 @@ std::string ListFlowResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ListFlowResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ void ModifyChatappTemplateRequest::setComponents(const std::vector<ModifyChatapp
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".FlowId", components[dep1].buttons[dep2].flowId);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".FlowAction", components[dep1].buttons[dep2].flowAction);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".NavigateScreen", components[dep1].buttons[dep2].navigateScreen);
|
||||
for(int dep3 = 0; dep3 != components[dep1].buttons[dep2].supportedApps.size(); dep3++) {
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".SupportedApps." + std::to_string(dep3 + 1) + ".SignatureHash", components[dep1].buttons[dep2].supportedApps[dep3].signatureHash);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Buttons." + std::to_string(dep2 + 1) + ".SupportedApps." + std::to_string(dep3 + 1) + ".PackageName", components[dep1].buttons[dep2].supportedApps[dep3].packageName);
|
||||
}
|
||||
}
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".ThumbUrl", components[dep1].thumbUrl);
|
||||
setBodyParameter(std::string("Components") + "." + std::to_string(dep1 + 1) + ".Duration", std::to_string(components[dep1].duration));
|
||||
|
||||
@@ -25,13 +25,58 @@ QueryChatappBindWabaRequest::QueryChatappBindWabaRequest()
|
||||
|
||||
QueryChatappBindWabaRequest::~QueryChatappBindWabaRequest() {}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getApiCode() const {
|
||||
return apiCode_;
|
||||
long QueryChatappBindWabaRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setApiCode(const std::string &apiCode) {
|
||||
apiCode_ = apiCode;
|
||||
setParameter(std::string("ApiCode"), apiCode);
|
||||
void QueryChatappBindWabaRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setExtendFunction(const std::string &extendFunction) {
|
||||
extendFunction_ = extendFunction;
|
||||
setParameter(std::string("ExtendFunction"), extendFunction);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setRouteName(const std::string &routeName) {
|
||||
routeName_ = routeName;
|
||||
setParameter(std::string("RouteName"), routeName);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getIsvCode() const {
|
||||
@@ -43,13 +88,31 @@ void QueryChatappBindWabaRequest::setIsvCode(const std::string &isvCode) {
|
||||
setParameter(std::string("IsvCode"), isvCode);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getProdCode() const {
|
||||
return prodCode_;
|
||||
std::string QueryChatappBindWabaRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setProdCode(const std::string &prodCode) {
|
||||
prodCode_ = prodCode;
|
||||
setParameter(std::string("ProdCode"), prodCode);
|
||||
void QueryChatappBindWabaRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QueryChatappBindWabaRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void QueryChatappBindWabaRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
std::string QueryChatappBindWabaRequest::getCustSpaceId() const {
|
||||
|
||||
@@ -40,22 +40,28 @@ void QueryChatappBindWabaResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["Name"].isNull())
|
||||
data_.name = dataNode["Name"].asString();
|
||||
if(!dataNode["AuthInternationalRateEligibility"].isNull())
|
||||
data_.authInternationalRateEligibility = dataNode["AuthInternationalRateEligibility"].asString();
|
||||
if(!dataNode["Currency"].isNull())
|
||||
data_.currency = dataNode["Currency"].asString();
|
||||
if(!dataNode["Id"].isNull())
|
||||
data_.id = dataNode["Id"].asString();
|
||||
if(!dataNode["MessageTemplateNamespace"].isNull())
|
||||
data_.messageTemplateNamespace = dataNode["MessageTemplateNamespace"].asString();
|
||||
if(!dataNode["AccountReviewStatus"].isNull())
|
||||
data_.accountReviewStatus = dataNode["AccountReviewStatus"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!dataNode["MessageTemplateNamespace"].isNull())
|
||||
data_.messageTemplateNamespace = dataNode["MessageTemplateNamespace"].asString();
|
||||
if(!dataNode["Name"].isNull())
|
||||
data_.name = dataNode["Name"].asString();
|
||||
if(!dataNode["PrimaryBusinessLocation"].isNull())
|
||||
data_.primaryBusinessLocation = dataNode["PrimaryBusinessLocation"].asString();
|
||||
if(!value["AccessDeniedDetail"].isNull())
|
||||
accessDeniedDetail_ = value["AccessDeniedDetail"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
@@ -79,3 +85,8 @@ std::string QueryChatappBindWabaResult::getCode()const
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool QueryChatappBindWabaResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,13 @@ set(computenest_public_header_model
|
||||
include/alibabacloud/computenest/model/ListServiceInstanceResourcesRequest.h
|
||||
include/alibabacloud/computenest/model/ListServiceInstanceResourcesResult.h
|
||||
include/alibabacloud/computenest/model/ListServiceInstancesRequest.h
|
||||
include/alibabacloud/computenest/model/ListServiceInstancesResult.h )
|
||||
include/alibabacloud/computenest/model/ListServiceInstancesResult.h
|
||||
include/alibabacloud/computenest/model/RestartServiceInstanceRequest.h
|
||||
include/alibabacloud/computenest/model/RestartServiceInstanceResult.h
|
||||
include/alibabacloud/computenest/model/StartServiceInstanceRequest.h
|
||||
include/alibabacloud/computenest/model/StartServiceInstanceResult.h
|
||||
include/alibabacloud/computenest/model/StopServiceInstanceRequest.h
|
||||
include/alibabacloud/computenest/model/StopServiceInstanceResult.h )
|
||||
|
||||
set(computenest_src
|
||||
src/ComputeNestClient.cc
|
||||
@@ -59,7 +65,13 @@ set(computenest_src
|
||||
src/model/ListServiceInstanceResourcesRequest.cc
|
||||
src/model/ListServiceInstanceResourcesResult.cc
|
||||
src/model/ListServiceInstancesRequest.cc
|
||||
src/model/ListServiceInstancesResult.cc )
|
||||
src/model/ListServiceInstancesResult.cc
|
||||
src/model/RestartServiceInstanceRequest.cc
|
||||
src/model/RestartServiceInstanceResult.cc
|
||||
src/model/StartServiceInstanceRequest.cc
|
||||
src/model/StartServiceInstanceResult.cc
|
||||
src/model/StopServiceInstanceRequest.cc
|
||||
src/model/StopServiceInstanceResult.cc )
|
||||
|
||||
add_library(computenest ${LIB_TYPE}
|
||||
${computenest_public_header}
|
||||
|
||||
@@ -40,6 +40,12 @@
|
||||
#include "model/ListServiceInstanceResourcesResult.h"
|
||||
#include "model/ListServiceInstancesRequest.h"
|
||||
#include "model/ListServiceInstancesResult.h"
|
||||
#include "model/RestartServiceInstanceRequest.h"
|
||||
#include "model/RestartServiceInstanceResult.h"
|
||||
#include "model/StartServiceInstanceRequest.h"
|
||||
#include "model/StartServiceInstanceResult.h"
|
||||
#include "model/StopServiceInstanceRequest.h"
|
||||
#include "model/StopServiceInstanceResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -76,6 +82,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListServiceInstancesResult> ListServiceInstancesOutcome;
|
||||
typedef std::future<ListServiceInstancesOutcome> ListServiceInstancesOutcomeCallable;
|
||||
typedef std::function<void(const ComputeNestClient*, const Model::ListServiceInstancesRequest&, const ListServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartServiceInstanceResult> RestartServiceInstanceOutcome;
|
||||
typedef std::future<RestartServiceInstanceOutcome> RestartServiceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const ComputeNestClient*, const Model::RestartServiceInstanceRequest&, const RestartServiceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartServiceInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartServiceInstanceResult> StartServiceInstanceOutcome;
|
||||
typedef std::future<StartServiceInstanceOutcome> StartServiceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const ComputeNestClient*, const Model::StartServiceInstanceRequest&, const StartServiceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartServiceInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopServiceInstanceResult> StopServiceInstanceOutcome;
|
||||
typedef std::future<StopServiceInstanceOutcome> StopServiceInstanceOutcomeCallable;
|
||||
typedef std::function<void(const ComputeNestClient*, const Model::StopServiceInstanceRequest&, const StopServiceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopServiceInstanceAsyncHandler;
|
||||
|
||||
ComputeNestClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ComputeNestClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -108,6 +123,15 @@ namespace AlibabaCloud
|
||||
ListServiceInstancesOutcome listServiceInstances(const Model::ListServiceInstancesRequest &request)const;
|
||||
void listServiceInstancesAsync(const Model::ListServiceInstancesRequest& request, const ListServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListServiceInstancesOutcomeCallable listServiceInstancesCallable(const Model::ListServiceInstancesRequest& request) const;
|
||||
RestartServiceInstanceOutcome restartServiceInstance(const Model::RestartServiceInstanceRequest &request)const;
|
||||
void restartServiceInstanceAsync(const Model::RestartServiceInstanceRequest& request, const RestartServiceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartServiceInstanceOutcomeCallable restartServiceInstanceCallable(const Model::RestartServiceInstanceRequest& request) const;
|
||||
StartServiceInstanceOutcome startServiceInstance(const Model::StartServiceInstanceRequest &request)const;
|
||||
void startServiceInstanceAsync(const Model::StartServiceInstanceRequest& request, const StartServiceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartServiceInstanceOutcomeCallable startServiceInstanceCallable(const Model::StartServiceInstanceRequest& request) const;
|
||||
StopServiceInstanceOutcome stopServiceInstance(const Model::StopServiceInstanceRequest &request)const;
|
||||
void stopServiceInstanceAsync(const Model::StopServiceInstanceRequest& request, const StopServiceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopServiceInstanceOutcomeCallable stopServiceInstanceCallable(const Model::StopServiceInstanceRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -36,6 +36,11 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Service
|
||||
{
|
||||
struct Commodity
|
||||
{
|
||||
std::string type;
|
||||
std::string saasBoostMetadata;
|
||||
};
|
||||
struct ServiceInfo
|
||||
{
|
||||
std::string locale;
|
||||
@@ -45,6 +50,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
std::string deployType;
|
||||
Commodity commodity;
|
||||
std::string version;
|
||||
std::string supplierName;
|
||||
std::string serviceType;
|
||||
@@ -59,30 +65,31 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::string operatedServiceInstanceId;
|
||||
long progress;
|
||||
std::string parameters;
|
||||
std::string endTime;
|
||||
std::string resourceGroupId;
|
||||
std::string operationEndTime;
|
||||
std::string createTime;
|
||||
bool enableInstanceOps;
|
||||
Service service;
|
||||
std::string payType;
|
||||
std::string source;
|
||||
std::string name;
|
||||
std::string bizStatus;
|
||||
std::string operationStartTime;
|
||||
std::string serviceInstanceId;
|
||||
std::string serviceType;
|
||||
std::string templateName;
|
||||
std::string marketInstanceId;
|
||||
std::vector<ServiceInstance::Tag> tags;
|
||||
std::string status;
|
||||
long progress;
|
||||
std::string parameters;
|
||||
std::string createTime;
|
||||
Service service;
|
||||
std::string payType;
|
||||
std::string orderId;
|
||||
std::string bizStatus;
|
||||
std::string statusDetail;
|
||||
std::string outputs;
|
||||
std::string updateTime;
|
||||
std::string templateName;
|
||||
std::string resources;
|
||||
std::string marketInstanceId;
|
||||
std::vector<ServiceInstance::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPUTENEST_MODEL_RESTARTSERVICEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPUTENEST_MODEL_RESTARTSERVICEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/computenest/ComputeNestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ComputeNest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_COMPUTENEST_EXPORT RestartServiceInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RestartServiceInstanceRequest();
|
||||
~RestartServiceInstanceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getServiceInstanceId() const;
|
||||
void setServiceInstanceId(const std::string &serviceInstanceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string serviceInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ComputeNest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_COMPUTENEST_MODEL_RESTARTSERVICEINSTANCEREQUEST_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_COMPUTENEST_MODEL_RESTARTSERVICEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_COMPUTENEST_MODEL_RESTARTSERVICEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/computenest/ComputeNestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ComputeNest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPUTENEST_EXPORT RestartServiceInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartServiceInstanceResult();
|
||||
explicit RestartServiceInstanceResult(const std::string &payload);
|
||||
~RestartServiceInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPUTENEST_MODEL_RESTARTSERVICEINSTANCERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPUTENEST_MODEL_STARTSERVICEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPUTENEST_MODEL_STARTSERVICEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/computenest/ComputeNestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ComputeNest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_COMPUTENEST_EXPORT StartServiceInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartServiceInstanceRequest();
|
||||
~StartServiceInstanceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getServiceInstanceId() const;
|
||||
void setServiceInstanceId(const std::string &serviceInstanceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string serviceInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ComputeNest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_COMPUTENEST_MODEL_STARTSERVICEINSTANCEREQUEST_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_COMPUTENEST_MODEL_STARTSERVICEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_COMPUTENEST_MODEL_STARTSERVICEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/computenest/ComputeNestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ComputeNest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPUTENEST_EXPORT StartServiceInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartServiceInstanceResult();
|
||||
explicit StartServiceInstanceResult(const std::string &payload);
|
||||
~StartServiceInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPUTENEST_MODEL_STARTSERVICEINSTANCERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_COMPUTENEST_MODEL_STOPSERVICEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_COMPUTENEST_MODEL_STOPSERVICEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/computenest/ComputeNestExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace ComputeNest {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_COMPUTENEST_EXPORT StopServiceInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StopServiceInstanceRequest();
|
||||
~StopServiceInstanceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getServiceInstanceId() const;
|
||||
void setServiceInstanceId(const std::string &serviceInstanceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string serviceInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace ComputeNest
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_COMPUTENEST_MODEL_STOPSERVICEINSTANCEREQUEST_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_COMPUTENEST_MODEL_STOPSERVICEINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_COMPUTENEST_MODEL_STOPSERVICEINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/computenest/ComputeNestExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ComputeNest
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_COMPUTENEST_EXPORT StopServiceInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopServiceInstanceResult();
|
||||
explicit StopServiceInstanceResult(const std::string &payload);
|
||||
~StopServiceInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_COMPUTENEST_MODEL_STOPSERVICEINSTANCERESULT_H_
|
||||
@@ -375,3 +375,111 @@ ComputeNestClient::ListServiceInstancesOutcomeCallable ComputeNestClient::listSe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ComputeNestClient::RestartServiceInstanceOutcome ComputeNestClient::restartServiceInstance(const RestartServiceInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartServiceInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartServiceInstanceOutcome(RestartServiceInstanceResult(outcome.result()));
|
||||
else
|
||||
return RestartServiceInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ComputeNestClient::restartServiceInstanceAsync(const RestartServiceInstanceRequest& request, const RestartServiceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartServiceInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ComputeNestClient::RestartServiceInstanceOutcomeCallable ComputeNestClient::restartServiceInstanceCallable(const RestartServiceInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartServiceInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartServiceInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ComputeNestClient::StartServiceInstanceOutcome ComputeNestClient::startServiceInstance(const StartServiceInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartServiceInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartServiceInstanceOutcome(StartServiceInstanceResult(outcome.result()));
|
||||
else
|
||||
return StartServiceInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ComputeNestClient::startServiceInstanceAsync(const StartServiceInstanceRequest& request, const StartServiceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startServiceInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ComputeNestClient::StartServiceInstanceOutcomeCallable ComputeNestClient::startServiceInstanceCallable(const StartServiceInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartServiceInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startServiceInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
ComputeNestClient::StopServiceInstanceOutcome ComputeNestClient::stopServiceInstance(const StopServiceInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopServiceInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopServiceInstanceOutcome(StopServiceInstanceResult(outcome.result()));
|
||||
else
|
||||
return StopServiceInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void ComputeNestClient::stopServiceInstanceAsync(const StopServiceInstanceRequest& request, const StopServiceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopServiceInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
ComputeNestClient::StopServiceInstanceOutcomeCallable ComputeNestClient::stopServiceInstanceCallable(const StopServiceInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopServiceInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopServiceInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -87,6 +87,8 @@ void ListServiceInstancesResult::parse(const std::string &payload)
|
||||
serviceInstancesObject.resourceGroupId = valueServiceInstancesServiceInstance["ResourceGroupId"].asString();
|
||||
if(!valueServiceInstancesServiceInstance["BizStatus"].isNull())
|
||||
serviceInstancesObject.bizStatus = valueServiceInstancesServiceInstance["BizStatus"].asString();
|
||||
if(!valueServiceInstancesServiceInstance["OrderId"].isNull())
|
||||
serviceInstancesObject.orderId = valueServiceInstancesServiceInstance["OrderId"].asString();
|
||||
auto allTagsNode = valueServiceInstancesServiceInstance["Tags"]["Tag"];
|
||||
for (auto valueServiceInstancesServiceInstanceTagsTag : allTagsNode)
|
||||
{
|
||||
@@ -130,6 +132,11 @@ void ListServiceInstancesResult::parse(const std::string &payload)
|
||||
serviceInfoObject.shortDescription = serviceNodeServiceInfosServiceInfo["ShortDescription"].asString();
|
||||
serviceInstancesObject.service.serviceInfos.push_back(serviceInfoObject);
|
||||
}
|
||||
auto commodityNode = serviceNode["Commodity"];
|
||||
if(!commodityNode["SaasBoostMetadata"].isNull())
|
||||
serviceInstancesObject.service.commodity.saasBoostMetadata = commodityNode["SaasBoostMetadata"].asString();
|
||||
if(!commodityNode["Type"].isNull())
|
||||
serviceInstancesObject.service.commodity.type = commodityNode["Type"].asString();
|
||||
serviceInstances_.push_back(serviceInstancesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
|
||||
54
computenest/src/model/RestartServiceInstanceRequest.cc
Normal file
54
computenest/src/model/RestartServiceInstanceRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/computenest/model/RestartServiceInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::ComputeNest::Model::RestartServiceInstanceRequest;
|
||||
|
||||
RestartServiceInstanceRequest::RestartServiceInstanceRequest()
|
||||
: RpcServiceRequest("computenest", "2021-06-01", "RestartServiceInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RestartServiceInstanceRequest::~RestartServiceInstanceRequest() {}
|
||||
|
||||
std::string RestartServiceInstanceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void RestartServiceInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string RestartServiceInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RestartServiceInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string RestartServiceInstanceRequest::getServiceInstanceId() const {
|
||||
return serviceInstanceId_;
|
||||
}
|
||||
|
||||
void RestartServiceInstanceRequest::setServiceInstanceId(const std::string &serviceInstanceId) {
|
||||
serviceInstanceId_ = serviceInstanceId;
|
||||
setParameter(std::string("ServiceInstanceId"), serviceInstanceId);
|
||||
}
|
||||
|
||||
44
computenest/src/model/RestartServiceInstanceResult.cc
Normal file
44
computenest/src/model/RestartServiceInstanceResult.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/computenest/model/RestartServiceInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ComputeNest;
|
||||
using namespace AlibabaCloud::ComputeNest::Model;
|
||||
|
||||
RestartServiceInstanceResult::RestartServiceInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RestartServiceInstanceResult::RestartServiceInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RestartServiceInstanceResult::~RestartServiceInstanceResult()
|
||||
{}
|
||||
|
||||
void RestartServiceInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
54
computenest/src/model/StartServiceInstanceRequest.cc
Normal file
54
computenest/src/model/StartServiceInstanceRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/computenest/model/StartServiceInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::ComputeNest::Model::StartServiceInstanceRequest;
|
||||
|
||||
StartServiceInstanceRequest::StartServiceInstanceRequest()
|
||||
: RpcServiceRequest("computenest", "2021-06-01", "StartServiceInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StartServiceInstanceRequest::~StartServiceInstanceRequest() {}
|
||||
|
||||
std::string StartServiceInstanceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void StartServiceInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string StartServiceInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void StartServiceInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string StartServiceInstanceRequest::getServiceInstanceId() const {
|
||||
return serviceInstanceId_;
|
||||
}
|
||||
|
||||
void StartServiceInstanceRequest::setServiceInstanceId(const std::string &serviceInstanceId) {
|
||||
serviceInstanceId_ = serviceInstanceId;
|
||||
setParameter(std::string("ServiceInstanceId"), serviceInstanceId);
|
||||
}
|
||||
|
||||
44
computenest/src/model/StartServiceInstanceResult.cc
Normal file
44
computenest/src/model/StartServiceInstanceResult.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/computenest/model/StartServiceInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ComputeNest;
|
||||
using namespace AlibabaCloud::ComputeNest::Model;
|
||||
|
||||
StartServiceInstanceResult::StartServiceInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StartServiceInstanceResult::StartServiceInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StartServiceInstanceResult::~StartServiceInstanceResult()
|
||||
{}
|
||||
|
||||
void StartServiceInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
54
computenest/src/model/StopServiceInstanceRequest.cc
Normal file
54
computenest/src/model/StopServiceInstanceRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/computenest/model/StopServiceInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::ComputeNest::Model::StopServiceInstanceRequest;
|
||||
|
||||
StopServiceInstanceRequest::StopServiceInstanceRequest()
|
||||
: RpcServiceRequest("computenest", "2021-06-01", "StopServiceInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
StopServiceInstanceRequest::~StopServiceInstanceRequest() {}
|
||||
|
||||
std::string StopServiceInstanceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void StopServiceInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string StopServiceInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void StopServiceInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string StopServiceInstanceRequest::getServiceInstanceId() const {
|
||||
return serviceInstanceId_;
|
||||
}
|
||||
|
||||
void StopServiceInstanceRequest::setServiceInstanceId(const std::string &serviceInstanceId) {
|
||||
serviceInstanceId_ = serviceInstanceId;
|
||||
setParameter(std::string("ServiceInstanceId"), serviceInstanceId);
|
||||
}
|
||||
|
||||
44
computenest/src/model/StopServiceInstanceResult.cc
Normal file
44
computenest/src/model/StopServiceInstanceResult.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/computenest/model/StopServiceInstanceResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::ComputeNest;
|
||||
using namespace AlibabaCloud::ComputeNest::Model;
|
||||
|
||||
StopServiceInstanceResult::StopServiceInstanceResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
StopServiceInstanceResult::StopServiceInstanceResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
StopServiceInstanceResult::~StopServiceInstanceResult()
|
||||
{}
|
||||
|
||||
void StopServiceInstanceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -23,8 +23,12 @@ set(csas_public_header
|
||||
set(csas_public_header_model
|
||||
include/alibabacloud/csas/model/AttachApplication2ConnectorRequest.h
|
||||
include/alibabacloud/csas/model/AttachApplication2ConnectorResult.h
|
||||
include/alibabacloud/csas/model/CreateClientUserRequest.h
|
||||
include/alibabacloud/csas/model/CreateClientUserResult.h
|
||||
include/alibabacloud/csas/model/CreateDynamicRouteRequest.h
|
||||
include/alibabacloud/csas/model/CreateDynamicRouteResult.h
|
||||
include/alibabacloud/csas/model/CreateIdpDepartmentRequest.h
|
||||
include/alibabacloud/csas/model/CreateIdpDepartmentResult.h
|
||||
include/alibabacloud/csas/model/CreatePrivateAccessApplicationRequest.h
|
||||
include/alibabacloud/csas/model/CreatePrivateAccessApplicationResult.h
|
||||
include/alibabacloud/csas/model/CreatePrivateAccessPolicyRequest.h
|
||||
@@ -35,8 +39,20 @@ set(csas_public_header_model
|
||||
include/alibabacloud/csas/model/CreateRegistrationPolicyResult.h
|
||||
include/alibabacloud/csas/model/CreateUserGroupRequest.h
|
||||
include/alibabacloud/csas/model/CreateUserGroupResult.h
|
||||
include/alibabacloud/csas/model/CreateWmBaseImageRequest.h
|
||||
include/alibabacloud/csas/model/CreateWmBaseImageResult.h
|
||||
include/alibabacloud/csas/model/CreateWmEmbedTaskRequest.h
|
||||
include/alibabacloud/csas/model/CreateWmEmbedTaskResult.h
|
||||
include/alibabacloud/csas/model/CreateWmExtractTaskRequest.h
|
||||
include/alibabacloud/csas/model/CreateWmExtractTaskResult.h
|
||||
include/alibabacloud/csas/model/CreateWmInfoMappingRequest.h
|
||||
include/alibabacloud/csas/model/CreateWmInfoMappingResult.h
|
||||
include/alibabacloud/csas/model/DeleteClientUserRequest.h
|
||||
include/alibabacloud/csas/model/DeleteClientUserResult.h
|
||||
include/alibabacloud/csas/model/DeleteDynamicRouteRequest.h
|
||||
include/alibabacloud/csas/model/DeleteDynamicRouteResult.h
|
||||
include/alibabacloud/csas/model/DeleteIdpDepartmentRequest.h
|
||||
include/alibabacloud/csas/model/DeleteIdpDepartmentResult.h
|
||||
include/alibabacloud/csas/model/DeletePrivateAccessApplicationRequest.h
|
||||
include/alibabacloud/csas/model/DeletePrivateAccessApplicationResult.h
|
||||
include/alibabacloud/csas/model/DeletePrivateAccessPolicyRequest.h
|
||||
@@ -45,12 +61,22 @@ set(csas_public_header_model
|
||||
include/alibabacloud/csas/model/DeletePrivateAccessTagResult.h
|
||||
include/alibabacloud/csas/model/DeleteRegistrationPoliciesRequest.h
|
||||
include/alibabacloud/csas/model/DeleteRegistrationPoliciesResult.h
|
||||
include/alibabacloud/csas/model/DeleteUserDevicesRequest.h
|
||||
include/alibabacloud/csas/model/DeleteUserDevicesResult.h
|
||||
include/alibabacloud/csas/model/DeleteUserGroupRequest.h
|
||||
include/alibabacloud/csas/model/DeleteUserGroupResult.h
|
||||
include/alibabacloud/csas/model/DetachApplication2ConnectorRequest.h
|
||||
include/alibabacloud/csas/model/DetachApplication2ConnectorResult.h
|
||||
include/alibabacloud/csas/model/ExportUserDevicesRequest.h
|
||||
include/alibabacloud/csas/model/ExportUserDevicesResult.h
|
||||
include/alibabacloud/csas/model/GetActiveIdpConfigRequest.h
|
||||
include/alibabacloud/csas/model/GetActiveIdpConfigResult.h
|
||||
include/alibabacloud/csas/model/GetClientUserRequest.h
|
||||
include/alibabacloud/csas/model/GetClientUserResult.h
|
||||
include/alibabacloud/csas/model/GetDynamicRouteRequest.h
|
||||
include/alibabacloud/csas/model/GetDynamicRouteResult.h
|
||||
include/alibabacloud/csas/model/GetIdpConfigRequest.h
|
||||
include/alibabacloud/csas/model/GetIdpConfigResult.h
|
||||
include/alibabacloud/csas/model/GetPrivateAccessApplicationRequest.h
|
||||
include/alibabacloud/csas/model/GetPrivateAccessApplicationResult.h
|
||||
include/alibabacloud/csas/model/GetPrivateAccessPolicyRequest.h
|
||||
@@ -61,10 +87,16 @@ set(csas_public_header_model
|
||||
include/alibabacloud/csas/model/GetUserDeviceResult.h
|
||||
include/alibabacloud/csas/model/GetUserGroupRequest.h
|
||||
include/alibabacloud/csas/model/GetUserGroupResult.h
|
||||
include/alibabacloud/csas/model/GetWmEmbedTaskRequest.h
|
||||
include/alibabacloud/csas/model/GetWmEmbedTaskResult.h
|
||||
include/alibabacloud/csas/model/GetWmExtractTaskRequest.h
|
||||
include/alibabacloud/csas/model/GetWmExtractTaskResult.h
|
||||
include/alibabacloud/csas/model/ListApplicationsForPrivateAccessPolicyRequest.h
|
||||
include/alibabacloud/csas/model/ListApplicationsForPrivateAccessPolicyResult.h
|
||||
include/alibabacloud/csas/model/ListApplicationsForPrivateAccessTagRequest.h
|
||||
include/alibabacloud/csas/model/ListApplicationsForPrivateAccessTagResult.h
|
||||
include/alibabacloud/csas/model/ListClientUsersRequest.h
|
||||
include/alibabacloud/csas/model/ListClientUsersResult.h
|
||||
include/alibabacloud/csas/model/ListConnectorsRequest.h
|
||||
include/alibabacloud/csas/model/ListConnectorsResult.h
|
||||
include/alibabacloud/csas/model/ListDynamicRouteRegionsRequest.h
|
||||
@@ -73,6 +105,12 @@ set(csas_public_header_model
|
||||
include/alibabacloud/csas/model/ListDynamicRoutesResult.h
|
||||
include/alibabacloud/csas/model/ListExcessiveDeviceRegistrationApplicationsRequest.h
|
||||
include/alibabacloud/csas/model/ListExcessiveDeviceRegistrationApplicationsResult.h
|
||||
include/alibabacloud/csas/model/ListIdpConfigsRequest.h
|
||||
include/alibabacloud/csas/model/ListIdpConfigsResult.h
|
||||
include/alibabacloud/csas/model/ListIdpDepartmentsRequest.h
|
||||
include/alibabacloud/csas/model/ListIdpDepartmentsResult.h
|
||||
include/alibabacloud/csas/model/ListNacUserCertRequest.h
|
||||
include/alibabacloud/csas/model/ListNacUserCertResult.h
|
||||
include/alibabacloud/csas/model/ListPolicesForPrivateAccessApplicationRequest.h
|
||||
include/alibabacloud/csas/model/ListPolicesForPrivateAccessApplicationResult.h
|
||||
include/alibabacloud/csas/model/ListPolicesForPrivateAccessTagRequest.h
|
||||
@@ -111,10 +149,24 @@ set(csas_public_header_model
|
||||
include/alibabacloud/csas/model/ListUserGroupsForRegistrationPolicyResult.h
|
||||
include/alibabacloud/csas/model/ListUsersRequest.h
|
||||
include/alibabacloud/csas/model/ListUsersResult.h
|
||||
include/alibabacloud/csas/model/LookupWmInfoMappingRequest.h
|
||||
include/alibabacloud/csas/model/LookupWmInfoMappingResult.h
|
||||
include/alibabacloud/csas/model/RevokeUserSessionRequest.h
|
||||
include/alibabacloud/csas/model/RevokeUserSessionResult.h
|
||||
include/alibabacloud/csas/model/UpdateClientUserRequest.h
|
||||
include/alibabacloud/csas/model/UpdateClientUserResult.h
|
||||
include/alibabacloud/csas/model/UpdateClientUserPasswordRequest.h
|
||||
include/alibabacloud/csas/model/UpdateClientUserPasswordResult.h
|
||||
include/alibabacloud/csas/model/UpdateClientUserStatusRequest.h
|
||||
include/alibabacloud/csas/model/UpdateClientUserStatusResult.h
|
||||
include/alibabacloud/csas/model/UpdateDynamicRouteRequest.h
|
||||
include/alibabacloud/csas/model/UpdateDynamicRouteResult.h
|
||||
include/alibabacloud/csas/model/UpdateExcessiveDeviceRegistrationApplicationsStatusRequest.h
|
||||
include/alibabacloud/csas/model/UpdateExcessiveDeviceRegistrationApplicationsStatusResult.h
|
||||
include/alibabacloud/csas/model/UpdateIdpDepartmentRequest.h
|
||||
include/alibabacloud/csas/model/UpdateIdpDepartmentResult.h
|
||||
include/alibabacloud/csas/model/UpdateNacUserCertStatusRequest.h
|
||||
include/alibabacloud/csas/model/UpdateNacUserCertStatusResult.h
|
||||
include/alibabacloud/csas/model/UpdatePrivateAccessApplicationRequest.h
|
||||
include/alibabacloud/csas/model/UpdatePrivateAccessApplicationResult.h
|
||||
include/alibabacloud/csas/model/UpdatePrivateAccessPolicyRequest.h
|
||||
@@ -134,8 +186,12 @@ set(csas_src
|
||||
src/CsasClient.cc
|
||||
src/model/AttachApplication2ConnectorRequest.cc
|
||||
src/model/AttachApplication2ConnectorResult.cc
|
||||
src/model/CreateClientUserRequest.cc
|
||||
src/model/CreateClientUserResult.cc
|
||||
src/model/CreateDynamicRouteRequest.cc
|
||||
src/model/CreateDynamicRouteResult.cc
|
||||
src/model/CreateIdpDepartmentRequest.cc
|
||||
src/model/CreateIdpDepartmentResult.cc
|
||||
src/model/CreatePrivateAccessApplicationRequest.cc
|
||||
src/model/CreatePrivateAccessApplicationResult.cc
|
||||
src/model/CreatePrivateAccessPolicyRequest.cc
|
||||
@@ -146,8 +202,20 @@ set(csas_src
|
||||
src/model/CreateRegistrationPolicyResult.cc
|
||||
src/model/CreateUserGroupRequest.cc
|
||||
src/model/CreateUserGroupResult.cc
|
||||
src/model/CreateWmBaseImageRequest.cc
|
||||
src/model/CreateWmBaseImageResult.cc
|
||||
src/model/CreateWmEmbedTaskRequest.cc
|
||||
src/model/CreateWmEmbedTaskResult.cc
|
||||
src/model/CreateWmExtractTaskRequest.cc
|
||||
src/model/CreateWmExtractTaskResult.cc
|
||||
src/model/CreateWmInfoMappingRequest.cc
|
||||
src/model/CreateWmInfoMappingResult.cc
|
||||
src/model/DeleteClientUserRequest.cc
|
||||
src/model/DeleteClientUserResult.cc
|
||||
src/model/DeleteDynamicRouteRequest.cc
|
||||
src/model/DeleteDynamicRouteResult.cc
|
||||
src/model/DeleteIdpDepartmentRequest.cc
|
||||
src/model/DeleteIdpDepartmentResult.cc
|
||||
src/model/DeletePrivateAccessApplicationRequest.cc
|
||||
src/model/DeletePrivateAccessApplicationResult.cc
|
||||
src/model/DeletePrivateAccessPolicyRequest.cc
|
||||
@@ -156,12 +224,22 @@ set(csas_src
|
||||
src/model/DeletePrivateAccessTagResult.cc
|
||||
src/model/DeleteRegistrationPoliciesRequest.cc
|
||||
src/model/DeleteRegistrationPoliciesResult.cc
|
||||
src/model/DeleteUserDevicesRequest.cc
|
||||
src/model/DeleteUserDevicesResult.cc
|
||||
src/model/DeleteUserGroupRequest.cc
|
||||
src/model/DeleteUserGroupResult.cc
|
||||
src/model/DetachApplication2ConnectorRequest.cc
|
||||
src/model/DetachApplication2ConnectorResult.cc
|
||||
src/model/ExportUserDevicesRequest.cc
|
||||
src/model/ExportUserDevicesResult.cc
|
||||
src/model/GetActiveIdpConfigRequest.cc
|
||||
src/model/GetActiveIdpConfigResult.cc
|
||||
src/model/GetClientUserRequest.cc
|
||||
src/model/GetClientUserResult.cc
|
||||
src/model/GetDynamicRouteRequest.cc
|
||||
src/model/GetDynamicRouteResult.cc
|
||||
src/model/GetIdpConfigRequest.cc
|
||||
src/model/GetIdpConfigResult.cc
|
||||
src/model/GetPrivateAccessApplicationRequest.cc
|
||||
src/model/GetPrivateAccessApplicationResult.cc
|
||||
src/model/GetPrivateAccessPolicyRequest.cc
|
||||
@@ -172,10 +250,16 @@ set(csas_src
|
||||
src/model/GetUserDeviceResult.cc
|
||||
src/model/GetUserGroupRequest.cc
|
||||
src/model/GetUserGroupResult.cc
|
||||
src/model/GetWmEmbedTaskRequest.cc
|
||||
src/model/GetWmEmbedTaskResult.cc
|
||||
src/model/GetWmExtractTaskRequest.cc
|
||||
src/model/GetWmExtractTaskResult.cc
|
||||
src/model/ListApplicationsForPrivateAccessPolicyRequest.cc
|
||||
src/model/ListApplicationsForPrivateAccessPolicyResult.cc
|
||||
src/model/ListApplicationsForPrivateAccessTagRequest.cc
|
||||
src/model/ListApplicationsForPrivateAccessTagResult.cc
|
||||
src/model/ListClientUsersRequest.cc
|
||||
src/model/ListClientUsersResult.cc
|
||||
src/model/ListConnectorsRequest.cc
|
||||
src/model/ListConnectorsResult.cc
|
||||
src/model/ListDynamicRouteRegionsRequest.cc
|
||||
@@ -184,6 +268,12 @@ set(csas_src
|
||||
src/model/ListDynamicRoutesResult.cc
|
||||
src/model/ListExcessiveDeviceRegistrationApplicationsRequest.cc
|
||||
src/model/ListExcessiveDeviceRegistrationApplicationsResult.cc
|
||||
src/model/ListIdpConfigsRequest.cc
|
||||
src/model/ListIdpConfigsResult.cc
|
||||
src/model/ListIdpDepartmentsRequest.cc
|
||||
src/model/ListIdpDepartmentsResult.cc
|
||||
src/model/ListNacUserCertRequest.cc
|
||||
src/model/ListNacUserCertResult.cc
|
||||
src/model/ListPolicesForPrivateAccessApplicationRequest.cc
|
||||
src/model/ListPolicesForPrivateAccessApplicationResult.cc
|
||||
src/model/ListPolicesForPrivateAccessTagRequest.cc
|
||||
@@ -222,10 +312,24 @@ set(csas_src
|
||||
src/model/ListUserGroupsForRegistrationPolicyResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/LookupWmInfoMappingRequest.cc
|
||||
src/model/LookupWmInfoMappingResult.cc
|
||||
src/model/RevokeUserSessionRequest.cc
|
||||
src/model/RevokeUserSessionResult.cc
|
||||
src/model/UpdateClientUserRequest.cc
|
||||
src/model/UpdateClientUserResult.cc
|
||||
src/model/UpdateClientUserPasswordRequest.cc
|
||||
src/model/UpdateClientUserPasswordResult.cc
|
||||
src/model/UpdateClientUserStatusRequest.cc
|
||||
src/model/UpdateClientUserStatusResult.cc
|
||||
src/model/UpdateDynamicRouteRequest.cc
|
||||
src/model/UpdateDynamicRouteResult.cc
|
||||
src/model/UpdateExcessiveDeviceRegistrationApplicationsStatusRequest.cc
|
||||
src/model/UpdateExcessiveDeviceRegistrationApplicationsStatusResult.cc
|
||||
src/model/UpdateIdpDepartmentRequest.cc
|
||||
src/model/UpdateIdpDepartmentResult.cc
|
||||
src/model/UpdateNacUserCertStatusRequest.cc
|
||||
src/model/UpdateNacUserCertStatusResult.cc
|
||||
src/model/UpdatePrivateAccessApplicationRequest.cc
|
||||
src/model/UpdatePrivateAccessApplicationResult.cc
|
||||
src/model/UpdatePrivateAccessPolicyRequest.cc
|
||||
|
||||
@@ -24,8 +24,12 @@
|
||||
#include "CsasExport.h"
|
||||
#include "model/AttachApplication2ConnectorRequest.h"
|
||||
#include "model/AttachApplication2ConnectorResult.h"
|
||||
#include "model/CreateClientUserRequest.h"
|
||||
#include "model/CreateClientUserResult.h"
|
||||
#include "model/CreateDynamicRouteRequest.h"
|
||||
#include "model/CreateDynamicRouteResult.h"
|
||||
#include "model/CreateIdpDepartmentRequest.h"
|
||||
#include "model/CreateIdpDepartmentResult.h"
|
||||
#include "model/CreatePrivateAccessApplicationRequest.h"
|
||||
#include "model/CreatePrivateAccessApplicationResult.h"
|
||||
#include "model/CreatePrivateAccessPolicyRequest.h"
|
||||
@@ -36,8 +40,20 @@
|
||||
#include "model/CreateRegistrationPolicyResult.h"
|
||||
#include "model/CreateUserGroupRequest.h"
|
||||
#include "model/CreateUserGroupResult.h"
|
||||
#include "model/CreateWmBaseImageRequest.h"
|
||||
#include "model/CreateWmBaseImageResult.h"
|
||||
#include "model/CreateWmEmbedTaskRequest.h"
|
||||
#include "model/CreateWmEmbedTaskResult.h"
|
||||
#include "model/CreateWmExtractTaskRequest.h"
|
||||
#include "model/CreateWmExtractTaskResult.h"
|
||||
#include "model/CreateWmInfoMappingRequest.h"
|
||||
#include "model/CreateWmInfoMappingResult.h"
|
||||
#include "model/DeleteClientUserRequest.h"
|
||||
#include "model/DeleteClientUserResult.h"
|
||||
#include "model/DeleteDynamicRouteRequest.h"
|
||||
#include "model/DeleteDynamicRouteResult.h"
|
||||
#include "model/DeleteIdpDepartmentRequest.h"
|
||||
#include "model/DeleteIdpDepartmentResult.h"
|
||||
#include "model/DeletePrivateAccessApplicationRequest.h"
|
||||
#include "model/DeletePrivateAccessApplicationResult.h"
|
||||
#include "model/DeletePrivateAccessPolicyRequest.h"
|
||||
@@ -46,12 +62,22 @@
|
||||
#include "model/DeletePrivateAccessTagResult.h"
|
||||
#include "model/DeleteRegistrationPoliciesRequest.h"
|
||||
#include "model/DeleteRegistrationPoliciesResult.h"
|
||||
#include "model/DeleteUserDevicesRequest.h"
|
||||
#include "model/DeleteUserDevicesResult.h"
|
||||
#include "model/DeleteUserGroupRequest.h"
|
||||
#include "model/DeleteUserGroupResult.h"
|
||||
#include "model/DetachApplication2ConnectorRequest.h"
|
||||
#include "model/DetachApplication2ConnectorResult.h"
|
||||
#include "model/ExportUserDevicesRequest.h"
|
||||
#include "model/ExportUserDevicesResult.h"
|
||||
#include "model/GetActiveIdpConfigRequest.h"
|
||||
#include "model/GetActiveIdpConfigResult.h"
|
||||
#include "model/GetClientUserRequest.h"
|
||||
#include "model/GetClientUserResult.h"
|
||||
#include "model/GetDynamicRouteRequest.h"
|
||||
#include "model/GetDynamicRouteResult.h"
|
||||
#include "model/GetIdpConfigRequest.h"
|
||||
#include "model/GetIdpConfigResult.h"
|
||||
#include "model/GetPrivateAccessApplicationRequest.h"
|
||||
#include "model/GetPrivateAccessApplicationResult.h"
|
||||
#include "model/GetPrivateAccessPolicyRequest.h"
|
||||
@@ -62,10 +88,16 @@
|
||||
#include "model/GetUserDeviceResult.h"
|
||||
#include "model/GetUserGroupRequest.h"
|
||||
#include "model/GetUserGroupResult.h"
|
||||
#include "model/GetWmEmbedTaskRequest.h"
|
||||
#include "model/GetWmEmbedTaskResult.h"
|
||||
#include "model/GetWmExtractTaskRequest.h"
|
||||
#include "model/GetWmExtractTaskResult.h"
|
||||
#include "model/ListApplicationsForPrivateAccessPolicyRequest.h"
|
||||
#include "model/ListApplicationsForPrivateAccessPolicyResult.h"
|
||||
#include "model/ListApplicationsForPrivateAccessTagRequest.h"
|
||||
#include "model/ListApplicationsForPrivateAccessTagResult.h"
|
||||
#include "model/ListClientUsersRequest.h"
|
||||
#include "model/ListClientUsersResult.h"
|
||||
#include "model/ListConnectorsRequest.h"
|
||||
#include "model/ListConnectorsResult.h"
|
||||
#include "model/ListDynamicRouteRegionsRequest.h"
|
||||
@@ -74,6 +106,12 @@
|
||||
#include "model/ListDynamicRoutesResult.h"
|
||||
#include "model/ListExcessiveDeviceRegistrationApplicationsRequest.h"
|
||||
#include "model/ListExcessiveDeviceRegistrationApplicationsResult.h"
|
||||
#include "model/ListIdpConfigsRequest.h"
|
||||
#include "model/ListIdpConfigsResult.h"
|
||||
#include "model/ListIdpDepartmentsRequest.h"
|
||||
#include "model/ListIdpDepartmentsResult.h"
|
||||
#include "model/ListNacUserCertRequest.h"
|
||||
#include "model/ListNacUserCertResult.h"
|
||||
#include "model/ListPolicesForPrivateAccessApplicationRequest.h"
|
||||
#include "model/ListPolicesForPrivateAccessApplicationResult.h"
|
||||
#include "model/ListPolicesForPrivateAccessTagRequest.h"
|
||||
@@ -112,10 +150,24 @@
|
||||
#include "model/ListUserGroupsForRegistrationPolicyResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/LookupWmInfoMappingRequest.h"
|
||||
#include "model/LookupWmInfoMappingResult.h"
|
||||
#include "model/RevokeUserSessionRequest.h"
|
||||
#include "model/RevokeUserSessionResult.h"
|
||||
#include "model/UpdateClientUserRequest.h"
|
||||
#include "model/UpdateClientUserResult.h"
|
||||
#include "model/UpdateClientUserPasswordRequest.h"
|
||||
#include "model/UpdateClientUserPasswordResult.h"
|
||||
#include "model/UpdateClientUserStatusRequest.h"
|
||||
#include "model/UpdateClientUserStatusResult.h"
|
||||
#include "model/UpdateDynamicRouteRequest.h"
|
||||
#include "model/UpdateDynamicRouteResult.h"
|
||||
#include "model/UpdateExcessiveDeviceRegistrationApplicationsStatusRequest.h"
|
||||
#include "model/UpdateExcessiveDeviceRegistrationApplicationsStatusResult.h"
|
||||
#include "model/UpdateIdpDepartmentRequest.h"
|
||||
#include "model/UpdateIdpDepartmentResult.h"
|
||||
#include "model/UpdateNacUserCertStatusRequest.h"
|
||||
#include "model/UpdateNacUserCertStatusResult.h"
|
||||
#include "model/UpdatePrivateAccessApplicationRequest.h"
|
||||
#include "model/UpdatePrivateAccessApplicationResult.h"
|
||||
#include "model/UpdatePrivateAccessPolicyRequest.h"
|
||||
@@ -142,9 +194,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AttachApplication2ConnectorResult> AttachApplication2ConnectorOutcome;
|
||||
typedef std::future<AttachApplication2ConnectorOutcome> AttachApplication2ConnectorOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::AttachApplication2ConnectorRequest&, const AttachApplication2ConnectorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachApplication2ConnectorAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateClientUserResult> CreateClientUserOutcome;
|
||||
typedef std::future<CreateClientUserOutcome> CreateClientUserOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateClientUserRequest&, const CreateClientUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateClientUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDynamicRouteResult> CreateDynamicRouteOutcome;
|
||||
typedef std::future<CreateDynamicRouteOutcome> CreateDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateDynamicRouteRequest&, const CreateDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateIdpDepartmentResult> CreateIdpDepartmentOutcome;
|
||||
typedef std::future<CreateIdpDepartmentOutcome> CreateIdpDepartmentOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateIdpDepartmentRequest&, const CreateIdpDepartmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIdpDepartmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePrivateAccessApplicationResult> CreatePrivateAccessApplicationOutcome;
|
||||
typedef std::future<CreatePrivateAccessApplicationOutcome> CreatePrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreatePrivateAccessApplicationRequest&, const CreatePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePrivateAccessApplicationAsyncHandler;
|
||||
@@ -160,9 +218,27 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateUserGroupResult> CreateUserGroupOutcome;
|
||||
typedef std::future<CreateUserGroupOutcome> CreateUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateUserGroupRequest&, const CreateUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWmBaseImageResult> CreateWmBaseImageOutcome;
|
||||
typedef std::future<CreateWmBaseImageOutcome> CreateWmBaseImageOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateWmBaseImageRequest&, const CreateWmBaseImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWmBaseImageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWmEmbedTaskResult> CreateWmEmbedTaskOutcome;
|
||||
typedef std::future<CreateWmEmbedTaskOutcome> CreateWmEmbedTaskOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateWmEmbedTaskRequest&, const CreateWmEmbedTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWmEmbedTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWmExtractTaskResult> CreateWmExtractTaskOutcome;
|
||||
typedef std::future<CreateWmExtractTaskOutcome> CreateWmExtractTaskOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateWmExtractTaskRequest&, const CreateWmExtractTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWmExtractTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateWmInfoMappingResult> CreateWmInfoMappingOutcome;
|
||||
typedef std::future<CreateWmInfoMappingOutcome> CreateWmInfoMappingOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::CreateWmInfoMappingRequest&, const CreateWmInfoMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateWmInfoMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteClientUserResult> DeleteClientUserOutcome;
|
||||
typedef std::future<DeleteClientUserOutcome> DeleteClientUserOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteClientUserRequest&, const DeleteClientUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteClientUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDynamicRouteResult> DeleteDynamicRouteOutcome;
|
||||
typedef std::future<DeleteDynamicRouteOutcome> DeleteDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteDynamicRouteRequest&, const DeleteDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteIdpDepartmentResult> DeleteIdpDepartmentOutcome;
|
||||
typedef std::future<DeleteIdpDepartmentOutcome> DeleteIdpDepartmentOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteIdpDepartmentRequest&, const DeleteIdpDepartmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteIdpDepartmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePrivateAccessApplicationResult> DeletePrivateAccessApplicationOutcome;
|
||||
typedef std::future<DeletePrivateAccessApplicationOutcome> DeletePrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeletePrivateAccessApplicationRequest&, const DeletePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePrivateAccessApplicationAsyncHandler;
|
||||
@@ -175,15 +251,30 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteRegistrationPoliciesResult> DeleteRegistrationPoliciesOutcome;
|
||||
typedef std::future<DeleteRegistrationPoliciesOutcome> DeleteRegistrationPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteRegistrationPoliciesRequest&, const DeleteRegistrationPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRegistrationPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserDevicesResult> DeleteUserDevicesOutcome;
|
||||
typedef std::future<DeleteUserDevicesOutcome> DeleteUserDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteUserDevicesRequest&, const DeleteUserDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUserGroupResult> DeleteUserGroupOutcome;
|
||||
typedef std::future<DeleteUserGroupOutcome> DeleteUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DeleteUserGroupRequest&, const DeleteUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetachApplication2ConnectorResult> DetachApplication2ConnectorOutcome;
|
||||
typedef std::future<DetachApplication2ConnectorOutcome> DetachApplication2ConnectorOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::DetachApplication2ConnectorRequest&, const DetachApplication2ConnectorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachApplication2ConnectorAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExportUserDevicesResult> ExportUserDevicesOutcome;
|
||||
typedef std::future<ExportUserDevicesOutcome> ExportUserDevicesOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ExportUserDevicesRequest&, const ExportUserDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportUserDevicesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetActiveIdpConfigResult> GetActiveIdpConfigOutcome;
|
||||
typedef std::future<GetActiveIdpConfigOutcome> GetActiveIdpConfigOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetActiveIdpConfigRequest&, const GetActiveIdpConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetActiveIdpConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetClientUserResult> GetClientUserOutcome;
|
||||
typedef std::future<GetClientUserOutcome> GetClientUserOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetClientUserRequest&, const GetClientUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetClientUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDynamicRouteResult> GetDynamicRouteOutcome;
|
||||
typedef std::future<GetDynamicRouteOutcome> GetDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetDynamicRouteRequest&, const GetDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetIdpConfigResult> GetIdpConfigOutcome;
|
||||
typedef std::future<GetIdpConfigOutcome> GetIdpConfigOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetIdpConfigRequest&, const GetIdpConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetIdpConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPrivateAccessApplicationResult> GetPrivateAccessApplicationOutcome;
|
||||
typedef std::future<GetPrivateAccessApplicationOutcome> GetPrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetPrivateAccessApplicationRequest&, const GetPrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrivateAccessApplicationAsyncHandler;
|
||||
@@ -199,12 +290,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetUserGroupResult> GetUserGroupOutcome;
|
||||
typedef std::future<GetUserGroupOutcome> GetUserGroupOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetUserGroupRequest&, const GetUserGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWmEmbedTaskResult> GetWmEmbedTaskOutcome;
|
||||
typedef std::future<GetWmEmbedTaskOutcome> GetWmEmbedTaskOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetWmEmbedTaskRequest&, const GetWmEmbedTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWmEmbedTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWmExtractTaskResult> GetWmExtractTaskOutcome;
|
||||
typedef std::future<GetWmExtractTaskOutcome> GetWmExtractTaskOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::GetWmExtractTaskRequest&, const GetWmExtractTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWmExtractTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListApplicationsForPrivateAccessPolicyResult> ListApplicationsForPrivateAccessPolicyOutcome;
|
||||
typedef std::future<ListApplicationsForPrivateAccessPolicyOutcome> ListApplicationsForPrivateAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListApplicationsForPrivateAccessPolicyRequest&, const ListApplicationsForPrivateAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsForPrivateAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListApplicationsForPrivateAccessTagResult> ListApplicationsForPrivateAccessTagOutcome;
|
||||
typedef std::future<ListApplicationsForPrivateAccessTagOutcome> ListApplicationsForPrivateAccessTagOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListApplicationsForPrivateAccessTagRequest&, const ListApplicationsForPrivateAccessTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListApplicationsForPrivateAccessTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListClientUsersResult> ListClientUsersOutcome;
|
||||
typedef std::future<ListClientUsersOutcome> ListClientUsersOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListClientUsersRequest&, const ListClientUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListClientUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListConnectorsResult> ListConnectorsOutcome;
|
||||
typedef std::future<ListConnectorsOutcome> ListConnectorsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListConnectorsRequest&, const ListConnectorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConnectorsAsyncHandler;
|
||||
@@ -217,6 +317,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListExcessiveDeviceRegistrationApplicationsResult> ListExcessiveDeviceRegistrationApplicationsOutcome;
|
||||
typedef std::future<ListExcessiveDeviceRegistrationApplicationsOutcome> ListExcessiveDeviceRegistrationApplicationsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListExcessiveDeviceRegistrationApplicationsRequest&, const ListExcessiveDeviceRegistrationApplicationsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListExcessiveDeviceRegistrationApplicationsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListIdpConfigsResult> ListIdpConfigsOutcome;
|
||||
typedef std::future<ListIdpConfigsOutcome> ListIdpConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListIdpConfigsRequest&, const ListIdpConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIdpConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListIdpDepartmentsResult> ListIdpDepartmentsOutcome;
|
||||
typedef std::future<ListIdpDepartmentsOutcome> ListIdpDepartmentsOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListIdpDepartmentsRequest&, const ListIdpDepartmentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListIdpDepartmentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListNacUserCertResult> ListNacUserCertOutcome;
|
||||
typedef std::future<ListNacUserCertOutcome> ListNacUserCertOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListNacUserCertRequest&, const ListNacUserCertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNacUserCertAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPolicesForPrivateAccessApplicationResult> ListPolicesForPrivateAccessApplicationOutcome;
|
||||
typedef std::future<ListPolicesForPrivateAccessApplicationOutcome> ListPolicesForPrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListPolicesForPrivateAccessApplicationRequest&, const ListPolicesForPrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPolicesForPrivateAccessApplicationAsyncHandler;
|
||||
@@ -274,12 +383,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::LookupWmInfoMappingResult> LookupWmInfoMappingOutcome;
|
||||
typedef std::future<LookupWmInfoMappingOutcome> LookupWmInfoMappingOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::LookupWmInfoMappingRequest&, const LookupWmInfoMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupWmInfoMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::RevokeUserSessionResult> RevokeUserSessionOutcome;
|
||||
typedef std::future<RevokeUserSessionOutcome> RevokeUserSessionOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::RevokeUserSessionRequest&, const RevokeUserSessionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeUserSessionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateClientUserResult> UpdateClientUserOutcome;
|
||||
typedef std::future<UpdateClientUserOutcome> UpdateClientUserOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateClientUserRequest&, const UpdateClientUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateClientUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateClientUserPasswordResult> UpdateClientUserPasswordOutcome;
|
||||
typedef std::future<UpdateClientUserPasswordOutcome> UpdateClientUserPasswordOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateClientUserPasswordRequest&, const UpdateClientUserPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateClientUserPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateClientUserStatusResult> UpdateClientUserStatusOutcome;
|
||||
typedef std::future<UpdateClientUserStatusOutcome> UpdateClientUserStatusOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateClientUserStatusRequest&, const UpdateClientUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateClientUserStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDynamicRouteResult> UpdateDynamicRouteOutcome;
|
||||
typedef std::future<UpdateDynamicRouteOutcome> UpdateDynamicRouteOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateDynamicRouteRequest&, const UpdateDynamicRouteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDynamicRouteAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateExcessiveDeviceRegistrationApplicationsStatusResult> UpdateExcessiveDeviceRegistrationApplicationsStatusOutcome;
|
||||
typedef std::future<UpdateExcessiveDeviceRegistrationApplicationsStatusOutcome> UpdateExcessiveDeviceRegistrationApplicationsStatusOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateExcessiveDeviceRegistrationApplicationsStatusRequest&, const UpdateExcessiveDeviceRegistrationApplicationsStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateExcessiveDeviceRegistrationApplicationsStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateIdpDepartmentResult> UpdateIdpDepartmentOutcome;
|
||||
typedef std::future<UpdateIdpDepartmentOutcome> UpdateIdpDepartmentOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateIdpDepartmentRequest&, const UpdateIdpDepartmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateIdpDepartmentAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateNacUserCertStatusResult> UpdateNacUserCertStatusOutcome;
|
||||
typedef std::future<UpdateNacUserCertStatusOutcome> UpdateNacUserCertStatusOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdateNacUserCertStatusRequest&, const UpdateNacUserCertStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateNacUserCertStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdatePrivateAccessApplicationResult> UpdatePrivateAccessApplicationOutcome;
|
||||
typedef std::future<UpdatePrivateAccessApplicationOutcome> UpdatePrivateAccessApplicationOutcomeCallable;
|
||||
typedef std::function<void(const CsasClient*, const Model::UpdatePrivateAccessApplicationRequest&, const UpdatePrivateAccessApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdatePrivateAccessApplicationAsyncHandler;
|
||||
@@ -309,9 +439,15 @@ namespace AlibabaCloud
|
||||
AttachApplication2ConnectorOutcome attachApplication2Connector(const Model::AttachApplication2ConnectorRequest &request)const;
|
||||
void attachApplication2ConnectorAsync(const Model::AttachApplication2ConnectorRequest& request, const AttachApplication2ConnectorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachApplication2ConnectorOutcomeCallable attachApplication2ConnectorCallable(const Model::AttachApplication2ConnectorRequest& request) const;
|
||||
CreateClientUserOutcome createClientUser(const Model::CreateClientUserRequest &request)const;
|
||||
void createClientUserAsync(const Model::CreateClientUserRequest& request, const CreateClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateClientUserOutcomeCallable createClientUserCallable(const Model::CreateClientUserRequest& request) const;
|
||||
CreateDynamicRouteOutcome createDynamicRoute(const Model::CreateDynamicRouteRequest &request)const;
|
||||
void createDynamicRouteAsync(const Model::CreateDynamicRouteRequest& request, const CreateDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDynamicRouteOutcomeCallable createDynamicRouteCallable(const Model::CreateDynamicRouteRequest& request) const;
|
||||
CreateIdpDepartmentOutcome createIdpDepartment(const Model::CreateIdpDepartmentRequest &request)const;
|
||||
void createIdpDepartmentAsync(const Model::CreateIdpDepartmentRequest& request, const CreateIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateIdpDepartmentOutcomeCallable createIdpDepartmentCallable(const Model::CreateIdpDepartmentRequest& request) const;
|
||||
CreatePrivateAccessApplicationOutcome createPrivateAccessApplication(const Model::CreatePrivateAccessApplicationRequest &request)const;
|
||||
void createPrivateAccessApplicationAsync(const Model::CreatePrivateAccessApplicationRequest& request, const CreatePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePrivateAccessApplicationOutcomeCallable createPrivateAccessApplicationCallable(const Model::CreatePrivateAccessApplicationRequest& request) const;
|
||||
@@ -327,9 +463,27 @@ namespace AlibabaCloud
|
||||
CreateUserGroupOutcome createUserGroup(const Model::CreateUserGroupRequest &request)const;
|
||||
void createUserGroupAsync(const Model::CreateUserGroupRequest& request, const CreateUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUserGroupOutcomeCallable createUserGroupCallable(const Model::CreateUserGroupRequest& request) const;
|
||||
CreateWmBaseImageOutcome createWmBaseImage(const Model::CreateWmBaseImageRequest &request)const;
|
||||
void createWmBaseImageAsync(const Model::CreateWmBaseImageRequest& request, const CreateWmBaseImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWmBaseImageOutcomeCallable createWmBaseImageCallable(const Model::CreateWmBaseImageRequest& request) const;
|
||||
CreateWmEmbedTaskOutcome createWmEmbedTask(const Model::CreateWmEmbedTaskRequest &request)const;
|
||||
void createWmEmbedTaskAsync(const Model::CreateWmEmbedTaskRequest& request, const CreateWmEmbedTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWmEmbedTaskOutcomeCallable createWmEmbedTaskCallable(const Model::CreateWmEmbedTaskRequest& request) const;
|
||||
CreateWmExtractTaskOutcome createWmExtractTask(const Model::CreateWmExtractTaskRequest &request)const;
|
||||
void createWmExtractTaskAsync(const Model::CreateWmExtractTaskRequest& request, const CreateWmExtractTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWmExtractTaskOutcomeCallable createWmExtractTaskCallable(const Model::CreateWmExtractTaskRequest& request) const;
|
||||
CreateWmInfoMappingOutcome createWmInfoMapping(const Model::CreateWmInfoMappingRequest &request)const;
|
||||
void createWmInfoMappingAsync(const Model::CreateWmInfoMappingRequest& request, const CreateWmInfoMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateWmInfoMappingOutcomeCallable createWmInfoMappingCallable(const Model::CreateWmInfoMappingRequest& request) const;
|
||||
DeleteClientUserOutcome deleteClientUser(const Model::DeleteClientUserRequest &request)const;
|
||||
void deleteClientUserAsync(const Model::DeleteClientUserRequest& request, const DeleteClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteClientUserOutcomeCallable deleteClientUserCallable(const Model::DeleteClientUserRequest& request) const;
|
||||
DeleteDynamicRouteOutcome deleteDynamicRoute(const Model::DeleteDynamicRouteRequest &request)const;
|
||||
void deleteDynamicRouteAsync(const Model::DeleteDynamicRouteRequest& request, const DeleteDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDynamicRouteOutcomeCallable deleteDynamicRouteCallable(const Model::DeleteDynamicRouteRequest& request) const;
|
||||
DeleteIdpDepartmentOutcome deleteIdpDepartment(const Model::DeleteIdpDepartmentRequest &request)const;
|
||||
void deleteIdpDepartmentAsync(const Model::DeleteIdpDepartmentRequest& request, const DeleteIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteIdpDepartmentOutcomeCallable deleteIdpDepartmentCallable(const Model::DeleteIdpDepartmentRequest& request) const;
|
||||
DeletePrivateAccessApplicationOutcome deletePrivateAccessApplication(const Model::DeletePrivateAccessApplicationRequest &request)const;
|
||||
void deletePrivateAccessApplicationAsync(const Model::DeletePrivateAccessApplicationRequest& request, const DeletePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePrivateAccessApplicationOutcomeCallable deletePrivateAccessApplicationCallable(const Model::DeletePrivateAccessApplicationRequest& request) const;
|
||||
@@ -342,15 +496,30 @@ namespace AlibabaCloud
|
||||
DeleteRegistrationPoliciesOutcome deleteRegistrationPolicies(const Model::DeleteRegistrationPoliciesRequest &request)const;
|
||||
void deleteRegistrationPoliciesAsync(const Model::DeleteRegistrationPoliciesRequest& request, const DeleteRegistrationPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRegistrationPoliciesOutcomeCallable deleteRegistrationPoliciesCallable(const Model::DeleteRegistrationPoliciesRequest& request) const;
|
||||
DeleteUserDevicesOutcome deleteUserDevices(const Model::DeleteUserDevicesRequest &request)const;
|
||||
void deleteUserDevicesAsync(const Model::DeleteUserDevicesRequest& request, const DeleteUserDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserDevicesOutcomeCallable deleteUserDevicesCallable(const Model::DeleteUserDevicesRequest& request) const;
|
||||
DeleteUserGroupOutcome deleteUserGroup(const Model::DeleteUserGroupRequest &request)const;
|
||||
void deleteUserGroupAsync(const Model::DeleteUserGroupRequest& request, const DeleteUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserGroupOutcomeCallable deleteUserGroupCallable(const Model::DeleteUserGroupRequest& request) const;
|
||||
DetachApplication2ConnectorOutcome detachApplication2Connector(const Model::DetachApplication2ConnectorRequest &request)const;
|
||||
void detachApplication2ConnectorAsync(const Model::DetachApplication2ConnectorRequest& request, const DetachApplication2ConnectorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetachApplication2ConnectorOutcomeCallable detachApplication2ConnectorCallable(const Model::DetachApplication2ConnectorRequest& request) const;
|
||||
ExportUserDevicesOutcome exportUserDevices(const Model::ExportUserDevicesRequest &request)const;
|
||||
void exportUserDevicesAsync(const Model::ExportUserDevicesRequest& request, const ExportUserDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportUserDevicesOutcomeCallable exportUserDevicesCallable(const Model::ExportUserDevicesRequest& request) const;
|
||||
GetActiveIdpConfigOutcome getActiveIdpConfig(const Model::GetActiveIdpConfigRequest &request)const;
|
||||
void getActiveIdpConfigAsync(const Model::GetActiveIdpConfigRequest& request, const GetActiveIdpConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetActiveIdpConfigOutcomeCallable getActiveIdpConfigCallable(const Model::GetActiveIdpConfigRequest& request) const;
|
||||
GetClientUserOutcome getClientUser(const Model::GetClientUserRequest &request)const;
|
||||
void getClientUserAsync(const Model::GetClientUserRequest& request, const GetClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetClientUserOutcomeCallable getClientUserCallable(const Model::GetClientUserRequest& request) const;
|
||||
GetDynamicRouteOutcome getDynamicRoute(const Model::GetDynamicRouteRequest &request)const;
|
||||
void getDynamicRouteAsync(const Model::GetDynamicRouteRequest& request, const GetDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDynamicRouteOutcomeCallable getDynamicRouteCallable(const Model::GetDynamicRouteRequest& request) const;
|
||||
GetIdpConfigOutcome getIdpConfig(const Model::GetIdpConfigRequest &request)const;
|
||||
void getIdpConfigAsync(const Model::GetIdpConfigRequest& request, const GetIdpConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetIdpConfigOutcomeCallable getIdpConfigCallable(const Model::GetIdpConfigRequest& request) const;
|
||||
GetPrivateAccessApplicationOutcome getPrivateAccessApplication(const Model::GetPrivateAccessApplicationRequest &request)const;
|
||||
void getPrivateAccessApplicationAsync(const Model::GetPrivateAccessApplicationRequest& request, const GetPrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPrivateAccessApplicationOutcomeCallable getPrivateAccessApplicationCallable(const Model::GetPrivateAccessApplicationRequest& request) const;
|
||||
@@ -366,12 +535,21 @@ namespace AlibabaCloud
|
||||
GetUserGroupOutcome getUserGroup(const Model::GetUserGroupRequest &request)const;
|
||||
void getUserGroupAsync(const Model::GetUserGroupRequest& request, const GetUserGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserGroupOutcomeCallable getUserGroupCallable(const Model::GetUserGroupRequest& request) const;
|
||||
GetWmEmbedTaskOutcome getWmEmbedTask(const Model::GetWmEmbedTaskRequest &request)const;
|
||||
void getWmEmbedTaskAsync(const Model::GetWmEmbedTaskRequest& request, const GetWmEmbedTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWmEmbedTaskOutcomeCallable getWmEmbedTaskCallable(const Model::GetWmEmbedTaskRequest& request) const;
|
||||
GetWmExtractTaskOutcome getWmExtractTask(const Model::GetWmExtractTaskRequest &request)const;
|
||||
void getWmExtractTaskAsync(const Model::GetWmExtractTaskRequest& request, const GetWmExtractTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWmExtractTaskOutcomeCallable getWmExtractTaskCallable(const Model::GetWmExtractTaskRequest& request) const;
|
||||
ListApplicationsForPrivateAccessPolicyOutcome listApplicationsForPrivateAccessPolicy(const Model::ListApplicationsForPrivateAccessPolicyRequest &request)const;
|
||||
void listApplicationsForPrivateAccessPolicyAsync(const Model::ListApplicationsForPrivateAccessPolicyRequest& request, const ListApplicationsForPrivateAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListApplicationsForPrivateAccessPolicyOutcomeCallable listApplicationsForPrivateAccessPolicyCallable(const Model::ListApplicationsForPrivateAccessPolicyRequest& request) const;
|
||||
ListApplicationsForPrivateAccessTagOutcome listApplicationsForPrivateAccessTag(const Model::ListApplicationsForPrivateAccessTagRequest &request)const;
|
||||
void listApplicationsForPrivateAccessTagAsync(const Model::ListApplicationsForPrivateAccessTagRequest& request, const ListApplicationsForPrivateAccessTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListApplicationsForPrivateAccessTagOutcomeCallable listApplicationsForPrivateAccessTagCallable(const Model::ListApplicationsForPrivateAccessTagRequest& request) const;
|
||||
ListClientUsersOutcome listClientUsers(const Model::ListClientUsersRequest &request)const;
|
||||
void listClientUsersAsync(const Model::ListClientUsersRequest& request, const ListClientUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListClientUsersOutcomeCallable listClientUsersCallable(const Model::ListClientUsersRequest& request) const;
|
||||
ListConnectorsOutcome listConnectors(const Model::ListConnectorsRequest &request)const;
|
||||
void listConnectorsAsync(const Model::ListConnectorsRequest& request, const ListConnectorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConnectorsOutcomeCallable listConnectorsCallable(const Model::ListConnectorsRequest& request) const;
|
||||
@@ -384,6 +562,15 @@ namespace AlibabaCloud
|
||||
ListExcessiveDeviceRegistrationApplicationsOutcome listExcessiveDeviceRegistrationApplications(const Model::ListExcessiveDeviceRegistrationApplicationsRequest &request)const;
|
||||
void listExcessiveDeviceRegistrationApplicationsAsync(const Model::ListExcessiveDeviceRegistrationApplicationsRequest& request, const ListExcessiveDeviceRegistrationApplicationsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListExcessiveDeviceRegistrationApplicationsOutcomeCallable listExcessiveDeviceRegistrationApplicationsCallable(const Model::ListExcessiveDeviceRegistrationApplicationsRequest& request) const;
|
||||
ListIdpConfigsOutcome listIdpConfigs(const Model::ListIdpConfigsRequest &request)const;
|
||||
void listIdpConfigsAsync(const Model::ListIdpConfigsRequest& request, const ListIdpConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListIdpConfigsOutcomeCallable listIdpConfigsCallable(const Model::ListIdpConfigsRequest& request) const;
|
||||
ListIdpDepartmentsOutcome listIdpDepartments(const Model::ListIdpDepartmentsRequest &request)const;
|
||||
void listIdpDepartmentsAsync(const Model::ListIdpDepartmentsRequest& request, const ListIdpDepartmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListIdpDepartmentsOutcomeCallable listIdpDepartmentsCallable(const Model::ListIdpDepartmentsRequest& request) const;
|
||||
ListNacUserCertOutcome listNacUserCert(const Model::ListNacUserCertRequest &request)const;
|
||||
void listNacUserCertAsync(const Model::ListNacUserCertRequest& request, const ListNacUserCertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListNacUserCertOutcomeCallable listNacUserCertCallable(const Model::ListNacUserCertRequest& request) const;
|
||||
ListPolicesForPrivateAccessApplicationOutcome listPolicesForPrivateAccessApplication(const Model::ListPolicesForPrivateAccessApplicationRequest &request)const;
|
||||
void listPolicesForPrivateAccessApplicationAsync(const Model::ListPolicesForPrivateAccessApplicationRequest& request, const ListPolicesForPrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPolicesForPrivateAccessApplicationOutcomeCallable listPolicesForPrivateAccessApplicationCallable(const Model::ListPolicesForPrivateAccessApplicationRequest& request) const;
|
||||
@@ -441,12 +628,33 @@ namespace AlibabaCloud
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
LookupWmInfoMappingOutcome lookupWmInfoMapping(const Model::LookupWmInfoMappingRequest &request)const;
|
||||
void lookupWmInfoMappingAsync(const Model::LookupWmInfoMappingRequest& request, const LookupWmInfoMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LookupWmInfoMappingOutcomeCallable lookupWmInfoMappingCallable(const Model::LookupWmInfoMappingRequest& request) const;
|
||||
RevokeUserSessionOutcome revokeUserSession(const Model::RevokeUserSessionRequest &request)const;
|
||||
void revokeUserSessionAsync(const Model::RevokeUserSessionRequest& request, const RevokeUserSessionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeUserSessionOutcomeCallable revokeUserSessionCallable(const Model::RevokeUserSessionRequest& request) const;
|
||||
UpdateClientUserOutcome updateClientUser(const Model::UpdateClientUserRequest &request)const;
|
||||
void updateClientUserAsync(const Model::UpdateClientUserRequest& request, const UpdateClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateClientUserOutcomeCallable updateClientUserCallable(const Model::UpdateClientUserRequest& request) const;
|
||||
UpdateClientUserPasswordOutcome updateClientUserPassword(const Model::UpdateClientUserPasswordRequest &request)const;
|
||||
void updateClientUserPasswordAsync(const Model::UpdateClientUserPasswordRequest& request, const UpdateClientUserPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateClientUserPasswordOutcomeCallable updateClientUserPasswordCallable(const Model::UpdateClientUserPasswordRequest& request) const;
|
||||
UpdateClientUserStatusOutcome updateClientUserStatus(const Model::UpdateClientUserStatusRequest &request)const;
|
||||
void updateClientUserStatusAsync(const Model::UpdateClientUserStatusRequest& request, const UpdateClientUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateClientUserStatusOutcomeCallable updateClientUserStatusCallable(const Model::UpdateClientUserStatusRequest& request) const;
|
||||
UpdateDynamicRouteOutcome updateDynamicRoute(const Model::UpdateDynamicRouteRequest &request)const;
|
||||
void updateDynamicRouteAsync(const Model::UpdateDynamicRouteRequest& request, const UpdateDynamicRouteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDynamicRouteOutcomeCallable updateDynamicRouteCallable(const Model::UpdateDynamicRouteRequest& request) const;
|
||||
UpdateExcessiveDeviceRegistrationApplicationsStatusOutcome updateExcessiveDeviceRegistrationApplicationsStatus(const Model::UpdateExcessiveDeviceRegistrationApplicationsStatusRequest &request)const;
|
||||
void updateExcessiveDeviceRegistrationApplicationsStatusAsync(const Model::UpdateExcessiveDeviceRegistrationApplicationsStatusRequest& request, const UpdateExcessiveDeviceRegistrationApplicationsStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateExcessiveDeviceRegistrationApplicationsStatusOutcomeCallable updateExcessiveDeviceRegistrationApplicationsStatusCallable(const Model::UpdateExcessiveDeviceRegistrationApplicationsStatusRequest& request) const;
|
||||
UpdateIdpDepartmentOutcome updateIdpDepartment(const Model::UpdateIdpDepartmentRequest &request)const;
|
||||
void updateIdpDepartmentAsync(const Model::UpdateIdpDepartmentRequest& request, const UpdateIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateIdpDepartmentOutcomeCallable updateIdpDepartmentCallable(const Model::UpdateIdpDepartmentRequest& request) const;
|
||||
UpdateNacUserCertStatusOutcome updateNacUserCertStatus(const Model::UpdateNacUserCertStatusRequest &request)const;
|
||||
void updateNacUserCertStatusAsync(const Model::UpdateNacUserCertStatusRequest& request, const UpdateNacUserCertStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateNacUserCertStatusOutcomeCallable updateNacUserCertStatusCallable(const Model::UpdateNacUserCertStatusRequest& request) const;
|
||||
UpdatePrivateAccessApplicationOutcome updatePrivateAccessApplication(const Model::UpdatePrivateAccessApplicationRequest &request)const;
|
||||
void updatePrivateAccessApplicationAsync(const Model::UpdatePrivateAccessApplicationRequest& request, const UpdatePrivateAccessApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdatePrivateAccessApplicationOutcomeCallable updatePrivateAccessApplicationCallable(const Model::UpdatePrivateAccessApplicationRequest& request) const;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user