Support upgrade.

This commit is contained in:
sdk-team
2021-05-31 02:22:09 +00:00
parent a85bc74388
commit 216a31ec31
120 changed files with 7987 additions and 73 deletions

View File

@@ -22,20 +22,70 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DBFSExport.h"
#include "model/AddTagsBatchRequest.h"
#include "model/AddTagsBatchResult.h"
#include "model/AttachDbfsRequest.h"
#include "model/AttachDbfsResult.h"
#include "model/CreateConstantsRequest.h"
#include "model/CreateConstantsResult.h"
#include "model/CreateDbfsRequest.h"
#include "model/CreateDbfsResult.h"
#include "model/CreateServiceLinkedRoleRequest.h"
#include "model/CreateServiceLinkedRoleResult.h"
#include "model/CreateSnapshotRequest.h"
#include "model/CreateSnapshotResult.h"
#include "model/DbfsRecordRequest.h"
#include "model/DbfsRecordResult.h"
#include "model/DeleteConstantsRequest.h"
#include "model/DeleteConstantsResult.h"
#include "model/DeleteDbfsRequest.h"
#include "model/DeleteDbfsResult.h"
#include "model/DeleteSnapshotRequest.h"
#include "model/DeleteSnapshotResult.h"
#include "model/DeleteTagsBatchRequest.h"
#include "model/DeleteTagsBatchResult.h"
#include "model/DetachDbfsRequest.h"
#include "model/DetachDbfsResult.h"
#include "model/GenerateUpgradeRecordRequest.h"
#include "model/GenerateUpgradeRecordResult.h"
#include "model/GetDbfsRequest.h"
#include "model/GetDbfsResult.h"
#include "model/GetServiceLinkedRoleRequest.h"
#include "model/GetServiceLinkedRoleResult.h"
#include "model/GetSynchronizConstantsRequest.h"
#include "model/GetSynchronizConstantsResult.h"
#include "model/InsertSynchronizConstantsRequest.h"
#include "model/InsertSynchronizConstantsResult.h"
#include "model/ListConstantsRequest.h"
#include "model/ListConstantsResult.h"
#include "model/ListDbfsRequest.h"
#include "model/ListDbfsResult.h"
#include "model/ListSnapshotRequest.h"
#include "model/ListSnapshotResult.h"
#include "model/ListTagKeysRequest.h"
#include "model/ListTagKeysResult.h"
#include "model/ListTagValuesRequest.h"
#include "model/ListTagValuesResult.h"
#include "model/ListTaskRequest.h"
#include "model/ListTaskResult.h"
#include "model/OpreateConstantsRequest.h"
#include "model/OpreateConstantsResult.h"
#include "model/PublishUpgradeTaskRequest.h"
#include "model/PublishUpgradeTaskResult.h"
#include "model/RenameDbfsRequest.h"
#include "model/RenameDbfsResult.h"
#include "model/ResetDbfsRequest.h"
#include "model/ResetDbfsResult.h"
#include "model/ResizeDbfsRequest.h"
#include "model/ResizeDbfsResult.h"
#include "model/StopUpgradeTaskRequest.h"
#include "model/StopUpgradeTaskResult.h"
#include "model/TagDbfsRequest.h"
#include "model/TagDbfsResult.h"
#include "model/UpdateConstantsRequest.h"
#include "model/UpdateConstantsResult.h"
#include "model/UpdateTaskRequest.h"
#include "model/UpdateTaskResult.h"
namespace AlibabaCloud
@@ -45,53 +95,203 @@ namespace AlibabaCloud
class ALIBABACLOUD_DBFS_EXPORT DBFSClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddTagsBatchResult> AddTagsBatchOutcome;
typedef std::future<AddTagsBatchOutcome> AddTagsBatchOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::AddTagsBatchRequest&, const AddTagsBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddTagsBatchAsyncHandler;
typedef Outcome<Error, Model::AttachDbfsResult> AttachDbfsOutcome;
typedef std::future<AttachDbfsOutcome> AttachDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::AttachDbfsRequest&, const AttachDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDbfsAsyncHandler;
typedef Outcome<Error, Model::CreateConstantsResult> CreateConstantsOutcome;
typedef std::future<CreateConstantsOutcome> CreateConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::CreateConstantsRequest&, const CreateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConstantsAsyncHandler;
typedef Outcome<Error, Model::CreateDbfsResult> CreateDbfsOutcome;
typedef std::future<CreateDbfsOutcome> CreateDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::CreateDbfsRequest&, const CreateDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDbfsAsyncHandler;
typedef Outcome<Error, Model::CreateServiceLinkedRoleResult> CreateServiceLinkedRoleOutcome;
typedef std::future<CreateServiceLinkedRoleOutcome> CreateServiceLinkedRoleOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::CreateServiceLinkedRoleRequest&, const CreateServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceLinkedRoleAsyncHandler;
typedef Outcome<Error, Model::CreateSnapshotResult> CreateSnapshotOutcome;
typedef std::future<CreateSnapshotOutcome> CreateSnapshotOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::CreateSnapshotRequest&, const CreateSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSnapshotAsyncHandler;
typedef Outcome<Error, Model::DbfsRecordResult> DbfsRecordOutcome;
typedef std::future<DbfsRecordOutcome> DbfsRecordOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::DbfsRecordRequest&, const DbfsRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DbfsRecordAsyncHandler;
typedef Outcome<Error, Model::DeleteConstantsResult> DeleteConstantsOutcome;
typedef std::future<DeleteConstantsOutcome> DeleteConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::DeleteConstantsRequest&, const DeleteConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConstantsAsyncHandler;
typedef Outcome<Error, Model::DeleteDbfsResult> DeleteDbfsOutcome;
typedef std::future<DeleteDbfsOutcome> DeleteDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::DeleteDbfsRequest&, const DeleteDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDbfsAsyncHandler;
typedef Outcome<Error, Model::DeleteSnapshotResult> DeleteSnapshotOutcome;
typedef std::future<DeleteSnapshotOutcome> DeleteSnapshotOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::DeleteSnapshotRequest&, const DeleteSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSnapshotAsyncHandler;
typedef Outcome<Error, Model::DeleteTagsBatchResult> DeleteTagsBatchOutcome;
typedef std::future<DeleteTagsBatchOutcome> DeleteTagsBatchOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::DeleteTagsBatchRequest&, const DeleteTagsBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagsBatchAsyncHandler;
typedef Outcome<Error, Model::DetachDbfsResult> DetachDbfsOutcome;
typedef std::future<DetachDbfsOutcome> DetachDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::DetachDbfsRequest&, const DetachDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetachDbfsAsyncHandler;
typedef Outcome<Error, Model::GenerateUpgradeRecordResult> GenerateUpgradeRecordOutcome;
typedef std::future<GenerateUpgradeRecordOutcome> GenerateUpgradeRecordOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::GenerateUpgradeRecordRequest&, const GenerateUpgradeRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateUpgradeRecordAsyncHandler;
typedef Outcome<Error, Model::GetDbfsResult> GetDbfsOutcome;
typedef std::future<GetDbfsOutcome> GetDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::GetDbfsRequest&, const GetDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDbfsAsyncHandler;
typedef Outcome<Error, Model::GetServiceLinkedRoleResult> GetServiceLinkedRoleOutcome;
typedef std::future<GetServiceLinkedRoleOutcome> GetServiceLinkedRoleOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::GetServiceLinkedRoleRequest&, const GetServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceLinkedRoleAsyncHandler;
typedef Outcome<Error, Model::GetSynchronizConstantsResult> GetSynchronizConstantsOutcome;
typedef std::future<GetSynchronizConstantsOutcome> GetSynchronizConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::GetSynchronizConstantsRequest&, const GetSynchronizConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSynchronizConstantsAsyncHandler;
typedef Outcome<Error, Model::InsertSynchronizConstantsResult> InsertSynchronizConstantsOutcome;
typedef std::future<InsertSynchronizConstantsOutcome> InsertSynchronizConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::InsertSynchronizConstantsRequest&, const InsertSynchronizConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InsertSynchronizConstantsAsyncHandler;
typedef Outcome<Error, Model::ListConstantsResult> ListConstantsOutcome;
typedef std::future<ListConstantsOutcome> ListConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ListConstantsRequest&, const ListConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConstantsAsyncHandler;
typedef Outcome<Error, Model::ListDbfsResult> ListDbfsOutcome;
typedef std::future<ListDbfsOutcome> ListDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ListDbfsRequest&, const ListDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDbfsAsyncHandler;
typedef Outcome<Error, Model::ListSnapshotResult> ListSnapshotOutcome;
typedef std::future<ListSnapshotOutcome> ListSnapshotOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ListSnapshotRequest&, const ListSnapshotOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSnapshotAsyncHandler;
typedef Outcome<Error, Model::ListTagKeysResult> ListTagKeysOutcome;
typedef std::future<ListTagKeysOutcome> ListTagKeysOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ListTagKeysRequest&, const ListTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagKeysAsyncHandler;
typedef Outcome<Error, Model::ListTagValuesResult> ListTagValuesOutcome;
typedef std::future<ListTagValuesOutcome> ListTagValuesOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ListTagValuesRequest&, const ListTagValuesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagValuesAsyncHandler;
typedef Outcome<Error, Model::ListTaskResult> ListTaskOutcome;
typedef std::future<ListTaskOutcome> ListTaskOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ListTaskRequest&, const ListTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTaskAsyncHandler;
typedef Outcome<Error, Model::OpreateConstantsResult> OpreateConstantsOutcome;
typedef std::future<OpreateConstantsOutcome> OpreateConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::OpreateConstantsRequest&, const OpreateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpreateConstantsAsyncHandler;
typedef Outcome<Error, Model::PublishUpgradeTaskResult> PublishUpgradeTaskOutcome;
typedef std::future<PublishUpgradeTaskOutcome> PublishUpgradeTaskOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::PublishUpgradeTaskRequest&, const PublishUpgradeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishUpgradeTaskAsyncHandler;
typedef Outcome<Error, Model::RenameDbfsResult> RenameDbfsOutcome;
typedef std::future<RenameDbfsOutcome> RenameDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::RenameDbfsRequest&, const RenameDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameDbfsAsyncHandler;
typedef Outcome<Error, Model::ResetDbfsResult> ResetDbfsOutcome;
typedef std::future<ResetDbfsOutcome> ResetDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ResetDbfsRequest&, const ResetDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetDbfsAsyncHandler;
typedef Outcome<Error, Model::ResizeDbfsResult> ResizeDbfsOutcome;
typedef std::future<ResizeDbfsOutcome> ResizeDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::ResizeDbfsRequest&, const ResizeDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResizeDbfsAsyncHandler;
typedef Outcome<Error, Model::StopUpgradeTaskResult> StopUpgradeTaskOutcome;
typedef std::future<StopUpgradeTaskOutcome> StopUpgradeTaskOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::StopUpgradeTaskRequest&, const StopUpgradeTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopUpgradeTaskAsyncHandler;
typedef Outcome<Error, Model::TagDbfsResult> TagDbfsOutcome;
typedef std::future<TagDbfsOutcome> TagDbfsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::TagDbfsRequest&, const TagDbfsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagDbfsAsyncHandler;
typedef Outcome<Error, Model::UpdateConstantsResult> UpdateConstantsOutcome;
typedef std::future<UpdateConstantsOutcome> UpdateConstantsOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::UpdateConstantsRequest&, const UpdateConstantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConstantsAsyncHandler;
typedef Outcome<Error, Model::UpdateTaskResult> UpdateTaskOutcome;
typedef std::future<UpdateTaskOutcome> UpdateTaskOutcomeCallable;
typedef std::function<void(const DBFSClient*, const Model::UpdateTaskRequest&, const UpdateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateTaskAsyncHandler;
DBFSClient(const Credentials &credentials, const ClientConfiguration &configuration);
DBFSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DBFSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DBFSClient();
AddTagsBatchOutcome addTagsBatch(const Model::AddTagsBatchRequest &request)const;
void addTagsBatchAsync(const Model::AddTagsBatchRequest& request, const AddTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddTagsBatchOutcomeCallable addTagsBatchCallable(const Model::AddTagsBatchRequest& request) const;
AttachDbfsOutcome attachDbfs(const Model::AttachDbfsRequest &request)const;
void attachDbfsAsync(const Model::AttachDbfsRequest& request, const AttachDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AttachDbfsOutcomeCallable attachDbfsCallable(const Model::AttachDbfsRequest& request) const;
CreateConstantsOutcome createConstants(const Model::CreateConstantsRequest &request)const;
void createConstantsAsync(const Model::CreateConstantsRequest& request, const CreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateConstantsOutcomeCallable createConstantsCallable(const Model::CreateConstantsRequest& request) const;
CreateDbfsOutcome createDbfs(const Model::CreateDbfsRequest &request)const;
void createDbfsAsync(const Model::CreateDbfsRequest& request, const CreateDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDbfsOutcomeCallable createDbfsCallable(const Model::CreateDbfsRequest& request) const;
CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const;
void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const;
CreateSnapshotOutcome createSnapshot(const Model::CreateSnapshotRequest &request)const;
void createSnapshotAsync(const Model::CreateSnapshotRequest& request, const CreateSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSnapshotOutcomeCallable createSnapshotCallable(const Model::CreateSnapshotRequest& request) const;
DbfsRecordOutcome dbfsRecord(const Model::DbfsRecordRequest &request)const;
void dbfsRecordAsync(const Model::DbfsRecordRequest& request, const DbfsRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DbfsRecordOutcomeCallable dbfsRecordCallable(const Model::DbfsRecordRequest& request) const;
DeleteConstantsOutcome deleteConstants(const Model::DeleteConstantsRequest &request)const;
void deleteConstantsAsync(const Model::DeleteConstantsRequest& request, const DeleteConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteConstantsOutcomeCallable deleteConstantsCallable(const Model::DeleteConstantsRequest& request) const;
DeleteDbfsOutcome deleteDbfs(const Model::DeleteDbfsRequest &request)const;
void deleteDbfsAsync(const Model::DeleteDbfsRequest& request, const DeleteDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDbfsOutcomeCallable deleteDbfsCallable(const Model::DeleteDbfsRequest& request) const;
DeleteSnapshotOutcome deleteSnapshot(const Model::DeleteSnapshotRequest &request)const;
void deleteSnapshotAsync(const Model::DeleteSnapshotRequest& request, const DeleteSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSnapshotOutcomeCallable deleteSnapshotCallable(const Model::DeleteSnapshotRequest& request) const;
DeleteTagsBatchOutcome deleteTagsBatch(const Model::DeleteTagsBatchRequest &request)const;
void deleteTagsBatchAsync(const Model::DeleteTagsBatchRequest& request, const DeleteTagsBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagsBatchOutcomeCallable deleteTagsBatchCallable(const Model::DeleteTagsBatchRequest& request) const;
DetachDbfsOutcome detachDbfs(const Model::DetachDbfsRequest &request)const;
void detachDbfsAsync(const Model::DetachDbfsRequest& request, const DetachDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetachDbfsOutcomeCallable detachDbfsCallable(const Model::DetachDbfsRequest& request) const;
GenerateUpgradeRecordOutcome generateUpgradeRecord(const Model::GenerateUpgradeRecordRequest &request)const;
void generateUpgradeRecordAsync(const Model::GenerateUpgradeRecordRequest& request, const GenerateUpgradeRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateUpgradeRecordOutcomeCallable generateUpgradeRecordCallable(const Model::GenerateUpgradeRecordRequest& request) const;
GetDbfsOutcome getDbfs(const Model::GetDbfsRequest &request)const;
void getDbfsAsync(const Model::GetDbfsRequest& request, const GetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDbfsOutcomeCallable getDbfsCallable(const Model::GetDbfsRequest& request) const;
GetServiceLinkedRoleOutcome getServiceLinkedRole(const Model::GetServiceLinkedRoleRequest &request)const;
void getServiceLinkedRoleAsync(const Model::GetServiceLinkedRoleRequest& request, const GetServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceLinkedRoleOutcomeCallable getServiceLinkedRoleCallable(const Model::GetServiceLinkedRoleRequest& request) const;
GetSynchronizConstantsOutcome getSynchronizConstants(const Model::GetSynchronizConstantsRequest &request)const;
void getSynchronizConstantsAsync(const Model::GetSynchronizConstantsRequest& request, const GetSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSynchronizConstantsOutcomeCallable getSynchronizConstantsCallable(const Model::GetSynchronizConstantsRequest& request) const;
InsertSynchronizConstantsOutcome insertSynchronizConstants(const Model::InsertSynchronizConstantsRequest &request)const;
void insertSynchronizConstantsAsync(const Model::InsertSynchronizConstantsRequest& request, const InsertSynchronizConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
InsertSynchronizConstantsOutcomeCallable insertSynchronizConstantsCallable(const Model::InsertSynchronizConstantsRequest& request) const;
ListConstantsOutcome listConstants(const Model::ListConstantsRequest &request)const;
void listConstantsAsync(const Model::ListConstantsRequest& request, const ListConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListConstantsOutcomeCallable listConstantsCallable(const Model::ListConstantsRequest& request) const;
ListDbfsOutcome listDbfs(const Model::ListDbfsRequest &request)const;
void listDbfsAsync(const Model::ListDbfsRequest& request, const ListDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDbfsOutcomeCallable listDbfsCallable(const Model::ListDbfsRequest& request) const;
ListSnapshotOutcome listSnapshot(const Model::ListSnapshotRequest &request)const;
void listSnapshotAsync(const Model::ListSnapshotRequest& request, const ListSnapshotAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSnapshotOutcomeCallable listSnapshotCallable(const Model::ListSnapshotRequest& request) const;
ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const;
void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const;
ListTagValuesOutcome listTagValues(const Model::ListTagValuesRequest &request)const;
void listTagValuesAsync(const Model::ListTagValuesRequest& request, const ListTagValuesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagValuesOutcomeCallable listTagValuesCallable(const Model::ListTagValuesRequest& request) const;
ListTaskOutcome listTask(const Model::ListTaskRequest &request)const;
void listTaskAsync(const Model::ListTaskRequest& request, const ListTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTaskOutcomeCallable listTaskCallable(const Model::ListTaskRequest& request) const;
OpreateConstantsOutcome opreateConstants(const Model::OpreateConstantsRequest &request)const;
void opreateConstantsAsync(const Model::OpreateConstantsRequest& request, const OpreateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpreateConstantsOutcomeCallable opreateConstantsCallable(const Model::OpreateConstantsRequest& request) const;
PublishUpgradeTaskOutcome publishUpgradeTask(const Model::PublishUpgradeTaskRequest &request)const;
void publishUpgradeTaskAsync(const Model::PublishUpgradeTaskRequest& request, const PublishUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishUpgradeTaskOutcomeCallable publishUpgradeTaskCallable(const Model::PublishUpgradeTaskRequest& request) const;
RenameDbfsOutcome renameDbfs(const Model::RenameDbfsRequest &request)const;
void renameDbfsAsync(const Model::RenameDbfsRequest& request, const RenameDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenameDbfsOutcomeCallable renameDbfsCallable(const Model::RenameDbfsRequest& request) const;
ResetDbfsOutcome resetDbfs(const Model::ResetDbfsRequest &request)const;
void resetDbfsAsync(const Model::ResetDbfsRequest& request, const ResetDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResetDbfsOutcomeCallable resetDbfsCallable(const Model::ResetDbfsRequest& request) const;
ResizeDbfsOutcome resizeDbfs(const Model::ResizeDbfsRequest &request)const;
void resizeDbfsAsync(const Model::ResizeDbfsRequest& request, const ResizeDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResizeDbfsOutcomeCallable resizeDbfsCallable(const Model::ResizeDbfsRequest& request) const;
StopUpgradeTaskOutcome stopUpgradeTask(const Model::StopUpgradeTaskRequest &request)const;
void stopUpgradeTaskAsync(const Model::StopUpgradeTaskRequest& request, const StopUpgradeTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopUpgradeTaskOutcomeCallable stopUpgradeTaskCallable(const Model::StopUpgradeTaskRequest& request) const;
TagDbfsOutcome tagDbfs(const Model::TagDbfsRequest &request)const;
void tagDbfsAsync(const Model::TagDbfsRequest& request, const TagDbfsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagDbfsOutcomeCallable tagDbfsCallable(const Model::TagDbfsRequest& request) const;
UpdateConstantsOutcome updateConstants(const Model::UpdateConstantsRequest &request)const;
void updateConstantsAsync(const Model::UpdateConstantsRequest& request, const UpdateConstantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateConstantsOutcomeCallable updateConstantsCallable(const Model::UpdateConstantsRequest& request) const;
UpdateTaskOutcome updateTask(const Model::UpdateTaskRequest &request)const;
void updateTaskAsync(const Model::UpdateTaskRequest& request, const UpdateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateTaskOutcomeCallable updateTaskCallable(const Model::UpdateTaskRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT AddTagsBatchRequest : public RpcServiceRequest
{
public:
AddTagsBatchRequest();
~AddTagsBatchRequest();
std::string getDbfsList()const;
void setDbfsList(const std::string& dbfsList);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string dbfsList_;
std::string clientToken_;
std::string tags_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_ADDTAGSBATCHREQUEST_H_

View File

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

View File

@@ -39,12 +39,15 @@ namespace AlibabaCloud
void setECSInstanceId(const std::string& eCSInstanceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServerUrl()const;
void setServerUrl(const std::string& serverUrl);
std::string getFsId()const;
void setFsId(const std::string& fsId);
private:
std::string eCSInstanceId_;
std::string regionId_;
std::string serverUrl_;
std::string fsId_;
};

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT CreateConstantsRequest : public RpcServiceRequest
{
public:
CreateConstantsRequest();
~CreateConstantsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getConstantsData()const;
void setConstantsData(const std::string& constantsData);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string regionId_;
std::string constantsData_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATECONSTANTSREQUEST_H_

View File

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

View File

@@ -37,24 +37,48 @@ namespace AlibabaCloud
int getSizeG()const;
void setSizeG(int sizeG);
std::string getSnapshotId()const;
void setSnapshotId(const std::string& snapshotId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getUsedScene()const;
void setUsedScene(const std::string& usedScene);
std::string getFsName()const;
void setFsName(const std::string& fsName);
int getRaidStripeUnitNumber()const;
void setRaidStripeUnitNumber(int raidStripeUnitNumber);
bool getEncryption()const;
void setEncryption(bool encryption);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getPerformanceLevel()const;
void setPerformanceLevel(const std::string& performanceLevel);
bool getEnableRaid()const;
void setEnableRaid(bool enableRaid);
bool getDeleteSnapshot()const;
void setDeleteSnapshot(bool deleteSnapshot);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getCategory()const;
void setCategory(const std::string& category);
std::string getKMSKeyId()const;
void setKMSKeyId(const std::string& kMSKeyId);
private:
int sizeG_;
std::string snapshotId_;
std::string clientToken_;
std::string usedScene_;
std::string fsName_;
int raidStripeUnitNumber_;
bool encryption_;
std::string regionId_;
std::string performanceLevel_;
bool enableRaid_;
bool deleteSnapshot_;
std::string zoneId_;
std::string category_;
std::string kMSKeyId_;
};
}

View File

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

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT CreateSnapshotRequest : public RpcServiceRequest
{
public:
CreateSnapshotRequest();
~CreateSnapshotRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSnapshotName()const;
void setSnapshotName(const std::string& snapshotName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getFsId()const;
void setFsId(const std::string& fsId);
int getRetentionDays()const;
void setRetentionDays(int retentionDays);
private:
std::string clientToken_;
std::string description_;
std::string snapshotName_;
std::string regionId_;
std::string fsId_;
int retentionDays_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATESNAPSHOTREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_DBFSRECORDREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_DBFSRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT DbfsRecordRequest : public RpcServiceRequest
{
public:
DbfsRecordRequest();
~DbfsRecordRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getBatchStrategyNo()const;
void setBatchStrategyNo(const std::string& batchStrategyNo);
private:
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string batchStrategyNo_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_DBFSRECORDREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_DBFSRECORDRESULT_H_
#define ALIBABACLOUD_DBFS_MODEL_DBFSRECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT DbfsRecordResult : public ServiceResult
{
public:
struct RecordsItem
{
std::string targetVersion;
std::string accountId;
std::string taskId;
std::string zoneId;
std::string currentVersion;
long createTime;
std::string ecsId;
std::string taskErrorReason;
std::string batchStrategyNo;
long upgradeEndTime;
std::string state;
std::string dbfsId;
long updateTime;
long id;
std::string regionId;
long upgradeStartTime;
std::string isDel;
int taskExecutionCounts;
};
DbfsRecordResult();
explicit DbfsRecordResult(const std::string &payload);
~DbfsRecordResult();
std::vector<RecordsItem> getRecords()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RecordsItem> records_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_DBFSRECORDRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT DeleteConstantsRequest : public RpcServiceRequest
{
public:
DeleteConstantsRequest();
~DeleteConstantsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getConstantsData()const;
void setConstantsData(const std::string& constantsData);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string regionId_;
std::string constantsData_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETECONSTANTSREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT DeleteSnapshotRequest : public RpcServiceRequest
{
public:
DeleteSnapshotRequest();
~DeleteSnapshotRequest();
std::string getSnapshotId()const;
void setSnapshotId(const std::string& snapshotId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getForce()const;
void setForce(bool force);
private:
std::string snapshotId_;
std::string regionId_;
bool force_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETESNAPSHOTREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT DeleteTagsBatchRequest : public RpcServiceRequest
{
public:
DeleteTagsBatchRequest();
~DeleteTagsBatchRequest();
std::string getDbfsList()const;
void setDbfsList(const std::string& dbfsList);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string dbfsList_;
std::string tags_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETETAGSBATCHREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT GenerateUpgradeRecordRequest : public RpcServiceRequest
{
public:
GenerateUpgradeRecordRequest();
~GenerateUpgradeRecordRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getBatchStrategyList()const;
void setBatchStrategyList(const std::string& batchStrategyList);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string batchStrategyList_;
std::string regionId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDRESULT_H_
#define ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT GenerateUpgradeRecordResult : public ServiceResult
{
public:
struct RecordsItem
{
std::string targetVersion;
std::string accountId;
std::string taskId;
std::string zoneId;
std::string currentVersion;
long createTime;
std::string ecsId;
std::string taskErrorReason;
std::string batchStrategyNo;
long upgradeEndTime;
std::string state;
std::string dbfsId;
long updateTime;
long id;
std::string regionId;
long upgradeStartTime;
int taskExecutionCounts;
};
GenerateUpgradeRecordResult();
explicit GenerateUpgradeRecordResult(const std::string &payload);
~GenerateUpgradeRecordResult();
std::vector<RecordsItem> getRecords()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RecordsItem> records_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_GENERATEUPGRADERECORDRESULT_H_

View File

@@ -32,30 +32,58 @@ namespace AlibabaCloud
class ALIBABACLOUD_DBFS_EXPORT GetDbfsResult : public ServiceResult
{
public:
struct Info
struct DBFSInfo
{
struct TagList
{
std::string tagKey;
int id;
std::string tagValue;
};
struct EcsListItem
{
std::string ecsId;
};
struct EbsListItem
{
int sizeG;
std::string ebsId;
};
std::string status;
std::string description;
std::string category;
std::string fsName;
std::string createdTime;
std::string kMSKeyId;
std::string zoneId;
bool enableRaid;
std::vector<EcsListItem> ecsList;
int sizeG;
std::string dBFSClusterId;
std::string performanceLevel;
std::string fsId;
std::string dBFSClusterId;
std::string payType;
bool encryption;
std::string lastUmountTime;
std::string fsName;
std::vector<EbsListItem> ebsList;
std::string usedScene;
int raidStrip;
std::string lastMountTime;
std::string regionId;
int attachNodeNumber;
std::string payType;
std::vector<TagList> tags;
};
GetDbfsResult();
explicit GetDbfsResult(const std::string &payload);
~GetDbfsResult();
std::vector<Info> getDBFSInfo()const;
DBFSInfo getDBFSInfo()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Info> dBFSInfo_;
DBFSInfo dBFSInfo_;
};
}

View File

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

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT GetSynchronizConstantsRequest : public RpcServiceRequest
{
public:
GetSynchronizConstantsRequest();
~GetSynchronizConstantsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string regionId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSRESULT_H_
#define ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT GetSynchronizConstantsResult : public ServiceResult
{
public:
GetSynchronizConstantsResult();
explicit GetSynchronizConstantsResult(const std::string &payload);
~GetSynchronizConstantsResult();
long getTotalCount()const;
std::string getMasterData()const;
long getPageSize()const;
std::string getZoneData()const;
long getPageNumber()const;
std::string getAccessData()const;
std::string getProductCodeData()const;
std::string getOsversionData()const;
std::string getData()const;
std::string getRegionData()const;
std::string getEndpointData()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string masterData_;
long pageSize_;
std::string zoneData_;
long pageNumber_;
std::string accessData_;
std::string productCodeData_;
std::string osversionData_;
std::string data_;
std::string regionData_;
std::string endpointData_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_GETSYNCHRONIZCONSTANTSRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT InsertSynchronizConstantsRequest : public RpcServiceRequest
{
public:
InsertSynchronizConstantsRequest();
~InsertSynchronizConstantsRequest();
std::string getZoneData()const;
void setZoneData(const std::string& zoneData);
std::string getOsversionData()const;
void setOsversionData(const std::string& osversionData);
std::string getEndpointData()const;
void setEndpointData(const std::string& endpointData);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getMasterData()const;
void setMasterData(const std::string& masterData);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getProductCodeData()const;
void setProductCodeData(const std::string& productCodeData);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getAccessData()const;
void setAccessData(const std::string& accessData);
std::string getRegionData()const;
void setRegionData(const std::string& regionData);
private:
std::string zoneData_;
std::string osversionData_;
std::string endpointData_;
int pageNumber_;
std::string masterData_;
std::string regionId_;
std::string productCodeData_;
int pageSize_;
std::string accessData_;
std::string regionData_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_INSERTSYNCHRONIZCONSTANTSREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT ListConstantsRequest : public RpcServiceRequest
{
public:
ListConstantsRequest();
~ListConstantsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getConstantsData()const;
void setConstantsData(const std::string& constantsData);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string regionId_;
std::string constantsData_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTCONSTANTSREQUEST_H_

View File

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

View File

@@ -35,11 +35,32 @@ namespace AlibabaCloud
ListDbfsRequest();
~ListDbfsRequest();
std::string getSortType()const;
void setSortType(const std::string& sortType);
std::string getFilterValue()const;
void setFilterValue(const std::string& filterValue);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getFilterKey()const;
void setFilterKey(const std::string& filterKey);
std::string getSortKey()const;
void setSortKey(const std::string& sortKey);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string sortType_;
std::string filterValue_;
int pageNumber_;
std::string tags_;
std::string filterKey_;
std::string sortKey_;
std::string regionId_;
int pageSize_;
};
}

View File

@@ -34,16 +34,43 @@ namespace AlibabaCloud
public:
struct Info
{
struct TagList
{
std::string tagKey;
long id;
std::string tagValue;
};
struct EcsListItem
{
std::string ecsId;
};
struct EbsListItem
{
int sizeG;
std::string ebsId;
};
std::string status;
std::string category;
std::string fsName;
std::string createdTime;
std::string kMSKeyId;
std::string zoneId;
bool enableRaid;
std::vector<Info::EcsListItem> ecsList;
int sizeG;
std::string dBFSClusterId;
std::string performanceLevel;
std::string fsId;
std::string dBFSClusterId;
bool encryption;
std::string payType;
std::string lastUmountTime;
std::string fsName;
std::vector<Info::EbsListItem> ebsList;
std::string usedScene;
int raidStrip;
std::string lastMountTime;
std::string regionId;
int attachNodeNumber;
std::string payType;
std::vector<Info::TagList> tags;
};

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT ListSnapshotRequest : public RpcServiceRequest
{
public:
ListSnapshotRequest();
~ListSnapshotRequest();
std::string getSortType()const;
void setSortType(const std::string& sortType);
std::string getSnapshotIds()const;
void setSnapshotIds(const std::string& snapshotIds);
std::string getFilterValue()const;
void setFilterValue(const std::string& filterValue);
std::string getSnapshotName()const;
void setSnapshotName(const std::string& snapshotName);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getFilterKey()const;
void setFilterKey(const std::string& filterKey);
std::string getSortKey()const;
void setSortKey(const std::string& sortKey);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getFsId()const;
void setFsId(const std::string& fsId);
std::string getSnapshotType()const;
void setSnapshotType(const std::string& snapshotType);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string sortType_;
std::string snapshotIds_;
std::string filterValue_;
std::string snapshotName_;
int pageNumber_;
std::string filterKey_;
std::string sortKey_;
std::string regionId_;
int pageSize_;
std::string fsId_;
std::string snapshotType_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DBFS_MODEL_LISTSNAPSHOTRESULT_H_
#define ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT ListSnapshotResult : public ServiceResult
{
public:
struct SnapshotsItem
{
std::string status;
std::string progress;
std::string category;
std::string description;
int retentionDays;
int sourceFsSize;
std::string snapshotName;
std::string sourceFsId;
std::string snapshotId;
std::string creationTime;
std::string lastModifiedTime;
std::string snapshotType;
int remainTime;
};
ListSnapshotResult();
explicit ListSnapshotResult(const std::string &payload);
~ListSnapshotResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<SnapshotsItem> getSnapshots()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<SnapshotsItem> snapshots_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTSNAPSHOTRESULT_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTTASKREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_LISTTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT ListTaskRequest : public RpcServiceRequest
{
public:
ListTaskRequest();
~ListTaskRequest();
std::string getSortType()const;
void setSortType(const std::string& sortType);
std::string getFilterValue()const;
void setFilterValue(const std::string& filterValue);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getFilterKey()const;
void setFilterKey(const std::string& filterKey);
std::string getSortKey()const;
void setSortKey(const std::string& sortKey);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string sortType_;
std::string filterValue_;
int pageNumber_;
std::string filterKey_;
std::string sortKey_;
std::string regionId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTASKREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_DBFS_MODEL_LISTTASKRESULT_H_
#define ALIBABACLOUD_DBFS_MODEL_LISTTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT ListTaskResult : public ServiceResult
{
public:
struct TasksItem
{
std::string createdTime;
std::string taskAdder;
std::string priority;
int taskStatusCode;
int taskProgress;
int maxRetry;
std::string taskStatus;
std::string nextExecutionTime;
std::string taskErrorReason;
std::string taskRunner;
std::string taskOwner;
std::string taskName;
std::string completionTime;
std::string taskType;
int id;
std::string clientToken;
std::string taskProgressDescription;
int taskExecutionCounts;
};
ListTaskResult();
explicit ListTaskResult(const std::string &payload);
~ListTaskResult();
int getTotalCount()const;
std::vector<TasksItem> getTasks()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<TasksItem> tasks_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTTASKRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT OpreateConstantsRequest : public RpcServiceRequest
{
public:
OpreateConstantsRequest();
~OpreateConstantsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getConstantsData()const;
void setConstantsData(const std::string& constantsData);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string regionId_;
std::string constantsData_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSRESULT_H_
#define ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT OpreateConstantsResult : public ServiceResult
{
public:
OpreateConstantsResult();
explicit OpreateConstantsResult(const std::string &payload);
~OpreateConstantsResult();
long getTotalCount()const;
std::string getMasterData()const;
long getPageSize()const;
std::string getZoneData()const;
long getPageNumber()const;
std::string getAccessData()const;
std::string getProductCodeData()const;
std::string getOsversionData()const;
std::string getData()const;
std::string getRegionData()const;
std::string getEndpointData()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string masterData_;
long pageSize_;
std::string zoneData_;
long pageNumber_;
std::string accessData_;
std::string productCodeData_;
std::string osversionData_;
std::string data_;
std::string regionData_;
std::string endpointData_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_OPREATECONSTANTSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT PublishUpgradeTaskRequest : public RpcServiceRequest
{
public:
PublishUpgradeTaskRequest();
~PublishUpgradeTaskRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getBatchStrategyList()const;
void setBatchStrategyList(const std::string& batchStrategyList);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string batchStrategyList_;
std::string regionId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_PUBLISHUPGRADETASKREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT RenameDbfsRequest : public RpcServiceRequest
{
public:
RenameDbfsRequest();
~RenameDbfsRequest();
std::string getFsName()const;
void setFsName(const std::string& fsName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getFsId()const;
void setFsId(const std::string& fsId);
private:
std::string fsName_;
std::string regionId_;
std::string fsId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_RENAMEDBFSREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_RESETDBFSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_RESETDBFSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT ResetDbfsRequest : public RpcServiceRequest
{
public:
ResetDbfsRequest();
~ResetDbfsRequest();
std::string getSnapshotId()const;
void setSnapshotId(const std::string& snapshotId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getFsId()const;
void setFsId(const std::string& fsId);
private:
std::string snapshotId_;
std::string regionId_;
std::string fsId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_RESETDBFSREQUEST_H_

View File

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

View File

@@ -35,8 +35,6 @@ namespace AlibabaCloud
ResizeDbfsRequest();
~ResizeDbfsRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getNewSizeG()const;
void setNewSizeG(int newSizeG);
std::string getRegionId()const;
@@ -45,7 +43,6 @@ namespace AlibabaCloud
void setFsId(const std::string& fsId);
private:
std::string clientToken_;
int newSizeG_;
std::string regionId_;
std::string fsId_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT StopUpgradeTaskRequest : public RpcServiceRequest
{
public:
StopUpgradeTaskRequest();
~StopUpgradeTaskRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getBatchStrategyList()const;
void setBatchStrategyList(const std::string& batchStrategyList);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string batchStrategyList_;
std::string regionId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_STOPUPGRADETASKREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_TAGDBFSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_TAGDBFSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT TagDbfsRequest : public RpcServiceRequest
{
public:
TagDbfsRequest();
~TagDbfsRequest();
std::string getTags()const;
void setTags(const std::string& tags);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDbfsId()const;
void setDbfsId(const std::string& dbfsId);
private:
std::string tags_;
std::string regionId_;
std::string dbfsId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_TAGDBFSREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT UpdateConstantsRequest : public RpcServiceRequest
{
public:
UpdateConstantsRequest();
~UpdateConstantsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getConstantsData()const;
void setConstantsData(const std::string& constantsData);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string regionId_;
std::string constantsData_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_UPDATECONSTANTSREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBFS_MODEL_UPDATETASKREQUEST_H_
#define ALIBABACLOUD_DBFS_MODEL_UPDATETASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbfs/DBFSExport.h>
namespace AlibabaCloud
{
namespace DBFS
{
namespace Model
{
class ALIBABACLOUD_DBFS_EXPORT UpdateTaskRequest : public RpcServiceRequest
{
public:
UpdateTaskRequest();
~UpdateTaskRequest();
int getTaskProgress()const;
void setTaskProgress(int taskProgress);
std::string getTaskIds()const;
void setTaskIds(const std::string& taskIds);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
int taskProgress_;
std::string taskIds_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBFS_MODEL_UPDATETASKREQUEST_H_

View File

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