CreateLindormInstance api support auto renew
This commit is contained in:
@@ -21,14 +21,22 @@ set(hitsdb_public_header
|
||||
include/alibabacloud/hitsdb/HitsdbExport.h )
|
||||
|
||||
set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/CreateLdpsComputeGroupRequest.h
|
||||
include/alibabacloud/hitsdb/model/CreateLdpsComputeGroupResult.h
|
||||
include/alibabacloud/hitsdb/model/CreateLdpsNamespaceRequest.h
|
||||
include/alibabacloud/hitsdb/model/CreateLdpsNamespaceResult.h
|
||||
include/alibabacloud/hitsdb/model/CreateLindormInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/CreateLindormInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/DeleteLdpsComputeGroupRequest.h
|
||||
include/alibabacloud/hitsdb/model/DeleteLdpsComputeGroupResult.h
|
||||
include/alibabacloud/hitsdb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/hitsdb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/hitsdb/model/GetEngineDefaultAuthRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetEngineDefaultAuthResult.h
|
||||
include/alibabacloud/hitsdb/model/GetInstanceIpWhiteListRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetInstanceIpWhiteListResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLdpsComputeGroupRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLdpsComputeGroupResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLdpsNamespacedQuotaRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLdpsNamespacedQuotaResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLdpsResourceCostRequest.h
|
||||
@@ -39,6 +47,8 @@ set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceEngineListResult.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListRequest.h
|
||||
include/alibabacloud/hitsdb/model/GetLindormInstanceListResult.h
|
||||
include/alibabacloud/hitsdb/model/ListLdpsComputeGroupsRequest.h
|
||||
include/alibabacloud/hitsdb/model/ListLdpsComputeGroupsResult.h
|
||||
include/alibabacloud/hitsdb/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/hitsdb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/hitsdb/model/ModifyInstancePayTypeRequest.h
|
||||
@@ -47,6 +57,8 @@ set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/ReleaseLindormInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/RenewLindormInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/RenewLindormInstanceResult.h
|
||||
include/alibabacloud/hitsdb/model/RestartLdpsComputeGroupRequest.h
|
||||
include/alibabacloud/hitsdb/model/RestartLdpsComputeGroupResult.h
|
||||
include/alibabacloud/hitsdb/model/SwitchLSQLV3MySQLServiceRequest.h
|
||||
include/alibabacloud/hitsdb/model/SwitchLSQLV3MySQLServiceResult.h
|
||||
include/alibabacloud/hitsdb/model/TagResourcesRequest.h
|
||||
@@ -55,19 +67,29 @@ set(hitsdb_public_header_model
|
||||
include/alibabacloud/hitsdb/model/UntagResourcesResult.h
|
||||
include/alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListRequest.h
|
||||
include/alibabacloud/hitsdb/model/UpdateInstanceIpWhiteListResult.h
|
||||
include/alibabacloud/hitsdb/model/UpdateLdpsComputeGroupRequest.h
|
||||
include/alibabacloud/hitsdb/model/UpdateLdpsComputeGroupResult.h
|
||||
include/alibabacloud/hitsdb/model/UpgradeLindormInstanceRequest.h
|
||||
include/alibabacloud/hitsdb/model/UpgradeLindormInstanceResult.h )
|
||||
|
||||
set(hitsdb_src
|
||||
src/HitsdbClient.cc
|
||||
src/model/CreateLdpsComputeGroupRequest.cc
|
||||
src/model/CreateLdpsComputeGroupResult.cc
|
||||
src/model/CreateLdpsNamespaceRequest.cc
|
||||
src/model/CreateLdpsNamespaceResult.cc
|
||||
src/model/CreateLindormInstanceRequest.cc
|
||||
src/model/CreateLindormInstanceResult.cc
|
||||
src/model/DeleteLdpsComputeGroupRequest.cc
|
||||
src/model/DeleteLdpsComputeGroupResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/GetEngineDefaultAuthRequest.cc
|
||||
src/model/GetEngineDefaultAuthResult.cc
|
||||
src/model/GetInstanceIpWhiteListRequest.cc
|
||||
src/model/GetInstanceIpWhiteListResult.cc
|
||||
src/model/GetLdpsComputeGroupRequest.cc
|
||||
src/model/GetLdpsComputeGroupResult.cc
|
||||
src/model/GetLdpsNamespacedQuotaRequest.cc
|
||||
src/model/GetLdpsNamespacedQuotaResult.cc
|
||||
src/model/GetLdpsResourceCostRequest.cc
|
||||
@@ -78,6 +100,8 @@ set(hitsdb_src
|
||||
src/model/GetLindormInstanceEngineListResult.cc
|
||||
src/model/GetLindormInstanceListRequest.cc
|
||||
src/model/GetLindormInstanceListResult.cc
|
||||
src/model/ListLdpsComputeGroupsRequest.cc
|
||||
src/model/ListLdpsComputeGroupsResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyInstancePayTypeRequest.cc
|
||||
@@ -86,6 +110,8 @@ set(hitsdb_src
|
||||
src/model/ReleaseLindormInstanceResult.cc
|
||||
src/model/RenewLindormInstanceRequest.cc
|
||||
src/model/RenewLindormInstanceResult.cc
|
||||
src/model/RestartLdpsComputeGroupRequest.cc
|
||||
src/model/RestartLdpsComputeGroupResult.cc
|
||||
src/model/SwitchLSQLV3MySQLServiceRequest.cc
|
||||
src/model/SwitchLSQLV3MySQLServiceResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
@@ -94,6 +120,8 @@ set(hitsdb_src
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpdateInstanceIpWhiteListRequest.cc
|
||||
src/model/UpdateInstanceIpWhiteListResult.cc
|
||||
src/model/UpdateLdpsComputeGroupRequest.cc
|
||||
src/model/UpdateLdpsComputeGroupResult.cc
|
||||
src/model/UpgradeLindormInstanceRequest.cc
|
||||
src/model/UpgradeLindormInstanceResult.cc )
|
||||
|
||||
|
||||
@@ -22,14 +22,22 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "HitsdbExport.h"
|
||||
#include "model/CreateLdpsComputeGroupRequest.h"
|
||||
#include "model/CreateLdpsComputeGroupResult.h"
|
||||
#include "model/CreateLdpsNamespaceRequest.h"
|
||||
#include "model/CreateLdpsNamespaceResult.h"
|
||||
#include "model/CreateLindormInstanceRequest.h"
|
||||
#include "model/CreateLindormInstanceResult.h"
|
||||
#include "model/DeleteLdpsComputeGroupRequest.h"
|
||||
#include "model/DeleteLdpsComputeGroupResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/GetEngineDefaultAuthRequest.h"
|
||||
#include "model/GetEngineDefaultAuthResult.h"
|
||||
#include "model/GetInstanceIpWhiteListRequest.h"
|
||||
#include "model/GetInstanceIpWhiteListResult.h"
|
||||
#include "model/GetLdpsComputeGroupRequest.h"
|
||||
#include "model/GetLdpsComputeGroupResult.h"
|
||||
#include "model/GetLdpsNamespacedQuotaRequest.h"
|
||||
#include "model/GetLdpsNamespacedQuotaResult.h"
|
||||
#include "model/GetLdpsResourceCostRequest.h"
|
||||
@@ -40,6 +48,8 @@
|
||||
#include "model/GetLindormInstanceEngineListResult.h"
|
||||
#include "model/GetLindormInstanceListRequest.h"
|
||||
#include "model/GetLindormInstanceListResult.h"
|
||||
#include "model/ListLdpsComputeGroupsRequest.h"
|
||||
#include "model/ListLdpsComputeGroupsResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyInstancePayTypeRequest.h"
|
||||
@@ -48,6 +58,8 @@
|
||||
#include "model/ReleaseLindormInstanceResult.h"
|
||||
#include "model/RenewLindormInstanceRequest.h"
|
||||
#include "model/RenewLindormInstanceResult.h"
|
||||
#include "model/RestartLdpsComputeGroupRequest.h"
|
||||
#include "model/RestartLdpsComputeGroupResult.h"
|
||||
#include "model/SwitchLSQLV3MySQLServiceRequest.h"
|
||||
#include "model/SwitchLSQLV3MySQLServiceResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
@@ -56,6 +68,8 @@
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpdateInstanceIpWhiteListRequest.h"
|
||||
#include "model/UpdateInstanceIpWhiteListResult.h"
|
||||
#include "model/UpdateLdpsComputeGroupRequest.h"
|
||||
#include "model/UpdateLdpsComputeGroupResult.h"
|
||||
#include "model/UpgradeLindormInstanceRequest.h"
|
||||
#include "model/UpgradeLindormInstanceResult.h"
|
||||
|
||||
@@ -67,18 +81,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_HITSDB_EXPORT HitsdbClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateLdpsComputeGroupResult> CreateLdpsComputeGroupOutcome;
|
||||
typedef std::future<CreateLdpsComputeGroupOutcome> CreateLdpsComputeGroupOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::CreateLdpsComputeGroupRequest&, const CreateLdpsComputeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLdpsComputeGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateLdpsNamespaceResult> CreateLdpsNamespaceOutcome;
|
||||
typedef std::future<CreateLdpsNamespaceOutcome> CreateLdpsNamespaceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::CreateLdpsNamespaceRequest&, const CreateLdpsNamespaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLdpsNamespaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateLindormInstanceResult> CreateLindormInstanceOutcome;
|
||||
typedef std::future<CreateLindormInstanceOutcome> CreateLindormInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::CreateLindormInstanceRequest&, const CreateLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLindormInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLdpsComputeGroupResult> DeleteLdpsComputeGroupOutcome;
|
||||
typedef std::future<DeleteLdpsComputeGroupOutcome> DeleteLdpsComputeGroupOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DeleteLdpsComputeGroupRequest&, const DeleteLdpsComputeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLdpsComputeGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetEngineDefaultAuthResult> GetEngineDefaultAuthOutcome;
|
||||
typedef std::future<GetEngineDefaultAuthOutcome> GetEngineDefaultAuthOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetEngineDefaultAuthRequest&, const GetEngineDefaultAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEngineDefaultAuthAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetInstanceIpWhiteListResult> GetInstanceIpWhiteListOutcome;
|
||||
typedef std::future<GetInstanceIpWhiteListOutcome> GetInstanceIpWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetInstanceIpWhiteListRequest&, const GetInstanceIpWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceIpWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLdpsComputeGroupResult> GetLdpsComputeGroupOutcome;
|
||||
typedef std::future<GetLdpsComputeGroupOutcome> GetLdpsComputeGroupOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLdpsComputeGroupRequest&, const GetLdpsComputeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLdpsComputeGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLdpsNamespacedQuotaResult> GetLdpsNamespacedQuotaOutcome;
|
||||
typedef std::future<GetLdpsNamespacedQuotaOutcome> GetLdpsNamespacedQuotaOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLdpsNamespacedQuotaRequest&, const GetLdpsNamespacedQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLdpsNamespacedQuotaAsyncHandler;
|
||||
@@ -94,6 +120,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetLindormInstanceListResult> GetLindormInstanceListOutcome;
|
||||
typedef std::future<GetLindormInstanceListOutcome> GetLindormInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::GetLindormInstanceListRequest&, const GetLindormInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLindormInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListLdpsComputeGroupsResult> ListLdpsComputeGroupsOutcome;
|
||||
typedef std::future<ListLdpsComputeGroupsOutcome> ListLdpsComputeGroupsOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::ListLdpsComputeGroupsRequest&, const ListLdpsComputeGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLdpsComputeGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
@@ -106,6 +135,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RenewLindormInstanceResult> RenewLindormInstanceOutcome;
|
||||
typedef std::future<RenewLindormInstanceOutcome> RenewLindormInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RenewLindormInstanceRequest&, const RenewLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewLindormInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartLdpsComputeGroupResult> RestartLdpsComputeGroupOutcome;
|
||||
typedef std::future<RestartLdpsComputeGroupOutcome> RestartLdpsComputeGroupOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::RestartLdpsComputeGroupRequest&, const RestartLdpsComputeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartLdpsComputeGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::SwitchLSQLV3MySQLServiceResult> SwitchLSQLV3MySQLServiceOutcome;
|
||||
typedef std::future<SwitchLSQLV3MySQLServiceOutcome> SwitchLSQLV3MySQLServiceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::SwitchLSQLV3MySQLServiceRequest&, const SwitchLSQLV3MySQLServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchLSQLV3MySQLServiceAsyncHandler;
|
||||
@@ -118,6 +150,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateInstanceIpWhiteListResult> UpdateInstanceIpWhiteListOutcome;
|
||||
typedef std::future<UpdateInstanceIpWhiteListOutcome> UpdateInstanceIpWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::UpdateInstanceIpWhiteListRequest&, const UpdateInstanceIpWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateInstanceIpWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateLdpsComputeGroupResult> UpdateLdpsComputeGroupOutcome;
|
||||
typedef std::future<UpdateLdpsComputeGroupOutcome> UpdateLdpsComputeGroupOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::UpdateLdpsComputeGroupRequest&, const UpdateLdpsComputeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateLdpsComputeGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeLindormInstanceResult> UpgradeLindormInstanceOutcome;
|
||||
typedef std::future<UpgradeLindormInstanceOutcome> UpgradeLindormInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HitsdbClient*, const Model::UpgradeLindormInstanceRequest&, const UpgradeLindormInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeLindormInstanceAsyncHandler;
|
||||
@@ -126,18 +161,30 @@ namespace AlibabaCloud
|
||||
HitsdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
HitsdbClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~HitsdbClient();
|
||||
CreateLdpsComputeGroupOutcome createLdpsComputeGroup(const Model::CreateLdpsComputeGroupRequest &request)const;
|
||||
void createLdpsComputeGroupAsync(const Model::CreateLdpsComputeGroupRequest& request, const CreateLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLdpsComputeGroupOutcomeCallable createLdpsComputeGroupCallable(const Model::CreateLdpsComputeGroupRequest& request) const;
|
||||
CreateLdpsNamespaceOutcome createLdpsNamespace(const Model::CreateLdpsNamespaceRequest &request)const;
|
||||
void createLdpsNamespaceAsync(const Model::CreateLdpsNamespaceRequest& request, const CreateLdpsNamespaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLdpsNamespaceOutcomeCallable createLdpsNamespaceCallable(const Model::CreateLdpsNamespaceRequest& request) const;
|
||||
CreateLindormInstanceOutcome createLindormInstance(const Model::CreateLindormInstanceRequest &request)const;
|
||||
void createLindormInstanceAsync(const Model::CreateLindormInstanceRequest& request, const CreateLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateLindormInstanceOutcomeCallable createLindormInstanceCallable(const Model::CreateLindormInstanceRequest& request) const;
|
||||
DeleteLdpsComputeGroupOutcome deleteLdpsComputeGroup(const Model::DeleteLdpsComputeGroupRequest &request)const;
|
||||
void deleteLdpsComputeGroupAsync(const Model::DeleteLdpsComputeGroupRequest& request, const DeleteLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLdpsComputeGroupOutcomeCallable deleteLdpsComputeGroupCallable(const Model::DeleteLdpsComputeGroupRequest& 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;
|
||||
GetEngineDefaultAuthOutcome getEngineDefaultAuth(const Model::GetEngineDefaultAuthRequest &request)const;
|
||||
void getEngineDefaultAuthAsync(const Model::GetEngineDefaultAuthRequest& request, const GetEngineDefaultAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEngineDefaultAuthOutcomeCallable getEngineDefaultAuthCallable(const Model::GetEngineDefaultAuthRequest& request) const;
|
||||
GetInstanceIpWhiteListOutcome getInstanceIpWhiteList(const Model::GetInstanceIpWhiteListRequest &request)const;
|
||||
void getInstanceIpWhiteListAsync(const Model::GetInstanceIpWhiteListRequest& request, const GetInstanceIpWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceIpWhiteListOutcomeCallable getInstanceIpWhiteListCallable(const Model::GetInstanceIpWhiteListRequest& request) const;
|
||||
GetLdpsComputeGroupOutcome getLdpsComputeGroup(const Model::GetLdpsComputeGroupRequest &request)const;
|
||||
void getLdpsComputeGroupAsync(const Model::GetLdpsComputeGroupRequest& request, const GetLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLdpsComputeGroupOutcomeCallable getLdpsComputeGroupCallable(const Model::GetLdpsComputeGroupRequest& request) const;
|
||||
GetLdpsNamespacedQuotaOutcome getLdpsNamespacedQuota(const Model::GetLdpsNamespacedQuotaRequest &request)const;
|
||||
void getLdpsNamespacedQuotaAsync(const Model::GetLdpsNamespacedQuotaRequest& request, const GetLdpsNamespacedQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLdpsNamespacedQuotaOutcomeCallable getLdpsNamespacedQuotaCallable(const Model::GetLdpsNamespacedQuotaRequest& request) const;
|
||||
@@ -153,6 +200,9 @@ namespace AlibabaCloud
|
||||
GetLindormInstanceListOutcome getLindormInstanceList(const Model::GetLindormInstanceListRequest &request)const;
|
||||
void getLindormInstanceListAsync(const Model::GetLindormInstanceListRequest& request, const GetLindormInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLindormInstanceListOutcomeCallable getLindormInstanceListCallable(const Model::GetLindormInstanceListRequest& request) const;
|
||||
ListLdpsComputeGroupsOutcome listLdpsComputeGroups(const Model::ListLdpsComputeGroupsRequest &request)const;
|
||||
void listLdpsComputeGroupsAsync(const Model::ListLdpsComputeGroupsRequest& request, const ListLdpsComputeGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListLdpsComputeGroupsOutcomeCallable listLdpsComputeGroupsCallable(const Model::ListLdpsComputeGroupsRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
@@ -165,6 +215,9 @@ namespace AlibabaCloud
|
||||
RenewLindormInstanceOutcome renewLindormInstance(const Model::RenewLindormInstanceRequest &request)const;
|
||||
void renewLindormInstanceAsync(const Model::RenewLindormInstanceRequest& request, const RenewLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewLindormInstanceOutcomeCallable renewLindormInstanceCallable(const Model::RenewLindormInstanceRequest& request) const;
|
||||
RestartLdpsComputeGroupOutcome restartLdpsComputeGroup(const Model::RestartLdpsComputeGroupRequest &request)const;
|
||||
void restartLdpsComputeGroupAsync(const Model::RestartLdpsComputeGroupRequest& request, const RestartLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartLdpsComputeGroupOutcomeCallable restartLdpsComputeGroupCallable(const Model::RestartLdpsComputeGroupRequest& request) const;
|
||||
SwitchLSQLV3MySQLServiceOutcome switchLSQLV3MySQLService(const Model::SwitchLSQLV3MySQLServiceRequest &request)const;
|
||||
void switchLSQLV3MySQLServiceAsync(const Model::SwitchLSQLV3MySQLServiceRequest& request, const SwitchLSQLV3MySQLServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SwitchLSQLV3MySQLServiceOutcomeCallable switchLSQLV3MySQLServiceCallable(const Model::SwitchLSQLV3MySQLServiceRequest& request) const;
|
||||
@@ -177,6 +230,9 @@ namespace AlibabaCloud
|
||||
UpdateInstanceIpWhiteListOutcome updateInstanceIpWhiteList(const Model::UpdateInstanceIpWhiteListRequest &request)const;
|
||||
void updateInstanceIpWhiteListAsync(const Model::UpdateInstanceIpWhiteListRequest& request, const UpdateInstanceIpWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateInstanceIpWhiteListOutcomeCallable updateInstanceIpWhiteListCallable(const Model::UpdateInstanceIpWhiteListRequest& request) const;
|
||||
UpdateLdpsComputeGroupOutcome updateLdpsComputeGroup(const Model::UpdateLdpsComputeGroupRequest &request)const;
|
||||
void updateLdpsComputeGroupAsync(const Model::UpdateLdpsComputeGroupRequest& request, const UpdateLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateLdpsComputeGroupOutcomeCallable updateLdpsComputeGroupCallable(const Model::UpdateLdpsComputeGroupRequest& request) const;
|
||||
UpgradeLindormInstanceOutcome upgradeLindormInstance(const Model::UpgradeLindormInstanceRequest &request)const;
|
||||
void upgradeLindormInstanceAsync(const Model::UpgradeLindormInstanceRequest& request, const UpgradeLindormInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeLindormInstanceOutcomeCallable upgradeLindormInstanceCallable(const Model::UpgradeLindormInstanceRequest& request) const;
|
||||
|
||||
@@ -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_HITSDB_MODEL_CREATELDPSCOMPUTEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATELDPSCOMPUTEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateLdpsComputeGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateLdpsComputeGroupRequest();
|
||||
~CreateLdpsComputeGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getProperties() const;
|
||||
void setProperties(const std::string &properties);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
std::string properties_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATELDPSCOMPUTEGROUPREQUEST_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_HITSDB_MODEL_CREATELDPSCOMPUTEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_CREATELDPSCOMPUTEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT CreateLdpsComputeGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateLdpsComputeGroupResult();
|
||||
explicit CreateLdpsComputeGroupResult(const std::string &payload);
|
||||
~CreateLdpsComputeGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_CREATELDPSCOMPUTEGROUPRESULT_H_
|
||||
@@ -34,10 +34,14 @@ public:
|
||||
void setArchVersion(const std::string &archVersion);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAutoRenewDuration() const;
|
||||
void setAutoRenewDuration(const std::string &autoRenewDuration);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getLogSpec() const;
|
||||
void setLogSpec(const std::string &logSpec);
|
||||
bool getAutoRenewal() const;
|
||||
void setAutoRenewal(bool autoRenewal);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
int getTsdbNum() const;
|
||||
@@ -120,8 +124,10 @@ public:
|
||||
private:
|
||||
std::string archVersion_;
|
||||
long resourceOwnerId_;
|
||||
std::string autoRenewDuration_;
|
||||
std::string resourceGroupId_;
|
||||
std::string logSpec_;
|
||||
bool autoRenewal_;
|
||||
std::string securityToken_;
|
||||
int tsdbNum_;
|
||||
std::string primaryVSwitchId_;
|
||||
|
||||
@@ -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_HITSDB_MODEL_DELETELDPSCOMPUTEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETELDPSCOMPUTEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteLdpsComputeGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteLdpsComputeGroupRequest();
|
||||
~DeleteLdpsComputeGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETELDPSCOMPUTEGROUPREQUEST_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_HITSDB_MODEL_DELETELDPSCOMPUTEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_DELETELDPSCOMPUTEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT DeleteLdpsComputeGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLdpsComputeGroupResult();
|
||||
explicit DeleteLdpsComputeGroupResult(const std::string &payload);
|
||||
~DeleteLdpsComputeGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_DELETELDPSCOMPUTEGROUPRESULT_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_HITSDB_MODEL_GETENGINEDEFAULTAUTHREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETENGINEDEFAULTAUTHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetEngineDefaultAuthRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetEngineDefaultAuthRequest();
|
||||
~GetEngineDefaultAuthRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETENGINEDEFAULTAUTHREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_GETENGINEDEFAULTAUTHRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETENGINEDEFAULTAUTHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetEngineDefaultAuthResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AuthInfo
|
||||
{
|
||||
std::string username;
|
||||
std::string engine;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
|
||||
GetEngineDefaultAuthResult();
|
||||
explicit GetEngineDefaultAuthResult(const std::string &payload);
|
||||
~GetEngineDefaultAuthResult();
|
||||
std::vector<AuthInfo> getAuthInfos()const;
|
||||
std::string getInstanceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AuthInfo> authInfos_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETENGINEDEFAULTAUTHRESULT_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_HITSDB_MODEL_GETLDPSCOMPUTEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLDPSCOMPUTEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLdpsComputeGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetLdpsComputeGroupRequest();
|
||||
~GetLdpsComputeGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLDPSCOMPUTEGROUPREQUEST_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_HITSDB_MODEL_GETLDPSCOMPUTEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_GETLDPSCOMPUTEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT GetLdpsComputeGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetLdpsComputeGroupResult();
|
||||
explicit GetLdpsComputeGroupResult(const std::string &payload);
|
||||
~GetLdpsComputeGroupResult();
|
||||
std::string getGroupName()const;
|
||||
std::string getProperties()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string groupName_;
|
||||
std::string properties_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_GETLDPSCOMPUTEGROUPRESULT_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_HITSDB_MODEL_LISTLDPSCOMPUTEGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_LISTLDPSCOMPUTEGROUPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ListLdpsComputeGroupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListLdpsComputeGroupsRequest();
|
||||
~ListLdpsComputeGroupsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_LISTLDPSCOMPUTEGROUPSREQUEST_H_
|
||||
@@ -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_HITSDB_MODEL_LISTLDPSCOMPUTEGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_LISTLDPSCOMPUTEGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT ListLdpsComputeGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ComputeGroup
|
||||
{
|
||||
std::string groupName;
|
||||
std::string properties;
|
||||
};
|
||||
|
||||
|
||||
ListLdpsComputeGroupsResult();
|
||||
explicit ListLdpsComputeGroupsResult(const std::string &payload);
|
||||
~ListLdpsComputeGroupsResult();
|
||||
std::vector<ComputeGroup> getGroupList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ComputeGroup> groupList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_LISTLDPSCOMPUTEGROUPSRESULT_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_HITSDB_MODEL_RESTARTLDPSCOMPUTEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTLDPSCOMPUTEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RestartLdpsComputeGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RestartLdpsComputeGroupRequest();
|
||||
~RestartLdpsComputeGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTLDPSCOMPUTEGROUPREQUEST_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_HITSDB_MODEL_RESTARTLDPSCOMPUTEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTLDPSCOMPUTEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT RestartLdpsComputeGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartLdpsComputeGroupResult();
|
||||
explicit RestartLdpsComputeGroupResult(const std::string &payload);
|
||||
~RestartLdpsComputeGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTLDPSCOMPUTEGROUPRESULT_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_HITSDB_MODEL_UPDATELDPSCOMPUTEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_UPDATELDPSCOMPUTEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Hitsdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_HITSDB_EXPORT UpdateLdpsComputeGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateLdpsComputeGroupRequest();
|
||||
~UpdateLdpsComputeGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getGroupName() const;
|
||||
void setGroupName(const std::string &groupName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getProperties() const;
|
||||
void setProperties(const std::string &properties);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
std::string properties_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Hitsdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATELDPSCOMPUTEGROUPREQUEST_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_HITSDB_MODEL_UPDATELDPSCOMPUTEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_HITSDB_MODEL_UPDATELDPSCOMPUTEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hitsdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HITSDB_EXPORT UpdateLdpsComputeGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateLdpsComputeGroupResult();
|
||||
explicit UpdateLdpsComputeGroupResult(const std::string &payload);
|
||||
~UpdateLdpsComputeGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_UPDATELDPSCOMPUTEGROUPRESULT_H_
|
||||
@@ -51,6 +51,42 @@ HitsdbClient::HitsdbClient(const std::string & accessKeyId, const std::string &
|
||||
HitsdbClient::~HitsdbClient()
|
||||
{}
|
||||
|
||||
HitsdbClient::CreateLdpsComputeGroupOutcome HitsdbClient::createLdpsComputeGroup(const CreateLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateLdpsComputeGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateLdpsComputeGroupOutcome(CreateLdpsComputeGroupResult(outcome.result()));
|
||||
else
|
||||
return CreateLdpsComputeGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::createLdpsComputeGroupAsync(const CreateLdpsComputeGroupRequest& request, const CreateLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createLdpsComputeGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::CreateLdpsComputeGroupOutcomeCallable HitsdbClient::createLdpsComputeGroupCallable(const CreateLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateLdpsComputeGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createLdpsComputeGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::CreateLdpsNamespaceOutcome HitsdbClient::createLdpsNamespace(const CreateLdpsNamespaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -123,6 +159,42 @@ HitsdbClient::CreateLindormInstanceOutcomeCallable HitsdbClient::createLindormIn
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DeleteLdpsComputeGroupOutcome HitsdbClient::deleteLdpsComputeGroup(const DeleteLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLdpsComputeGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLdpsComputeGroupOutcome(DeleteLdpsComputeGroupResult(outcome.result()));
|
||||
else
|
||||
return DeleteLdpsComputeGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::deleteLdpsComputeGroupAsync(const DeleteLdpsComputeGroupRequest& request, const DeleteLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLdpsComputeGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::DeleteLdpsComputeGroupOutcomeCallable HitsdbClient::deleteLdpsComputeGroupCallable(const DeleteLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLdpsComputeGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLdpsComputeGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::DescribeRegionsOutcome HitsdbClient::describeRegions(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -159,6 +231,42 @@ HitsdbClient::DescribeRegionsOutcomeCallable HitsdbClient::describeRegionsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::GetEngineDefaultAuthOutcome HitsdbClient::getEngineDefaultAuth(const GetEngineDefaultAuthRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetEngineDefaultAuthOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetEngineDefaultAuthOutcome(GetEngineDefaultAuthResult(outcome.result()));
|
||||
else
|
||||
return GetEngineDefaultAuthOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::getEngineDefaultAuthAsync(const GetEngineDefaultAuthRequest& request, const GetEngineDefaultAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getEngineDefaultAuth(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::GetEngineDefaultAuthOutcomeCallable HitsdbClient::getEngineDefaultAuthCallable(const GetEngineDefaultAuthRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetEngineDefaultAuthOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getEngineDefaultAuth(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::GetInstanceIpWhiteListOutcome HitsdbClient::getInstanceIpWhiteList(const GetInstanceIpWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +303,42 @@ HitsdbClient::GetInstanceIpWhiteListOutcomeCallable HitsdbClient::getInstanceIpW
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::GetLdpsComputeGroupOutcome HitsdbClient::getLdpsComputeGroup(const GetLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetLdpsComputeGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetLdpsComputeGroupOutcome(GetLdpsComputeGroupResult(outcome.result()));
|
||||
else
|
||||
return GetLdpsComputeGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::getLdpsComputeGroupAsync(const GetLdpsComputeGroupRequest& request, const GetLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getLdpsComputeGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::GetLdpsComputeGroupOutcomeCallable HitsdbClient::getLdpsComputeGroupCallable(const GetLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetLdpsComputeGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getLdpsComputeGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::GetLdpsNamespacedQuotaOutcome HitsdbClient::getLdpsNamespacedQuota(const GetLdpsNamespacedQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +519,42 @@ HitsdbClient::GetLindormInstanceListOutcomeCallable HitsdbClient::getLindormInst
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::ListLdpsComputeGroupsOutcome HitsdbClient::listLdpsComputeGroups(const ListLdpsComputeGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListLdpsComputeGroupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListLdpsComputeGroupsOutcome(ListLdpsComputeGroupsResult(outcome.result()));
|
||||
else
|
||||
return ListLdpsComputeGroupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::listLdpsComputeGroupsAsync(const ListLdpsComputeGroupsRequest& request, const ListLdpsComputeGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listLdpsComputeGroups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::ListLdpsComputeGroupsOutcomeCallable HitsdbClient::listLdpsComputeGroupsCallable(const ListLdpsComputeGroupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListLdpsComputeGroupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listLdpsComputeGroups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::ListTagResourcesOutcome HitsdbClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +699,42 @@ HitsdbClient::RenewLindormInstanceOutcomeCallable HitsdbClient::renewLindormInst
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::RestartLdpsComputeGroupOutcome HitsdbClient::restartLdpsComputeGroup(const RestartLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartLdpsComputeGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartLdpsComputeGroupOutcome(RestartLdpsComputeGroupResult(outcome.result()));
|
||||
else
|
||||
return RestartLdpsComputeGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::restartLdpsComputeGroupAsync(const RestartLdpsComputeGroupRequest& request, const RestartLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartLdpsComputeGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::RestartLdpsComputeGroupOutcomeCallable HitsdbClient::restartLdpsComputeGroupCallable(const RestartLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartLdpsComputeGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartLdpsComputeGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::SwitchLSQLV3MySQLServiceOutcome HitsdbClient::switchLSQLV3MySQLService(const SwitchLSQLV3MySQLServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,6 +879,42 @@ HitsdbClient::UpdateInstanceIpWhiteListOutcomeCallable HitsdbClient::updateInsta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::UpdateLdpsComputeGroupOutcome HitsdbClient::updateLdpsComputeGroup(const UpdateLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateLdpsComputeGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateLdpsComputeGroupOutcome(UpdateLdpsComputeGroupResult(outcome.result()));
|
||||
else
|
||||
return UpdateLdpsComputeGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void HitsdbClient::updateLdpsComputeGroupAsync(const UpdateLdpsComputeGroupRequest& request, const UpdateLdpsComputeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateLdpsComputeGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
HitsdbClient::UpdateLdpsComputeGroupOutcomeCallable HitsdbClient::updateLdpsComputeGroupCallable(const UpdateLdpsComputeGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateLdpsComputeGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateLdpsComputeGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
HitsdbClient::UpgradeLindormInstanceOutcome HitsdbClient::upgradeLindormInstance(const UpgradeLindormInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
117
hitsdb/src/model/CreateLdpsComputeGroupRequest.cc
Normal file
117
hitsdb/src/model/CreateLdpsComputeGroupRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/hitsdb/model/CreateLdpsComputeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::CreateLdpsComputeGroupRequest;
|
||||
|
||||
CreateLdpsComputeGroupRequest::CreateLdpsComputeGroupRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "CreateLdpsComputeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateLdpsComputeGroupRequest::~CreateLdpsComputeGroupRequest() {}
|
||||
|
||||
long CreateLdpsComputeGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long CreateLdpsComputeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string CreateLdpsComputeGroupRequest::getProperties() const {
|
||||
return properties_;
|
||||
}
|
||||
|
||||
void CreateLdpsComputeGroupRequest::setProperties(const std::string &properties) {
|
||||
properties_ = properties;
|
||||
setParameter(std::string("Properties"), properties);
|
||||
}
|
||||
|
||||
44
hitsdb/src/model/CreateLdpsComputeGroupResult.cc
Normal file
44
hitsdb/src/model/CreateLdpsComputeGroupResult.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/hitsdb/model/CreateLdpsComputeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
CreateLdpsComputeGroupResult::CreateLdpsComputeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateLdpsComputeGroupResult::CreateLdpsComputeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateLdpsComputeGroupResult::~CreateLdpsComputeGroupResult()
|
||||
{}
|
||||
|
||||
void CreateLdpsComputeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -43,6 +43,15 @@ void CreateLindormInstanceRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getAutoRenewDuration() const {
|
||||
return autoRenewDuration_;
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setAutoRenewDuration(const std::string &autoRenewDuration) {
|
||||
autoRenewDuration_ = autoRenewDuration;
|
||||
setParameter(std::string("AutoRenewDuration"), autoRenewDuration);
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
@@ -61,6 +70,15 @@ void CreateLindormInstanceRequest::setLogSpec(const std::string &logSpec) {
|
||||
setParameter(std::string("LogSpec"), logSpec);
|
||||
}
|
||||
|
||||
bool CreateLindormInstanceRequest::getAutoRenewal() const {
|
||||
return autoRenewal_;
|
||||
}
|
||||
|
||||
void CreateLindormInstanceRequest::setAutoRenewal(bool autoRenewal) {
|
||||
autoRenewal_ = autoRenewal;
|
||||
setParameter(std::string("AutoRenewal"), autoRenewal ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateLindormInstanceRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
108
hitsdb/src/model/DeleteLdpsComputeGroupRequest.cc
Normal file
108
hitsdb/src/model/DeleteLdpsComputeGroupRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/hitsdb/model/DeleteLdpsComputeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::DeleteLdpsComputeGroupRequest;
|
||||
|
||||
DeleteLdpsComputeGroupRequest::DeleteLdpsComputeGroupRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "DeleteLdpsComputeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLdpsComputeGroupRequest::~DeleteLdpsComputeGroupRequest() {}
|
||||
|
||||
long DeleteLdpsComputeGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteLdpsComputeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string DeleteLdpsComputeGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DeleteLdpsComputeGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
hitsdb/src/model/DeleteLdpsComputeGroupResult.cc
Normal file
44
hitsdb/src/model/DeleteLdpsComputeGroupResult.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/hitsdb/model/DeleteLdpsComputeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
DeleteLdpsComputeGroupResult::DeleteLdpsComputeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteLdpsComputeGroupResult::DeleteLdpsComputeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteLdpsComputeGroupResult::~DeleteLdpsComputeGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteLdpsComputeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
99
hitsdb/src/model/GetEngineDefaultAuthRequest.cc
Normal file
99
hitsdb/src/model/GetEngineDefaultAuthRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetEngineDefaultAuthRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetEngineDefaultAuthRequest;
|
||||
|
||||
GetEngineDefaultAuthRequest::GetEngineDefaultAuthRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "GetEngineDefaultAuth") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEngineDefaultAuthRequest::~GetEngineDefaultAuthRequest() {}
|
||||
|
||||
long GetEngineDefaultAuthRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long GetEngineDefaultAuthRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetEngineDefaultAuthRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
68
hitsdb/src/model/GetEngineDefaultAuthResult.cc
Normal file
68
hitsdb/src/model/GetEngineDefaultAuthResult.cc
Normal file
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetEngineDefaultAuthResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
GetEngineDefaultAuthResult::GetEngineDefaultAuthResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetEngineDefaultAuthResult::GetEngineDefaultAuthResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetEngineDefaultAuthResult::~GetEngineDefaultAuthResult()
|
||||
{}
|
||||
|
||||
void GetEngineDefaultAuthResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAuthInfosNode = value["AuthInfos"]["AuthInfo"];
|
||||
for (auto valueAuthInfosAuthInfo : allAuthInfosNode)
|
||||
{
|
||||
AuthInfo authInfosObject;
|
||||
if(!valueAuthInfosAuthInfo["Engine"].isNull())
|
||||
authInfosObject.engine = valueAuthInfosAuthInfo["Engine"].asString();
|
||||
if(!valueAuthInfosAuthInfo["Username"].isNull())
|
||||
authInfosObject.username = valueAuthInfosAuthInfo["Username"].asString();
|
||||
if(!valueAuthInfosAuthInfo["Password"].isNull())
|
||||
authInfosObject.password = valueAuthInfosAuthInfo["Password"].asString();
|
||||
authInfos_.push_back(authInfosObject);
|
||||
}
|
||||
if(!value["InstanceId"].isNull())
|
||||
instanceId_ = value["InstanceId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetEngineDefaultAuthResult::AuthInfo> GetEngineDefaultAuthResult::getAuthInfos()const
|
||||
{
|
||||
return authInfos_;
|
||||
}
|
||||
|
||||
std::string GetEngineDefaultAuthResult::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
108
hitsdb/src/model/GetLdpsComputeGroupRequest.cc
Normal file
108
hitsdb/src/model/GetLdpsComputeGroupRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/hitsdb/model/GetLdpsComputeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::GetLdpsComputeGroupRequest;
|
||||
|
||||
GetLdpsComputeGroupRequest::GetLdpsComputeGroupRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "GetLdpsComputeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLdpsComputeGroupRequest::~GetLdpsComputeGroupRequest() {}
|
||||
|
||||
long GetLdpsComputeGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long GetLdpsComputeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetLdpsComputeGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
58
hitsdb/src/model/GetLdpsComputeGroupResult.cc
Normal file
58
hitsdb/src/model/GetLdpsComputeGroupResult.cc
Normal file
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/GetLdpsComputeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
GetLdpsComputeGroupResult::GetLdpsComputeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetLdpsComputeGroupResult::GetLdpsComputeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetLdpsComputeGroupResult::~GetLdpsComputeGroupResult()
|
||||
{}
|
||||
|
||||
void GetLdpsComputeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["GroupName"].isNull())
|
||||
groupName_ = value["GroupName"].asString();
|
||||
if(!value["Properties"].isNull())
|
||||
properties_ = value["Properties"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupResult::getGroupName()const
|
||||
{
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
std::string GetLdpsComputeGroupResult::getProperties()const
|
||||
{
|
||||
return properties_;
|
||||
}
|
||||
|
||||
99
hitsdb/src/model/ListLdpsComputeGroupsRequest.cc
Normal file
99
hitsdb/src/model/ListLdpsComputeGroupsRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ListLdpsComputeGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::ListLdpsComputeGroupsRequest;
|
||||
|
||||
ListLdpsComputeGroupsRequest::ListLdpsComputeGroupsRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "ListLdpsComputeGroups") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListLdpsComputeGroupsRequest::~ListLdpsComputeGroupsRequest() {}
|
||||
|
||||
long ListLdpsComputeGroupsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListLdpsComputeGroupsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListLdpsComputeGroupsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ListLdpsComputeGroupsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ListLdpsComputeGroupsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListLdpsComputeGroupsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ListLdpsComputeGroupsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListLdpsComputeGroupsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListLdpsComputeGroupsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
59
hitsdb/src/model/ListLdpsComputeGroupsResult.cc
Normal file
59
hitsdb/src/model/ListLdpsComputeGroupsResult.cc
Normal file
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/hitsdb/model/ListLdpsComputeGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
ListLdpsComputeGroupsResult::ListLdpsComputeGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListLdpsComputeGroupsResult::ListLdpsComputeGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListLdpsComputeGroupsResult::~ListLdpsComputeGroupsResult()
|
||||
{}
|
||||
|
||||
void ListLdpsComputeGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allGroupListNode = value["GroupList"]["ComputeGroup"];
|
||||
for (auto valueGroupListComputeGroup : allGroupListNode)
|
||||
{
|
||||
ComputeGroup groupListObject;
|
||||
if(!valueGroupListComputeGroup["GroupName"].isNull())
|
||||
groupListObject.groupName = valueGroupListComputeGroup["GroupName"].asString();
|
||||
if(!valueGroupListComputeGroup["Properties"].isNull())
|
||||
groupListObject.properties = valueGroupListComputeGroup["Properties"].asString();
|
||||
groupList_.push_back(groupListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<ListLdpsComputeGroupsResult::ComputeGroup> ListLdpsComputeGroupsResult::getGroupList()const
|
||||
{
|
||||
return groupList_;
|
||||
}
|
||||
|
||||
108
hitsdb/src/model/RestartLdpsComputeGroupRequest.cc
Normal file
108
hitsdb/src/model/RestartLdpsComputeGroupRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/hitsdb/model/RestartLdpsComputeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::RestartLdpsComputeGroupRequest;
|
||||
|
||||
RestartLdpsComputeGroupRequest::RestartLdpsComputeGroupRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "RestartLdpsComputeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RestartLdpsComputeGroupRequest::~RestartLdpsComputeGroupRequest() {}
|
||||
|
||||
long RestartLdpsComputeGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long RestartLdpsComputeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string RestartLdpsComputeGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void RestartLdpsComputeGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
hitsdb/src/model/RestartLdpsComputeGroupResult.cc
Normal file
44
hitsdb/src/model/RestartLdpsComputeGroupResult.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/hitsdb/model/RestartLdpsComputeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
RestartLdpsComputeGroupResult::RestartLdpsComputeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RestartLdpsComputeGroupResult::RestartLdpsComputeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RestartLdpsComputeGroupResult::~RestartLdpsComputeGroupResult()
|
||||
{}
|
||||
|
||||
void RestartLdpsComputeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
117
hitsdb/src/model/UpdateLdpsComputeGroupRequest.cc
Normal file
117
hitsdb/src/model/UpdateLdpsComputeGroupRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/hitsdb/model/UpdateLdpsComputeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Hitsdb::Model::UpdateLdpsComputeGroupRequest;
|
||||
|
||||
UpdateLdpsComputeGroupRequest::UpdateLdpsComputeGroupRequest()
|
||||
: RpcServiceRequest("hitsdb", "2020-06-15", "UpdateLdpsComputeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UpdateLdpsComputeGroupRequest::~UpdateLdpsComputeGroupRequest() {}
|
||||
|
||||
long UpdateLdpsComputeGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long UpdateLdpsComputeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getGroupName() const {
|
||||
return groupName_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setGroupName(const std::string &groupName) {
|
||||
groupName_ = groupName;
|
||||
setParameter(std::string("GroupName"), groupName);
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string UpdateLdpsComputeGroupRequest::getProperties() const {
|
||||
return properties_;
|
||||
}
|
||||
|
||||
void UpdateLdpsComputeGroupRequest::setProperties(const std::string &properties) {
|
||||
properties_ = properties;
|
||||
setParameter(std::string("Properties"), properties);
|
||||
}
|
||||
|
||||
44
hitsdb/src/model/UpdateLdpsComputeGroupResult.cc
Normal file
44
hitsdb/src/model/UpdateLdpsComputeGroupResult.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/hitsdb/model/UpdateLdpsComputeGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Hitsdb;
|
||||
using namespace AlibabaCloud::Hitsdb::Model;
|
||||
|
||||
UpdateLdpsComputeGroupResult::UpdateLdpsComputeGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateLdpsComputeGroupResult::UpdateLdpsComputeGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateLdpsComputeGroupResult::~UpdateLdpsComputeGroupResult()
|
||||
{}
|
||||
|
||||
void UpdateLdpsComputeGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user