Compare commits
1 Commits
Drds-patch
...
polardbx-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fd0c7bf01 |
@@ -1,3 +1,7 @@
|
||||
2020-10-28 Version: patch
|
||||
- Supported all language sdk.
|
||||
- Fixed some bugs for polardbx.
|
||||
|
||||
2020-10-28 Version: patch
|
||||
- Supported golang sdk.
|
||||
- Fixed some bugs for drds.
|
||||
|
||||
266
polardbx/CMakeLists.txt
Normal file
266
polardbx/CMakeLists.txt
Normal file
@@ -0,0 +1,266 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(polardbx_public_header
|
||||
include/alibabacloud/polardbx/PolardbxClient.h
|
||||
include/alibabacloud/polardbx/PolardbxExport.h )
|
||||
|
||||
set(polardbx_public_header_model
|
||||
include/alibabacloud/polardbx/model/AllocateInstancePublicConnectionRequest.h
|
||||
include/alibabacloud/polardbx/model/AllocateInstancePublicConnectionResult.h
|
||||
include/alibabacloud/polardbx/model/CheckHealthRequest.h
|
||||
include/alibabacloud/polardbx/model/CheckHealthResult.h
|
||||
include/alibabacloud/polardbx/model/CreateAccountRequest.h
|
||||
include/alibabacloud/polardbx/model/CreateAccountResult.h
|
||||
include/alibabacloud/polardbx/model/CreateDBRequest.h
|
||||
include/alibabacloud/polardbx/model/CreateDBResult.h
|
||||
include/alibabacloud/polardbx/model/CreateDBInstanceRequest.h
|
||||
include/alibabacloud/polardbx/model/CreateDBInstanceResult.h
|
||||
include/alibabacloud/polardbx/model/CreatePolarxInstanceRequest.h
|
||||
include/alibabacloud/polardbx/model/CreatePolarxInstanceResult.h
|
||||
include/alibabacloud/polardbx/model/CreateSuperAccountRequest.h
|
||||
include/alibabacloud/polardbx/model/CreateSuperAccountResult.h
|
||||
include/alibabacloud/polardbx/model/DeleteAccountRequest.h
|
||||
include/alibabacloud/polardbx/model/DeleteAccountResult.h
|
||||
include/alibabacloud/polardbx/model/DeleteDBRequest.h
|
||||
include/alibabacloud/polardbx/model/DeleteDBResult.h
|
||||
include/alibabacloud/polardbx/model/DeleteDBInstanceRequest.h
|
||||
include/alibabacloud/polardbx/model/DeleteDBInstanceResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeAccountListRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeAccountListResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeCharacterSetRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeCharacterSetResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeDBInstanceAttributeRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeDBInstanceAttributeResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeDBInstanceConfigRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeDBInstanceConfigResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeDBInstancesRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeDBInstancesResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeDbListRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeDbListResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeDistributeTableListRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeDistributeTableListResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeInstanceDbPerformanceRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeInstanceDbPerformanceResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeInstancePerformanceRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeInstancePerformanceResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeInstanceStoragePerformanceRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeInstanceStoragePerformanceResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeModifyParameterLogRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeModifyParameterLogResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeParameterTemplatesRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeParameterTemplatesResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeParametersRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeParametersResult.h
|
||||
include/alibabacloud/polardbx/model/DescribePolarxDbInstancesRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribePolarxDbInstancesResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeScaleOutMigrateTaskListRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeScaleOutMigrateTaskListResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeSecurityIpsRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeSecurityIpsResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeSqlAuditInfoRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeSqlAuditInfoResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeTableDetailRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeTableDetailResult.h
|
||||
include/alibabacloud/polardbx/model/DescribeTasksRequest.h
|
||||
include/alibabacloud/polardbx/model/DescribeTasksResult.h
|
||||
include/alibabacloud/polardbx/model/DisableSqlAuditRequest.h
|
||||
include/alibabacloud/polardbx/model/DisableSqlAuditResult.h
|
||||
include/alibabacloud/polardbx/model/EnableSqlAuditRequest.h
|
||||
include/alibabacloud/polardbx/model/EnableSqlAuditResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyAccountDescriptionRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyAccountPrivilegeRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyAccountPrivilegeResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceClassRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceClassResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceConfigRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceConfigResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceDescriptionRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceDescriptionResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceMaintainTimeRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyDBInstanceMaintainTimeResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyDatabaseDescriptionRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyDatabaseDescriptionResult.h
|
||||
include/alibabacloud/polardbx/model/ModifyParameterRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifyParameterResult.h
|
||||
include/alibabacloud/polardbx/model/ModifySecurityIpsRequest.h
|
||||
include/alibabacloud/polardbx/model/ModifySecurityIpsResult.h
|
||||
include/alibabacloud/polardbx/model/ReleaseInstancePublicConnectionRequest.h
|
||||
include/alibabacloud/polardbx/model/ReleaseInstancePublicConnectionResult.h
|
||||
include/alibabacloud/polardbx/model/ResetAccountPasswordRequest.h
|
||||
include/alibabacloud/polardbx/model/ResetAccountPasswordResult.h
|
||||
include/alibabacloud/polardbx/model/ResetPolarxPgAccountPasswordRequest.h
|
||||
include/alibabacloud/polardbx/model/ResetPolarxPgAccountPasswordResult.h
|
||||
include/alibabacloud/polardbx/model/RestartDBInstanceRequest.h
|
||||
include/alibabacloud/polardbx/model/RestartDBInstanceResult.h
|
||||
include/alibabacloud/polardbx/model/UpgradeDBInstanceKernelVersionRequest.h
|
||||
include/alibabacloud/polardbx/model/UpgradeDBInstanceKernelVersionResult.h )
|
||||
|
||||
set(polardbx_src
|
||||
src/PolardbxClient.cc
|
||||
src/model/AllocateInstancePublicConnectionRequest.cc
|
||||
src/model/AllocateInstancePublicConnectionResult.cc
|
||||
src/model/CheckHealthRequest.cc
|
||||
src/model/CheckHealthResult.cc
|
||||
src/model/CreateAccountRequest.cc
|
||||
src/model/CreateAccountResult.cc
|
||||
src/model/CreateDBRequest.cc
|
||||
src/model/CreateDBResult.cc
|
||||
src/model/CreateDBInstanceRequest.cc
|
||||
src/model/CreateDBInstanceResult.cc
|
||||
src/model/CreatePolarxInstanceRequest.cc
|
||||
src/model/CreatePolarxInstanceResult.cc
|
||||
src/model/CreateSuperAccountRequest.cc
|
||||
src/model/CreateSuperAccountResult.cc
|
||||
src/model/DeleteAccountRequest.cc
|
||||
src/model/DeleteAccountResult.cc
|
||||
src/model/DeleteDBRequest.cc
|
||||
src/model/DeleteDBResult.cc
|
||||
src/model/DeleteDBInstanceRequest.cc
|
||||
src/model/DeleteDBInstanceResult.cc
|
||||
src/model/DescribeAccountListRequest.cc
|
||||
src/model/DescribeAccountListResult.cc
|
||||
src/model/DescribeCharacterSetRequest.cc
|
||||
src/model/DescribeCharacterSetResult.cc
|
||||
src/model/DescribeDBInstanceAttributeRequest.cc
|
||||
src/model/DescribeDBInstanceAttributeResult.cc
|
||||
src/model/DescribeDBInstanceConfigRequest.cc
|
||||
src/model/DescribeDBInstanceConfigResult.cc
|
||||
src/model/DescribeDBInstancesRequest.cc
|
||||
src/model/DescribeDBInstancesResult.cc
|
||||
src/model/DescribeDbListRequest.cc
|
||||
src/model/DescribeDbListResult.cc
|
||||
src/model/DescribeDistributeTableListRequest.cc
|
||||
src/model/DescribeDistributeTableListResult.cc
|
||||
src/model/DescribeInstanceDbPerformanceRequest.cc
|
||||
src/model/DescribeInstanceDbPerformanceResult.cc
|
||||
src/model/DescribeInstancePerformanceRequest.cc
|
||||
src/model/DescribeInstancePerformanceResult.cc
|
||||
src/model/DescribeInstanceStoragePerformanceRequest.cc
|
||||
src/model/DescribeInstanceStoragePerformanceResult.cc
|
||||
src/model/DescribeModifyParameterLogRequest.cc
|
||||
src/model/DescribeModifyParameterLogResult.cc
|
||||
src/model/DescribeParameterTemplatesRequest.cc
|
||||
src/model/DescribeParameterTemplatesResult.cc
|
||||
src/model/DescribeParametersRequest.cc
|
||||
src/model/DescribeParametersResult.cc
|
||||
src/model/DescribePolarxDbInstancesRequest.cc
|
||||
src/model/DescribePolarxDbInstancesResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeScaleOutMigrateTaskListRequest.cc
|
||||
src/model/DescribeScaleOutMigrateTaskListResult.cc
|
||||
src/model/DescribeSecurityIpsRequest.cc
|
||||
src/model/DescribeSecurityIpsResult.cc
|
||||
src/model/DescribeSqlAuditInfoRequest.cc
|
||||
src/model/DescribeSqlAuditInfoResult.cc
|
||||
src/model/DescribeTableDetailRequest.cc
|
||||
src/model/DescribeTableDetailResult.cc
|
||||
src/model/DescribeTasksRequest.cc
|
||||
src/model/DescribeTasksResult.cc
|
||||
src/model/DisableSqlAuditRequest.cc
|
||||
src/model/DisableSqlAuditResult.cc
|
||||
src/model/EnableSqlAuditRequest.cc
|
||||
src/model/EnableSqlAuditResult.cc
|
||||
src/model/ModifyAccountDescriptionRequest.cc
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyAccountPrivilegeRequest.cc
|
||||
src/model/ModifyAccountPrivilegeResult.cc
|
||||
src/model/ModifyDBInstanceClassRequest.cc
|
||||
src/model/ModifyDBInstanceClassResult.cc
|
||||
src/model/ModifyDBInstanceConfigRequest.cc
|
||||
src/model/ModifyDBInstanceConfigResult.cc
|
||||
src/model/ModifyDBInstanceDescriptionRequest.cc
|
||||
src/model/ModifyDBInstanceDescriptionResult.cc
|
||||
src/model/ModifyDBInstanceMaintainTimeRequest.cc
|
||||
src/model/ModifyDBInstanceMaintainTimeResult.cc
|
||||
src/model/ModifyDatabaseDescriptionRequest.cc
|
||||
src/model/ModifyDatabaseDescriptionResult.cc
|
||||
src/model/ModifyParameterRequest.cc
|
||||
src/model/ModifyParameterResult.cc
|
||||
src/model/ModifySecurityIpsRequest.cc
|
||||
src/model/ModifySecurityIpsResult.cc
|
||||
src/model/ReleaseInstancePublicConnectionRequest.cc
|
||||
src/model/ReleaseInstancePublicConnectionResult.cc
|
||||
src/model/ResetAccountPasswordRequest.cc
|
||||
src/model/ResetAccountPasswordResult.cc
|
||||
src/model/ResetPolarxPgAccountPasswordRequest.cc
|
||||
src/model/ResetPolarxPgAccountPasswordResult.cc
|
||||
src/model/RestartDBInstanceRequest.cc
|
||||
src/model/RestartDBInstanceResult.cc
|
||||
src/model/UpgradeDBInstanceKernelVersionRequest.cc
|
||||
src/model/UpgradeDBInstanceKernelVersionResult.cc )
|
||||
|
||||
add_library(polardbx ${LIB_TYPE}
|
||||
${polardbx_public_header}
|
||||
${polardbx_public_header_model}
|
||||
${polardbx_src})
|
||||
|
||||
set_target_properties(polardbx
|
||||
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}polardbx
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(polardbx
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_POLARDBX_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(polardbx
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(polardbx
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(polardbx
|
||||
jsoncpp)
|
||||
target_include_directories(polardbx
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(polardbx
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(polardbx
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(polardbx
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(polardbx
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${polardbx_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/polardbx)
|
||||
install(FILES ${polardbx_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/polardbx/model)
|
||||
install(TARGETS polardbx
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
414
polardbx/include/alibabacloud/polardbx/PolardbxClient.h
Normal file
414
polardbx/include/alibabacloud/polardbx/PolardbxClient.h
Normal file
@@ -0,0 +1,414 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_POLARDBX_POLARDBXCLIENT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_POLARDBXCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "PolardbxExport.h"
|
||||
#include "model/AllocateInstancePublicConnectionRequest.h"
|
||||
#include "model/AllocateInstancePublicConnectionResult.h"
|
||||
#include "model/CheckHealthRequest.h"
|
||||
#include "model/CheckHealthResult.h"
|
||||
#include "model/CreateAccountRequest.h"
|
||||
#include "model/CreateAccountResult.h"
|
||||
#include "model/CreateDBRequest.h"
|
||||
#include "model/CreateDBResult.h"
|
||||
#include "model/CreateDBInstanceRequest.h"
|
||||
#include "model/CreateDBInstanceResult.h"
|
||||
#include "model/CreatePolarxInstanceRequest.h"
|
||||
#include "model/CreatePolarxInstanceResult.h"
|
||||
#include "model/CreateSuperAccountRequest.h"
|
||||
#include "model/CreateSuperAccountResult.h"
|
||||
#include "model/DeleteAccountRequest.h"
|
||||
#include "model/DeleteAccountResult.h"
|
||||
#include "model/DeleteDBRequest.h"
|
||||
#include "model/DeleteDBResult.h"
|
||||
#include "model/DeleteDBInstanceRequest.h"
|
||||
#include "model/DeleteDBInstanceResult.h"
|
||||
#include "model/DescribeAccountListRequest.h"
|
||||
#include "model/DescribeAccountListResult.h"
|
||||
#include "model/DescribeCharacterSetRequest.h"
|
||||
#include "model/DescribeCharacterSetResult.h"
|
||||
#include "model/DescribeDBInstanceAttributeRequest.h"
|
||||
#include "model/DescribeDBInstanceAttributeResult.h"
|
||||
#include "model/DescribeDBInstanceConfigRequest.h"
|
||||
#include "model/DescribeDBInstanceConfigResult.h"
|
||||
#include "model/DescribeDBInstancesRequest.h"
|
||||
#include "model/DescribeDBInstancesResult.h"
|
||||
#include "model/DescribeDbListRequest.h"
|
||||
#include "model/DescribeDbListResult.h"
|
||||
#include "model/DescribeDistributeTableListRequest.h"
|
||||
#include "model/DescribeDistributeTableListResult.h"
|
||||
#include "model/DescribeInstanceDbPerformanceRequest.h"
|
||||
#include "model/DescribeInstanceDbPerformanceResult.h"
|
||||
#include "model/DescribeInstancePerformanceRequest.h"
|
||||
#include "model/DescribeInstancePerformanceResult.h"
|
||||
#include "model/DescribeInstanceStoragePerformanceRequest.h"
|
||||
#include "model/DescribeInstanceStoragePerformanceResult.h"
|
||||
#include "model/DescribeModifyParameterLogRequest.h"
|
||||
#include "model/DescribeModifyParameterLogResult.h"
|
||||
#include "model/DescribeParameterTemplatesRequest.h"
|
||||
#include "model/DescribeParameterTemplatesResult.h"
|
||||
#include "model/DescribeParametersRequest.h"
|
||||
#include "model/DescribeParametersResult.h"
|
||||
#include "model/DescribePolarxDbInstancesRequest.h"
|
||||
#include "model/DescribePolarxDbInstancesResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeScaleOutMigrateTaskListRequest.h"
|
||||
#include "model/DescribeScaleOutMigrateTaskListResult.h"
|
||||
#include "model/DescribeSecurityIpsRequest.h"
|
||||
#include "model/DescribeSecurityIpsResult.h"
|
||||
#include "model/DescribeSqlAuditInfoRequest.h"
|
||||
#include "model/DescribeSqlAuditInfoResult.h"
|
||||
#include "model/DescribeTableDetailRequest.h"
|
||||
#include "model/DescribeTableDetailResult.h"
|
||||
#include "model/DescribeTasksRequest.h"
|
||||
#include "model/DescribeTasksResult.h"
|
||||
#include "model/DisableSqlAuditRequest.h"
|
||||
#include "model/DisableSqlAuditResult.h"
|
||||
#include "model/EnableSqlAuditRequest.h"
|
||||
#include "model/EnableSqlAuditResult.h"
|
||||
#include "model/ModifyAccountDescriptionRequest.h"
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyAccountPrivilegeRequest.h"
|
||||
#include "model/ModifyAccountPrivilegeResult.h"
|
||||
#include "model/ModifyDBInstanceClassRequest.h"
|
||||
#include "model/ModifyDBInstanceClassResult.h"
|
||||
#include "model/ModifyDBInstanceConfigRequest.h"
|
||||
#include "model/ModifyDBInstanceConfigResult.h"
|
||||
#include "model/ModifyDBInstanceDescriptionRequest.h"
|
||||
#include "model/ModifyDBInstanceDescriptionResult.h"
|
||||
#include "model/ModifyDBInstanceMaintainTimeRequest.h"
|
||||
#include "model/ModifyDBInstanceMaintainTimeResult.h"
|
||||
#include "model/ModifyDatabaseDescriptionRequest.h"
|
||||
#include "model/ModifyDatabaseDescriptionResult.h"
|
||||
#include "model/ModifyParameterRequest.h"
|
||||
#include "model/ModifyParameterResult.h"
|
||||
#include "model/ModifySecurityIpsRequest.h"
|
||||
#include "model/ModifySecurityIpsResult.h"
|
||||
#include "model/ReleaseInstancePublicConnectionRequest.h"
|
||||
#include "model/ReleaseInstancePublicConnectionResult.h"
|
||||
#include "model/ResetAccountPasswordRequest.h"
|
||||
#include "model/ResetAccountPasswordResult.h"
|
||||
#include "model/ResetPolarxPgAccountPasswordRequest.h"
|
||||
#include "model/ResetPolarxPgAccountPasswordResult.h"
|
||||
#include "model/RestartDBInstanceRequest.h"
|
||||
#include "model/RestartDBInstanceResult.h"
|
||||
#include "model/UpgradeDBInstanceKernelVersionRequest.h"
|
||||
#include "model/UpgradeDBInstanceKernelVersionResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT PolardbxClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AllocateInstancePublicConnectionResult> AllocateInstancePublicConnectionOutcome;
|
||||
typedef std::future<AllocateInstancePublicConnectionOutcome> AllocateInstancePublicConnectionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::AllocateInstancePublicConnectionRequest&, const AllocateInstancePublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateInstancePublicConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckHealthResult> CheckHealthOutcome;
|
||||
typedef std::future<CheckHealthOutcome> CheckHealthOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::CheckHealthRequest&, const CheckHealthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckHealthAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAccountResult> CreateAccountOutcome;
|
||||
typedef std::future<CreateAccountOutcome> CreateAccountOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::CreateAccountRequest&, const CreateAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDBResult> CreateDBOutcome;
|
||||
typedef std::future<CreateDBOutcome> CreateDBOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::CreateDBRequest&, const CreateDBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDBInstanceResult> CreateDBInstanceOutcome;
|
||||
typedef std::future<CreateDBInstanceOutcome> CreateDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::CreateDBInstanceRequest&, const CreateDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePolarxInstanceResult> CreatePolarxInstanceOutcome;
|
||||
typedef std::future<CreatePolarxInstanceOutcome> CreatePolarxInstanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::CreatePolarxInstanceRequest&, const CreatePolarxInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePolarxInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSuperAccountResult> CreateSuperAccountOutcome;
|
||||
typedef std::future<CreateSuperAccountOutcome> CreateSuperAccountOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::CreateSuperAccountRequest&, const CreateSuperAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSuperAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAccountResult> DeleteAccountOutcome;
|
||||
typedef std::future<DeleteAccountOutcome> DeleteAccountOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DeleteAccountRequest&, const DeleteAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDBResult> DeleteDBOutcome;
|
||||
typedef std::future<DeleteDBOutcome> DeleteDBOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DeleteDBRequest&, const DeleteDBOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDBInstanceResult> DeleteDBInstanceOutcome;
|
||||
typedef std::future<DeleteDBInstanceOutcome> DeleteDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DeleteDBInstanceRequest&, const DeleteDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAccountListResult> DescribeAccountListOutcome;
|
||||
typedef std::future<DescribeAccountListOutcome> DescribeAccountListOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeAccountListRequest&, const DescribeAccountListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCharacterSetResult> DescribeCharacterSetOutcome;
|
||||
typedef std::future<DescribeCharacterSetOutcome> DescribeCharacterSetOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeCharacterSetRequest&, const DescribeCharacterSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCharacterSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceAttributeResult> DescribeDBInstanceAttributeOutcome;
|
||||
typedef std::future<DescribeDBInstanceAttributeOutcome> DescribeDBInstanceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeDBInstanceAttributeRequest&, const DescribeDBInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceConfigResult> DescribeDBInstanceConfigOutcome;
|
||||
typedef std::future<DescribeDBInstanceConfigOutcome> DescribeDBInstanceConfigOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeDBInstanceConfigRequest&, const DescribeDBInstanceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstancesResult> DescribeDBInstancesOutcome;
|
||||
typedef std::future<DescribeDBInstancesOutcome> DescribeDBInstancesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeDBInstancesRequest&, const DescribeDBInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDbListResult> DescribeDbListOutcome;
|
||||
typedef std::future<DescribeDbListOutcome> DescribeDbListOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeDbListRequest&, const DescribeDbListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDbListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDistributeTableListResult> DescribeDistributeTableListOutcome;
|
||||
typedef std::future<DescribeDistributeTableListOutcome> DescribeDistributeTableListOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeDistributeTableListRequest&, const DescribeDistributeTableListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDistributeTableListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstanceDbPerformanceResult> DescribeInstanceDbPerformanceOutcome;
|
||||
typedef std::future<DescribeInstanceDbPerformanceOutcome> DescribeInstanceDbPerformanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeInstanceDbPerformanceRequest&, const DescribeInstanceDbPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceDbPerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstancePerformanceResult> DescribeInstancePerformanceOutcome;
|
||||
typedef std::future<DescribeInstancePerformanceOutcome> DescribeInstancePerformanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeInstancePerformanceRequest&, const DescribeInstancePerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstancePerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstanceStoragePerformanceResult> DescribeInstanceStoragePerformanceOutcome;
|
||||
typedef std::future<DescribeInstanceStoragePerformanceOutcome> DescribeInstanceStoragePerformanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeInstanceStoragePerformanceRequest&, const DescribeInstanceStoragePerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceStoragePerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeModifyParameterLogResult> DescribeModifyParameterLogOutcome;
|
||||
typedef std::future<DescribeModifyParameterLogOutcome> DescribeModifyParameterLogOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeModifyParameterLogRequest&, const DescribeModifyParameterLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModifyParameterLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterTemplatesResult> DescribeParameterTemplatesOutcome;
|
||||
typedef std::future<DescribeParameterTemplatesOutcome> DescribeParameterTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeParameterTemplatesRequest&, const DescribeParameterTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParametersResult> DescribeParametersOutcome;
|
||||
typedef std::future<DescribeParametersOutcome> DescribeParametersOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeParametersRequest&, const DescribeParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParametersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePolarxDbInstancesResult> DescribePolarxDbInstancesOutcome;
|
||||
typedef std::future<DescribePolarxDbInstancesOutcome> DescribePolarxDbInstancesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribePolarxDbInstancesRequest&, const DescribePolarxDbInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePolarxDbInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeScaleOutMigrateTaskListResult> DescribeScaleOutMigrateTaskListOutcome;
|
||||
typedef std::future<DescribeScaleOutMigrateTaskListOutcome> DescribeScaleOutMigrateTaskListOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeScaleOutMigrateTaskListRequest&, const DescribeScaleOutMigrateTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScaleOutMigrateTaskListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSecurityIpsResult> DescribeSecurityIpsOutcome;
|
||||
typedef std::future<DescribeSecurityIpsOutcome> DescribeSecurityIpsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeSecurityIpsRequest&, const DescribeSecurityIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityIpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSqlAuditInfoResult> DescribeSqlAuditInfoOutcome;
|
||||
typedef std::future<DescribeSqlAuditInfoOutcome> DescribeSqlAuditInfoOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeSqlAuditInfoRequest&, const DescribeSqlAuditInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSqlAuditInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTableDetailResult> DescribeTableDetailOutcome;
|
||||
typedef std::future<DescribeTableDetailOutcome> DescribeTableDetailOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeTableDetailRequest&, const DescribeTableDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTableDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTasksResult> DescribeTasksOutcome;
|
||||
typedef std::future<DescribeTasksOutcome> DescribeTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DescribeTasksRequest&, const DescribeTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableSqlAuditResult> DisableSqlAuditOutcome;
|
||||
typedef std::future<DisableSqlAuditOutcome> DisableSqlAuditOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::DisableSqlAuditRequest&, const DisableSqlAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableSqlAuditAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableSqlAuditResult> EnableSqlAuditOutcome;
|
||||
typedef std::future<EnableSqlAuditOutcome> EnableSqlAuditOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::EnableSqlAuditRequest&, const EnableSqlAuditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableSqlAuditAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
|
||||
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAccountPrivilegeResult> ModifyAccountPrivilegeOutcome;
|
||||
typedef std::future<ModifyAccountPrivilegeOutcome> ModifyAccountPrivilegeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyAccountPrivilegeRequest&, const ModifyAccountPrivilegeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountPrivilegeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceClassResult> ModifyDBInstanceClassOutcome;
|
||||
typedef std::future<ModifyDBInstanceClassOutcome> ModifyDBInstanceClassOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyDBInstanceClassRequest&, const ModifyDBInstanceClassOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceClassAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceConfigResult> ModifyDBInstanceConfigOutcome;
|
||||
typedef std::future<ModifyDBInstanceConfigOutcome> ModifyDBInstanceConfigOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyDBInstanceConfigRequest&, const ModifyDBInstanceConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceDescriptionResult> ModifyDBInstanceDescriptionOutcome;
|
||||
typedef std::future<ModifyDBInstanceDescriptionOutcome> ModifyDBInstanceDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyDBInstanceDescriptionRequest&, const ModifyDBInstanceDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceMaintainTimeResult> ModifyDBInstanceMaintainTimeOutcome;
|
||||
typedef std::future<ModifyDBInstanceMaintainTimeOutcome> ModifyDBInstanceMaintainTimeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyDBInstanceMaintainTimeRequest&, const ModifyDBInstanceMaintainTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceMaintainTimeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDatabaseDescriptionResult> ModifyDatabaseDescriptionOutcome;
|
||||
typedef std::future<ModifyDatabaseDescriptionOutcome> ModifyDatabaseDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyDatabaseDescriptionRequest&, const ModifyDatabaseDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDatabaseDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyParameterResult> ModifyParameterOutcome;
|
||||
typedef std::future<ModifyParameterOutcome> ModifyParameterOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifyParameterRequest&, const ModifyParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyParameterAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySecurityIpsResult> ModifySecurityIpsOutcome;
|
||||
typedef std::future<ModifySecurityIpsOutcome> ModifySecurityIpsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ModifySecurityIpsRequest&, const ModifySecurityIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityIpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReleaseInstancePublicConnectionResult> ReleaseInstancePublicConnectionOutcome;
|
||||
typedef std::future<ReleaseInstancePublicConnectionOutcome> ReleaseInstancePublicConnectionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ReleaseInstancePublicConnectionRequest&, const ReleaseInstancePublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseInstancePublicConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetAccountPasswordResult> ResetAccountPasswordOutcome;
|
||||
typedef std::future<ResetAccountPasswordOutcome> ResetAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ResetAccountPasswordRequest&, const ResetAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetPolarxPgAccountPasswordResult> ResetPolarxPgAccountPasswordOutcome;
|
||||
typedef std::future<ResetPolarxPgAccountPasswordOutcome> ResetPolarxPgAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::ResetPolarxPgAccountPasswordRequest&, const ResetPolarxPgAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetPolarxPgAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDBInstanceResult> RestartDBInstanceOutcome;
|
||||
typedef std::future<RestartDBInstanceOutcome> RestartDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::RestartDBInstanceRequest&, const RestartDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBInstanceKernelVersionResult> UpgradeDBInstanceKernelVersionOutcome;
|
||||
typedef std::future<UpgradeDBInstanceKernelVersionOutcome> UpgradeDBInstanceKernelVersionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbxClient*, const Model::UpgradeDBInstanceKernelVersionRequest&, const UpgradeDBInstanceKernelVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBInstanceKernelVersionAsyncHandler;
|
||||
|
||||
PolardbxClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
PolardbxClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
PolardbxClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~PolardbxClient();
|
||||
AllocateInstancePublicConnectionOutcome allocateInstancePublicConnection(const Model::AllocateInstancePublicConnectionRequest &request)const;
|
||||
void allocateInstancePublicConnectionAsync(const Model::AllocateInstancePublicConnectionRequest& request, const AllocateInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateInstancePublicConnectionOutcomeCallable allocateInstancePublicConnectionCallable(const Model::AllocateInstancePublicConnectionRequest& request) const;
|
||||
CheckHealthOutcome checkHealth(const Model::CheckHealthRequest &request)const;
|
||||
void checkHealthAsync(const Model::CheckHealthRequest& request, const CheckHealthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckHealthOutcomeCallable checkHealthCallable(const Model::CheckHealthRequest& request) const;
|
||||
CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const;
|
||||
void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const;
|
||||
CreateDBOutcome createDB(const Model::CreateDBRequest &request)const;
|
||||
void createDBAsync(const Model::CreateDBRequest& request, const CreateDBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDBOutcomeCallable createDBCallable(const Model::CreateDBRequest& request) const;
|
||||
CreateDBInstanceOutcome createDBInstance(const Model::CreateDBInstanceRequest &request)const;
|
||||
void createDBInstanceAsync(const Model::CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDBInstanceOutcomeCallable createDBInstanceCallable(const Model::CreateDBInstanceRequest& request) const;
|
||||
CreatePolarxInstanceOutcome createPolarxInstance(const Model::CreatePolarxInstanceRequest &request)const;
|
||||
void createPolarxInstanceAsync(const Model::CreatePolarxInstanceRequest& request, const CreatePolarxInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePolarxInstanceOutcomeCallable createPolarxInstanceCallable(const Model::CreatePolarxInstanceRequest& request) const;
|
||||
CreateSuperAccountOutcome createSuperAccount(const Model::CreateSuperAccountRequest &request)const;
|
||||
void createSuperAccountAsync(const Model::CreateSuperAccountRequest& request, const CreateSuperAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSuperAccountOutcomeCallable createSuperAccountCallable(const Model::CreateSuperAccountRequest& request) const;
|
||||
DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const;
|
||||
void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const;
|
||||
DeleteDBOutcome deleteDB(const Model::DeleteDBRequest &request)const;
|
||||
void deleteDBAsync(const Model::DeleteDBRequest& request, const DeleteDBAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDBOutcomeCallable deleteDBCallable(const Model::DeleteDBRequest& request) const;
|
||||
DeleteDBInstanceOutcome deleteDBInstance(const Model::DeleteDBInstanceRequest &request)const;
|
||||
void deleteDBInstanceAsync(const Model::DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDBInstanceOutcomeCallable deleteDBInstanceCallable(const Model::DeleteDBInstanceRequest& request) const;
|
||||
DescribeAccountListOutcome describeAccountList(const Model::DescribeAccountListRequest &request)const;
|
||||
void describeAccountListAsync(const Model::DescribeAccountListRequest& request, const DescribeAccountListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccountListOutcomeCallable describeAccountListCallable(const Model::DescribeAccountListRequest& request) const;
|
||||
DescribeCharacterSetOutcome describeCharacterSet(const Model::DescribeCharacterSetRequest &request)const;
|
||||
void describeCharacterSetAsync(const Model::DescribeCharacterSetRequest& request, const DescribeCharacterSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCharacterSetOutcomeCallable describeCharacterSetCallable(const Model::DescribeCharacterSetRequest& request) const;
|
||||
DescribeDBInstanceAttributeOutcome describeDBInstanceAttribute(const Model::DescribeDBInstanceAttributeRequest &request)const;
|
||||
void describeDBInstanceAttributeAsync(const Model::DescribeDBInstanceAttributeRequest& request, const DescribeDBInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceAttributeOutcomeCallable describeDBInstanceAttributeCallable(const Model::DescribeDBInstanceAttributeRequest& request) const;
|
||||
DescribeDBInstanceConfigOutcome describeDBInstanceConfig(const Model::DescribeDBInstanceConfigRequest &request)const;
|
||||
void describeDBInstanceConfigAsync(const Model::DescribeDBInstanceConfigRequest& request, const DescribeDBInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceConfigOutcomeCallable describeDBInstanceConfigCallable(const Model::DescribeDBInstanceConfigRequest& request) const;
|
||||
DescribeDBInstancesOutcome describeDBInstances(const Model::DescribeDBInstancesRequest &request)const;
|
||||
void describeDBInstancesAsync(const Model::DescribeDBInstancesRequest& request, const DescribeDBInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstancesOutcomeCallable describeDBInstancesCallable(const Model::DescribeDBInstancesRequest& request) const;
|
||||
DescribeDbListOutcome describeDbList(const Model::DescribeDbListRequest &request)const;
|
||||
void describeDbListAsync(const Model::DescribeDbListRequest& request, const DescribeDbListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDbListOutcomeCallable describeDbListCallable(const Model::DescribeDbListRequest& request) const;
|
||||
DescribeDistributeTableListOutcome describeDistributeTableList(const Model::DescribeDistributeTableListRequest &request)const;
|
||||
void describeDistributeTableListAsync(const Model::DescribeDistributeTableListRequest& request, const DescribeDistributeTableListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDistributeTableListOutcomeCallable describeDistributeTableListCallable(const Model::DescribeDistributeTableListRequest& request) const;
|
||||
DescribeInstanceDbPerformanceOutcome describeInstanceDbPerformance(const Model::DescribeInstanceDbPerformanceRequest &request)const;
|
||||
void describeInstanceDbPerformanceAsync(const Model::DescribeInstanceDbPerformanceRequest& request, const DescribeInstanceDbPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstanceDbPerformanceOutcomeCallable describeInstanceDbPerformanceCallable(const Model::DescribeInstanceDbPerformanceRequest& request) const;
|
||||
DescribeInstancePerformanceOutcome describeInstancePerformance(const Model::DescribeInstancePerformanceRequest &request)const;
|
||||
void describeInstancePerformanceAsync(const Model::DescribeInstancePerformanceRequest& request, const DescribeInstancePerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstancePerformanceOutcomeCallable describeInstancePerformanceCallable(const Model::DescribeInstancePerformanceRequest& request) const;
|
||||
DescribeInstanceStoragePerformanceOutcome describeInstanceStoragePerformance(const Model::DescribeInstanceStoragePerformanceRequest &request)const;
|
||||
void describeInstanceStoragePerformanceAsync(const Model::DescribeInstanceStoragePerformanceRequest& request, const DescribeInstanceStoragePerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstanceStoragePerformanceOutcomeCallable describeInstanceStoragePerformanceCallable(const Model::DescribeInstanceStoragePerformanceRequest& request) const;
|
||||
DescribeModifyParameterLogOutcome describeModifyParameterLog(const Model::DescribeModifyParameterLogRequest &request)const;
|
||||
void describeModifyParameterLogAsync(const Model::DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeModifyParameterLogOutcomeCallable describeModifyParameterLogCallable(const Model::DescribeModifyParameterLogRequest& request) const;
|
||||
DescribeParameterTemplatesOutcome describeParameterTemplates(const Model::DescribeParameterTemplatesRequest &request)const;
|
||||
void describeParameterTemplatesAsync(const Model::DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterTemplatesOutcomeCallable describeParameterTemplatesCallable(const Model::DescribeParameterTemplatesRequest& request) const;
|
||||
DescribeParametersOutcome describeParameters(const Model::DescribeParametersRequest &request)const;
|
||||
void describeParametersAsync(const Model::DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParametersOutcomeCallable describeParametersCallable(const Model::DescribeParametersRequest& request) const;
|
||||
DescribePolarxDbInstancesOutcome describePolarxDbInstances(const Model::DescribePolarxDbInstancesRequest &request)const;
|
||||
void describePolarxDbInstancesAsync(const Model::DescribePolarxDbInstancesRequest& request, const DescribePolarxDbInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePolarxDbInstancesOutcomeCallable describePolarxDbInstancesCallable(const Model::DescribePolarxDbInstancesRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
DescribeScaleOutMigrateTaskListOutcome describeScaleOutMigrateTaskList(const Model::DescribeScaleOutMigrateTaskListRequest &request)const;
|
||||
void describeScaleOutMigrateTaskListAsync(const Model::DescribeScaleOutMigrateTaskListRequest& request, const DescribeScaleOutMigrateTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeScaleOutMigrateTaskListOutcomeCallable describeScaleOutMigrateTaskListCallable(const Model::DescribeScaleOutMigrateTaskListRequest& request) const;
|
||||
DescribeSecurityIpsOutcome describeSecurityIps(const Model::DescribeSecurityIpsRequest &request)const;
|
||||
void describeSecurityIpsAsync(const Model::DescribeSecurityIpsRequest& request, const DescribeSecurityIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityIpsOutcomeCallable describeSecurityIpsCallable(const Model::DescribeSecurityIpsRequest& request) const;
|
||||
DescribeSqlAuditInfoOutcome describeSqlAuditInfo(const Model::DescribeSqlAuditInfoRequest &request)const;
|
||||
void describeSqlAuditInfoAsync(const Model::DescribeSqlAuditInfoRequest& request, const DescribeSqlAuditInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSqlAuditInfoOutcomeCallable describeSqlAuditInfoCallable(const Model::DescribeSqlAuditInfoRequest& request) const;
|
||||
DescribeTableDetailOutcome describeTableDetail(const Model::DescribeTableDetailRequest &request)const;
|
||||
void describeTableDetailAsync(const Model::DescribeTableDetailRequest& request, const DescribeTableDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTableDetailOutcomeCallable describeTableDetailCallable(const Model::DescribeTableDetailRequest& request) const;
|
||||
DescribeTasksOutcome describeTasks(const Model::DescribeTasksRequest &request)const;
|
||||
void describeTasksAsync(const Model::DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTasksOutcomeCallable describeTasksCallable(const Model::DescribeTasksRequest& request) const;
|
||||
DisableSqlAuditOutcome disableSqlAudit(const Model::DisableSqlAuditRequest &request)const;
|
||||
void disableSqlAuditAsync(const Model::DisableSqlAuditRequest& request, const DisableSqlAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableSqlAuditOutcomeCallable disableSqlAuditCallable(const Model::DisableSqlAuditRequest& request) const;
|
||||
EnableSqlAuditOutcome enableSqlAudit(const Model::EnableSqlAuditRequest &request)const;
|
||||
void enableSqlAuditAsync(const Model::EnableSqlAuditRequest& request, const EnableSqlAuditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableSqlAuditOutcomeCallable enableSqlAuditCallable(const Model::EnableSqlAuditRequest& request) const;
|
||||
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
|
||||
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;
|
||||
ModifyAccountPrivilegeOutcome modifyAccountPrivilege(const Model::ModifyAccountPrivilegeRequest &request)const;
|
||||
void modifyAccountPrivilegeAsync(const Model::ModifyAccountPrivilegeRequest& request, const ModifyAccountPrivilegeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountPrivilegeOutcomeCallable modifyAccountPrivilegeCallable(const Model::ModifyAccountPrivilegeRequest& request) const;
|
||||
ModifyDBInstanceClassOutcome modifyDBInstanceClass(const Model::ModifyDBInstanceClassRequest &request)const;
|
||||
void modifyDBInstanceClassAsync(const Model::ModifyDBInstanceClassRequest& request, const ModifyDBInstanceClassAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceClassOutcomeCallable modifyDBInstanceClassCallable(const Model::ModifyDBInstanceClassRequest& request) const;
|
||||
ModifyDBInstanceConfigOutcome modifyDBInstanceConfig(const Model::ModifyDBInstanceConfigRequest &request)const;
|
||||
void modifyDBInstanceConfigAsync(const Model::ModifyDBInstanceConfigRequest& request, const ModifyDBInstanceConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceConfigOutcomeCallable modifyDBInstanceConfigCallable(const Model::ModifyDBInstanceConfigRequest& request) const;
|
||||
ModifyDBInstanceDescriptionOutcome modifyDBInstanceDescription(const Model::ModifyDBInstanceDescriptionRequest &request)const;
|
||||
void modifyDBInstanceDescriptionAsync(const Model::ModifyDBInstanceDescriptionRequest& request, const ModifyDBInstanceDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceDescriptionOutcomeCallable modifyDBInstanceDescriptionCallable(const Model::ModifyDBInstanceDescriptionRequest& request) const;
|
||||
ModifyDBInstanceMaintainTimeOutcome modifyDBInstanceMaintainTime(const Model::ModifyDBInstanceMaintainTimeRequest &request)const;
|
||||
void modifyDBInstanceMaintainTimeAsync(const Model::ModifyDBInstanceMaintainTimeRequest& request, const ModifyDBInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceMaintainTimeOutcomeCallable modifyDBInstanceMaintainTimeCallable(const Model::ModifyDBInstanceMaintainTimeRequest& request) const;
|
||||
ModifyDatabaseDescriptionOutcome modifyDatabaseDescription(const Model::ModifyDatabaseDescriptionRequest &request)const;
|
||||
void modifyDatabaseDescriptionAsync(const Model::ModifyDatabaseDescriptionRequest& request, const ModifyDatabaseDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDatabaseDescriptionOutcomeCallable modifyDatabaseDescriptionCallable(const Model::ModifyDatabaseDescriptionRequest& request) const;
|
||||
ModifyParameterOutcome modifyParameter(const Model::ModifyParameterRequest &request)const;
|
||||
void modifyParameterAsync(const Model::ModifyParameterRequest& request, const ModifyParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyParameterOutcomeCallable modifyParameterCallable(const Model::ModifyParameterRequest& request) const;
|
||||
ModifySecurityIpsOutcome modifySecurityIps(const Model::ModifySecurityIpsRequest &request)const;
|
||||
void modifySecurityIpsAsync(const Model::ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySecurityIpsOutcomeCallable modifySecurityIpsCallable(const Model::ModifySecurityIpsRequest& request) const;
|
||||
ReleaseInstancePublicConnectionOutcome releaseInstancePublicConnection(const Model::ReleaseInstancePublicConnectionRequest &request)const;
|
||||
void releaseInstancePublicConnectionAsync(const Model::ReleaseInstancePublicConnectionRequest& request, const ReleaseInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseInstancePublicConnectionOutcomeCallable releaseInstancePublicConnectionCallable(const Model::ReleaseInstancePublicConnectionRequest& request) const;
|
||||
ResetAccountPasswordOutcome resetAccountPassword(const Model::ResetAccountPasswordRequest &request)const;
|
||||
void resetAccountPasswordAsync(const Model::ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAccountPasswordOutcomeCallable resetAccountPasswordCallable(const Model::ResetAccountPasswordRequest& request) const;
|
||||
ResetPolarxPgAccountPasswordOutcome resetPolarxPgAccountPassword(const Model::ResetPolarxPgAccountPasswordRequest &request)const;
|
||||
void resetPolarxPgAccountPasswordAsync(const Model::ResetPolarxPgAccountPasswordRequest& request, const ResetPolarxPgAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetPolarxPgAccountPasswordOutcomeCallable resetPolarxPgAccountPasswordCallable(const Model::ResetPolarxPgAccountPasswordRequest& request) const;
|
||||
RestartDBInstanceOutcome restartDBInstance(const Model::RestartDBInstanceRequest &request)const;
|
||||
void restartDBInstanceAsync(const Model::RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDBInstanceOutcomeCallable restartDBInstanceCallable(const Model::RestartDBInstanceRequest& request) const;
|
||||
UpgradeDBInstanceKernelVersionOutcome upgradeDBInstanceKernelVersion(const Model::UpgradeDBInstanceKernelVersionRequest &request)const;
|
||||
void upgradeDBInstanceKernelVersionAsync(const Model::UpgradeDBInstanceKernelVersionRequest& request, const UpgradeDBInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBInstanceKernelVersionOutcomeCallable upgradeDBInstanceKernelVersionCallable(const Model::UpgradeDBInstanceKernelVersionRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_POLARDBX_POLARDBXCLIENT_H_
|
||||
32
polardbx/include/alibabacloud/polardbx/PolardbxExport.h
Normal file
32
polardbx/include/alibabacloud/polardbx/PolardbxExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_POLARDBXEXPORT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_POLARDBXEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_POLARDBX_LIBRARY)
|
||||
# define ALIBABACLOUD_POLARDBX_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_POLARDBX_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_POLARDBX_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_POLARDBX_POLARDBXEXPORT_H_
|
||||
@@ -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_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AllocateInstancePublicConnectionRequest();
|
||||
~AllocateInstancePublicConnectionRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getConnectionStringPrefix()const;
|
||||
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPort()const;
|
||||
void setPort(const std::string& port);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
long resourceOwnerId_;
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string port_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT AllocateInstancePublicConnectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AllocateInstancePublicConnectionResult();
|
||||
explicit AllocateInstancePublicConnectionResult(const std::string &payload);
|
||||
~AllocateInstancePublicConnectionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CheckHealthRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckHealthRequest();
|
||||
~CheckHealthRequest();
|
||||
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CheckHealthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckHealthResult();
|
||||
explicit CheckHealthResult(const std::string &payload);
|
||||
~CheckHealthResult();
|
||||
std::string getStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CHECKHEALTHRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAccountRequest();
|
||||
~CreateAccountRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccountPrivilege()const;
|
||||
void setAccountPrivilege(const std::string& accountPrivilege);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountDescription_;
|
||||
std::string accountPrivilege_;
|
||||
std::string accountPassword_;
|
||||
std::string accountName_;
|
||||
std::string dBName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATEACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEACCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateAccountResult();
|
||||
explicit CreateAccountResult(const std::string &payload);
|
||||
~CreateAccountResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEACCOUNTRESULT_H_
|
||||
@@ -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_POLARDBX_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDBInstanceRequest();
|
||||
~CreateDBInstanceRequest();
|
||||
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getDBNodeClass()const;
|
||||
void setDBNodeClass(const std::string& dBNodeClass);
|
||||
std::string getDBInstanceDescription()const;
|
||||
void setDBInstanceDescription(const std::string& dBInstanceDescription);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getSecurityIPList()const;
|
||||
void setSecurityIPList(const std::string& securityIPList);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getDBNodeCount()const;
|
||||
void setDBNodeCount(int dBNodeCount);
|
||||
int getUsedTime()const;
|
||||
void setUsedTime(int usedTime);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string dBNodeClass_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::string period_;
|
||||
std::string securityIPList_;
|
||||
std::string vSwitchId_;
|
||||
bool autoRenew_;
|
||||
std::string zoneId_;
|
||||
std::string instanceNetworkType_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
int dBNodeCount_;
|
||||
int usedTime_;
|
||||
std::string vPCId_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATEDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDBInstanceResult();
|
||||
explicit CreateDBInstanceResult(const std::string &payload);
|
||||
~CreateDBInstanceResult();
|
||||
int getPort()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getConnectionString()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int port_;
|
||||
std::string orderId_;
|
||||
std::string connectionString_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEDBINSTANCERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATEDBREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEDBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateDBRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDBRequest();
|
||||
~CreateDBRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getCharset()const;
|
||||
void setCharset(const std::string& charset);
|
||||
std::string getAccountPrivilege()const;
|
||||
void setAccountPrivilege(const std::string& accountPrivilege);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDbDescription()const;
|
||||
void setDbDescription(const std::string& dbDescription);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string charset_;
|
||||
std::string accountPrivilege_;
|
||||
std::string accountName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
std::string dbDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEDBREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATEDBRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEDBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateDBResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDBResult();
|
||||
explicit CreateDBResult(const std::string &payload);
|
||||
~CreateDBResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEDBRESULT_H_
|
||||
@@ -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_POLARDBX_MODEL_CREATEPOLARXINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEPOLARXINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreatePolarxInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePolarxInstanceRequest();
|
||||
~CreatePolarxInstanceRequest();
|
||||
|
||||
bool getIsAutoRenew()const;
|
||||
void setIsAutoRenew(bool isAutoRenew);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
bool getIsHa()const;
|
||||
void setIsHa(bool isHa);
|
||||
int getMySQLVersion()const;
|
||||
void setMySQLVersion(int mySQLVersion);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getInstanceSeries()const;
|
||||
void setInstanceSeries(const std::string& instanceSeries);
|
||||
std::string getMasterInstId()const;
|
||||
void setMasterInstId(const std::string& masterInstId);
|
||||
int getQuantity()const;
|
||||
void setQuantity(int quantity);
|
||||
std::string getSpecification()const;
|
||||
void setSpecification(const std::string& specification);
|
||||
std::string getVswitchId()const;
|
||||
void setVswitchId(const std::string& vswitchId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getPricingCycle()const;
|
||||
void setPricingCycle(const std::string& pricingCycle);
|
||||
|
||||
private:
|
||||
bool isAutoRenew_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
int duration_;
|
||||
bool isHa_;
|
||||
int mySQLVersion_;
|
||||
std::string regionId_;
|
||||
std::string instanceSeries_;
|
||||
std::string masterInstId_;
|
||||
int quantity_;
|
||||
std::string specification_;
|
||||
std::string vswitchId_;
|
||||
std::string vpcId_;
|
||||
std::string zoneId_;
|
||||
std::string payType_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEPOLARXINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATEPOLARXINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATEPOLARXINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreatePolarxInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long orderId;
|
||||
std::vector<std::string> drdsInstanceIdList;
|
||||
};
|
||||
|
||||
|
||||
CreatePolarxInstanceResult();
|
||||
explicit CreatePolarxInstanceResult(const std::string &payload);
|
||||
~CreatePolarxInstanceResult();
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATEPOLARXINSTANCERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATESUPERACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATESUPERACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateSuperAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSuperAccountRequest();
|
||||
~CreateSuperAccountRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountDescription_;
|
||||
std::string accountPassword_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATESUPERACCOUNTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_CREATESUPERACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_CREATESUPERACCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT CreateSuperAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateSuperAccountResult();
|
||||
explicit CreateSuperAccountResult(const std::string &payload);
|
||||
~CreateSuperAccountResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_CREATESUPERACCOUNTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DELETEACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DELETEACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DeleteAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAccountRequest();
|
||||
~DeleteAccountRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DELETEACCOUNTREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DELETEACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DELETEACCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DeleteAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAccountResult();
|
||||
explicit DeleteAccountResult(const std::string &payload);
|
||||
~DeleteAccountResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DELETEACCOUNTRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DeleteDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDBInstanceRequest();
|
||||
~DeleteDBInstanceRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DELETEDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DELETEDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DeleteDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDBInstanceResult();
|
||||
explicit DeleteDBInstanceResult(const std::string &payload);
|
||||
~DeleteDBInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DELETEDBINSTANCERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DELETEDBREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DELETEDBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DeleteDBRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDBRequest();
|
||||
~DeleteDBRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DELETEDBREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DELETEDBRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DELETEDBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DeleteDBResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDBResult();
|
||||
explicit DeleteDBResult(const std::string &payload);
|
||||
~DeleteDBResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DELETEDBRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEACCOUNTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEACCOUNTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeAccountListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAccountListRequest();
|
||||
~DescribeAccountListRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEACCOUNTLISTREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_POLARDBX_MODEL_DESCRIBEACCOUNTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEACCOUNTLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeAccountListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Account
|
||||
{
|
||||
std::string accountDescription;
|
||||
std::string accountPrivilege;
|
||||
std::string dBName;
|
||||
std::string accountType;
|
||||
std::string accountName;
|
||||
std::string dBInstanceName;
|
||||
};
|
||||
|
||||
|
||||
DescribeAccountListResult();
|
||||
explicit DescribeAccountListResult(const std::string &payload);
|
||||
~DescribeAccountListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Account> getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Account> data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEACCOUNTLISTRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBECHARACTERSETREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBECHARACTERSETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeCharacterSetRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCharacterSetRequest();
|
||||
~DescribeCharacterSetRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBECHARACTERSETREQUEST_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBECHARACTERSETRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBECHARACTERSETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeCharacterSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::vector<std::string> characterSet;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
DescribeCharacterSetResult();
|
||||
explicit DescribeCharacterSetResult(const std::string &payload);
|
||||
~DescribeCharacterSetResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBECHARACTERSETRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDBInstanceAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceAttributeRequest();
|
||||
~DescribeDBInstanceAttributeRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_POLARDBX_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDBInstanceAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DBInstance
|
||||
{
|
||||
struct DBNode
|
||||
{
|
||||
std::string nodeClass;
|
||||
std::string zoneId;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
};
|
||||
struct ConnAddr
|
||||
{
|
||||
std::string type;
|
||||
std::string vPCId;
|
||||
std::string port;
|
||||
std::string vSwitchId;
|
||||
std::string connectionString;
|
||||
};
|
||||
std::string description;
|
||||
std::string expireDate;
|
||||
std::vector<std::string> readDBInstances;
|
||||
std::vector<ConnAddr> connAddrs;
|
||||
std::string port;
|
||||
std::string dBInstanceType;
|
||||
std::string dBType;
|
||||
std::string dBVersion;
|
||||
std::string maintainEndTime;
|
||||
std::vector<DBNode> dBNodes;
|
||||
std::string network;
|
||||
int dBNodeCount;
|
||||
std::string commodityCode;
|
||||
std::string engine;
|
||||
std::string maintainStartTime;
|
||||
std::string status;
|
||||
std::string zoneId;
|
||||
std::string vPCId;
|
||||
std::string createTime;
|
||||
std::string vSwitchId;
|
||||
std::string minorVersion;
|
||||
std::string expired;
|
||||
std::string latestMinorVersion;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string storageUsed;
|
||||
std::string dBNodeClass;
|
||||
std::string type;
|
||||
std::string regionId;
|
||||
std::string id;
|
||||
std::string connectionString;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstanceAttributeResult();
|
||||
explicit DescribeDBInstanceAttributeResult(const std::string &payload);
|
||||
~DescribeDBInstanceAttributeResult();
|
||||
DBInstance getDBInstance()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
DBInstance dBInstance_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDBInstanceConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceConfigRequest();
|
||||
~DescribeDBInstanceConfigRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
std::string configName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDBInstanceConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string configValue;
|
||||
std::string configName;
|
||||
std::string dbInstanceName;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstanceConfigResult();
|
||||
explicit DescribeDBInstanceConfigResult(const std::string &payload);
|
||||
~DescribeDBInstanceConfigResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCECONFIGRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDBInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstancesRequest();
|
||||
~DescribeDBInstancesRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEDBINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDBInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DBInstance
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
int nodeCount;
|
||||
std::string vPCId;
|
||||
std::vector<std::string> readDBInstances;
|
||||
std::string createTime;
|
||||
bool expired;
|
||||
std::string payType;
|
||||
std::string dBType;
|
||||
std::string lockMode;
|
||||
int storageUsed;
|
||||
std::string nodeClass;
|
||||
std::string dBVersion;
|
||||
std::string type;
|
||||
std::string network;
|
||||
std::string commodityCode;
|
||||
std::string id;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string lockReason;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstancesResult();
|
||||
explicit DescribeDBInstancesResult(const std::string &payload);
|
||||
~DescribeDBInstancesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<DBInstance> getDBInstances()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<DBInstance> dBInstances_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBINSTANCESRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDbListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDbListRequest();
|
||||
~DescribeDbListRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string dBName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBLISTREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEDBLISTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDbListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DB
|
||||
{
|
||||
struct Account
|
||||
{
|
||||
std::string accountPrivilege;
|
||||
std::string accountName;
|
||||
};
|
||||
std::string characterSetName;
|
||||
std::string dBDescription;
|
||||
std::string dBName;
|
||||
std::vector<DB::Account> accounts;
|
||||
std::string dBInstanceName;
|
||||
};
|
||||
|
||||
|
||||
DescribeDbListResult();
|
||||
explicit DescribeDbListResult(const std::string &payload);
|
||||
~DescribeDbListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<DB> getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<DB> data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDBLISTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDISTRIBUTETABLELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDISTRIBUTETABLELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDistributeTableListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDistributeTableListRequest();
|
||||
~DescribeDistributeTableListRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDISTRIBUTETABLELISTREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDISTRIBUTETABLELISTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDISTRIBUTETABLELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeDistributeTableListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Table
|
||||
{
|
||||
std::string tableName;
|
||||
std::string tableType;
|
||||
std::string dbKey;
|
||||
std::string tbKey;
|
||||
};
|
||||
std::vector<Table> tables;
|
||||
};
|
||||
|
||||
|
||||
DescribeDistributeTableListResult();
|
||||
explicit DescribeDistributeTableListResult(const std::string &payload);
|
||||
~DescribeDistributeTableListResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEDISTRIBUTETABLELISTRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEDBPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEDBPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeInstanceDbPerformanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeInstanceDbPerformanceRequest();
|
||||
~DescribeInstanceDbPerformanceRequest();
|
||||
|
||||
std::string getDbInstanceName()const;
|
||||
void setDbInstanceName(const std::string& dbInstanceName);
|
||||
std::string getKeys()const;
|
||||
void setKeys(const std::string& keys);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dbInstanceName_;
|
||||
std::string keys_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEDBPERFORMANCEREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEINSTANCEDBPERFORMANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEDBPERFORMANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeInstanceDbPerformanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PerformanceItem
|
||||
{
|
||||
struct Point
|
||||
{
|
||||
std::string value;
|
||||
long timestamp;
|
||||
};
|
||||
std::string measurement;
|
||||
std::string metricName;
|
||||
std::vector<PerformanceItem::Point> points;
|
||||
};
|
||||
std::vector<PerformanceItem> performanceItems;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceDbPerformanceResult();
|
||||
explicit DescribeInstanceDbPerformanceResult(const std::string &payload);
|
||||
~DescribeInstanceDbPerformanceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEDBPERFORMANCERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeInstancePerformanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeInstancePerformanceRequest();
|
||||
~DescribeInstancePerformanceRequest();
|
||||
|
||||
std::string getDbInstanceName()const;
|
||||
void setDbInstanceName(const std::string& dbInstanceName);
|
||||
std::string getKeys()const;
|
||||
void setKeys(const std::string& keys);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getNodeId()const;
|
||||
void setNodeId(const std::string& nodeId);
|
||||
|
||||
private:
|
||||
std::string dbInstanceName_;
|
||||
std::string keys_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string nodeId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEPERFORMANCEREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEINSTANCEPERFORMANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEPERFORMANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeInstancePerformanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PerformanceItem
|
||||
{
|
||||
struct Point
|
||||
{
|
||||
std::string value;
|
||||
long timestamp;
|
||||
};
|
||||
std::string measurement;
|
||||
std::string metricName;
|
||||
std::vector<PerformanceItem::Point> points;
|
||||
};
|
||||
std::vector<PerformanceItem> performanceItems;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstancePerformanceResult();
|
||||
explicit DescribeInstancePerformanceResult(const std::string &payload);
|
||||
~DescribeInstancePerformanceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCEPERFORMANCERESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCESTORAGEPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCESTORAGEPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeInstanceStoragePerformanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeInstanceStoragePerformanceRequest();
|
||||
~DescribeInstanceStoragePerformanceRequest();
|
||||
|
||||
std::string getDbInstanceName()const;
|
||||
void setDbInstanceName(const std::string& dbInstanceName);
|
||||
std::string getStorageInstanceId()const;
|
||||
void setStorageInstanceId(const std::string& storageInstanceId);
|
||||
std::string getKeys()const;
|
||||
void setKeys(const std::string& keys);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dbInstanceName_;
|
||||
std::string storageInstanceId_;
|
||||
std::string keys_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCESTORAGEPERFORMANCEREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEINSTANCESTORAGEPERFORMANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCESTORAGEPERFORMANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeInstanceStoragePerformanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct PerformanceItem
|
||||
{
|
||||
struct Point
|
||||
{
|
||||
std::string value;
|
||||
long timestamp;
|
||||
};
|
||||
std::string measurement;
|
||||
std::string metricName;
|
||||
std::vector<PerformanceItem::Point> points;
|
||||
};
|
||||
std::vector<PerformanceItem> performanceItems;
|
||||
};
|
||||
|
||||
|
||||
DescribeInstanceStoragePerformanceResult();
|
||||
explicit DescribeInstanceStoragePerformanceResult(const std::string &payload);
|
||||
~DescribeInstanceStoragePerformanceResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEINSTANCESTORAGEPERFORMANCERESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeModifyParameterLogRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeModifyParameterLogRequest();
|
||||
~DescribeModifyParameterLogRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getPageNumber()const;
|
||||
void setPageNumber(const std::string& pageNumber);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getParamLevel()const;
|
||||
void setParamLevel(const std::string& paramLevel);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string paramLevel_;
|
||||
std::string endTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeModifyParameterLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChangeLog
|
||||
{
|
||||
std::string newParameterValue;
|
||||
std::string changeTime;
|
||||
int synced;
|
||||
std::string oldParameterValue;
|
||||
std::string parameterName;
|
||||
};
|
||||
|
||||
|
||||
DescribeModifyParameterLogResult();
|
||||
explicit DescribeModifyParameterLogResult(const std::string &payload);
|
||||
~DescribeModifyParameterLogResult();
|
||||
std::vector<ChangeLog> getChangeLogs()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ChangeLog> changeLogs_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeParameterTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeParameterTemplatesRequest();
|
||||
~DescribeParameterTemplatesRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getParamLevel()const;
|
||||
void setParamLevel(const std::string& paramLevel);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string paramLevel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeParameterTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TemplateRecord
|
||||
{
|
||||
int dynamic;
|
||||
std::string checkingCode;
|
||||
std::string parameterValue;
|
||||
int revisable;
|
||||
std::string parameterName;
|
||||
std::string parameterDescription;
|
||||
};
|
||||
int parameterCount;
|
||||
std::vector<TemplateRecord> parameters;
|
||||
std::string engineVersion;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
DescribeParameterTemplatesResult();
|
||||
explicit DescribeParameterTemplatesResult(const std::string &payload);
|
||||
~DescribeParameterTemplatesResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeParametersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeParametersRequest();
|
||||
~DescribeParametersRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getParamLevel()const;
|
||||
void setParamLevel(const std::string& paramLevel);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string paramLevel_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_POLARDBX_MODEL_DESCRIBEPARAMETERSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeParametersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DBInstanceParameter
|
||||
{
|
||||
std::string parameterValue;
|
||||
std::string parameterName;
|
||||
std::string parameterDescription;
|
||||
};
|
||||
std::vector<DBInstanceParameter> runningParameters;
|
||||
std::string engineVersion;
|
||||
std::vector<DBInstanceParameter> configParameters;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
DescribeParametersResult();
|
||||
explicit DescribeParametersResult(const std::string &payload);
|
||||
~DescribeParametersResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPARAMETERSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPOLARXDBINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPOLARXDBINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribePolarxDbInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribePolarxDbInstancesRequest();
|
||||
~DescribePolarxDbInstancesRequest();
|
||||
|
||||
std::string getDrdsInstanceId()const;
|
||||
void setDrdsInstanceId(const std::string& drdsInstanceId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string drdsInstanceId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string dbName_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPOLARXDBINSTANCESREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEPOLARXDBINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPOLARXDBINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribePolarxDbInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DbInstance
|
||||
{
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string zoneId;
|
||||
int nodeCount;
|
||||
std::string vPCId;
|
||||
std::string createTime;
|
||||
std::string payType;
|
||||
std::string dBType;
|
||||
std::string lockMode;
|
||||
int storageUsed;
|
||||
std::string statusDesc;
|
||||
std::string nodeClass;
|
||||
std::string dBVersion;
|
||||
std::string dBInstanceId;
|
||||
std::string network;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string lockReason;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
DescribePolarxDbInstancesResult();
|
||||
explicit DescribePolarxDbInstancesResult(const std::string &payload);
|
||||
~DescribePolarxDbInstancesResult();
|
||||
std::string getPageSize()const;
|
||||
std::string getPageNumber()const;
|
||||
std::string getTotal()const;
|
||||
std::vector<DbInstance> getDbInstances()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string pageSize_;
|
||||
std::string pageNumber_;
|
||||
std::string total_;
|
||||
std::vector<DbInstance> dbInstances_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEPOLARXDBINSTANCESRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBEREGIONSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEREGIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeRegionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Region
|
||||
{
|
||||
struct Zone
|
||||
{
|
||||
bool vpcEnabled;
|
||||
std::string zoneId;
|
||||
};
|
||||
bool supportPolarx20;
|
||||
std::string regionId;
|
||||
std::vector<Region::Zone> zones;
|
||||
};
|
||||
|
||||
|
||||
DescribeRegionsResult();
|
||||
explicit DescribeRegionsResult(const std::string &payload);
|
||||
~DescribeRegionsResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Region> getRegions()const;
|
||||
int getErrorCode()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Region> regions_;
|
||||
int errorCode_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBEREGIONSRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESCALEOUTMIGRATETASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESCALEOUTMIGRATETASKLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeScaleOutMigrateTaskListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeScaleOutMigrateTaskListRequest();
|
||||
~DescribeScaleOutMigrateTaskListRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESCALEOUTMIGRATETASKLISTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESCALEOUTMIGRATETASKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESCALEOUTMIGRATETASKLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeScaleOutMigrateTaskListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeScaleOutMigrateTaskListResult();
|
||||
explicit DescribeScaleOutMigrateTaskListResult(const std::string &payload);
|
||||
~DescribeScaleOutMigrateTaskListResult();
|
||||
int getProgress()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int progress_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESCALEOUTMIGRATETASKLISTRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESECURITYIPSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESECURITYIPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeSecurityIpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSecurityIpsRequest();
|
||||
~DescribeSecurityIpsRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESECURITYIPSREQUEST_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBESECURITYIPSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESECURITYIPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeSecurityIpsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct GroupItem
|
||||
{
|
||||
std::string groupName;
|
||||
std::string securityIPList;
|
||||
};
|
||||
std::vector<GroupItem> groupItems;
|
||||
std::string dBInstanceName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSecurityIpsResult();
|
||||
explicit DescribeSecurityIpsResult(const std::string &payload);
|
||||
~DescribeSecurityIpsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESECURITYIPSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESQLAUDITINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESQLAUDITINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeSqlAuditInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSqlAuditInfoRequest();
|
||||
~DescribeSqlAuditInfoRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESQLAUDITINFOREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESQLAUDITINFORESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESQLAUDITINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeSqlAuditInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string authenticated;
|
||||
std::string sLSProject;
|
||||
bool isEnabled;
|
||||
std::string sLSLogStore;
|
||||
};
|
||||
|
||||
|
||||
DescribeSqlAuditInfoResult();
|
||||
explicit DescribeSqlAuditInfoResult(const std::string &payload);
|
||||
~DescribeSqlAuditInfoResult();
|
||||
Data getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Data data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBESQLAUDITINFORESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETABLEDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETABLEDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeTableDetailRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTableDetailRequest();
|
||||
~DescribeTableDetailRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
std::string tableName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETABLEDETAILREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETABLEDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETABLEDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeTableDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Field
|
||||
{
|
||||
std::string extra;
|
||||
std::string column;
|
||||
std::string dataType;
|
||||
std::string key;
|
||||
};
|
||||
std::vector<Field> fields;
|
||||
};
|
||||
|
||||
|
||||
DescribeTableDetailResult();
|
||||
explicit DescribeTableDetailResult(const std::string &payload);
|
||||
~DescribeTableDetailResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETABLEDETAILRESULT_H_
|
||||
@@ -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_POLARDBX_MODEL_DESCRIBETASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETASKSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeTasksRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTasksRequest();
|
||||
~DescribeTasksRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTaskAction()const;
|
||||
void setTaskAction(const std::string& taskAction);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string taskAction_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETASKSREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETASKSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DescribeTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TaskProgressInfo
|
||||
{
|
||||
std::string expectedFinishTime;
|
||||
std::string status;
|
||||
std::string progress;
|
||||
std::string taskId;
|
||||
std::string finishTime;
|
||||
std::string taskAction;
|
||||
std::string progressInfo;
|
||||
std::string dBName;
|
||||
std::string beginTime;
|
||||
std::string taskErrorCode;
|
||||
std::string taskErrorMessage;
|
||||
};
|
||||
|
||||
|
||||
DescribeTasksResult();
|
||||
explicit DescribeTasksResult(const std::string &payload);
|
||||
~DescribeTasksResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<TaskProgressInfo> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<TaskProgressInfo> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DESCRIBETASKSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DISABLESQLAUDITREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DISABLESQLAUDITREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DisableSqlAuditRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableSqlAuditRequest();
|
||||
~DisableSqlAuditRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DISABLESQLAUDITREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_DISABLESQLAUDITRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_DISABLESQLAUDITRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT DisableSqlAuditResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableSqlAuditResult();
|
||||
explicit DisableSqlAuditResult(const std::string &payload);
|
||||
~DisableSqlAuditResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_DISABLESQLAUDITRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_ENABLESQLAUDITREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_ENABLESQLAUDITREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT EnableSqlAuditRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableSqlAuditRequest();
|
||||
~EnableSqlAuditRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
int getExpireAfterDays()const;
|
||||
void setExpireAfterDays(int expireAfterDays);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
int expireAfterDays_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ENABLESQLAUDITREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_ENABLESQLAUDITRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_ENABLESQLAUDITRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT EnableSqlAuditResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableSqlAuditResult();
|
||||
explicit EnableSqlAuditResult(const std::string &payload);
|
||||
~EnableSqlAuditResult();
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_ENABLESQLAUDITRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyAccountDescriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAccountDescriptionRequest();
|
||||
~ModifyAccountDescriptionRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountDescription_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyAccountDescriptionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyAccountDescriptionResult();
|
||||
explicit ModifyAccountDescriptionResult(const std::string &payload);
|
||||
~ModifyAccountDescriptionResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTPRIVILEGEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTPRIVILEGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyAccountPrivilegeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAccountPrivilegeRequest();
|
||||
~ModifyAccountPrivilegeRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountPrivilege()const;
|
||||
void setAccountPrivilege(const std::string& accountPrivilege);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountPrivilege_;
|
||||
std::string accountName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTPRIVILEGEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTPRIVILEGERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTPRIVILEGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyAccountPrivilegeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyAccountPrivilegeResult();
|
||||
explicit ModifyAccountPrivilegeResult(const std::string &payload);
|
||||
~ModifyAccountPrivilegeResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYACCOUNTPRIVILEGERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECLASSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECLASSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceClassRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceClassRequest();
|
||||
~ModifyDBInstanceClassRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTargetDBInstanceClass()const;
|
||||
void setTargetDBInstanceClass(const std::string& targetDBInstanceClass);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string targetDBInstanceClass_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECLASSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECLASSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECLASSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceClassResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBInstanceClassResult();
|
||||
explicit ModifyDBInstanceClassResult(const std::string &payload);
|
||||
~ModifyDBInstanceClassResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECLASSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceConfigRequest();
|
||||
~ModifyDBInstanceConfigRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConfigName()const;
|
||||
void setConfigName(const std::string& configName);
|
||||
std::string getConfigValue()const;
|
||||
void setConfigValue(const std::string& configValue);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
std::string configName_;
|
||||
std::string configValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECONFIGREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBInstanceConfigResult();
|
||||
explicit ModifyDBInstanceConfigResult(const std::string &payload);
|
||||
~ModifyDBInstanceConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCECONFIGRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceDescriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceDescriptionRequest();
|
||||
~ModifyDBInstanceDescriptionRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceDescription()const;
|
||||
void setDBInstanceDescription(const std::string& dBInstanceDescription);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceDescriptionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBInstanceDescriptionResult();
|
||||
explicit ModifyDBInstanceDescriptionResult(const std::string &payload);
|
||||
~ModifyDBInstanceDescriptionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceMaintainTimeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceMaintainTimeRequest();
|
||||
~ModifyDBInstanceMaintainTimeRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getMaintainTime()const;
|
||||
void setMaintainTime(const std::string& maintainTime);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string clientToken_;
|
||||
std::string maintainTime_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDBInstanceMaintainTimeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBInstanceMaintainTimeResult();
|
||||
explicit ModifyDBInstanceMaintainTimeResult(const std::string &payload);
|
||||
~ModifyDBInstanceMaintainTimeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDATABASEDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDATABASEDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDatabaseDescriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDatabaseDescriptionRequest();
|
||||
~ModifyDatabaseDescriptionRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getDbName()const;
|
||||
void setDbName(const std::string& dbName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDbDescription()const;
|
||||
void setDbDescription(const std::string& dbDescription);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string dbName_;
|
||||
std::string regionId_;
|
||||
std::string dbDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDATABASEDESCRIPTIONREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYDATABASEDESCRIPTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYDATABASEDESCRIPTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyDatabaseDescriptionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDatabaseDescriptionResult();
|
||||
explicit ModifyDatabaseDescriptionResult(const std::string &payload);
|
||||
~ModifyDatabaseDescriptionResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYDATABASEDESCRIPTIONRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYPARAMETERREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYPARAMETERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyParameterRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyParameterRequest();
|
||||
~ModifyParameterRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getParamLevel()const;
|
||||
void setParamLevel(const std::string& paramLevel);
|
||||
std::string getParameters()const;
|
||||
void setParameters(const std::string& parameters);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string paramLevel_;
|
||||
std::string parameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYPARAMETERREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYPARAMETERRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYPARAMETERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifyParameterResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyParameterResult();
|
||||
explicit ModifyParameterResult(const std::string &payload);
|
||||
~ModifyParameterResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYPARAMETERRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifySecurityIpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySecurityIpsRequest();
|
||||
~ModifySecurityIpsRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getModifyMode()const;
|
||||
void setModifyMode(const std::string& modifyMode);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getSecurityIPList()const;
|
||||
void setSecurityIPList(const std::string& securityIPList);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string modifyMode_;
|
||||
std::string groupName_;
|
||||
std::string securityIPList_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_MODIFYSECURITYIPSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_MODIFYSECURITYIPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ModifySecurityIpsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySecurityIpsResult();
|
||||
explicit ModifySecurityIpsResult(const std::string &payload);
|
||||
~ModifySecurityIpsResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_MODIFYSECURITYIPSRESULT_H_
|
||||
@@ -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_POLARDBX_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ReleaseInstancePublicConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseInstancePublicConnectionRequest();
|
||||
~ReleaseInstancePublicConnectionRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCurrentConnectionString()const;
|
||||
void setCurrentConnectionString(const std::string& currentConnectionString);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string currentConnectionString_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ReleaseInstancePublicConnectionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReleaseInstancePublicConnectionResult();
|
||||
explicit ReleaseInstancePublicConnectionResult(const std::string &payload);
|
||||
~ReleaseInstancePublicConnectionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ResetAccountPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetAccountPasswordRequest();
|
||||
~ResetAccountPasswordRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountPassword_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESETACCOUNTPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RESETACCOUNTPASSWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ResetAccountPasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetAccountPasswordResult();
|
||||
explicit ResetAccountPasswordResult(const std::string &payload);
|
||||
~ResetAccountPasswordResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESETACCOUNTPASSWORDRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ResetPolarxPgAccountPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetPolarxPgAccountPasswordRequest();
|
||||
~ResetPolarxPgAccountPasswordRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string accountPassword_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT ResetPolarxPgAccountPasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetPolarxPgAccountPasswordResult();
|
||||
explicit ResetPolarxPgAccountPasswordResult(const std::string &payload);
|
||||
~ResetPolarxPgAccountPasswordResult();
|
||||
std::string getMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESETPOLARXPGACCOUNTPASSWORDRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT RestartDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RestartDBInstanceRequest();
|
||||
~RestartDBInstanceRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_RESTARTDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_RESTARTDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT RestartDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartDBInstanceResult();
|
||||
explicit RestartDBInstanceResult(const std::string &payload);
|
||||
~RestartDBInstanceResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_RESTARTDBINSTANCERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT UpgradeDBInstanceKernelVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeDBInstanceKernelVersionRequest();
|
||||
~UpgradeDBInstanceKernelVersionRequest();
|
||||
|
||||
std::string getDBInstanceName()const;
|
||||
void setDBInstanceName(const std::string& dBInstanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSwitchTime()const;
|
||||
void setSwitchTime(const std::string& switchTime);
|
||||
std::string getUpgradeTime()const;
|
||||
void setUpgradeTime(const std::string& upgradeTime);
|
||||
|
||||
private:
|
||||
std::string dBInstanceName_;
|
||||
std::string regionId_;
|
||||
std::string switchTime_;
|
||||
std::string upgradeTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDBX_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDBX_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardbx/PolardbxExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardbx
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDBX_EXPORT UpgradeDBInstanceKernelVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpgradeDBInstanceKernelVersionResult();
|
||||
explicit UpgradeDBInstanceKernelVersionResult(const std::string &payload);
|
||||
~UpgradeDBInstanceKernelVersionResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getTargetMinorVersion()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string targetMinorVersion_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDBX_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_
|
||||
1709
polardbx/src/PolardbxClient.cc
Normal file
1709
polardbx/src/PolardbxClient.cc
Normal file
File diff suppressed because it is too large
Load Diff
128
polardbx/src/model/AllocateInstancePublicConnectionRequest.cc
Normal file
128
polardbx/src/model/AllocateInstancePublicConnectionRequest.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardbx/model/AllocateInstancePublicConnectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardbx::Model::AllocateInstancePublicConnectionRequest;
|
||||
|
||||
AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest() :
|
||||
RpcServiceRequest("polardbx", "2020-02-02", "AllocateInstancePublicConnection")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest()
|
||||
{}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setDBInstanceName(const std::string& dBInstanceName)
|
||||
{
|
||||
dBInstanceName_ = dBInstanceName;
|
||||
setParameter("DBInstanceName", dBInstanceName);
|
||||
}
|
||||
|
||||
long AllocateInstancePublicConnectionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getConnectionStringPrefix()const
|
||||
{
|
||||
return connectionStringPrefix_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setConnectionStringPrefix(const std::string& connectionStringPrefix)
|
||||
{
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setParameter("ConnectionStringPrefix", connectionStringPrefix);
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AllocateInstancePublicConnectionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getPort()const
|
||||
{
|
||||
return port_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setPort(const std::string& port)
|
||||
{
|
||||
port_ = port;
|
||||
setParameter("Port", port);
|
||||
}
|
||||
|
||||
44
polardbx/src/model/AllocateInstancePublicConnectionResult.cc
Normal file
44
polardbx/src/model/AllocateInstancePublicConnectionResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardbx/model/AllocateInstancePublicConnectionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardbx;
|
||||
using namespace AlibabaCloud::Polardbx::Model;
|
||||
|
||||
AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AllocateInstancePublicConnectionResult::~AllocateInstancePublicConnectionResult()
|
||||
{}
|
||||
|
||||
void AllocateInstancePublicConnectionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
29
polardbx/src/model/CheckHealthRequest.cc
Normal file
29
polardbx/src/model/CheckHealthRequest.cc
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/polardbx/model/CheckHealthRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardbx::Model::CheckHealthRequest;
|
||||
|
||||
CheckHealthRequest::CheckHealthRequest() :
|
||||
RpcServiceRequest("polardbx", "2020-02-02", "CheckHealth")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckHealthRequest::~CheckHealthRequest()
|
||||
{}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user