Compare commits

..

8 Commits

Author SHA1 Message Date
sdk-team
29b4bc0ce3 Generated 2020-06-01 for SWAS-OPEN. 2024-06-17 11:00:44 +00:00
sdk-team
d37523f568 CreateDBInstance add DNStorageSpace 2024-06-17 09:06:30 +00:00
sdk-team
928fc975b9 Update to support new apis. 2024-06-14 03:14:29 +00:00
sdk-team
6365b9f02d Generated 2019-09-01 for OceanBasePro. 2024-06-14 03:12:54 +00:00
sdk-team
fbc3817ea1 Add ListFeatureViewOnlineFeatures API. 2024-06-11 07:02:18 +00:00
sdk-team
db6a17b08c Domain Self Diagnosis. 2024-06-11 03:19:07 +00:00
sdk-team
d80ca0d7e2 Generated 2023-01-20 for csas. 2024-06-11 02:26:46 +00:00
sdk-team
83f9047345 Generated 2023-01-20 for csas. 2024-06-06 05:53:39 +00:00
280 changed files with 12492 additions and 2044 deletions

View File

@@ -1 +1 @@
1.36.1925
1.36.1933

138
beian/CMakeLists.txt Normal file
View 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}
)

View 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_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,42 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_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_

View File

@@ -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
View 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();
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View 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);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View 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));
}

View File

@@ -0,0 +1,91 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -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_;
}

View 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);
}

View 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_;
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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);
}

View 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_;
}

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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));
}

View 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_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View 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);
}

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#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);
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/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_;
}

View 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;
}

View 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_;
}

View File

