SDDP SDK Auto Released By zuochao,Version:1.36.33

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
This commit is contained in:
sdk-team
2019-05-27 14:55:29 +08:00
parent de0a72b9c7
commit b149df91f7
163 changed files with 14191 additions and 2 deletions

82
sddp/CMakeLists.txt Normal file
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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(sddp_public_header
include/alibabacloud/sddp/SddpClient.h
include/alibabacloud/sddp/SddpExport.h )
set(sddp_public_header_model )
set(sddp_src
src/SddpClient.cc )
add_library(sddp ${LIB_TYPE}
${sddp_public_header}
${sddp_public_header_model}
${sddp_src})
set_target_properties(sddp
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}sddp
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(sddp
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_SDDP_LIBRARY)
endif()
target_include_directories(sddp
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(sddp
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(sddp
jsoncpp)
target_include_directories(sddp
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(sddp
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(sddp
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(sddp
PRIVATE /usr/include/jsoncpp)
target_link_libraries(sddp
jsoncpp)
endif()
install(FILES ${sddp_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/sddp)
install(FILES ${sddp_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/sddp/model)
install(TARGETS sddp
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,358 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SDDP_SDDPCLIENT_H_
#define ALIBABACLOUD_SDDP_SDDPCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "SddpExport.h"
#include "model/DescribeOssObjectDetailRequest.h"
#include "model/DescribeOssObjectDetailResult.h"
#include "model/CreateConfigRequest.h"
#include "model/CreateConfigResult.h"
#include "model/DescribeEventTypesRequest.h"
#include "model/DescribeEventTypesResult.h"
#include "model/DescribePackagesRequest.h"
#include "model/DescribePackagesResult.h"
#include "model/ModifyEventStatusRequest.h"
#include "model/ModifyEventStatusResult.h"
#include "model/DescribeConfigsRequest.h"
#include "model/DescribeConfigsResult.h"
#include "model/DescribeAuthAccountsRequest.h"
#include "model/DescribeAuthAccountsResult.h"
#include "model/DescribeDataAssetsRequest.h"
#include "model/DescribeDataAssetsResult.h"
#include "model/ValidateConnectorRequest.h"
#include "model/ValidateConnectorResult.h"
#include "model/DescribeCloudDatabasesRequest.h"
#include "model/DescribeCloudDatabasesResult.h"
#include "model/CreateRuleRequest.h"
#include "model/CreateRuleResult.h"
#include "model/CreateUserAuthRequest.h"
#include "model/CreateUserAuthResult.h"
#include "model/DeleteRuleRequest.h"
#include "model/DeleteRuleResult.h"
#include "model/DescribeDataHubConnectorsRequest.h"
#include "model/DescribeDataHubConnectorsResult.h"
#include "model/DescribeRulesRequest.h"
#include "model/DescribeRulesResult.h"
#include "model/DescribeDataLimitDetailRequest.h"
#include "model/DescribeDataLimitDetailResult.h"
#include "model/DescribeColumnsRequest.h"
#include "model/DescribeColumnsResult.h"
#include "model/ModifyRuleStatusRequest.h"
#include "model/ModifyRuleStatusResult.h"
#include "model/DeleteDataLimitRequest.h"
#include "model/DeleteDataLimitResult.h"
#include "model/DescribeAccountDetailRequest.h"
#include "model/DescribeAccountDetailResult.h"
#include "model/DescribeDepartsRequest.h"
#include "model/DescribeDepartsResult.h"
#include "model/DescribeDataHubSubscriptionsRequest.h"
#include "model/DescribeDataHubSubscriptionsResult.h"
#include "model/DescribeDataHubTopicsRequest.h"
#include "model/DescribeDataHubTopicsResult.h"
#include "model/DescribeCloudInstancesRequest.h"
#include "model/DescribeCloudInstancesResult.h"
#include "model/DescribeAccountsRequest.h"
#include "model/DescribeAccountsResult.h"
#include "model/DescribeOssObjectsRequest.h"
#include "model/DescribeOssObjectsResult.h"
#include "model/DescribeDataLimitsRequest.h"
#include "model/DescribeDataLimitsResult.h"
#include "model/DescribeEventsRequest.h"
#include "model/DescribeEventsResult.h"
#include "model/CreateDataLimitRequest.h"
#include "model/CreateDataLimitResult.h"
#include "model/ModifyRuleRequest.h"
#include "model/ModifyRuleResult.h"
#include "model/ModifyDataLimitRequest.h"
#include "model/ModifyDataLimitResult.h"
#include "model/DescribeEventDetailRequest.h"
#include "model/DescribeEventDetailResult.h"
#include "model/DescribeTablesRequest.h"
#include "model/DescribeTablesResult.h"
#include "model/DescribePrivilegesRequest.h"
#include "model/DescribePrivilegesResult.h"
#include "model/DescribeDataHubProjectsRequest.h"
#include "model/DescribeDataHubProjectsResult.h"
#include "model/DescribeInstancesRequest.h"
#include "model/DescribeInstancesResult.h"
#include "model/ModifyDefaultLevelRequest.h"
#include "model/ModifyDefaultLevelResult.h"
#include "model/ModifyEventTypeStatusRequest.h"
#include "model/ModifyEventTypeStatusResult.h"
#include "model/DescribeUserStatusRequest.h"
#include "model/DescribeUserStatusResult.h"
namespace AlibabaCloud
{
namespace Sddp
{
class ALIBABACLOUD_SDDP_EXPORT SddpClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeOssObjectDetailResult> DescribeOssObjectDetailOutcome;
typedef std::future<DescribeOssObjectDetailOutcome> DescribeOssObjectDetailOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectDetailRequest&, const DescribeOssObjectDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectDetailAsyncHandler;
typedef Outcome<Error, Model::CreateConfigResult> CreateConfigOutcome;
typedef std::future<CreateConfigOutcome> CreateConfigOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::CreateConfigRequest&, const CreateConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConfigAsyncHandler;
typedef Outcome<Error, Model::DescribeEventTypesResult> DescribeEventTypesOutcome;
typedef std::future<DescribeEventTypesOutcome> DescribeEventTypesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeEventTypesRequest&, const DescribeEventTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventTypesAsyncHandler;
typedef Outcome<Error, Model::DescribePackagesResult> DescribePackagesOutcome;
typedef std::future<DescribePackagesOutcome> DescribePackagesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribePackagesRequest&, const DescribePackagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePackagesAsyncHandler;
typedef Outcome<Error, Model::ModifyEventStatusResult> ModifyEventStatusOutcome;
typedef std::future<ModifyEventStatusOutcome> ModifyEventStatusOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ModifyEventStatusRequest&, const ModifyEventStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEventStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeConfigsResult> DescribeConfigsOutcome;
typedef std::future<DescribeConfigsOutcome> DescribeConfigsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeConfigsRequest&, const DescribeConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConfigsAsyncHandler;
typedef Outcome<Error, Model::DescribeAuthAccountsResult> DescribeAuthAccountsOutcome;
typedef std::future<DescribeAuthAccountsOutcome> DescribeAuthAccountsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeAuthAccountsRequest&, const DescribeAuthAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuthAccountsAsyncHandler;
typedef Outcome<Error, Model::DescribeDataAssetsResult> DescribeDataAssetsOutcome;
typedef std::future<DescribeDataAssetsOutcome> DescribeDataAssetsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataAssetsRequest&, const DescribeDataAssetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataAssetsAsyncHandler;
typedef Outcome<Error, Model::ValidateConnectorResult> ValidateConnectorOutcome;
typedef std::future<ValidateConnectorOutcome> ValidateConnectorOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ValidateConnectorRequest&, const ValidateConnectorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateConnectorAsyncHandler;
typedef Outcome<Error, Model::DescribeCloudDatabasesResult> DescribeCloudDatabasesOutcome;
typedef std::future<DescribeCloudDatabasesOutcome> DescribeCloudDatabasesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeCloudDatabasesRequest&, const DescribeCloudDatabasesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCloudDatabasesAsyncHandler;
typedef Outcome<Error, Model::CreateRuleResult> CreateRuleOutcome;
typedef std::future<CreateRuleOutcome> CreateRuleOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::CreateRuleRequest&, const CreateRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRuleAsyncHandler;
typedef Outcome<Error, Model::CreateUserAuthResult> CreateUserAuthOutcome;
typedef std::future<CreateUserAuthOutcome> CreateUserAuthOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::CreateUserAuthRequest&, const CreateUserAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUserAuthAsyncHandler;
typedef Outcome<Error, Model::DeleteRuleResult> DeleteRuleOutcome;
typedef std::future<DeleteRuleOutcome> DeleteRuleOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DeleteRuleRequest&, const DeleteRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRuleAsyncHandler;
typedef Outcome<Error, Model::DescribeDataHubConnectorsResult> DescribeDataHubConnectorsOutcome;
typedef std::future<DescribeDataHubConnectorsOutcome> DescribeDataHubConnectorsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataHubConnectorsRequest&, const DescribeDataHubConnectorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataHubConnectorsAsyncHandler;
typedef Outcome<Error, Model::DescribeRulesResult> DescribeRulesOutcome;
typedef std::future<DescribeRulesOutcome> DescribeRulesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeRulesRequest&, const DescribeRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRulesAsyncHandler;
typedef Outcome<Error, Model::DescribeDataLimitDetailResult> DescribeDataLimitDetailOutcome;
typedef std::future<DescribeDataLimitDetailOutcome> DescribeDataLimitDetailOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataLimitDetailRequest&, const DescribeDataLimitDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataLimitDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeColumnsResult> DescribeColumnsOutcome;
typedef std::future<DescribeColumnsOutcome> DescribeColumnsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeColumnsRequest&, const DescribeColumnsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeColumnsAsyncHandler;
typedef Outcome<Error, Model::ModifyRuleStatusResult> ModifyRuleStatusOutcome;
typedef std::future<ModifyRuleStatusOutcome> ModifyRuleStatusOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ModifyRuleStatusRequest&, const ModifyRuleStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyRuleStatusAsyncHandler;
typedef Outcome<Error, Model::DeleteDataLimitResult> DeleteDataLimitOutcome;
typedef std::future<DeleteDataLimitOutcome> DeleteDataLimitOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DeleteDataLimitRequest&, const DeleteDataLimitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDataLimitAsyncHandler;
typedef Outcome<Error, Model::DescribeAccountDetailResult> DescribeAccountDetailOutcome;
typedef std::future<DescribeAccountDetailOutcome> DescribeAccountDetailOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeAccountDetailRequest&, const DescribeAccountDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeDepartsResult> DescribeDepartsOutcome;
typedef std::future<DescribeDepartsOutcome> DescribeDepartsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDepartsRequest&, const DescribeDepartsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDepartsAsyncHandler;
typedef Outcome<Error, Model::DescribeDataHubSubscriptionsResult> DescribeDataHubSubscriptionsOutcome;
typedef std::future<DescribeDataHubSubscriptionsOutcome> DescribeDataHubSubscriptionsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataHubSubscriptionsRequest&, const DescribeDataHubSubscriptionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataHubSubscriptionsAsyncHandler;
typedef Outcome<Error, Model::DescribeDataHubTopicsResult> DescribeDataHubTopicsOutcome;
typedef std::future<DescribeDataHubTopicsOutcome> DescribeDataHubTopicsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataHubTopicsRequest&, const DescribeDataHubTopicsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataHubTopicsAsyncHandler;
typedef Outcome<Error, Model::DescribeCloudInstancesResult> DescribeCloudInstancesOutcome;
typedef std::future<DescribeCloudInstancesOutcome> DescribeCloudInstancesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeCloudInstancesRequest&, const DescribeCloudInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCloudInstancesAsyncHandler;
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
typedef Outcome<Error, Model::DescribeOssObjectsResult> DescribeOssObjectsOutcome;
typedef std::future<DescribeOssObjectsOutcome> DescribeOssObjectsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeOssObjectsRequest&, const DescribeOssObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssObjectsAsyncHandler;
typedef Outcome<Error, Model::DescribeDataLimitsResult> DescribeDataLimitsOutcome;
typedef std::future<DescribeDataLimitsOutcome> DescribeDataLimitsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataLimitsRequest&, const DescribeDataLimitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataLimitsAsyncHandler;
typedef Outcome<Error, Model::DescribeEventsResult> DescribeEventsOutcome;
typedef std::future<DescribeEventsOutcome> DescribeEventsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeEventsRequest&, const DescribeEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventsAsyncHandler;
typedef Outcome<Error, Model::CreateDataLimitResult> CreateDataLimitOutcome;
typedef std::future<CreateDataLimitOutcome> CreateDataLimitOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::CreateDataLimitRequest&, const CreateDataLimitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataLimitAsyncHandler;
typedef Outcome<Error, Model::ModifyRuleResult> ModifyRuleOutcome;
typedef std::future<ModifyRuleOutcome> ModifyRuleOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ModifyRuleRequest&, const ModifyRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyRuleAsyncHandler;
typedef Outcome<Error, Model::ModifyDataLimitResult> ModifyDataLimitOutcome;
typedef std::future<ModifyDataLimitOutcome> ModifyDataLimitOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ModifyDataLimitRequest&, const ModifyDataLimitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDataLimitAsyncHandler;
typedef Outcome<Error, Model::DescribeEventDetailResult> DescribeEventDetailOutcome;
typedef std::future<DescribeEventDetailOutcome> DescribeEventDetailOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeEventDetailRequest&, const DescribeEventDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeTablesResult> DescribeTablesOutcome;
typedef std::future<DescribeTablesOutcome> DescribeTablesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeTablesRequest&, const DescribeTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTablesAsyncHandler;
typedef Outcome<Error, Model::DescribePrivilegesResult> DescribePrivilegesOutcome;
typedef std::future<DescribePrivilegesOutcome> DescribePrivilegesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribePrivilegesRequest&, const DescribePrivilegesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePrivilegesAsyncHandler;
typedef Outcome<Error, Model::DescribeDataHubProjectsResult> DescribeDataHubProjectsOutcome;
typedef std::future<DescribeDataHubProjectsOutcome> DescribeDataHubProjectsOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeDataHubProjectsRequest&, const DescribeDataHubProjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataHubProjectsAsyncHandler;
typedef Outcome<Error, Model::DescribeInstancesResult> DescribeInstancesOutcome;
typedef std::future<DescribeInstancesOutcome> DescribeInstancesOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeInstancesRequest&, const DescribeInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstancesAsyncHandler;
typedef Outcome<Error, Model::ModifyDefaultLevelResult> ModifyDefaultLevelOutcome;
typedef std::future<ModifyDefaultLevelOutcome> ModifyDefaultLevelOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ModifyDefaultLevelRequest&, const ModifyDefaultLevelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDefaultLevelAsyncHandler;
typedef Outcome<Error, Model::ModifyEventTypeStatusResult> ModifyEventTypeStatusOutcome;
typedef std::future<ModifyEventTypeStatusOutcome> ModifyEventTypeStatusOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::ModifyEventTypeStatusRequest&, const ModifyEventTypeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyEventTypeStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeUserStatusResult> DescribeUserStatusOutcome;
typedef std::future<DescribeUserStatusOutcome> DescribeUserStatusOutcomeCallable;
typedef std::function<void(const SddpClient*, const Model::DescribeUserStatusRequest&, const DescribeUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserStatusAsyncHandler;
SddpClient(const Credentials &credentials, const ClientConfiguration &configuration);
SddpClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
SddpClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~SddpClient();
DescribeOssObjectDetailOutcome describeOssObjectDetail(const Model::DescribeOssObjectDetailRequest &request)const;
void describeOssObjectDetailAsync(const Model::DescribeOssObjectDetailRequest& request, const DescribeOssObjectDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOssObjectDetailOutcomeCallable describeOssObjectDetailCallable(const Model::DescribeOssObjectDetailRequest& request) const;
CreateConfigOutcome createConfig(const Model::CreateConfigRequest &request)const;
void createConfigAsync(const Model::CreateConfigRequest& request, const CreateConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConfigOutcomeCallable createConfigCallable(const Model::CreateConfigRequest& request) const;
DescribeEventTypesOutcome describeEventTypes(const Model::DescribeEventTypesRequest &request)const;
void describeEventTypesAsync(const Model::DescribeEventTypesRequest& request, const DescribeEventTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEventTypesOutcomeCallable describeEventTypesCallable(const Model::DescribeEventTypesRequest& request) const;
DescribePackagesOutcome describePackages(const Model::DescribePackagesRequest &request)const;
void describePackagesAsync(const Model::DescribePackagesRequest& request, const DescribePackagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePackagesOutcomeCallable describePackagesCallable(const Model::DescribePackagesRequest& request) const;
ModifyEventStatusOutcome modifyEventStatus(const Model::ModifyEventStatusRequest &request)const;
void modifyEventStatusAsync(const Model::ModifyEventStatusRequest& request, const ModifyEventStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyEventStatusOutcomeCallable modifyEventStatusCallable(const Model::ModifyEventStatusRequest& request) const;
DescribeConfigsOutcome describeConfigs(const Model::DescribeConfigsRequest &request)const;
void describeConfigsAsync(const Model::DescribeConfigsRequest& request, const DescribeConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeConfigsOutcomeCallable describeConfigsCallable(const Model::DescribeConfigsRequest& request) const;
DescribeAuthAccountsOutcome describeAuthAccounts(const Model::DescribeAuthAccountsRequest &request)const;
void describeAuthAccountsAsync(const Model::DescribeAuthAccountsRequest& request, const DescribeAuthAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAuthAccountsOutcomeCallable describeAuthAccountsCallable(const Model::DescribeAuthAccountsRequest& request) const;
DescribeDataAssetsOutcome describeDataAssets(const Model::DescribeDataAssetsRequest &request)const;
void describeDataAssetsAsync(const Model::DescribeDataAssetsRequest& request, const DescribeDataAssetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataAssetsOutcomeCallable describeDataAssetsCallable(const Model::DescribeDataAssetsRequest& request) const;
ValidateConnectorOutcome validateConnector(const Model::ValidateConnectorRequest &request)const;
void validateConnectorAsync(const Model::ValidateConnectorRequest& request, const ValidateConnectorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateConnectorOutcomeCallable validateConnectorCallable(const Model::ValidateConnectorRequest& request) const;
DescribeCloudDatabasesOutcome describeCloudDatabases(const Model::DescribeCloudDatabasesRequest &request)const;
void describeCloudDatabasesAsync(const Model::DescribeCloudDatabasesRequest& request, const DescribeCloudDatabasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCloudDatabasesOutcomeCallable describeCloudDatabasesCallable(const Model::DescribeCloudDatabasesRequest& request) const;
CreateRuleOutcome createRule(const Model::CreateRuleRequest &request)const;
void createRuleAsync(const Model::CreateRuleRequest& request, const CreateRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRuleOutcomeCallable createRuleCallable(const Model::CreateRuleRequest& request) const;
CreateUserAuthOutcome createUserAuth(const Model::CreateUserAuthRequest &request)const;
void createUserAuthAsync(const Model::CreateUserAuthRequest& request, const CreateUserAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateUserAuthOutcomeCallable createUserAuthCallable(const Model::CreateUserAuthRequest& request) const;
DeleteRuleOutcome deleteRule(const Model::DeleteRuleRequest &request)const;
void deleteRuleAsync(const Model::DeleteRuleRequest& request, const DeleteRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRuleOutcomeCallable deleteRuleCallable(const Model::DeleteRuleRequest& request) const;
DescribeDataHubConnectorsOutcome describeDataHubConnectors(const Model::DescribeDataHubConnectorsRequest &request)const;
void describeDataHubConnectorsAsync(const Model::DescribeDataHubConnectorsRequest& request, const DescribeDataHubConnectorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataHubConnectorsOutcomeCallable describeDataHubConnectorsCallable(const Model::DescribeDataHubConnectorsRequest& request) const;
DescribeRulesOutcome describeRules(const Model::DescribeRulesRequest &request)const;
void describeRulesAsync(const Model::DescribeRulesRequest& request, const DescribeRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRulesOutcomeCallable describeRulesCallable(const Model::DescribeRulesRequest& request) const;
DescribeDataLimitDetailOutcome describeDataLimitDetail(const Model::DescribeDataLimitDetailRequest &request)const;
void describeDataLimitDetailAsync(const Model::DescribeDataLimitDetailRequest& request, const DescribeDataLimitDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataLimitDetailOutcomeCallable describeDataLimitDetailCallable(const Model::DescribeDataLimitDetailRequest& request) const;
DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const;
void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const;
ModifyRuleStatusOutcome modifyRuleStatus(const Model::ModifyRuleStatusRequest &request)const;
void modifyRuleStatusAsync(const Model::ModifyRuleStatusRequest& request, const ModifyRuleStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyRuleStatusOutcomeCallable modifyRuleStatusCallable(const Model::ModifyRuleStatusRequest& request) const;
DeleteDataLimitOutcome deleteDataLimit(const Model::DeleteDataLimitRequest &request)const;
void deleteDataLimitAsync(const Model::DeleteDataLimitRequest& request, const DeleteDataLimitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDataLimitOutcomeCallable deleteDataLimitCallable(const Model::DeleteDataLimitRequest& request) const;
DescribeAccountDetailOutcome describeAccountDetail(const Model::DescribeAccountDetailRequest &request)const;
void describeAccountDetailAsync(const Model::DescribeAccountDetailRequest& request, const DescribeAccountDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountDetailOutcomeCallable describeAccountDetailCallable(const Model::DescribeAccountDetailRequest& request) const;
DescribeDepartsOutcome describeDeparts(const Model::DescribeDepartsRequest &request)const;
void describeDepartsAsync(const Model::DescribeDepartsRequest& request, const DescribeDepartsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDepartsOutcomeCallable describeDepartsCallable(const Model::DescribeDepartsRequest& request) const;
DescribeDataHubSubscriptionsOutcome describeDataHubSubscriptions(const Model::DescribeDataHubSubscriptionsRequest &request)const;
void describeDataHubSubscriptionsAsync(const Model::DescribeDataHubSubscriptionsRequest& request, const DescribeDataHubSubscriptionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataHubSubscriptionsOutcomeCallable describeDataHubSubscriptionsCallable(const Model::DescribeDataHubSubscriptionsRequest& request) const;
DescribeDataHubTopicsOutcome describeDataHubTopics(const Model::DescribeDataHubTopicsRequest &request)const;
void describeDataHubTopicsAsync(const Model::DescribeDataHubTopicsRequest& request, const DescribeDataHubTopicsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataHubTopicsOutcomeCallable describeDataHubTopicsCallable(const Model::DescribeDataHubTopicsRequest& request) const;
DescribeCloudInstancesOutcome describeCloudInstances(const Model::DescribeCloudInstancesRequest &request)const;
void describeCloudInstancesAsync(const Model::DescribeCloudInstancesRequest& request, const DescribeCloudInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCloudInstancesOutcomeCallable describeCloudInstancesCallable(const Model::DescribeCloudInstancesRequest& request) const;
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
DescribeOssObjectsOutcome describeOssObjects(const Model::DescribeOssObjectsRequest &request)const;
void describeOssObjectsAsync(const Model::DescribeOssObjectsRequest& request, const DescribeOssObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOssObjectsOutcomeCallable describeOssObjectsCallable(const Model::DescribeOssObjectsRequest& request) const;
DescribeDataLimitsOutcome describeDataLimits(const Model::DescribeDataLimitsRequest &request)const;
void describeDataLimitsAsync(const Model::DescribeDataLimitsRequest& request, const DescribeDataLimitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataLimitsOutcomeCallable describeDataLimitsCallable(const Model::DescribeDataLimitsRequest& request) const;
DescribeEventsOutcome describeEvents(const Model::DescribeEventsRequest &request)const;
void describeEventsAsync(const Model::DescribeEventsRequest& request, const DescribeEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEventsOutcomeCallable describeEventsCallable(const Model::DescribeEventsRequest& request) const;
CreateDataLimitOutcome createDataLimit(const Model::CreateDataLimitRequest &request)const;
void createDataLimitAsync(const Model::CreateDataLimitRequest& request, const CreateDataLimitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDataLimitOutcomeCallable createDataLimitCallable(const Model::CreateDataLimitRequest& request) const;
ModifyRuleOutcome modifyRule(const Model::ModifyRuleRequest &request)const;
void modifyRuleAsync(const Model::ModifyRuleRequest& request, const ModifyRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyRuleOutcomeCallable modifyRuleCallable(const Model::ModifyRuleRequest& request) const;
ModifyDataLimitOutcome modifyDataLimit(const Model::ModifyDataLimitRequest &request)const;
void modifyDataLimitAsync(const Model::ModifyDataLimitRequest& request, const ModifyDataLimitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDataLimitOutcomeCallable modifyDataLimitCallable(const Model::ModifyDataLimitRequest& request) const;
DescribeEventDetailOutcome describeEventDetail(const Model::DescribeEventDetailRequest &request)const;
void describeEventDetailAsync(const Model::DescribeEventDetailRequest& request, const DescribeEventDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEventDetailOutcomeCallable describeEventDetailCallable(const Model::DescribeEventDetailRequest& request) const;
DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const;
void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const;
DescribePrivilegesOutcome describePrivileges(const Model::DescribePrivilegesRequest &request)const;
void describePrivilegesAsync(const Model::DescribePrivilegesRequest& request, const DescribePrivilegesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePrivilegesOutcomeCallable describePrivilegesCallable(const Model::DescribePrivilegesRequest& request) const;
DescribeDataHubProjectsOutcome describeDataHubProjects(const Model::DescribeDataHubProjectsRequest &request)const;
void describeDataHubProjectsAsync(const Model::DescribeDataHubProjectsRequest& request, const DescribeDataHubProjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDataHubProjectsOutcomeCallable describeDataHubProjectsCallable(const Model::DescribeDataHubProjectsRequest& request) const;
DescribeInstancesOutcome describeInstances(const Model::DescribeInstancesRequest &request)const;
void describeInstancesAsync(const Model::DescribeInstancesRequest& request, const DescribeInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstancesOutcomeCallable describeInstancesCallable(const Model::DescribeInstancesRequest& request) const;
ModifyDefaultLevelOutcome modifyDefaultLevel(const Model::ModifyDefaultLevelRequest &request)const;
void modifyDefaultLevelAsync(const Model::ModifyDefaultLevelRequest& request, const ModifyDefaultLevelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDefaultLevelOutcomeCallable modifyDefaultLevelCallable(const Model::ModifyDefaultLevelRequest& request) const;
ModifyEventTypeStatusOutcome modifyEventTypeStatus(const Model::ModifyEventTypeStatusRequest &request)const;
void modifyEventTypeStatusAsync(const Model::ModifyEventTypeStatusRequest& request, const ModifyEventTypeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyEventTypeStatusOutcomeCallable modifyEventTypeStatusCallable(const Model::ModifyEventTypeStatusRequest& request) const;
DescribeUserStatusOutcome describeUserStatus(const Model::DescribeUserStatusRequest &request)const;
void describeUserStatusAsync(const Model::DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_SDDP_SDDPCLIENT_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_SDDP_SDDPEXPORT_H_
#define ALIBABACLOUD_SDDP_SDDPEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_SDDP_LIBRARY)
# define ALIBABACLOUD_SDDP_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_SDDP_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_SDDP_EXPORT
#endif
#endif // !ALIBABACLOUD_SDDP_SDDPEXPORT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_CREATECONFIGREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateConfigRequest : public RpcServiceRequest
{
public:
CreateConfigRequest();
~CreateConfigRequest();
std::string getCode()const;
void setCode(const std::string& code);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getConfigList()const;
void setConfigList(const std::string& configList);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getValue()const;
void setValue(const std::string& value);
private:
std::string code_;
std::string sourceIp_;
int featureType_;
std::string description_;
std::string configList_;
std::string lang_;
std::string value_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATECONFIGREQUEST_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_SDDP_MODEL_CREATECONFIGRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATECONFIGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateConfigResult : public ServiceResult
{
public:
CreateConfigResult();
explicit CreateConfigResult(const std::string &payload);
~CreateConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATECONFIGRESULT_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_SDDP_MODEL_CREATEDATALIMITREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATEDATALIMITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateDataLimitRequest : public RpcServiceRequest
{
public:
CreateDataLimitRequest();
~CreateDataLimitRequest();
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConnector()const;
void setConnector(const std::string& connector);
std::string getDataLimitList()const;
void setDataLimitList(const std::string& dataLimitList);
std::string getLang()const;
void setLang(const std::string& lang);
int getResourceType()const;
void setResourceType(int resourceType);
std::string getServiceRegionId()const;
void setServiceRegionId(const std::string& serviceRegionId);
std::string getParentId()const;
void setParentId(const std::string& parentId);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string password_;
std::string sourceIp_;
std::string connector_;
std::string dataLimitList_;
std::string lang_;
int resourceType_;
std::string serviceRegionId_;
std::string parentId_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATEDATALIMITREQUEST_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_SDDP_MODEL_CREATEDATALIMITRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATEDATALIMITRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateDataLimitResult : public ServiceResult
{
public:
CreateDataLimitResult();
explicit CreateDataLimitResult(const std::string &payload);
~CreateDataLimitResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATEDATALIMITRESULT_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_SDDP_MODEL_CREATERULEREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateRuleRequest : public RpcServiceRequest
{
public:
CreateRuleRequest();
~CreateRuleRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getName()const;
void setName(const std::string& name);
long getRiskLevelId()const;
void setRiskLevelId(long riskLevelId);
std::string getLang()const;
void setLang(const std::string& lang);
long getCustomType()const;
void setCustomType(long customType);
int getCategory()const;
void setCategory(int category);
std::string getContent()const;
void setContent(const std::string& content);
private:
std::string sourceIp_;
int featureType_;
std::string name_;
long riskLevelId_;
std::string lang_;
long customType_;
int category_;
std::string content_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATERULEREQUEST_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_SDDP_MODEL_CREATERULERESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATERULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateRuleResult : public ServiceResult
{
public:
CreateRuleResult();
explicit CreateRuleResult(const std::string &payload);
~CreateRuleResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATERULERESULT_H_

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_SDDP_MODEL_CREATEUSERAUTHREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATEUSERAUTHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateUserAuthRequest : public RpcServiceRequest
{
public:
CreateUserAuthRequest();
~CreateUserAuthRequest();
long getAccountId()const;
void setAccountId(long accountId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getAccessKey()const;
void setAccessKey(const std::string& accessKey);
std::string getAccessKeySecret()const;
void setAccessKeySecret(const std::string& accessKeySecret);
std::string getLang()const;
void setLang(const std::string& lang);
private:
long accountId_;
std::string sourceIp_;
std::string accessKey_;
std::string accessKeySecret_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATEUSERAUTHREQUEST_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_SDDP_MODEL_CREATEUSERAUTHRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_CREATEUSERAUTHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT CreateUserAuthResult : public ServiceResult
{
public:
CreateUserAuthResult();
explicit CreateUserAuthResult(const std::string &payload);
~CreateUserAuthResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_CREATEUSERAUTHRESULT_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_SDDP_MODEL_DELETEDATALIMITREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DELETEDATALIMITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DeleteDataLimitRequest : public RpcServiceRequest
{
public:
DeleteDataLimitRequest();
~DeleteDataLimitRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
int featureType_;
long id_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DELETEDATALIMITREQUEST_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_SDDP_MODEL_DELETEDATALIMITRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DELETEDATALIMITRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DeleteDataLimitResult : public ServiceResult
{
public:
DeleteDataLimitResult();
explicit DeleteDataLimitResult(const std::string &payload);
~DeleteDataLimitResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DELETEDATALIMITRESULT_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_SDDP_MODEL_DELETERULEREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DELETERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DeleteRuleRequest : public RpcServiceRequest
{
public:
DeleteRuleRequest();
~DeleteRuleRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
int featureType_;
long id_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DELETERULEREQUEST_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_SDDP_MODEL_DELETERULERESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DELETERULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DeleteRuleResult : public ServiceResult
{
public:
DeleteRuleResult();
explicit DeleteRuleResult(const std::string &payload);
~DeleteRuleResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DELETERULERESULT_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_SDDP_MODEL_DESCRIBEACCOUNTDETAILREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeAccountDetailRequest : public RpcServiceRequest
{
public:
DescribeAccountDetailRequest();
~DescribeAccountDetailRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
long getUserId()const;
void setUserId(long userId);
long getAccountTypeId()const;
void setAccountTypeId(long accountTypeId);
private:
std::string sourceIp_;
std::string lang_;
long userId_;
long accountTypeId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTDETAILREQUEST_H_

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTDETAILRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeAccountDetailResult : public ServiceResult
{
public:
struct Account
{
struct EventCount
{
struct Total
{
long totalCount;
long excludeCount;
long undealCount;
long confirmCount;
};
Total total;
};
struct Privilege
{
int useAccountType;
std::string productName;
long useAccountCreateTime;
std::string useAccountId;
std::string useAccountName;
std::string useAccountTypeName;
};
std::string loginName;
std::string dataInstance;
std::string email;
EventCount eventCount;
long firstLevelDepartId;
long createTime;
std::string deleteStatus;
std::string activeStatus;
std::string telephoneNum;
std::string roleNames;
long loginDataTime;
long userId;
std::string fullName;
std::string loginPolicyName;
long id;
std::string cellphoneNum;
std::vector<Privilege> privilegeList;
std::string firstLevelDepartName;
long aliUid;
};
DescribeAccountDetailResult();
explicit DescribeAccountDetailResult(const std::string &payload);
~DescribeAccountDetailResult();
Account getAccount()const;
protected:
void parse(const std::string &payload);
private:
Account account_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTDETAILRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeAccountsRequest : public RpcServiceRequest
{
public:
DescribeAccountsRequest();
~DescribeAccountsRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getLoginName()const;
void setLoginName(const std::string& loginName);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getColumnId()const;
void setColumnId(const std::string& columnId);
std::string getPackageId()const;
void setPackageId(const std::string& packageId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
long getDepartId()const;
void setDepartId(long departId);
int getOperationId()const;
void setOperationId(int operationId);
std::string getTableId()const;
void setTableId(const std::string& tableId);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKey()const;
void setKey(const std::string& key);
int getQueryType()const;
void setQueryType(int queryType);
private:
std::string productCode_;
std::string loginName_;
int featureType_;
std::string columnId_;
std::string packageId_;
int currentPage_;
std::string instanceId_;
std::string sourceIp_;
int pageSize_;
long departId_;
int operationId_;
std::string tableId_;
std::string lang_;
std::string key_;
int queryType_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTSREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeAccountsResult : public ServiceResult
{
public:
struct Account
{
struct EventCount
{
struct Total
{
long totalCount;
long excludeCount;
long undealCount;
long confirmCount;
};
Total total;
};
std::string loginName;
std::string dataInstance;
std::string email;
EventCount eventCount;
long firstLevelDepartId;
long createTime;
std::string deleteStatus;
std::string activeStatus;
std::string instanceName;
std::string telephoneNum;
long accountTypeId;
std::string roleNames;
long loginDataTime;
long userId;
std::string fullName;
std::string loginPolicyName;
long id;
std::string cellphoneNum;
std::string firstLevelDepartName;
long aliUid;
};
DescribeAccountsResult();
explicit DescribeAccountsResult(const std::string &payload);
~DescribeAccountsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Account> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Account> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEACCOUNTSRESULT_H_

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_SDDP_MODEL_DESCRIBEAUTHACCOUNTSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUTHACCOUNTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeAuthAccountsRequest : public RpcServiceRequest
{
public:
DescribeAuthAccountsRequest();
~DescribeAuthAccountsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
int featureType_;
int pageSize_;
int currentPage_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUTHACCOUNTSREQUEST_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUTHACCOUNTSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUTHACCOUNTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeAuthAccountsResult : public ServiceResult
{
public:
struct Account
{
std::string authFullName;
std::string loginName;
std::string fullName;
long id;
std::string authLoginName;
long authTime;
};
DescribeAuthAccountsResult();
explicit DescribeAuthAccountsResult(const std::string &payload);
~DescribeAuthAccountsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Account> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Account> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEAUTHACCOUNTSRESULT_H_

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_SDDP_MODEL_DESCRIBECLOUDDATABASESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDDATABASESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeCloudDatabasesRequest : public RpcServiceRequest
{
public:
DescribeCloudDatabasesRequest();
~DescribeCloudDatabasesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
long getResourceType()const;
void setResourceType(long resourceType);
std::string getServiceRegionId()const;
void setServiceRegionId(const std::string& serviceRegionId);
private:
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
long resourceType_;
std::string serviceRegionId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDDATABASESREQUEST_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_SDDP_MODEL_DESCRIBECLOUDDATABASESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDDATABASESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeCloudDatabasesResult : public ServiceResult
{
public:
struct CloudDatabase
{
std::string instanceId;
std::string engine;
std::string name;
};
DescribeCloudDatabasesResult();
explicit DescribeCloudDatabasesResult(const std::string &payload);
~DescribeCloudDatabasesResult();
std::vector<CloudDatabase> getCloudDatabaseList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CloudDatabase> cloudDatabaseList_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDDATABASESRESULT_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_SDDP_MODEL_DESCRIBECLOUDINSTANCESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeCloudInstancesRequest : public RpcServiceRequest
{
public:
DescribeCloudInstancesRequest();
~DescribeCloudInstancesRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
long getResourceType()const;
void setResourceType(long resourceType);
std::string getServiceRegionId()const;
void setServiceRegionId(const std::string& serviceRegionId);
private:
std::string sourceIp_;
std::string lang_;
long resourceType_;
std::string serviceRegionId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDINSTANCESREQUEST_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_SDDP_MODEL_DESCRIBECLOUDINSTANCESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeCloudInstancesResult : public ServiceResult
{
public:
struct CloudInstance
{
std::string instanceId;
std::string engine;
std::string name;
};
DescribeCloudInstancesResult();
explicit DescribeCloudInstancesResult(const std::string &payload);
~DescribeCloudInstancesResult();
std::vector<CloudInstance> getCloudInstanceList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CloudInstance> cloudInstanceList_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECLOUDINSTANCESRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeColumnsRequest : public RpcServiceRequest
{
public:
DescribeColumnsRequest();
~DescribeColumnsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getRiskLevels()const;
void setRiskLevels(const std::string& riskLevels);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
long getTableId()const;
void setTableId(long tableId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getQueryName()const;
void setQueryName(const std::string& queryName);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
private:
std::string sourceIp_;
int featureType_;
std::string riskLevels_;
std::string name_;
int pageSize_;
long tableId_;
int currentPage_;
std::string queryName_;
std::string lang_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeColumnsResult : public ServiceResult
{
public:
struct Column
{
long tableId;
int odpsRiskLevelValue;
long instanceId;
std::string productCode;
long ruleId;
std::string odpsRiskLevelName;
long riskLevelId;
std::string departName;
std::string name;
long creationTime;
bool sensitive;
std::string dataType;
std::string riskLevelName;
long id;
std::string ruleName;
};
DescribeColumnsResult();
explicit DescribeColumnsResult(const std::string &payload);
~DescribeColumnsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Column> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Column> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECOLUMNSRESULT_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_SDDP_MODEL_DESCRIBECONFIGSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeConfigsRequest : public RpcServiceRequest
{
public:
DescribeConfigsRequest();
~DescribeConfigsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
int featureType_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECONFIGSREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SDDP_MODEL_DESCRIBECONFIGSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBECONFIGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeConfigsResult : public ServiceResult
{
public:
struct Config
{
std::string defaultValue;
std::string description;
long value;
long id;
int code;
};
DescribeConfigsResult();
explicit DescribeConfigsResult(const std::string &payload);
~DescribeConfigsResult();
std::vector<Config> getConfigList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Config> configList_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBECONFIGSRESULT_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_SDDP_MODEL_DESCRIBEDATAASSETSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAASSETSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataAssetsRequest : public RpcServiceRequest
{
public:
DescribeDataAssetsRequest();
~DescribeDataAssetsRequest();
int getRangeId()const;
void setRangeId(int rangeId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getRiskLevels()const;
void setRiskLevels(const std::string& riskLevels);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
private:
int rangeId_;
std::string sourceIp_;
int featureType_;
std::string riskLevels_;
std::string name_;
int pageSize_;
int currentPage_;
std::string lang_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAASSETSREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAASSETSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAASSETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataAssetsResult : public ServiceResult
{
public:
struct Asset
{
std::string owner;
std::string productCode;
std::string sensitiveRatio;
std::string objectKey;
std::string odpsRiskLevelName;
std::string productId;
std::string acl;
long riskLevelId;
std::string departName;
std::string name;
int labelsec;
int totalCount;
long creationTime;
bool sensitive;
std::string dataType;
std::string riskLevelName;
long id;
int sensitiveCount;
bool protection;
std::string ruleName;
};
DescribeDataAssetsResult();
explicit DescribeDataAssetsResult(const std::string &payload);
~DescribeDataAssetsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Asset> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Asset> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAASSETSRESULT_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_SDDP_MODEL_DESCRIBEDATAHUBCONNECTORSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBCONNECTORSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubConnectorsRequest : public RpcServiceRequest
{
public:
DescribeDataHubConnectorsRequest();
~DescribeDataHubConnectorsRequest();
long getTopicId()const;
void setTopicId(long topicId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getPageSize()const;
void setPageSize(int pageSize);
long getDepartId()const;
void setDepartId(long departId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
long getProjectId()const;
void setProjectId(long projectId);
std::string getKey()const;
void setKey(const std::string& key);
private:
long topicId_;
std::string sourceIp_;
int featureType_;
int pageSize_;
long departId_;
int currentPage_;
std::string lang_;
long projectId_;
std::string key_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBCONNECTORSREQUEST_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_SDDP_MODEL_DESCRIBEDATAHUBCONNECTORSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBCONNECTORSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubConnectorsResult : public ServiceResult
{
public:
struct Connector
{
std::string connectorPath;
std::string loginName;
std::string connectorProduct;
std::string description;
long userId;
long creationTime;
std::string displayName;
std::string riskLevelName;
long id;
long riskLevelId;
std::string name;
};
DescribeDataHubConnectorsResult();
explicit DescribeDataHubConnectorsResult(const std::string &payload);
~DescribeDataHubConnectorsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Connector> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Connector> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBCONNECTORSRESULT_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_SDDP_MODEL_DESCRIBEDATAHUBPROJECTSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBPROJECTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubProjectsRequest : public RpcServiceRequest
{
public:
DescribeDataHubProjectsRequest();
~DescribeDataHubProjectsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getPageSize()const;
void setPageSize(int pageSize);
long getDepartId()const;
void setDepartId(long departId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKey()const;
void setKey(const std::string& key);
int getQueryType()const;
void setQueryType(int queryType);
private:
std::string sourceIp_;
int featureType_;
int pageSize_;
long departId_;
int currentPage_;
std::string lang_;
std::string key_;
int queryType_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBPROJECTSREQUEST_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_SDDP_MODEL_DESCRIBEDATAHUBPROJECTSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBPROJECTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubProjectsResult : public ServiceResult
{
public:
struct Project
{
std::string loginName;
std::string description;
long userId;
long creationTime;
std::string displayName;
std::string topicTupleCount;
long id;
std::string topicCount;
long topicBlobCount;
std::string name;
};
DescribeDataHubProjectsResult();
explicit DescribeDataHubProjectsResult(const std::string &payload);
~DescribeDataHubProjectsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Project> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Project> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBPROJECTSRESULT_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_SDDP_MODEL_DESCRIBEDATAHUBSUBSCRIPTIONSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBSUBSCRIPTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubSubscriptionsRequest : public RpcServiceRequest
{
public:
DescribeDataHubSubscriptionsRequest();
~DescribeDataHubSubscriptionsRequest();
long getTopicId()const;
void setTopicId(long topicId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getPageSize()const;
void setPageSize(int pageSize);
long getDepartId()const;
void setDepartId(long departId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
long getProjectId()const;
void setProjectId(long projectId);
std::string getKey()const;
void setKey(const std::string& key);
private:
long topicId_;
std::string sourceIp_;
int featureType_;
int pageSize_;
long departId_;
int currentPage_;
std::string lang_;
long projectId_;
std::string key_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBSUBSCRIPTIONSREQUEST_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_SDDP_MODEL_DESCRIBEDATAHUBSUBSCRIPTIONSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBSUBSCRIPTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubSubscriptionsResult : public ServiceResult
{
public:
struct Subscription
{
std::string loginName;
std::string description;
std::string applicationName;
std::string state;
long userId;
long creationTime;
std::string displayName;
std::string subscriptionDisplayName;
long id;
long subscriptionUserId;
std::string subscriptionUserName;
std::string name;
};
DescribeDataHubSubscriptionsResult();
explicit DescribeDataHubSubscriptionsResult(const std::string &payload);
~DescribeDataHubSubscriptionsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Subscription> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Subscription> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBSUBSCRIPTIONSRESULT_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_SDDP_MODEL_DESCRIBEDATAHUBTOPICSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBTOPICSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubTopicsRequest : public RpcServiceRequest
{
public:
DescribeDataHubTopicsRequest();
~DescribeDataHubTopicsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getPageSize()const;
void setPageSize(int pageSize);
long getDepartId()const;
void setDepartId(long departId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
long getProjectId()const;
void setProjectId(long projectId);
std::string getKey()const;
void setKey(const std::string& key);
private:
std::string sourceIp_;
int featureType_;
int pageSize_;
long departId_;
int currentPage_;
std::string lang_;
long projectId_;
std::string key_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBTOPICSREQUEST_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_SDDP_MODEL_DESCRIBEDATAHUBTOPICSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBTOPICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataHubTopicsResult : public ServiceResult
{
public:
struct Topic
{
int lifeCycle;
std::string loginName;
std::string description;
std::string recordType;
long userId;
long creationTime;
std::string displayName;
long id;
std::string name;
};
DescribeDataHubTopicsResult();
explicit DescribeDataHubTopicsResult(const std::string &payload);
~DescribeDataHubTopicsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Topic> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Topic> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATAHUBTOPICSRESULT_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_SDDP_MODEL_DESCRIBEDATALIMITDETAILREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataLimitDetailRequest : public RpcServiceRequest
{
public:
DescribeDataLimitDetailRequest();
~DescribeDataLimitDetailRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
long getId()const;
void setId(long id);
int getNetworkType()const;
void setNetworkType(int networkType);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
long id_;
int networkType_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITDETAILREQUEST_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_SDDP_MODEL_DESCRIBEDATALIMITDETAILRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataLimitDetailResult : public ServiceResult
{
public:
struct DataLimit
{
std::string parentId;
std::string connector;
long gmtCreate;
std::string userName;
int checkStatus;
std::string regionId;
long id;
std::string checkStatusName;
std::string localName;
};
DescribeDataLimitDetailResult();
explicit DescribeDataLimitDetailResult(const std::string &payload);
~DescribeDataLimitDetailResult();
DataLimit getDataLimit()const;
protected:
void parse(const std::string &payload);
private:
DataLimit dataLimit_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITDETAILRESULT_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_SDDP_MODEL_DESCRIBEDATALIMITSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataLimitsRequest : public RpcServiceRequest
{
public:
DescribeDataLimitsRequest();
~DescribeDataLimitsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
int getResourceType()const;
void setResourceType(int resourceType);
std::string getParentId()const;
void setParentId(const std::string& parentId);
private:
std::string sourceIp_;
std::string lang_;
int resourceType_;
std::string parentId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITSREQUEST_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_SDDP_MODEL_DESCRIBEDATALIMITSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDataLimitsResult : public ServiceResult
{
public:
struct DataLimit
{
std::string parentId;
std::string connector;
long gmtCreate;
std::string userName;
int checkStatus;
std::string regionId;
long id;
std::string checkStatusName;
std::string localName;
};
DescribeDataLimitsResult();
explicit DescribeDataLimitsResult(const std::string &payload);
~DescribeDataLimitsResult();
std::vector<DataLimit> getDataLimitList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataLimit> dataLimitList_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDATALIMITSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDEPARTSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDEPARTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDepartsRequest : public RpcServiceRequest
{
public:
DescribeDepartsRequest();
~DescribeDepartsRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getAccountType()const;
void setAccountType(int accountType);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKey()const;
void setKey(const std::string& key);
private:
std::string sourceIp_;
int featureType_;
int accountType_;
int pageSize_;
int currentPage_;
std::string lang_;
std::string key_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDEPARTSREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEDEPARTSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEDEPARTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeDepartsResult : public ServiceResult
{
public:
struct Depart
{
std::string comment;
long parentDepartId;
int level;
long id;
std::string parentDepartName;
std::string departName;
long departId;
};
DescribeDepartsResult();
explicit DescribeDepartsResult(const std::string &payload);
~DescribeDepartsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Depart> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Depart> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEDEPARTSRESULT_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_SDDP_MODEL_DESCRIBEEVENTDETAILREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeEventDetailRequest : public RpcServiceRequest
{
public:
DescribeEventDetailRequest();
~DescribeEventDetailRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
long getFeatureType()const;
void setFeatureType(long featureType);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
long featureType_;
long id_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTDETAILREQUEST_H_

View File

@@ -0,0 +1,99 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTDETAILRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeEventDetailResult : public ServiceResult
{
public:
struct Event
{
struct Detail
{
struct ContentItem
{
std::string label;
std::string value;
};
struct ChartItem
{
struct Data
{
std::string x;
std::string y;
};
std::string yLabel;
std::string label;
Data data;
std::string xLabel;
};
std::vector<ContentItem> content;
std::vector<ChartItem> chart;
};
int status;
std::string loginName;
std::string typeName;
std::string dataInstance;
bool backed;
std::string productCode;
std::string typeCode;
std::string statusName;
std::string subTypeCode;
long alertTime;
std::string departName;
std::string dealReason;
std::string telephoneNum;
std::string dealLoginName;
std::string dealDisplayName;
std::string subTypeName;
long userId;
long eventTime;
long dealUserId;
std::string displayName;
long id;
long dealTime;
Detail detail;
};
DescribeEventDetailResult();
explicit DescribeEventDetailResult(const std::string &payload);
~DescribeEventDetailResult();
Event getEvent()const;
protected:
void parse(const std::string &payload);
private:
Event event_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTDETAILRESULT_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_SDDP_MODEL_DESCRIBEEVENTTYPESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTTYPESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeEventTypesRequest : public RpcServiceRequest
{
public:
DescribeEventTypesRequest();
~DescribeEventTypesRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
long getParentTypeId()const;
void setParentTypeId(long parentTypeId);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
long parentTypeId_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTTYPESREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTTYPESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTTYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeEventTypesResult : public ServiceResult
{
public:
struct EventType
{
struct SubType
{
int status;
std::string description;
long id;
std::string code;
std::string name;
};
std::string description;
std::vector<EventType::SubType> subTypeList;
long id;
std::string code;
std::string name;
};
DescribeEventTypesResult();
explicit DescribeEventTypesResult(const std::string &payload);
~DescribeEventTypesResult();
std::vector<EventType> getEventTypeList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<EventType> eventTypeList_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTTYPESRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeEventsRequest : public RpcServiceRequest
{
public:
DescribeEventsRequest();
~DescribeEventsRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getUserId()const;
void setUserId(long userId);
std::string getTypeCode()const;
void setTypeCode(const std::string& typeCode);
std::string getSubTypeCode()const;
void setSubTypeCode(const std::string& subTypeCode);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getTargetProductCode()const;
void setTargetProductCode(const std::string& targetProductCode);
int getPageSize()const;
void setPageSize(int pageSize);
long getDepartId()const;
void setDepartId(long departId);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDealUserId()const;
void setDealUserId(const std::string& dealUserId);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string productCode_;
int featureType_;
std::string endTime_;
int currentPage_;
std::string startTime_;
long userId_;
std::string typeCode_;
std::string subTypeCode_;
std::string sourceIp_;
std::string targetProductCode_;
int pageSize_;
long departId_;
std::string lang_;
std::string dealUserId_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTSREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeEventsResult : public ServiceResult
{
public:
struct Event
{
int status;
std::string loginName;
std::string typeName;
bool backed;
std::string productCode;
std::string typeCode;
std::string statusName;
std::string subTypeCode;
long alertTime;
std::string departName;
std::string telephoneNum;
std::string dealLoginName;
std::string dealDisplayName;
std::string subTypeName;
long userId;
std::string targetProductCode;
long eventTime;
long dealUserId;
std::string displayName;
long id;
long dealTime;
};
DescribeEventsResult();
explicit DescribeEventsResult(const std::string &payload);
~DescribeEventsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Event> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Event> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEEVENTSRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEINSTANCESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeInstancesRequest : public RpcServiceRequest
{
public:
DescribeInstancesRequest();
~DescribeInstancesRequest();
std::string getProductCode()const;
void setProductCode(const std::string& productCode);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
long getProductId()const;
void setProductId(long productId);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getQueryName()const;
void setQueryName(const std::string& queryName);
long getRiskLevelId()const;
void setRiskLevelId(long riskLevelId);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
int getQueryType()const;
void setQueryType(int queryType);
private:
std::string productCode_;
std::string sourceIp_;
long productId_;
int featureType_;
std::string name_;
int pageSize_;
int currentPage_;
std::string queryName_;
long riskLevelId_;
std::string lang_;
long ruleId_;
int queryType_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEINSTANCESREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEINSTANCESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeInstancesResult : public ServiceResult
{
public:
struct Instance
{
std::string owner;
std::string productCode;
std::string odpsRiskLevelName;
std::string productId;
std::string acl;
long riskLevelId;
std::string departName;
std::string name;
int labelsec;
int totalCount;
long creationTime;
bool sensitive;
std::string riskLevelName;
long id;
int sensitiveCount;
bool protection;
std::string ruleName;
};
DescribeInstancesResult();
explicit DescribeInstancesResult(const std::string &payload);
~DescribeInstancesResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Instance> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Instance> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEINSTANCESRESULT_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_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectDetailRequest : public RpcServiceRequest
{
public:
DescribeOssObjectDetailRequest();
~DescribeOssObjectDetailRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
int featureType_;
long id_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectDetailResult : public ServiceResult
{
public:
struct OssObjectDetail
{
struct Rule
{
long count;
std::string ruleName;
};
std::vector<Rule> ruleList;
std::string bucketName;
std::string categoryName;
std::string riskLevelName;
std::string regionId;
std::string name;
};
DescribeOssObjectDetailResult();
explicit DescribeOssObjectDetailResult(const std::string &payload);
~DescribeOssObjectDetailResult();
OssObjectDetail getOssObjectDetail()const;
protected:
void parse(const std::string &payload);
private:
OssObjectDetail ossObjectDetail_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTDETAILRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectsRequest : public RpcServiceRequest
{
public:
DescribeOssObjectsRequest();
~DescribeOssObjectsRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getQueryName()const;
void setQueryName(const std::string& queryName);
int getRiskLevelId()const;
void setRiskLevelId(int riskLevelId);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
private:
std::string instanceId_;
std::string sourceIp_;
int featureType_;
std::string name_;
int pageSize_;
int currentPage_;
std::string queryName_;
int riskLevelId_;
std::string lang_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SDDP_MODEL_DESCRIBEOSSOBJECTSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeOssObjectsResult : public ServiceResult
{
public:
struct Column
{
long category;
long instanceId;
std::string fileId;
long riskLevelName;
long id;
std::string regionId;
long riskLevelId;
std::string name;
};
DescribeOssObjectsResult();
explicit DescribeOssObjectsResult(const std::string &payload);
~DescribeOssObjectsResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Column> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Column> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEOSSOBJECTSRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribePackagesRequest : public RpcServiceRequest
{
public:
DescribePackagesRequest();
~DescribePackagesRequest();
long getInstanceId()const;
void setInstanceId(long instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
long getProductId()const;
void setProductId(long productId);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getQueryName()const;
void setQueryName(const std::string& queryName);
long getRiskLevelId()const;
void setRiskLevelId(long riskLevelId);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
int getQueryType()const;
void setQueryType(int queryType);
private:
long instanceId_;
std::string sourceIp_;
long productId_;
int featureType_;
std::string name_;
int pageSize_;
int currentPage_;
std::string queryName_;
long riskLevelId_;
std::string lang_;
long ruleId_;
int queryType_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESREQUEST_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_SDDP_MODEL_DESCRIBEPACKAGESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribePackagesResult : public ServiceResult
{
public:
struct Package
{
std::string owner;
int totalCount;
long instanceId;
long creationTime;
bool sensitive;
std::string riskLevelName;
long id;
int sensitiveCount;
long riskLevelId;
std::string departName;
std::string name;
};
DescribePackagesResult();
explicit DescribePackagesResult(const std::string &payload);
~DescribePackagesResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Package> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Package> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPACKAGESRESULT_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_SDDP_MODEL_DESCRIBEPRIVILEGESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPRIVILEGESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribePrivilegesRequest : public RpcServiceRequest
{
public:
DescribePrivilegesRequest();
~DescribePrivilegesRequest();
long getAccountId()const;
void setAccountId(long accountId);
long getUseAccountId()const;
void setUseAccountId(long useAccountId);
std::string getDataTypeIds()const;
void setDataTypeIds(const std::string& dataTypeIds);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getKey()const;
void setKey(const std::string& key);
private:
long accountId_;
long useAccountId_;
std::string dataTypeIds_;
std::string sourceIp_;
int featureType_;
int pageSize_;
int currentPage_;
std::string lang_;
std::string key_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPRIVILEGESREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SDDP_MODEL_DESCRIBEPRIVILEGESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEPRIVILEGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribePrivilegesResult : public ServiceResult
{
public:
struct Privilege
{
int useAccountType;
std::string dataTable;
std::string dataInstance;
long accountId;
std::string productName;
std::string productCode;
std::string resourceName;
std::string operation;
std::string policyCondition;
int accountType;
std::string resourcePath;
std::string dataTypeId;
std::string dataColumn;
std::string dataType;
std::string dataPackage;
std::string sensitive;
long id;
std::string dataTypeName;
long useAccountId;
};
DescribePrivilegesResult();
explicit DescribePrivilegesResult(const std::string &payload);
~DescribePrivilegesResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Privilege> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Privilege> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEPRIVILEGESRESULT_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_SDDP_MODEL_DESCRIBERULESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBERULESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeRulesRequest : public RpcServiceRequest
{
public:
DescribeRulesRequest();
~DescribeRulesRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getName()const;
void setName(const std::string& name);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
long getRiskLevelId()const;
void setRiskLevelId(long riskLevelId);
std::string getLang()const;
void setLang(const std::string& lang);
int getCustomType()const;
void setCustomType(int customType);
int getCategory()const;
void setCategory(int category);
private:
std::string sourceIp_;
int pageSize_;
std::string name_;
int currentPage_;
long riskLevelId_;
std::string lang_;
int customType_;
int category_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBERULESREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SDDP_MODEL_DESCRIBERULESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBERULESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeRulesResult : public ServiceResult
{
public:
struct Rule
{
int customType;
int status;
std::string loginName;
std::string description;
int category;
long gmtModified;
long riskLevelId;
std::string departName;
std::string name;
long gmtCreate;
long userId;
std::string content;
std::string displayName;
std::string categoryName;
std::string riskLevelName;
long id;
};
DescribeRulesResult();
explicit DescribeRulesResult(const std::string &payload);
~DescribeRulesResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Rule> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Rule> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBERULESRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_SDDP_MODEL_DESCRIBETABLESREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBETABLESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeTablesRequest : public RpcServiceRequest
{
public:
DescribeTablesRequest();
~DescribeTablesRequest();
long getProductId()const;
void setProductId(long productId);
int getFeatureType()const;
void setFeatureType(int featureType);
long getPackageId()const;
void setPackageId(long packageId);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getQueryName()const;
void setQueryName(const std::string& queryName);
long getRiskLevelId()const;
void setRiskLevelId(long riskLevelId);
long getInstanceId()const;
void setInstanceId(long instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
int getQueryType()const;
void setQueryType(int queryType);
private:
long productId_;
int featureType_;
long packageId_;
int currentPage_;
std::string queryName_;
long riskLevelId_;
long instanceId_;
std::string sourceIp_;
std::string name_;
int pageSize_;
std::string lang_;
long ruleId_;
int queryType_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBETABLESREQUEST_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_SDDP_MODEL_DESCRIBETABLESRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBETABLESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeTablesResult : public ServiceResult
{
public:
struct Table
{
std::string owner;
std::string productCode;
long instanceId;
std::string sensitiveRatio;
std::string productId;
long riskLevelId;
std::string departName;
std::string name;
int totalCount;
long creationTime;
bool sensitive;
std::string riskLevelName;
long id;
int sensitiveCount;
};
DescribeTablesResult();
explicit DescribeTablesResult(const std::string &payload);
~DescribeTablesResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<Table> getItems()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<Table> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBETABLESRESULT_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_SDDP_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeUserStatusRequest : public RpcServiceRequest
{
public:
DescribeUserStatusRequest();
~DescribeUserStatusRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSERSTATUSREQUEST_H_

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_SDDP_MODEL_DESCRIBEUSERSTATUSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSERSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT DescribeUserStatusResult : public ServiceResult
{
public:
struct UserStatus
{
bool authed;
bool rdsSet;
std::string accessKeyId;
bool ossBucketSet;
bool odpsSet;
bool buyed;
};
DescribeUserStatusResult();
explicit DescribeUserStatusResult(const std::string &payload);
~DescribeUserStatusResult();
UserStatus getUserStatus()const;
protected:
void parse(const std::string &payload);
private:
UserStatus userStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_DESCRIBEUSERSTATUSRESULT_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_SDDP_MODEL_MODIFYDATALIMITREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYDATALIMITREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyDataLimitRequest : public RpcServiceRequest
{
public:
ModifyDataLimitRequest();
~ModifyDataLimitRequest();
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConnector()const;
void setConnector(const std::string& connector);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
int getResourceType()const;
void setResourceType(int resourceType);
std::string getServiceRegionId()const;
void setServiceRegionId(const std::string& serviceRegionId);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string password_;
std::string sourceIp_;
std::string connector_;
long id_;
std::string lang_;
int resourceType_;
std::string serviceRegionId_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYDATALIMITREQUEST_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_SDDP_MODEL_MODIFYDATALIMITRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYDATALIMITRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyDataLimitResult : public ServiceResult
{
public:
ModifyDataLimitResult();
explicit ModifyDataLimitResult(const std::string &payload);
~ModifyDataLimitResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYDATALIMITRESULT_H_

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_SDDP_MODEL_MODIFYDEFAULTLEVELREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYDEFAULTLEVELREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyDefaultLevelRequest : public RpcServiceRequest
{
public:
ModifyDefaultLevelRequest();
~ModifyDefaultLevelRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
long getDefaultId()const;
void setDefaultId(long defaultId);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getSensitiveIds()const;
void setSensitiveIds(const std::string& sensitiveIds);
private:
std::string sourceIp_;
int featureType_;
long defaultId_;
std::string lang_;
std::string sensitiveIds_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYDEFAULTLEVELREQUEST_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_SDDP_MODEL_MODIFYDEFAULTLEVELRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYDEFAULTLEVELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyDefaultLevelResult : public ServiceResult
{
public:
ModifyDefaultLevelResult();
explicit ModifyDefaultLevelResult(const std::string &payload);
~ModifyDefaultLevelResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYDEFAULTLEVELRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTSTATUSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyEventStatusRequest : public RpcServiceRequest
{
public:
ModifyEventStatusRequest();
~ModifyEventStatusRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
bool getBacked()const;
void setBacked(bool backed);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getDealReason()const;
void setDealReason(const std::string& dealReason);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
int getStatus()const;
void setStatus(int status);
private:
std::string sourceIp_;
bool backed_;
int featureType_;
std::string dealReason_;
long id_;
std::string lang_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTSTATUSREQUEST_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_SDDP_MODEL_MODIFYEVENTSTATUSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyEventStatusResult : public ServiceResult
{
public:
ModifyEventStatusResult();
explicit ModifyEventStatusResult(const std::string &payload);
~ModifyEventStatusResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTSTATUSRESULT_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_SDDP_MODEL_MODIFYEVENTTYPESTATUSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTTYPESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyEventTypeStatusRequest : public RpcServiceRequest
{
public:
ModifyEventTypeStatusRequest();
~ModifyEventTypeStatusRequest();
std::string getSubTypeIds()const;
void setSubTypeIds(const std::string& subTypeIds);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string subTypeIds_;
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTTYPESTATUSREQUEST_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_SDDP_MODEL_MODIFYEVENTTYPESTATUSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTTYPESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyEventTypeStatusResult : public ServiceResult
{
public:
ModifyEventTypeStatusResult();
explicit ModifyEventTypeStatusResult(const std::string &payload);
~ModifyEventTypeStatusResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYEVENTTYPESTATUSRESULT_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_SDDP_MODEL_MODIFYRULEREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYRULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyRuleRequest : public RpcServiceRequest
{
public:
ModifyRuleRequest();
~ModifyRuleRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
std::string getName()const;
void setName(const std::string& name);
long getId()const;
void setId(long id);
long getRiskLevelId()const;
void setRiskLevelId(long riskLevelId);
std::string getLang()const;
void setLang(const std::string& lang);
int getCustomType()const;
void setCustomType(int customType);
int getCategory()const;
void setCategory(int category);
std::string getContent()const;
void setContent(const std::string& content);
private:
std::string sourceIp_;
int featureType_;
std::string name_;
long id_;
long riskLevelId_;
std::string lang_;
int customType_;
int category_;
std::string content_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYRULEREQUEST_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_SDDP_MODEL_MODIFYRULERESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYRULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyRuleResult : public ServiceResult
{
public:
ModifyRuleResult();
explicit ModifyRuleResult(const std::string &payload);
~ModifyRuleResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYRULERESULT_H_

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_SDDP_MODEL_MODIFYRULESTATUSREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYRULESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyRuleStatusRequest : public RpcServiceRequest
{
public:
ModifyRuleStatusRequest();
~ModifyRuleStatusRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getFeatureType()const;
void setFeatureType(int featureType);
long getId()const;
void setId(long id);
std::string getLang()const;
void setLang(const std::string& lang);
int getStatus()const;
void setStatus(int status);
private:
std::string sourceIp_;
int featureType_;
long id_;
std::string lang_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYRULESTATUSREQUEST_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_SDDP_MODEL_MODIFYRULESTATUSRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_MODIFYRULESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ModifyRuleStatusResult : public ServiceResult
{
public:
ModifyRuleStatusResult();
explicit ModifyRuleStatusResult(const std::string &payload);
~ModifyRuleStatusResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_MODIFYRULESTATUSRESULT_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_SDDP_MODEL_VALIDATECONNECTORREQUEST_H_
#define ALIBABACLOUD_SDDP_MODEL_VALIDATECONNECTORREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ValidateConnectorRequest : public RpcServiceRequest
{
public:
ValidateConnectorRequest();
~ValidateConnectorRequest();
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getConnector()const;
void setConnector(const std::string& connector);
std::string getLang()const;
void setLang(const std::string& lang);
int getResourceType()const;
void setResourceType(int resourceType);
std::string getServiceRegionId()const;
void setServiceRegionId(const std::string& serviceRegionId);
std::string getParentId()const;
void setParentId(const std::string& parentId);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string password_;
std::string sourceIp_;
std::string connector_;
std::string lang_;
int resourceType_;
std::string serviceRegionId_;
std::string parentId_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_VALIDATECONNECTORREQUEST_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_SDDP_MODEL_VALIDATECONNECTORRESULT_H_
#define ALIBABACLOUD_SDDP_MODEL_VALIDATECONNECTORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sddp/SddpExport.h>
namespace AlibabaCloud
{
namespace Sddp
{
namespace Model
{
class ALIBABACLOUD_SDDP_EXPORT ValidateConnectorResult : public ServiceResult
{
public:
ValidateConnectorResult();
explicit ValidateConnectorResult(const std::string &payload);
~ValidateConnectorResult();
bool getConnected()const;
protected:
void parse(const std::string &payload);
private:
bool connected_;
};
}
}
}
#endif // !ALIBABACLOUD_SDDP_MODEL_VALIDATECONNECTORRESULT_H_

1457
sddp/src/SddpClient.cc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/sddp/model/CreateConfigRequest.h>
using AlibabaCloud::Sddp::Model::CreateConfigRequest;
CreateConfigRequest::CreateConfigRequest() :
RpcServiceRequest("sddp", "2019-01-03", "CreateConfig")
{}
CreateConfigRequest::~CreateConfigRequest()
{}
std::string CreateConfigRequest::getCode()const
{
return code_;
}
void CreateConfigRequest::setCode(const std::string& code)
{
code_ = code;
setCoreParameter("Code", code);
}
std::string CreateConfigRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateConfigRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
int CreateConfigRequest::getFeatureType()const
{
return featureType_;
}
void CreateConfigRequest::setFeatureType(int featureType)
{
featureType_ = featureType;
setCoreParameter("FeatureType", std::to_string(featureType));
}
std::string CreateConfigRequest::getDescription()const
{
return description_;
}
void CreateConfigRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
std::string CreateConfigRequest::getConfigList()const
{
return configList_;
}
void CreateConfigRequest::setConfigList(const std::string& configList)
{
configList_ = configList;
setCoreParameter("ConfigList", configList);
}
std::string CreateConfigRequest::getLang()const
{
return lang_;
}
void CreateConfigRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}
std::string CreateConfigRequest::getValue()const
{
return value_;
}
void CreateConfigRequest::setValue(const std::string& value)
{
value_ = value;
setCoreParameter("Value", value);
}

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/sddp/model/CreateConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
CreateConfigResult::CreateConfigResult() :
ServiceResult()
{}
CreateConfigResult::CreateConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateConfigResult::~CreateConfigResult()
{}
void CreateConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,126 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/sddp/model/CreateDataLimitRequest.h>
using AlibabaCloud::Sddp::Model::CreateDataLimitRequest;
CreateDataLimitRequest::CreateDataLimitRequest() :
RpcServiceRequest("sddp", "2019-01-03", "CreateDataLimit")
{}
CreateDataLimitRequest::~CreateDataLimitRequest()
{}
std::string CreateDataLimitRequest::getPassword()const
{
return password_;
}
void CreateDataLimitRequest::setPassword(const std::string& password)
{
password_ = password;
setCoreParameter("Password", password);
}
std::string CreateDataLimitRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateDataLimitRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
std::string CreateDataLimitRequest::getConnector()const
{
return connector_;
}
void CreateDataLimitRequest::setConnector(const std::string& connector)
{
connector_ = connector;
setCoreParameter("Connector", connector);
}
std::string CreateDataLimitRequest::getDataLimitList()const
{
return dataLimitList_;
}
void CreateDataLimitRequest::setDataLimitList(const std::string& dataLimitList)
{
dataLimitList_ = dataLimitList;
setCoreParameter("DataLimitList", dataLimitList);
}
std::string CreateDataLimitRequest::getLang()const
{
return lang_;
}
void CreateDataLimitRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}
int CreateDataLimitRequest::getResourceType()const
{
return resourceType_;
}
void CreateDataLimitRequest::setResourceType(int resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", std::to_string(resourceType));
}
std::string CreateDataLimitRequest::getServiceRegionId()const
{
return serviceRegionId_;
}
void CreateDataLimitRequest::setServiceRegionId(const std::string& serviceRegionId)
{
serviceRegionId_ = serviceRegionId;
setCoreParameter("ServiceRegionId", serviceRegionId);
}
std::string CreateDataLimitRequest::getParentId()const
{
return parentId_;
}
void CreateDataLimitRequest::setParentId(const std::string& parentId)
{
parentId_ = parentId;
setCoreParameter("ParentId", parentId);
}
std::string CreateDataLimitRequest::getUserName()const
{
return userName_;
}
void CreateDataLimitRequest::setUserName(const std::string& userName)
{
userName_ = userName;
setCoreParameter("UserName", userName);
}

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/sddp/model/CreateDataLimitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
CreateDataLimitResult::CreateDataLimitResult() :
ServiceResult()
{}
CreateDataLimitResult::CreateDataLimitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDataLimitResult::~CreateDataLimitResult()
{}
void CreateDataLimitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,115 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/sddp/model/CreateRuleRequest.h>
using AlibabaCloud::Sddp::Model::CreateRuleRequest;
CreateRuleRequest::CreateRuleRequest() :
RpcServiceRequest("sddp", "2019-01-03", "CreateRule")
{}
CreateRuleRequest::~CreateRuleRequest()
{}
std::string CreateRuleRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateRuleRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
int CreateRuleRequest::getFeatureType()const
{
return featureType_;
}
void CreateRuleRequest::setFeatureType(int featureType)
{
featureType_ = featureType;
setCoreParameter("FeatureType", std::to_string(featureType));
}
std::string CreateRuleRequest::getName()const
{
return name_;
}
void CreateRuleRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}
long CreateRuleRequest::getRiskLevelId()const
{
return riskLevelId_;
}
void CreateRuleRequest::setRiskLevelId(long riskLevelId)
{
riskLevelId_ = riskLevelId;
setCoreParameter("RiskLevelId", std::to_string(riskLevelId));
}
std::string CreateRuleRequest::getLang()const
{
return lang_;
}
void CreateRuleRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}
long CreateRuleRequest::getCustomType()const
{
return customType_;
}
void CreateRuleRequest::setCustomType(long customType)
{
customType_ = customType;
setCoreParameter("CustomType", std::to_string(customType));
}
int CreateRuleRequest::getCategory()const
{
return category_;
}
void CreateRuleRequest::setCategory(int category)
{
category_ = category;
setCoreParameter("Category", std::to_string(category));
}
std::string CreateRuleRequest::getContent()const
{
return content_;
}
void CreateRuleRequest::setContent(const std::string& content)
{
content_ = content;
setCoreParameter("Content", content);
}

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/sddp/model/CreateRuleResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
CreateRuleResult::CreateRuleResult() :
ServiceResult()
{}
CreateRuleResult::CreateRuleResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateRuleResult::~CreateRuleResult()
{}
void CreateRuleResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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/sddp/model/CreateUserAuthRequest.h>
using AlibabaCloud::Sddp::Model::CreateUserAuthRequest;
CreateUserAuthRequest::CreateUserAuthRequest() :
RpcServiceRequest("sddp", "2019-01-03", "CreateUserAuth")
{}
CreateUserAuthRequest::~CreateUserAuthRequest()
{}
long CreateUserAuthRequest::getAccountId()const
{
return accountId_;
}
void CreateUserAuthRequest::setAccountId(long accountId)
{
accountId_ = accountId;
setCoreParameter("AccountId", std::to_string(accountId));
}
std::string CreateUserAuthRequest::getSourceIp()const
{
return sourceIp_;
}
void CreateUserAuthRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
std::string CreateUserAuthRequest::getAccessKey()const
{
return accessKey_;
}
void CreateUserAuthRequest::setAccessKey(const std::string& accessKey)
{
accessKey_ = accessKey;
setCoreParameter("AccessKey", accessKey);
}
std::string CreateUserAuthRequest::getAccessKeySecret()const
{
return accessKeySecret_;
}
void CreateUserAuthRequest::setAccessKeySecret(const std::string& accessKeySecret)
{
accessKeySecret_ = accessKeySecret;
setCoreParameter("AccessKeySecret", accessKeySecret);
}
std::string CreateUserAuthRequest::getLang()const
{
return lang_;
}
void CreateUserAuthRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}

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/sddp/model/CreateUserAuthResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
CreateUserAuthResult::CreateUserAuthResult() :
ServiceResult()
{}
CreateUserAuthResult::CreateUserAuthResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateUserAuthResult::~CreateUserAuthResult()
{}
void CreateUserAuthResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/sddp/model/DeleteDataLimitRequest.h>
using AlibabaCloud::Sddp::Model::DeleteDataLimitRequest;
DeleteDataLimitRequest::DeleteDataLimitRequest() :
RpcServiceRequest("sddp", "2019-01-03", "DeleteDataLimit")
{}
DeleteDataLimitRequest::~DeleteDataLimitRequest()
{}
std::string DeleteDataLimitRequest::getSourceIp()const
{
return sourceIp_;
}
void DeleteDataLimitRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
int DeleteDataLimitRequest::getFeatureType()const
{
return featureType_;
}
void DeleteDataLimitRequest::setFeatureType(int featureType)
{
featureType_ = featureType;
setCoreParameter("FeatureType", std::to_string(featureType));
}
long DeleteDataLimitRequest::getId()const
{
return id_;
}
void DeleteDataLimitRequest::setId(long id)
{
id_ = id;
setCoreParameter("Id", std::to_string(id));
}
std::string DeleteDataLimitRequest::getLang()const
{
return lang_;
}
void DeleteDataLimitRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}

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/sddp/model/DeleteDataLimitResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
DeleteDataLimitResult::DeleteDataLimitResult() :
ServiceResult()
{}
DeleteDataLimitResult::DeleteDataLimitResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteDataLimitResult::~DeleteDataLimitResult()
{}
void DeleteDataLimitResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/sddp/model/DeleteRuleRequest.h>
using AlibabaCloud::Sddp::Model::DeleteRuleRequest;
DeleteRuleRequest::DeleteRuleRequest() :
RpcServiceRequest("sddp", "2019-01-03", "DeleteRule")
{}
DeleteRuleRequest::~DeleteRuleRequest()
{}
std::string DeleteRuleRequest::getSourceIp()const
{
return sourceIp_;
}
void DeleteRuleRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
int DeleteRuleRequest::getFeatureType()const
{
return featureType_;
}
void DeleteRuleRequest::setFeatureType(int featureType)
{
featureType_ = featureType;
setCoreParameter("FeatureType", std::to_string(featureType));
}
long DeleteRuleRequest::getId()const
{
return id_;
}
void DeleteRuleRequest::setId(long id)
{
id_ = id;
setCoreParameter("Id", std::to_string(id));
}
std::string DeleteRuleRequest::getLang()const
{
return lang_;
}
void DeleteRuleRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}

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/sddp/model/DeleteRuleResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
DeleteRuleResult::DeleteRuleResult() :
ServiceResult()
{}
DeleteRuleResult::DeleteRuleResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteRuleResult::~DeleteRuleResult()
{}
void DeleteRuleResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

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.
*/
#include <alibabacloud/sddp/model/DescribeAccountDetailRequest.h>
using AlibabaCloud::Sddp::Model::DescribeAccountDetailRequest;
DescribeAccountDetailRequest::DescribeAccountDetailRequest() :
RpcServiceRequest("sddp", "2019-01-03", "DescribeAccountDetail")
{}
DescribeAccountDetailRequest::~DescribeAccountDetailRequest()
{}
std::string DescribeAccountDetailRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeAccountDetailRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
std::string DescribeAccountDetailRequest::getLang()const
{
return lang_;
}
void DescribeAccountDetailRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}
long DescribeAccountDetailRequest::getUserId()const
{
return userId_;
}
void DescribeAccountDetailRequest::setUserId(long userId)
{
userId_ = userId;
setCoreParameter("UserId", std::to_string(userId));
}
long DescribeAccountDetailRequest::getAccountTypeId()const
{
return accountTypeId_;
}
void DescribeAccountDetailRequest::setAccountTypeId(long accountTypeId)
{
accountTypeId_ = accountTypeId;
setCoreParameter("AccountTypeId", std::to_string(accountTypeId));
}

View File

@@ -0,0 +1,113 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/sddp/model/DescribeAccountDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
DescribeAccountDetailResult::DescribeAccountDetailResult() :
ServiceResult()
{}
DescribeAccountDetailResult::DescribeAccountDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAccountDetailResult::~DescribeAccountDetailResult()
{}
void DescribeAccountDetailResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto accountNode = value["Account"];
if(!accountNode["Id"].isNull())
account_.id = std::stol(accountNode["Id"].asString());
if(!accountNode["UserId"].isNull())
account_.userId = std::stol(accountNode["UserId"].asString());
if(!accountNode["FirstLevelDepartId"].isNull())
account_.firstLevelDepartId = std::stol(accountNode["FirstLevelDepartId"].asString());
if(!accountNode["LoginName"].isNull())
account_.loginName = accountNode["LoginName"].asString();
if(!accountNode["FullName"].isNull())
account_.fullName = accountNode["FullName"].asString();
if(!accountNode["CellphoneNum"].isNull())
account_.cellphoneNum = accountNode["CellphoneNum"].asString();
if(!accountNode["TelephoneNum"].isNull())
account_.telephoneNum = accountNode["TelephoneNum"].asString();
if(!accountNode["Email"].isNull())
account_.email = accountNode["Email"].asString();
if(!accountNode["ActiveStatus"].isNull())
account_.activeStatus = accountNode["ActiveStatus"].asString();
if(!accountNode["DeleteStatus"].isNull())
account_.deleteStatus = accountNode["DeleteStatus"].asString();
if(!accountNode["DataInstance"].isNull())
account_.dataInstance = accountNode["DataInstance"].asString();
if(!accountNode["CreateTime"].isNull())
account_.createTime = std::stol(accountNode["CreateTime"].asString());
if(!accountNode["LoginDataTime"].isNull())
account_.loginDataTime = std::stol(accountNode["LoginDataTime"].asString());
if(!accountNode["LoginPolicyName"].isNull())
account_.loginPolicyName = accountNode["LoginPolicyName"].asString();
if(!accountNode["FirstLevelDepartName"].isNull())
account_.firstLevelDepartName = accountNode["FirstLevelDepartName"].asString();
if(!accountNode["RoleNames"].isNull())
account_.roleNames = accountNode["RoleNames"].asString();
if(!accountNode["AliUid"].isNull())
account_.aliUid = std::stol(accountNode["AliUid"].asString());
auto allPrivilegeList = value["PrivilegeList"]["Privilege"];
for (auto value : allPrivilegeList)
{
Account::Privilege privilegeObject;
if(!value["ProductName"].isNull())
privilegeObject.productName = value["ProductName"].asString();
if(!value["UseAccountId"].isNull())
privilegeObject.useAccountId = value["UseAccountId"].asString();
if(!value["UseAccountType"].isNull())
privilegeObject.useAccountType = std::stoi(value["UseAccountType"].asString());
if(!value["UseAccountTypeName"].isNull())
privilegeObject.useAccountTypeName = value["UseAccountTypeName"].asString();
if(!value["UseAccountCreateTime"].isNull())
privilegeObject.useAccountCreateTime = std::stol(value["UseAccountCreateTime"].asString());
if(!value["UseAccountName"].isNull())
privilegeObject.useAccountName = value["UseAccountName"].asString();
account_.privilegeList.push_back(privilegeObject);
}
auto eventCountNode = accountNode["EventCount"];
auto totalNode = eventCountNode["Total"];
if(!totalNode["TotalCount"].isNull())
account_.eventCount.total.totalCount = std::stol(totalNode["TotalCount"].asString());
if(!totalNode["UndealCount"].isNull())
account_.eventCount.total.undealCount = std::stol(totalNode["UndealCount"].asString());
if(!totalNode["ConfirmCount"].isNull())
account_.eventCount.total.confirmCount = std::stol(totalNode["ConfirmCount"].asString());
if(!totalNode["ExcludeCount"].isNull())
account_.eventCount.total.excludeCount = std::stol(totalNode["ExcludeCount"].asString());
}
DescribeAccountDetailResult::Account DescribeAccountDetailResult::getAccount()const
{
return account_;
}

View File

@@ -0,0 +1,192 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/sddp/model/DescribeAccountsRequest.h>
using AlibabaCloud::Sddp::Model::DescribeAccountsRequest;
DescribeAccountsRequest::DescribeAccountsRequest() :
RpcServiceRequest("sddp", "2019-01-03", "DescribeAccounts")
{}
DescribeAccountsRequest::~DescribeAccountsRequest()
{}
std::string DescribeAccountsRequest::getProductCode()const
{
return productCode_;
}
void DescribeAccountsRequest::setProductCode(const std::string& productCode)
{
productCode_ = productCode;
setCoreParameter("ProductCode", productCode);
}
std::string DescribeAccountsRequest::getLoginName()const
{
return loginName_;
}
void DescribeAccountsRequest::setLoginName(const std::string& loginName)
{
loginName_ = loginName;
setCoreParameter("LoginName", loginName);
}
int DescribeAccountsRequest::getFeatureType()const
{
return featureType_;
}
void DescribeAccountsRequest::setFeatureType(int featureType)
{
featureType_ = featureType;
setCoreParameter("FeatureType", std::to_string(featureType));
}
std::string DescribeAccountsRequest::getColumnId()const
{
return columnId_;
}
void DescribeAccountsRequest::setColumnId(const std::string& columnId)
{
columnId_ = columnId;
setCoreParameter("ColumnId", columnId);
}
std::string DescribeAccountsRequest::getPackageId()const
{
return packageId_;
}
void DescribeAccountsRequest::setPackageId(const std::string& packageId)
{
packageId_ = packageId;
setCoreParameter("PackageId", packageId);
}
int DescribeAccountsRequest::getCurrentPage()const
{
return currentPage_;
}
void DescribeAccountsRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setCoreParameter("CurrentPage", std::to_string(currentPage));
}
std::string DescribeAccountsRequest::getInstanceId()const
{
return instanceId_;
}
void DescribeAccountsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string DescribeAccountsRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeAccountsRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
int DescribeAccountsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeAccountsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
long DescribeAccountsRequest::getDepartId()const
{
return departId_;
}
void DescribeAccountsRequest::setDepartId(long departId)
{
departId_ = departId;
setCoreParameter("DepartId", std::to_string(departId));
}
int DescribeAccountsRequest::getOperationId()const
{
return operationId_;
}
void DescribeAccountsRequest::setOperationId(int operationId)
{
operationId_ = operationId;
setCoreParameter("OperationId", std::to_string(operationId));
}
std::string DescribeAccountsRequest::getTableId()const
{
return tableId_;
}
void DescribeAccountsRequest::setTableId(const std::string& tableId)
{
tableId_ = tableId;
setCoreParameter("TableId", tableId);
}
std::string DescribeAccountsRequest::getLang()const
{
return lang_;
}
void DescribeAccountsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}
std::string DescribeAccountsRequest::getKey()const
{
return key_;
}
void DescribeAccountsRequest::setKey(const std::string& key)
{
key_ = key;
setCoreParameter("Key", key);
}
int DescribeAccountsRequest::getQueryType()const
{
return queryType_;
}
void DescribeAccountsRequest::setQueryType(int queryType)
{
queryType_ = queryType;
setCoreParameter("QueryType", std::to_string(queryType));
}

View File

@@ -0,0 +1,125 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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/sddp/model/DescribeAccountsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
DescribeAccountsResult::DescribeAccountsResult() :
ServiceResult()
{}
DescribeAccountsResult::DescribeAccountsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAccountsResult::~DescribeAccountsResult()
{}
void DescribeAccountsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["Account"];
for (auto value : allItems)
{
Account itemsObject;
if(!value["Id"].isNull())
itemsObject.id = std::stol(value["Id"].asString());
if(!value["UserId"].isNull())
itemsObject.userId = std::stol(value["UserId"].asString());
if(!value["FirstLevelDepartId"].isNull())
itemsObject.firstLevelDepartId = std::stol(value["FirstLevelDepartId"].asString());
if(!value["LoginName"].isNull())
itemsObject.loginName = value["LoginName"].asString();
if(!value["FullName"].isNull())
itemsObject.fullName = value["FullName"].asString();
if(!value["CellphoneNum"].isNull())
itemsObject.cellphoneNum = value["CellphoneNum"].asString();
if(!value["TelephoneNum"].isNull())
itemsObject.telephoneNum = value["TelephoneNum"].asString();
if(!value["Email"].isNull())
itemsObject.email = value["Email"].asString();
if(!value["ActiveStatus"].isNull())
itemsObject.activeStatus = value["ActiveStatus"].asString();
if(!value["DeleteStatus"].isNull())
itemsObject.deleteStatus = value["DeleteStatus"].asString();
if(!value["DataInstance"].isNull())
itemsObject.dataInstance = value["DataInstance"].asString();
if(!value["CreateTime"].isNull())
itemsObject.createTime = std::stol(value["CreateTime"].asString());
if(!value["LoginDataTime"].isNull())
itemsObject.loginDataTime = std::stol(value["LoginDataTime"].asString());
if(!value["LoginPolicyName"].isNull())
itemsObject.loginPolicyName = value["LoginPolicyName"].asString();
if(!value["FirstLevelDepartName"].isNull())
itemsObject.firstLevelDepartName = value["FirstLevelDepartName"].asString();
if(!value["RoleNames"].isNull())
itemsObject.roleNames = value["RoleNames"].asString();
if(!value["InstanceName"].isNull())
itemsObject.instanceName = value["InstanceName"].asString();
if(!value["AliUid"].isNull())
itemsObject.aliUid = std::stol(value["AliUid"].asString());
if(!value["AccountTypeId"].isNull())
itemsObject.accountTypeId = std::stol(value["AccountTypeId"].asString());
auto eventCountNode = value["EventCount"];
auto totalNode = eventCountNode["Total"];
if(!totalNode["TotalCount"].isNull())
itemsObject.eventCount.total.totalCount = std::stol(totalNode["TotalCount"].asString());
if(!totalNode["UndealCount"].isNull())
itemsObject.eventCount.total.undealCount = std::stol(totalNode["UndealCount"].asString());
if(!totalNode["ConfirmCount"].isNull())
itemsObject.eventCount.total.confirmCount = std::stol(totalNode["ConfirmCount"].asString());
if(!totalNode["ExcludeCount"].isNull())
itemsObject.eventCount.total.excludeCount = std::stol(totalNode["ExcludeCount"].asString());
items_.push_back(itemsObject);
}
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["CurrentPage"].isNull())
currentPage_ = std::stoi(value["CurrentPage"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int DescribeAccountsResult::getTotalCount()const
{
return totalCount_;
}
int DescribeAccountsResult::getPageSize()const
{
return pageSize_;
}
int DescribeAccountsResult::getCurrentPage()const
{
return currentPage_;
}
std::vector<DescribeAccountsResult::Account> DescribeAccountsResult::getItems()const
{
return items_;
}

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/sddp/model/DescribeAuthAccountsRequest.h>
using AlibabaCloud::Sddp::Model::DescribeAuthAccountsRequest;
DescribeAuthAccountsRequest::DescribeAuthAccountsRequest() :
RpcServiceRequest("sddp", "2019-01-03", "DescribeAuthAccounts")
{}
DescribeAuthAccountsRequest::~DescribeAuthAccountsRequest()
{}
std::string DescribeAuthAccountsRequest::getSourceIp()const
{
return sourceIp_;
}
void DescribeAuthAccountsRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setCoreParameter("SourceIp", sourceIp);
}
int DescribeAuthAccountsRequest::getFeatureType()const
{
return featureType_;
}
void DescribeAuthAccountsRequest::setFeatureType(int featureType)
{
featureType_ = featureType;
setCoreParameter("FeatureType", std::to_string(featureType));
}
int DescribeAuthAccountsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeAuthAccountsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
int DescribeAuthAccountsRequest::getCurrentPage()const
{
return currentPage_;
}
void DescribeAuthAccountsRequest::setCurrentPage(int currentPage)
{
currentPage_ = currentPage;
setCoreParameter("CurrentPage", std::to_string(currentPage));
}
std::string DescribeAuthAccountsRequest::getLang()const
{
return lang_;
}
void DescribeAuthAccountsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setCoreParameter("Lang", lang);
}

View File

@@ -0,0 +1,89 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/sddp/model/DescribeAuthAccountsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Sddp;
using namespace AlibabaCloud::Sddp::Model;
DescribeAuthAccountsResult::DescribeAuthAccountsResult() :
ServiceResult()
{}
DescribeAuthAccountsResult::DescribeAuthAccountsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAuthAccountsResult::~DescribeAuthAccountsResult()
{}
void DescribeAuthAccountsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allItems = value["Items"]["Account"];
for (auto value : allItems)
{
Account itemsObject;
if(!value["Id"].isNull())
itemsObject.id = std::stol(value["Id"].asString());
if(!value["LoginName"].isNull())
itemsObject.loginName = value["LoginName"].asString();
if(!value["FullName"].isNull())
itemsObject.fullName = value["FullName"].asString();
if(!value["AuthLoginName"].isNull())
itemsObject.authLoginName = value["AuthLoginName"].asString();
if(!value["AuthFullName"].isNull())
itemsObject.authFullName = value["AuthFullName"].asString();
if(!value["AuthTime"].isNull())
itemsObject.authTime = std::stol(value["AuthTime"].asString());
items_.push_back(itemsObject);
}
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["CurrentPage"].isNull())
currentPage_ = std::stoi(value["CurrentPage"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
}
int DescribeAuthAccountsResult::getTotalCount()const
{
return totalCount_;
}
int DescribeAuthAccountsResult::getPageSize()const
{
return pageSize_;
}
int DescribeAuthAccountsResult::getCurrentPage()const
{
return currentPage_;
}
std::vector<DescribeAuthAccountsResult::Account> DescribeAuthAccountsResult::getItems()const
{
return items_;
}

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