Skip to content

Commit

Permalink
Generated 2019-09-01 for OceanBasePro.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 2, 2024
1 parent 1c37d47 commit 78426b2
Show file tree
Hide file tree
Showing 18 changed files with 530 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.36.1943
1.36.1944
8 changes: 8 additions & 0 deletions oceanbasepro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ set(oceanbasepro_public_header
set(oceanbasepro_public_header_model
include/alibabacloud/oceanbasepro/model/BatchKillProcessListRequest.h
include/alibabacloud/oceanbasepro/model/BatchKillProcessListResult.h
include/alibabacloud/oceanbasepro/model/BatchKillSessionListRequest.h
include/alibabacloud/oceanbasepro/model/BatchKillSessionListResult.h
include/alibabacloud/oceanbasepro/model/CancelProjectModifyRecordRequest.h
include/alibabacloud/oceanbasepro/model/CancelProjectModifyRecordResult.h
include/alibabacloud/oceanbasepro/model/CreateBackupSetDownloadLinkRequest.h
Expand Down Expand Up @@ -161,6 +163,8 @@ set(oceanbasepro_public_header_model
include/alibabacloud/oceanbasepro/model/DescribeSampleSqlRawTextsResult.h
include/alibabacloud/oceanbasepro/model/DescribeSecurityIpGroupsRequest.h
include/alibabacloud/oceanbasepro/model/DescribeSecurityIpGroupsResult.h
include/alibabacloud/oceanbasepro/model/DescribeSessionListRequest.h
include/alibabacloud/oceanbasepro/model/DescribeSessionListResult.h
include/alibabacloud/oceanbasepro/model/DescribeSlowSQLHistoryListRequest.h
include/alibabacloud/oceanbasepro/model/DescribeSlowSQLHistoryListResult.h
include/alibabacloud/oceanbasepro/model/DescribeSlowSQLListRequest.h
Expand Down Expand Up @@ -280,6 +284,8 @@ set(oceanbasepro_src
src/OceanBaseProClient.cc
src/model/BatchKillProcessListRequest.cc
src/model/BatchKillProcessListResult.cc
src/model/BatchKillSessionListRequest.cc
src/model/BatchKillSessionListResult.cc
src/model/CancelProjectModifyRecordRequest.cc
src/model/CancelProjectModifyRecordResult.cc
src/model/CreateBackupSetDownloadLinkRequest.cc
Expand Down Expand Up @@ -418,6 +424,8 @@ set(oceanbasepro_src
src/model/DescribeSampleSqlRawTextsResult.cc
src/model/DescribeSecurityIpGroupsRequest.cc
src/model/DescribeSecurityIpGroupsResult.cc
src/model/DescribeSessionListRequest.cc
src/model/DescribeSessionListResult.cc
src/model/DescribeSlowSQLHistoryListRequest.cc
src/model/DescribeSlowSQLHistoryListResult.cc
src/model/DescribeSlowSQLListRequest.cc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include "OceanBaseProExport.h"
#include "model/BatchKillProcessListRequest.h"
#include "model/BatchKillProcessListResult.h"
#include "model/BatchKillSessionListRequest.h"
#include "model/BatchKillSessionListResult.h"
#include "model/CancelProjectModifyRecordRequest.h"
#include "model/CancelProjectModifyRecordResult.h"
#include "model/CreateBackupSetDownloadLinkRequest.h"
Expand Down Expand Up @@ -162,6 +164,8 @@
#include "model/DescribeSampleSqlRawTextsResult.h"
#include "model/DescribeSecurityIpGroupsRequest.h"
#include "model/DescribeSecurityIpGroupsResult.h"
#include "model/DescribeSessionListRequest.h"
#include "model/DescribeSessionListResult.h"
#include "model/DescribeSlowSQLHistoryListRequest.h"
#include "model/DescribeSlowSQLHistoryListResult.h"
#include "model/DescribeSlowSQLListRequest.h"
Expand Down Expand Up @@ -288,6 +292,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BatchKillProcessListResult> BatchKillProcessListOutcome;
typedef std::future<BatchKillProcessListOutcome> BatchKillProcessListOutcomeCallable;
typedef std::function<void(const OceanBaseProClient*, const Model::BatchKillProcessListRequest&, const BatchKillProcessListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchKillProcessListAsyncHandler;
typedef Outcome<Error, Model::BatchKillSessionListResult> BatchKillSessionListOutcome;
typedef std::future<BatchKillSessionListOutcome> BatchKillSessionListOutcomeCallable;
typedef std::function<void(const OceanBaseProClient*, const Model::BatchKillSessionListRequest&, const BatchKillSessionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchKillSessionListAsyncHandler;
typedef Outcome<Error, Model::CancelProjectModifyRecordResult> CancelProjectModifyRecordOutcome;
typedef std::future<CancelProjectModifyRecordOutcome> CancelProjectModifyRecordOutcomeCallable;
typedef std::function<void(const OceanBaseProClient*, const Model::CancelProjectModifyRecordRequest&, const CancelProjectModifyRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelProjectModifyRecordAsyncHandler;
Expand Down Expand Up @@ -495,6 +502,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeSecurityIpGroupsResult> DescribeSecurityIpGroupsOutcome;
typedef std::future<DescribeSecurityIpGroupsOutcome> DescribeSecurityIpGroupsOutcomeCallable;
typedef std::function<void(const OceanBaseProClient*, const Model::DescribeSecurityIpGroupsRequest&, const DescribeSecurityIpGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityIpGroupsAsyncHandler;
typedef Outcome<Error, Model::DescribeSessionListResult> DescribeSessionListOutcome;
typedef std::future<DescribeSessionListOutcome> DescribeSessionListOutcomeCallable;
typedef std::function<void(const OceanBaseProClient*, const Model::DescribeSessionListRequest&, const DescribeSessionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSessionListAsyncHandler;
typedef Outcome<Error, Model::DescribeSlowSQLHistoryListResult> DescribeSlowSQLHistoryListOutcome;
typedef std::future<DescribeSlowSQLHistoryListOutcome> DescribeSlowSQLHistoryListOutcomeCallable;
typedef std::function<void(const OceanBaseProClient*, const Model::DescribeSlowSQLHistoryListRequest&, const DescribeSlowSQLHistoryListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowSQLHistoryListAsyncHandler;
Expand Down Expand Up @@ -674,6 +684,9 @@ namespace AlibabaCloud
BatchKillProcessListOutcome batchKillProcessList(const Model::BatchKillProcessListRequest &request)const;
void batchKillProcessListAsync(const Model::BatchKillProcessListRequest& request, const BatchKillProcessListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchKillProcessListOutcomeCallable batchKillProcessListCallable(const Model::BatchKillProcessListRequest& request) const;
BatchKillSessionListOutcome batchKillSessionList(const Model::BatchKillSessionListRequest &request)const;
void batchKillSessionListAsync(const Model::BatchKillSessionListRequest& request, const BatchKillSessionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchKillSessionListOutcomeCallable batchKillSessionListCallable(const Model::BatchKillSessionListRequest& request) const;
CancelProjectModifyRecordOutcome cancelProjectModifyRecord(const Model::CancelProjectModifyRecordRequest &request)const;
void cancelProjectModifyRecordAsync(const Model::CancelProjectModifyRecordRequest& request, const CancelProjectModifyRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelProjectModifyRecordOutcomeCallable cancelProjectModifyRecordCallable(const Model::CancelProjectModifyRecordRequest& request) const;
Expand Down Expand Up @@ -881,6 +894,9 @@ namespace AlibabaCloud
DescribeSecurityIpGroupsOutcome describeSecurityIpGroups(const Model::DescribeSecurityIpGroupsRequest &request)const;
void describeSecurityIpGroupsAsync(const Model::DescribeSecurityIpGroupsRequest& request, const DescribeSecurityIpGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSecurityIpGroupsOutcomeCallable describeSecurityIpGroupsCallable(const Model::DescribeSecurityIpGroupsRequest& request) const;
DescribeSessionListOutcome describeSessionList(const Model::DescribeSessionListRequest &request)const;
void describeSessionListAsync(const Model::DescribeSessionListRequest& request, const DescribeSessionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSessionListOutcomeCallable describeSessionListCallable(const Model::DescribeSessionListRequest& request) const;
DescribeSlowSQLHistoryListOutcome describeSlowSQLHistoryList(const Model::DescribeSlowSQLHistoryListRequest &request)const;
void describeSlowSQLHistoryListAsync(const Model::DescribeSlowSQLHistoryListRequest& request, const DescribeSlowSQLHistoryListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSlowSQLHistoryListOutcomeCallable describeSlowSQLHistoryListCallable(const Model::DescribeSlowSQLHistoryListRequest& request) const;
Expand Down
Original file line number Diff line number Diff line change
@@ -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_OCEANBASEPRO_MODEL_BATCHKILLSESSIONLISTREQUEST_H_
#define ALIBABACLOUD_OCEANBASEPRO_MODEL_BATCHKILLSESSIONLISTREQUEST_H_

#include <alibabacloud/oceanbasepro/OceanBaseProExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace OceanBasePro {
namespace Model {
class ALIBABACLOUD_OCEANBASEPRO_EXPORT BatchKillSessionListRequest : public RpcServiceRequest {
public:
BatchKillSessionListRequest();
~BatchKillSessionListRequest();
std::string getSessionList() const;
void setSessionList(const std::string &sessionList);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getTenantId() const;
void setTenantId(const std::string &tenantId);

private:
std::string sessionList_;
std::string instanceId_;
std::string tenantId_;
};
} // namespace Model
} // namespace OceanBasePro
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OCEANBASEPRO_MODEL_BATCHKILLSESSIONLISTREQUEST_H_
Original file line number Diff line number Diff line change
@@ -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_OCEANBASEPRO_MODEL_BATCHKILLSESSIONLISTRESULT_H_
#define ALIBABACLOUD_OCEANBASEPRO_MODEL_BATCHKILLSESSIONLISTRESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/oceanbasepro/OceanBaseProExport.h>

namespace AlibabaCloud
{
namespace OceanBasePro
{
namespace Model
{
class ALIBABACLOUD_OCEANBASEPRO_EXPORT BatchKillSessionListResult : public ServiceResult
{
public:


BatchKillSessionListResult();
explicit BatchKillSessionListResult(const std::string &payload);
~BatchKillSessionListResult();

protected:
void parse(const std::string &payload);
private:

};
}
}
}
#endif // !ALIBABACLOUD_OCEANBASEPRO_MODEL_BATCHKILLSESSIONLISTRESULT_H_
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT CreateMySqlDataSourceRequest : public Rpc
void setDescription(const std::string &description);
std::string getType() const;
void setType(const std::string &type);
bool getUseSsl() const;
void setUseSsl(bool useSsl);
std::string getPassword() const;
void setPassword(const std::string &password);
std::string getDgInstanceId() const;
Expand All @@ -57,6 +59,7 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT CreateMySqlDataSourceRequest : public Rpc
std::string schema_;
std::string description_;
std::string type_;
bool useSsl_;
std::string password_;
std::string dgInstanceId_;
std::string ip_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT CreateProjectRequest : public RpcServiceR
int mqPartition;
std::string syncSchemaColumnName;
bool activeActive;
std::string sinkStoreFormat;
bool rocketMqEnableMsgTrace;
struct CustomColumnsItem {
std::string expression;
Expand All @@ -249,6 +250,7 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT CreateProjectRequest : public RpcServiceR
std::string datahubTopicType;
std::string rocketMqMsgTags;
std::string dataWorksBusinessName;
std::string sourceStoreFormat;
bool syncSchema;
std::string mqSerializerType;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -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_OCEANBASEPRO_MODEL_DESCRIBESESSIONLISTREQUEST_H_
#define ALIBABACLOUD_OCEANBASEPRO_MODEL_DESCRIBESESSIONLISTREQUEST_H_

#include <alibabacloud/oceanbasepro/OceanBaseProExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace OceanBasePro {
namespace Model {
class ALIBABACLOUD_OCEANBASEPRO_EXPORT DescribeSessionListRequest : public RpcServiceRequest {
public:
DescribeSessionListRequest();
~DescribeSessionListRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getTenantId() const;
void setTenantId(const std::string &tenantId);

private:
std::string instanceId_;
std::string tenantId_;
};
} // namespace Model
} // namespace OceanBasePro
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OCEANBASEPRO_MODEL_DESCRIBESESSIONLISTREQUEST_H_
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef ALIBABACLOUD_OCEANBASEPRO_MODEL_DESCRIBESESSIONLISTRESULT_H_
#define ALIBABACLOUD_OCEANBASEPRO_MODEL_DESCRIBESESSIONLISTRESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/oceanbasepro/OceanBaseProExport.h>

namespace AlibabaCloud
{
namespace OceanBasePro
{
namespace Model
{
class ALIBABACLOUD_OCEANBASEPRO_EXPORT DescribeSessionListResult : public ServiceResult
{
public:
struct DataItem
{
std::string host;
std::string sessionId;
};


DescribeSessionListResult();
explicit DescribeSessionListResult(const std::string &payload);
~DescribeSessionListResult();
std::vector<DataItem> getData()const;

protected:
void parse(const std::string &payload);
private:
std::vector<DataItem> data_;

};
}
}
}
#endif // !ALIBABACLOUD_OCEANBASEPRO_MODEL_DESCRIBESESSIONLISTRESULT_H_
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ namespace OceanBasePro {
namespace Model {
class ALIBABACLOUD_OCEANBASEPRO_EXPORT UpdateProjectConfigRequest : public RpcServiceRequest {
public:
struct CommonTransferConfig {
std::string sinkStoreFormat;
std::string sourceStoreFormat;
};
struct ReverseIncrTransferConfig {
int throttleRps;
std::string string;
Expand All @@ -54,6 +58,8 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT UpdateProjectConfigRequest : public RpcSe
};
UpdateProjectConfigRequest();
~UpdateProjectConfigRequest();
CommonTransferConfig getCommonTransferConfig() const;
void setCommonTransferConfig(const CommonTransferConfig &commonTransferConfig);
ReverseIncrTransferConfig getReverseIncrTransferConfig() const;
void setReverseIncrTransferConfig(const ReverseIncrTransferConfig &reverseIncrTransferConfig);
FullTransferConfig getFullTransferConfig() const;
Expand All @@ -64,6 +70,7 @@ class ALIBABACLOUD_OCEANBASEPRO_EXPORT UpdateProjectConfigRequest : public RpcSe
void setIncrTransferConfig(const IncrTransferConfig &incrTransferConfig);

private:
CommonTransferConfig commonTransferConfig_;
ReverseIncrTransferConfig reverseIncrTransferConfig_;
FullTransferConfig fullTransferConfig_;
std::string id_;
Expand Down
Loading

0 comments on commit 78426b2

Please sign in to comment.