@@ -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,12 @@ 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/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 +53,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
@@ -65,6 +83,8 @@ set(csas_public_header_model
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 +93,10 @@ 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/ListPolicesForPrivateAccessApplicationRequest.h
include/alibabacloud/csas/model/ListPolicesForPrivateAccessApplicationResult.h
include/alibabacloud/csas/model/ListPolicesForPrivateAccessTagRequest.h
@@ -111,10 +135,20 @@ 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/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/UpdatePrivateAccessApplicationRequest.h
include/alibabacloud/csas/model/UpdatePrivateAccessApplicationResult.h
include/alibabacloud/csas/model/UpdatePrivateAccessPolicyRequest.h
@@ -134,8 +168,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 +184,12 @@ set(csas_src
src/model/CreateRegistrationPolicyResult.cc
src/model/CreateUserGroupRequest.cc
src/model/CreateUserGroupResult.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 +198,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
@@ -176,6 +228,8 @@ set(csas_src
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 +238,10 @@ 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/ListPolicesForPrivateAccessApplicationRequest.cc
src/model/ListPolicesForPrivateAccessApplicationResult.cc
src/model/ListPolicesForPrivateAccessTagRequest.cc
@@ -222,10 +280,20 @@ set(csas_src
src/model/ListUserGroupsForRegistrationPolicyResult.cc
src/model/ListUsersRequest.cc
src/model/ListUsersResult.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/UpdatePrivateAccessApplicationRequest.cc
src/model/UpdatePrivateAccessApplicationResult.cc
src/model/UpdatePrivateAccessPolicyRequest.cc

View File

@@ -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,12 @@
#include "model/CreateRegistrationPolicyResult.h"
#include "model/CreateUserGroupRequest.h"
#include "model/CreateUserGroupResult.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 +54,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"
@@ -66,6 +84,8 @@
#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 +94,10 @@
#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/ListPolicesForPrivateAccessApplicationRequest.h"
#include "model/ListPolicesForPrivateAccessApplicationResult.h"
#include "model/ListPolicesForPrivateAccessTagRequest.h"
@@ -112,10 +136,20 @@
#include "model/ListUserGroupsForRegistrationPolicyResult.h"
#include "model/ListUsersRequest.h"
#include "model/ListUsersResult.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/UpdatePrivateAccessApplicationRequest.h"
#include "model/UpdatePrivateAccessApplicationResult.h"
#include "model/UpdatePrivateAccessPolicyRequest.h"
@@ -142,9 +176,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 +200,15 @@ 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::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 +221,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;
@@ -205,6 +266,9 @@ namespace AlibabaCloud
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 +281,12 @@ 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::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 +344,27 @@ 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::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::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 +394,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 +418,15 @@ 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;
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 +439,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;
@@ -372,6 +484,9 @@ namespace AlibabaCloud
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 +499,12 @@ 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;
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 +562,27 @@ 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;
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;
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;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_CREATECLIENTUSERREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_CREATECLIENTUSERREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT CreateClientUserRequest : public RpcServiceRequest {
public:
CreateClientUserRequest();
~CreateClientUserRequest();
std::string getMobileNumber() const;
void setMobileNumber(const std::string &mobileNumber);
std::string getDepartmentId() const;
void setDepartmentId(const std::string &departmentId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
std::string getPassword() const;
void setPassword(const std::string &password);
std::string getEmail() const;
void setEmail(const std::string &email);
std::string getUsername() const;
void setUsername(const std::string &username);
private:
std::string mobileNumber_;
std::string departmentId_;
std::string description_;
std::string idpConfigId_;
std::string password_;
std::string email_;
std::string username_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATECLIENTUSERREQUEST_H_

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_CREATEIDPDEPARTMENTREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_CREATEIDPDEPARTMENTREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT CreateIdpDepartmentRequest : public RpcServiceRequest {
public:
CreateIdpDepartmentRequest();
~CreateIdpDepartmentRequest();
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
std::string getDepartmentName() const;
void setDepartmentName(const std::string &departmentName);
private:
std::string idpConfigId_;
std::string departmentName_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_CREATEIDPDEPARTMENTREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_DELETEIDPDEPARTMENTREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_DELETEIDPDEPARTMENTREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT DeleteIdpDepartmentRequest : public RpcServiceRequest {
public:
DeleteIdpDepartmentRequest();
~DeleteIdpDepartmentRequest();
std::string getDepartmentId() const;
void setDepartmentId(const std::string &departmentId);
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
private:
std::string departmentId_;
std::string idpConfigId_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEIDPDEPARTMENTREQUEST_H_

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_DELETEUSERDEVICESREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_DELETEUSERDEVICESREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT DeleteUserDevicesRequest : public RpcServiceRequest {
public:
DeleteUserDevicesRequest();
~DeleteUserDevicesRequest();
std::vector<std::string> getDeviceTags() const;
void setDeviceTags(const std::vector<std::string> &deviceTags);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
private:
std::vector<std::string> deviceTags_;
std::string sourceIp_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_DELETEUSERDEVICESREQUEST_H_

View File

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

View File

@@ -0,0 +1,87 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CSAS_MODEL_EXPORTUSERDEVICESREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_EXPORTUSERDEVICESREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT ExportUserDevicesRequest : public RpcServiceRequest {
public:
ExportUserDevicesRequest();
~ExportUserDevicesRequest();
std::string getMac() const;
void setMac(const std::string &mac);
std::vector<std::string> getDeviceTypes() const;
void setDeviceTypes(const std::vector<std::string> &deviceTypes);
std::string getHostname() const;
void setHostname(const std::string &hostname);
std::vector<std::string> getAppStatuses() const;
void setAppStatuses(const std::vector<std::string> &appStatuses);
std::vector<std::string> getDlpStatuses() const;
void setDlpStatuses(const std::vector<std::string> &dlpStatuses);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getSaseUserId() const;
void setSaseUserId(const std::string &saseUserId);
std::vector<std::string> getNacStatuses() const;
void setNacStatuses(const std::vector<std::string> &nacStatuses);
std::string getDepartment() const;
void setDepartment(const std::string &department);
std::vector<std::string> getIaStatuses() const;
void setIaStatuses(const std::vector<std::string> &iaStatuses);
std::string getDeviceBelong() const;
void setDeviceBelong(const std::string &deviceBelong);
bool getSharingStatus() const;
void setSharingStatus(bool sharingStatus);
std::vector<std::string> getDeviceTags() const;
void setDeviceTags(const std::vector<std::string> &deviceTags);
std::vector<std::string> getDeviceStatuses() const;
void setDeviceStatuses(const std::vector<std::string> &deviceStatuses);
std::vector<std::string> getPaStatuses() const;
void setPaStatuses(const std::vector<std::string> &paStatuses);
std::string getUsername() const;
void setUsername(const std::string &username);
private:
std::string mac_;
std::vector<std::string> deviceTypes_;
std::string hostname_;
std::vector<std::string> appStatuses_;
std::vector<std::string> dlpStatuses_;
std::string sourceIp_;
std::string saseUserId_;
std::vector<std::string> nacStatuses_;
std::string department_;
std::vector<std::string> iaStatuses_;
std::string deviceBelong_;
bool sharingStatus_;
std::vector<std::string> deviceTags_;
std::vector<std::string> deviceStatuses_;
std::vector<std::string> paStatuses_;
std::string username_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_EXPORTUSERDEVICESREQUEST_H_

View File

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

View File

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

View 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.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_GETACTIVEIDPCONFIGRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_GETACTIVEIDPCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>
namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT GetActiveIdpConfigResult : public ServiceResult
{
public:
struct Data
{
std::string type;
std::string description;
std::string id;
std::string name;
};
GetActiveIdpConfigResult();
explicit GetActiveIdpConfigResult(const std::string &payload);
~GetActiveIdpConfigResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_GETACTIVEIDPCONFIGRESULT_H_

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_GETCLIENTUSERREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_GETCLIENTUSERREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT GetClientUserRequest : public RpcServiceRequest {
public:
GetClientUserRequest();
~GetClientUserRequest();
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
std::string getUsername() const;
void setUsername(const std::string &username);
private:
std::string idpConfigId_;
std::string username_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_GETCLIENTUSERREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_CSAS_MODEL_GETCLIENTUSERRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_GETCLIENTUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>
namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT GetClientUserResult : public ServiceResult
{
public:
struct Data
{
struct Department
{
std::string id;
std::string name;
};
std::string status;
Department department;
std::string mobileNumber;
std::string description;
std::string email;
std::string username;
std::string userId;
std::string id;
std::string departmentId;
std::string idpConfigId;
};
GetClientUserResult();
explicit GetClientUserResult(const std::string &payload);
~GetClientUserResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_GETCLIENTUSERRESULT_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_GETIDPCONFIGRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_GETIDPCONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>
namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT GetIdpConfigResult : public ServiceResult
{
public:
struct Data
{
std::string status;
std::string description;
std::string mobileMfaConfigType;
std::string pcLoginType;
std::string accessKeySecret;
std::string verifyUrl;
std::string multiIdpInfo;
std::string verifyToken;
std::string verifyAesKey;
std::string name;
std::string type;
std::string getGroupUrl;
std::string updateTime;
std::string mobileLoginType;
std::string id;
std::string idpMetadata;
std::string accessKey;
std::string mfaConfigType;
};
GetIdpConfigResult();
explicit GetIdpConfigResult(const std::string &payload);
~GetIdpConfigResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_GETIDPCONFIGRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTCLIENTUSERSREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTCLIENTUSERSREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT ListClientUsersRequest : public RpcServiceRequest {
public:
ListClientUsersRequest();
~ListClientUsersRequest();
std::string getMobileNumber() const;
void setMobileNumber(const std::string &mobileNumber);
std::string getDepartmentId() const;
void setDepartmentId(const std::string &departmentId);
long getCurrentPage() const;
void setCurrentPage(long currentPage);
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
long getPageSize() const;
void setPageSize(long pageSize);
std::string getEmail() const;
void setEmail(const std::string &email);
std::string getUsername() const;
void setUsername(const std::string &username);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string mobileNumber_;
std::string departmentId_;
long currentPage_;
std::string idpConfigId_;
long pageSize_;
std::string email_;
std::string username_;
std::string status_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTCLIENTUSERSREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTCLIENTUSERSRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTCLIENTUSERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>
namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT ListClientUsersResult : public ServiceResult
{
public:
struct Data
{
struct DataListItem
{
struct Department
{
std::string id;
std::string name;
};
std::string status;
Department department;
std::string mobileNumber;
std::string description;
std::string email;
std::string username;
std::string userId;
std::string id;
std::string departmentId;
std::string idpConfigId;
};
std::vector<DataListItem> dataList;
long totalNum;
};
ListClientUsersResult();
explicit ListClientUsersResult(const std::string &payload);
~ListClientUsersResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTCLIENTUSERSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTIDPCONFIGSREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTIDPCONFIGSREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT ListIdpConfigsRequest : public RpcServiceRequest {
public:
ListIdpConfigsRequest();
~ListIdpConfigsRequest();
std::string getInclude() const;
void setInclude(const std::string &include);
long getCurrentPage() const;
void setCurrentPage(long currentPage);
long getPageSize() const;
void setPageSize(long pageSize);
private:
std::string include_;
long currentPage_;
long pageSize_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTIDPCONFIGSREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTIDPCONFIGSRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTIDPCONFIGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>
namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT ListIdpConfigsResult : public ServiceResult
{
public:
struct Data
{
struct DataListItem
{
std::string status;
std::string type;
std::string description;
std::string mobileMfaConfigType;
std::string pcLoginType;
std::string updateTime;
std::string mfa;
std::string mobileLoginType;
std::string id;
std::string multiIdpInfo;
std::string name;
};
std::vector<DataListItem> dataList;
long totalNum;
};
ListIdpConfigsResult();
explicit ListIdpConfigsResult(const std::string &payload);
~ListIdpConfigsResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTIDPCONFIGSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTIDPDEPARTMENTSREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTIDPDEPARTMENTSREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT ListIdpDepartmentsRequest : public RpcServiceRequest {
public:
ListIdpDepartmentsRequest();
~ListIdpDepartmentsRequest();
long getCurrentPage() const;
void setCurrentPage(long currentPage);
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
long getPageSize() const;
void setPageSize(long pageSize);
private:
long currentPage_;
std::string idpConfigId_;
long pageSize_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTIDPDEPARTMENTSREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_LISTIDPDEPARTMENTSRESULT_H_
#define ALIBABACLOUD_CSAS_MODEL_LISTIDPDEPARTMENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csas/CsasExport.h>
namespace AlibabaCloud
{
namespace Csas
{
namespace Model
{
class ALIBABACLOUD_CSAS_EXPORT ListIdpDepartmentsResult : public ServiceResult
{
public:
struct Data
{
struct DataListItem
{
std::string id;
std::string name;
std::string idpConfigId;
};
std::vector<DataListItem> dataList;
long totalNum;
};
ListIdpDepartmentsResult();
explicit ListIdpDepartmentsResult(const std::string &payload);
~ListIdpDepartmentsResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_CSAS_MODEL_LISTIDPDEPARTMENTSRESULT_H_

View File

@@ -50,6 +50,8 @@ public:
void setNacStatuses(const std::vector<std::string> &nacStatuses);
std::string getDepartment() const;
void setDepartment(const std::string &department);
std::string getInnerIp() const;
void setInnerIp(const std::string &innerIp);
std::vector<std::string> getIaStatuses() const;
void setIaStatuses(const std::vector<std::string> &iaStatuses);
std::string getDeviceBelong() const;
@@ -80,6 +82,7 @@ private:
long pageSize_;
std::vector<std::string> nacStatuses_;
std::string department_;
std::string innerIp_;
std::vector<std::string> iaStatuses_;
std::string deviceBelong_;
long currentPage_;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_REVOKEUSERSESSIONREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_REVOKEUSERSESSIONREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT RevokeUserSessionRequest : public RpcServiceRequest {
public:
RevokeUserSessionRequest();
~RevokeUserSessionRequest();
std::string getIdpId() const;
void setIdpId(const std::string &idpId);
std::string getExternalIds() const;
void setExternalIds(const std::string &externalIds);
private:
std::string idpId_;
std::string externalIds_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_REVOKEUSERSESSIONREQUEST_H_

View File

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

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERPASSWORDREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERPASSWORDREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT UpdateClientUserPasswordRequest : public RpcServiceRequest {
public:
UpdateClientUserPasswordRequest();
~UpdateClientUserPasswordRequest();
std::string getPassword() const;
void setPassword(const std::string &password);
std::string getId() const;
void setId(const std::string &id);
std::string getUsername() const;
void setUsername(const std::string &username);
private:
std::string password_;
std::string id_;
std::string username_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERPASSWORDREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT UpdateClientUserRequest : public RpcServiceRequest {
public:
UpdateClientUserRequest();
~UpdateClientUserRequest();
std::string getMobileNumber() const;
void setMobileNumber(const std::string &mobileNumber);
std::string getDepartmentId() const;
void setDepartmentId(const std::string &departmentId);
std::string getDescription() const;
void setDescription(const std::string &description);
std::string getId() const;
void setId(const std::string &id);
std::string getEmail() const;
void setEmail(const std::string &email);
private:
std::string mobileNumber_;
std::string departmentId_;
std::string description_;
std::string id_;
std::string email_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERREQUEST_H_

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERSTATUSREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERSTATUSREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT UpdateClientUserStatusRequest : public RpcServiceRequest {
public:
UpdateClientUserStatusRequest();
~UpdateClientUserStatusRequest();
std::string getId() const;
void setId(const std::string &id);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string id_;
std::string status_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATECLIENTUSERSTATUSREQUEST_H_

View File

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

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSAS_MODEL_UPDATEIDPDEPARTMENTREQUEST_H_
#define ALIBABACLOUD_CSAS_MODEL_UPDATEIDPDEPARTMENTREQUEST_H_
#include <alibabacloud/csas/CsasExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Csas {
namespace Model {
class ALIBABACLOUD_CSAS_EXPORT UpdateIdpDepartmentRequest : public RpcServiceRequest {
public:
UpdateIdpDepartmentRequest();
~UpdateIdpDepartmentRequest();
std::string getDepartmentId() const;
void setDepartmentId(const std::string &departmentId);
std::string getIdpConfigId() const;
void setIdpConfigId(const std::string &idpConfigId);
std::string getDepartmentName() const;
void setDepartmentName(const std::string &departmentName);
private:
std::string departmentId_;
std::string idpConfigId_;
std::string departmentName_;
};
} // namespace Model
} // namespace Csas
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_CSAS_MODEL_UPDATEIDPDEPARTMENTREQUEST_H_

View File

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

View File

@@ -87,6 +87,42 @@ CsasClient::AttachApplication2ConnectorOutcomeCallable CsasClient::attachApplica
return task->get_future();
}
CsasClient::CreateClientUserOutcome CsasClient::createClientUser(const CreateClientUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateClientUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateClientUserOutcome(CreateClientUserResult(outcome.result()));
else
return CreateClientUserOutcome(outcome.error());
}
void CsasClient::createClientUserAsync(const CreateClientUserRequest& request, const CreateClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createClientUser(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::CreateClientUserOutcomeCallable CsasClient::createClientUserCallable(const CreateClientUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateClientUserOutcome()>>(
[this, request]()
{
return this->createClientUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::CreateDynamicRouteOutcome CsasClient::createDynamicRoute(const CreateDynamicRouteRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -123,6 +159,42 @@ CsasClient::CreateDynamicRouteOutcomeCallable CsasClient::createDynamicRouteCall
return task->get_future();
}
CsasClient::CreateIdpDepartmentOutcome CsasClient::createIdpDepartment(const CreateIdpDepartmentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateIdpDepartmentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateIdpDepartmentOutcome(CreateIdpDepartmentResult(outcome.result()));
else
return CreateIdpDepartmentOutcome(outcome.error());
}
void CsasClient::createIdpDepartmentAsync(const CreateIdpDepartmentRequest& request, const CreateIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createIdpDepartment(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::CreateIdpDepartmentOutcomeCallable CsasClient::createIdpDepartmentCallable(const CreateIdpDepartmentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateIdpDepartmentOutcome()>>(
[this, request]()
{
return this->createIdpDepartment(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::CreatePrivateAccessApplicationOutcome CsasClient::createPrivateAccessApplication(const CreatePrivateAccessApplicationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -303,6 +375,42 @@ CsasClient::CreateUserGroupOutcomeCallable CsasClient::createUserGroupCallable(c
return task->get_future();
}
CsasClient::DeleteClientUserOutcome CsasClient::deleteClientUser(const DeleteClientUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteClientUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteClientUserOutcome(DeleteClientUserResult(outcome.result()));
else
return DeleteClientUserOutcome(outcome.error());
}
void CsasClient::deleteClientUserAsync(const DeleteClientUserRequest& request, const DeleteClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteClientUser(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::DeleteClientUserOutcomeCallable CsasClient::deleteClientUserCallable(const DeleteClientUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteClientUserOutcome()>>(
[this, request]()
{
return this->deleteClientUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::DeleteDynamicRouteOutcome CsasClient::deleteDynamicRoute(const DeleteDynamicRouteRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -339,6 +447,42 @@ CsasClient::DeleteDynamicRouteOutcomeCallable CsasClient::deleteDynamicRouteCall
return task->get_future();
}
CsasClient::DeleteIdpDepartmentOutcome CsasClient::deleteIdpDepartment(const DeleteIdpDepartmentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteIdpDepartmentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteIdpDepartmentOutcome(DeleteIdpDepartmentResult(outcome.result()));
else
return DeleteIdpDepartmentOutcome(outcome.error());
}
void CsasClient::deleteIdpDepartmentAsync(const DeleteIdpDepartmentRequest& request, const DeleteIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteIdpDepartment(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::DeleteIdpDepartmentOutcomeCallable CsasClient::deleteIdpDepartmentCallable(const DeleteIdpDepartmentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteIdpDepartmentOutcome()>>(
[this, request]()
{
return this->deleteIdpDepartment(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::DeletePrivateAccessApplicationOutcome CsasClient::deletePrivateAccessApplication(const DeletePrivateAccessApplicationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -483,6 +627,42 @@ CsasClient::DeleteRegistrationPoliciesOutcomeCallable CsasClient::deleteRegistra
return task->get_future();
}
CsasClient::DeleteUserDevicesOutcome CsasClient::deleteUserDevices(const DeleteUserDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteUserDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteUserDevicesOutcome(DeleteUserDevicesResult(outcome.result()));
else
return DeleteUserDevicesOutcome(outcome.error());
}
void CsasClient::deleteUserDevicesAsync(const DeleteUserDevicesRequest& request, const DeleteUserDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteUserDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::DeleteUserDevicesOutcomeCallable CsasClient::deleteUserDevicesCallable(const DeleteUserDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteUserDevicesOutcome()>>(
[this, request]()
{
return this->deleteUserDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::DeleteUserGroupOutcome CsasClient::deleteUserGroup(const DeleteUserGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -555,6 +735,114 @@ CsasClient::DetachApplication2ConnectorOutcomeCallable CsasClient::detachApplica
return task->get_future();
}
CsasClient::ExportUserDevicesOutcome CsasClient::exportUserDevices(const ExportUserDevicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ExportUserDevicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ExportUserDevicesOutcome(ExportUserDevicesResult(outcome.result()));
else
return ExportUserDevicesOutcome(outcome.error());
}
void CsasClient::exportUserDevicesAsync(const ExportUserDevicesRequest& request, const ExportUserDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, exportUserDevices(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::ExportUserDevicesOutcomeCallable CsasClient::exportUserDevicesCallable(const ExportUserDevicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ExportUserDevicesOutcome()>>(
[this, request]()
{
return this->exportUserDevices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::GetActiveIdpConfigOutcome CsasClient::getActiveIdpConfig(const GetActiveIdpConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetActiveIdpConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetActiveIdpConfigOutcome(GetActiveIdpConfigResult(outcome.result()));
else
return GetActiveIdpConfigOutcome(outcome.error());
}
void CsasClient::getActiveIdpConfigAsync(const GetActiveIdpConfigRequest& request, const GetActiveIdpConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getActiveIdpConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::GetActiveIdpConfigOutcomeCallable CsasClient::getActiveIdpConfigCallable(const GetActiveIdpConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetActiveIdpConfigOutcome()>>(
[this, request]()
{
return this->getActiveIdpConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::GetClientUserOutcome CsasClient::getClientUser(const GetClientUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetClientUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetClientUserOutcome(GetClientUserResult(outcome.result()));
else
return GetClientUserOutcome(outcome.error());
}
void CsasClient::getClientUserAsync(const GetClientUserRequest& request, const GetClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getClientUser(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::GetClientUserOutcomeCallable CsasClient::getClientUserCallable(const GetClientUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetClientUserOutcome()>>(
[this, request]()
{
return this->getClientUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::GetDynamicRouteOutcome CsasClient::getDynamicRoute(const GetDynamicRouteRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -591,6 +879,42 @@ CsasClient::GetDynamicRouteOutcomeCallable CsasClient::getDynamicRouteCallable(c
return task->get_future();
}
CsasClient::GetIdpConfigOutcome CsasClient::getIdpConfig(const GetIdpConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetIdpConfigOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetIdpConfigOutcome(GetIdpConfigResult(outcome.result()));
else
return GetIdpConfigOutcome(outcome.error());
}
void CsasClient::getIdpConfigAsync(const GetIdpConfigRequest& request, const GetIdpConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getIdpConfig(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::GetIdpConfigOutcomeCallable CsasClient::getIdpConfigCallable(const GetIdpConfigRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetIdpConfigOutcome()>>(
[this, request]()
{
return this->getIdpConfig(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::GetPrivateAccessApplicationOutcome CsasClient::getPrivateAccessApplication(const GetPrivateAccessApplicationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -843,6 +1167,42 @@ CsasClient::ListApplicationsForPrivateAccessTagOutcomeCallable CsasClient::listA
return task->get_future();
}
CsasClient::ListClientUsersOutcome CsasClient::listClientUsers(const ListClientUsersRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListClientUsersOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListClientUsersOutcome(ListClientUsersResult(outcome.result()));
else
return ListClientUsersOutcome(outcome.error());
}
void CsasClient::listClientUsersAsync(const ListClientUsersRequest& request, const ListClientUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listClientUsers(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::ListClientUsersOutcomeCallable CsasClient::listClientUsersCallable(const ListClientUsersRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListClientUsersOutcome()>>(
[this, request]()
{
return this->listClientUsers(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::ListConnectorsOutcome CsasClient::listConnectors(const ListConnectorsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -987,6 +1347,78 @@ CsasClient::ListExcessiveDeviceRegistrationApplicationsOutcomeCallable CsasClien
return task->get_future();
}
CsasClient::ListIdpConfigsOutcome CsasClient::listIdpConfigs(const ListIdpConfigsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListIdpConfigsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListIdpConfigsOutcome(ListIdpConfigsResult(outcome.result()));
else
return ListIdpConfigsOutcome(outcome.error());
}
void CsasClient::listIdpConfigsAsync(const ListIdpConfigsRequest& request, const ListIdpConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listIdpConfigs(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::ListIdpConfigsOutcomeCallable CsasClient::listIdpConfigsCallable(const ListIdpConfigsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListIdpConfigsOutcome()>>(
[this, request]()
{
return this->listIdpConfigs(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::ListIdpDepartmentsOutcome CsasClient::listIdpDepartments(const ListIdpDepartmentsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListIdpDepartmentsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListIdpDepartmentsOutcome(ListIdpDepartmentsResult(outcome.result()));
else
return ListIdpDepartmentsOutcome(outcome.error());
}
void CsasClient::listIdpDepartmentsAsync(const ListIdpDepartmentsRequest& request, const ListIdpDepartmentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listIdpDepartments(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::ListIdpDepartmentsOutcomeCallable CsasClient::listIdpDepartmentsCallable(const ListIdpDepartmentsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListIdpDepartmentsOutcome()>>(
[this, request]()
{
return this->listIdpDepartments(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::ListPolicesForPrivateAccessApplicationOutcome CsasClient::listPolicesForPrivateAccessApplication(const ListPolicesForPrivateAccessApplicationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1671,6 +2103,150 @@ CsasClient::ListUsersOutcomeCallable CsasClient::listUsersCallable(const ListUse
return task->get_future();
}
CsasClient::RevokeUserSessionOutcome CsasClient::revokeUserSession(const RevokeUserSessionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RevokeUserSessionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RevokeUserSessionOutcome(RevokeUserSessionResult(outcome.result()));
else
return RevokeUserSessionOutcome(outcome.error());
}
void CsasClient::revokeUserSessionAsync(const RevokeUserSessionRequest& request, const RevokeUserSessionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, revokeUserSession(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::RevokeUserSessionOutcomeCallable CsasClient::revokeUserSessionCallable(const RevokeUserSessionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RevokeUserSessionOutcome()>>(
[this, request]()
{
return this->revokeUserSession(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::UpdateClientUserOutcome CsasClient::updateClientUser(const UpdateClientUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateClientUserOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateClientUserOutcome(UpdateClientUserResult(outcome.result()));
else
return UpdateClientUserOutcome(outcome.error());
}
void CsasClient::updateClientUserAsync(const UpdateClientUserRequest& request, const UpdateClientUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateClientUser(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::UpdateClientUserOutcomeCallable CsasClient::updateClientUserCallable(const UpdateClientUserRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateClientUserOutcome()>>(
[this, request]()
{
return this->updateClientUser(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::UpdateClientUserPasswordOutcome CsasClient::updateClientUserPassword(const UpdateClientUserPasswordRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateClientUserPasswordOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateClientUserPasswordOutcome(UpdateClientUserPasswordResult(outcome.result()));
else
return UpdateClientUserPasswordOutcome(outcome.error());
}
void CsasClient::updateClientUserPasswordAsync(const UpdateClientUserPasswordRequest& request, const UpdateClientUserPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateClientUserPassword(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::UpdateClientUserPasswordOutcomeCallable CsasClient::updateClientUserPasswordCallable(const UpdateClientUserPasswordRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateClientUserPasswordOutcome()>>(
[this, request]()
{
return this->updateClientUserPassword(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::UpdateClientUserStatusOutcome CsasClient::updateClientUserStatus(const UpdateClientUserStatusRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateClientUserStatusOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateClientUserStatusOutcome(UpdateClientUserStatusResult(outcome.result()));
else
return UpdateClientUserStatusOutcome(outcome.error());
}
void CsasClient::updateClientUserStatusAsync(const UpdateClientUserStatusRequest& request, const UpdateClientUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateClientUserStatus(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::UpdateClientUserStatusOutcomeCallable CsasClient::updateClientUserStatusCallable(const UpdateClientUserStatusRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateClientUserStatusOutcome()>>(
[this, request]()
{
return this->updateClientUserStatus(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::UpdateDynamicRouteOutcome CsasClient::updateDynamicRoute(const UpdateDynamicRouteRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1743,6 +2319,42 @@ CsasClient::UpdateExcessiveDeviceRegistrationApplicationsStatusOutcomeCallable C
return task->get_future();
}
CsasClient::UpdateIdpDepartmentOutcome CsasClient::updateIdpDepartment(const UpdateIdpDepartmentRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateIdpDepartmentOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateIdpDepartmentOutcome(UpdateIdpDepartmentResult(outcome.result()));
else
return UpdateIdpDepartmentOutcome(outcome.error());
}
void CsasClient::updateIdpDepartmentAsync(const UpdateIdpDepartmentRequest& request, const UpdateIdpDepartmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateIdpDepartment(request), context);
};
asyncExecute(new Runnable(fn));
}
CsasClient::UpdateIdpDepartmentOutcomeCallable CsasClient::updateIdpDepartmentCallable(const UpdateIdpDepartmentRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateIdpDepartmentOutcome()>>(
[this, request]()
{
return this->updateIdpDepartment(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CsasClient::UpdatePrivateAccessApplicationOutcome CsasClient::updatePrivateAccessApplication(const UpdatePrivateAccessApplicationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/csas/model/CreateClientUserRequest.h>
using AlibabaCloud::Csas::Model::CreateClientUserRequest;
CreateClientUserRequest::CreateClientUserRequest()
: RpcServiceRequest("csas", "2023-01-20", "CreateClientUser") {
setMethod(HttpRequest::Method::Post);
}
CreateClientUserRequest::~CreateClientUserRequest() {}
std::string CreateClientUserRequest::getMobileNumber() const {
return mobileNumber_;
}
void CreateClientUserRequest::setMobileNumber(const std::string &mobileNumber) {
mobileNumber_ = mobileNumber;
setParameter(std::string("MobileNumber"), mobileNumber);
}
std::string CreateClientUserRequest::getDepartmentId() const {
return departmentId_;
}
void CreateClientUserRequest::setDepartmentId(const std::string &departmentId) {
departmentId_ = departmentId;
setParameter(std::string("DepartmentId"), departmentId);
}
std::string CreateClientUserRequest::getDescription() const {
return description_;
}
void CreateClientUserRequest::setDescription(const std::string &description) {
description_ = description;
setParameter(std::string("Description"), description);
}
std::string CreateClientUserRequest::getIdpConfigId() const {
return idpConfigId_;
}
void CreateClientUserRequest::setIdpConfigId(const std::string &idpConfigId) {
idpConfigId_ = idpConfigId;
setParameter(std::string("IdpConfigId"), idpConfigId);
}
std::string CreateClientUserRequest::getPassword() const {
return password_;
}
void CreateClientUserRequest::setPassword(const std::string &password) {
password_ = password;
setParameter(std::string("Password"), password);
}
std::string CreateClientUserRequest::getEmail() const {
return email_;
}
void CreateClientUserRequest::setEmail(const std::string &email) {
email_ = email;
setParameter(std::string("Email"), email);
}
std::string CreateClientUserRequest::getUsername() const {
return username_;
}
void CreateClientUserRequest::setUsername(const std::string &username) {
username_ = username;
setParameter(std::string("Username"), username);
}

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