Generate dbfs sdk.
This commit is contained in:
102
dbfs/include/alibabacloud/dbfs/DBFSClient.h
Normal file
102
dbfs/include/alibabacloud/dbfs/DBFSClient.h
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_DBFSCLIENT_H_
|
||||
#define ALIBABACLOUD_DBFS_DBFSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DBFSExport.h"
|
||||
#include "model/AttachDbfsRequest.h"
|
||||
#include "model/AttachDbfsResult.h"
|
||||
#include "model/CreateDbfsRequest.h"
|
||||
#include "model/CreateDbfsResult.h"
|
||||
#include "model/DeleteDbfsRequest.h"
|
||||
#include "model/DeleteDbfsResult.h"
|
||||
#include "model/DetachDbfsRequest.h"
|
||||
#include "model/DetachDbfsResult.h"
|
||||
#include "model/GetDbfsRequest.h"
|
||||
#include "model/GetDbfsResult.h"
|
||||
#include "model/ListDbfsRequest.h"
|
||||
#include "model/ListDbfsResult.h"
|
||||
#include "model/ResizeDbfsRequest.h"
|
||||
#include "model/ResizeDbfsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace DBFS
|
||||
{
|
||||
class ALIBABACLOUD_DBFS_EXPORT DBFSClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
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::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::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::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::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::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::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;
|
||||
|
||||
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();
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_DBFS_DBFSCLIENT_H_
|
||||
32
dbfs/include/alibabacloud/dbfs/DBFSExport.h
Normal file
32
dbfs/include/alibabacloud/dbfs/DBFSExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_DBFSEXPORT_H_
|
||||
#define ALIBABACLOUD_DBFS_DBFSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_DBFS_LIBRARY)
|
||||
# define ALIBABACLOUD_DBFS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_DBFS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_DBFS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_DBFS_DBFSEXPORT_H_
|
||||
54
dbfs/include/alibabacloud/dbfs/model/AttachDbfsRequest.h
Normal file
54
dbfs/include/alibabacloud/dbfs/model/AttachDbfsRequest.h
Normal 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_ATTACHDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_ATTACHDBFSREQUEST_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 AttachDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AttachDbfsRequest();
|
||||
~AttachDbfsRequest();
|
||||
|
||||
std::string getECSInstanceId()const;
|
||||
void setECSInstanceId(const std::string& eCSInstanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string eCSInstanceId_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_ATTACHDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/AttachDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/AttachDbfsResult.h
Normal 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_ATTACHDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_ATTACHDBFSRESULT_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 AttachDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AttachDbfsResult();
|
||||
explicit AttachDbfsResult(const std::string &payload);
|
||||
~AttachDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_ATTACHDBFSRESULT_H_
|
||||
63
dbfs/include/alibabacloud/dbfs/model/CreateDbfsRequest.h
Normal file
63
dbfs/include/alibabacloud/dbfs/model/CreateDbfsRequest.h
Normal 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_CREATEDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATEDBFSREQUEST_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 CreateDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDbfsRequest();
|
||||
~CreateDbfsRequest();
|
||||
|
||||
int getSizeG()const;
|
||||
void setSizeG(int sizeG);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getFsName()const;
|
||||
void setFsName(const std::string& fsName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
int sizeG_;
|
||||
std::string clientToken_;
|
||||
std::string fsName_;
|
||||
std::string regionId_;
|
||||
std::string zoneId_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATEDBFSREQUEST_H_
|
||||
51
dbfs/include/alibabacloud/dbfs/model/CreateDbfsResult.h
Normal file
51
dbfs/include/alibabacloud/dbfs/model/CreateDbfsResult.h
Normal 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_CREATEDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_CREATEDBFSRESULT_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 CreateDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateDbfsResult();
|
||||
explicit CreateDbfsResult(const std::string &payload);
|
||||
~CreateDbfsResult();
|
||||
std::string getFsId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_CREATEDBFSRESULT_H_
|
||||
51
dbfs/include/alibabacloud/dbfs/model/DeleteDbfsRequest.h
Normal file
51
dbfs/include/alibabacloud/dbfs/model/DeleteDbfsRequest.h
Normal 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_DELETEDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETEDBFSREQUEST_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 DeleteDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDbfsRequest();
|
||||
~DeleteDbfsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETEDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/DeleteDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/DeleteDbfsResult.h
Normal 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_DELETEDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DELETEDBFSRESULT_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 DeleteDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteDbfsResult();
|
||||
explicit DeleteDbfsResult(const std::string &payload);
|
||||
~DeleteDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DELETEDBFSRESULT_H_
|
||||
54
dbfs/include/alibabacloud/dbfs/model/DetachDbfsRequest.h
Normal file
54
dbfs/include/alibabacloud/dbfs/model/DetachDbfsRequest.h
Normal 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_DETACHDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DETACHDBFSREQUEST_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 DetachDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetachDbfsRequest();
|
||||
~DetachDbfsRequest();
|
||||
|
||||
std::string getECSInstanceId()const;
|
||||
void setECSInstanceId(const std::string& eCSInstanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string eCSInstanceId_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DETACHDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/DetachDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/DetachDbfsResult.h
Normal 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_DETACHDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_DETACHDBFSRESULT_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 DetachDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetachDbfsResult();
|
||||
explicit DetachDbfsResult(const std::string &payload);
|
||||
~DetachDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_DETACHDBFSRESULT_H_
|
||||
51
dbfs/include/alibabacloud/dbfs/model/GetDbfsRequest.h
Normal file
51
dbfs/include/alibabacloud/dbfs/model/GetDbfsRequest.h
Normal 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_GETDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GETDBFSREQUEST_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 GetDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDbfsRequest();
|
||||
~GetDbfsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GETDBFSREQUEST_H_
|
||||
64
dbfs/include/alibabacloud/dbfs/model/GetDbfsResult.h
Normal file
64
dbfs/include/alibabacloud/dbfs/model/GetDbfsResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_GETDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_GETDBFSRESULT_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 GetDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Info
|
||||
{
|
||||
std::string status;
|
||||
std::string category;
|
||||
std::string fsName;
|
||||
std::string zoneId;
|
||||
int sizeG;
|
||||
std::string dBFSClusterId;
|
||||
std::string fsId;
|
||||
std::string regionId;
|
||||
int attachNodeNumber;
|
||||
std::string payType;
|
||||
};
|
||||
|
||||
|
||||
GetDbfsResult();
|
||||
explicit GetDbfsResult(const std::string &payload);
|
||||
~GetDbfsResult();
|
||||
std::vector<Info> getDBFSInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Info> dBFSInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_GETDBFSRESULT_H_
|
||||
48
dbfs/include/alibabacloud/dbfs/model/ListDbfsRequest.h
Normal file
48
dbfs/include/alibabacloud/dbfs/model/ListDbfsRequest.h
Normal 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_LISTDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTDBFSREQUEST_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 ListDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDbfsRequest();
|
||||
~ListDbfsRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTDBFSREQUEST_H_
|
||||
70
dbfs/include/alibabacloud/dbfs/model/ListDbfsResult.h
Normal file
70
dbfs/include/alibabacloud/dbfs/model/ListDbfsResult.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DBFS_MODEL_LISTDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_LISTDBFSRESULT_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 ListDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Info
|
||||
{
|
||||
std::string status;
|
||||
std::string category;
|
||||
std::string fsName;
|
||||
std::string zoneId;
|
||||
int sizeG;
|
||||
std::string dBFSClusterId;
|
||||
std::string fsId;
|
||||
std::string regionId;
|
||||
int attachNodeNumber;
|
||||
std::string payType;
|
||||
};
|
||||
|
||||
|
||||
ListDbfsResult();
|
||||
explicit ListDbfsResult(const std::string &payload);
|
||||
~ListDbfsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Info> getDBFSInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Info> dBFSInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_LISTDBFSRESULT_H_
|
||||
57
dbfs/include/alibabacloud/dbfs/model/ResizeDbfsRequest.h
Normal file
57
dbfs/include/alibabacloud/dbfs/model/ResizeDbfsRequest.h
Normal 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_RESIZEDBFSREQUEST_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_RESIZEDBFSREQUEST_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 ResizeDbfsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResizeDbfsRequest();
|
||||
~ResizeDbfsRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
int getNewSizeG()const;
|
||||
void setNewSizeG(int newSizeG);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFsId()const;
|
||||
void setFsId(const std::string& fsId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
int newSizeG_;
|
||||
std::string regionId_;
|
||||
std::string fsId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_RESIZEDBFSREQUEST_H_
|
||||
49
dbfs/include/alibabacloud/dbfs/model/ResizeDbfsResult.h
Normal file
49
dbfs/include/alibabacloud/dbfs/model/ResizeDbfsResult.h
Normal 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_RESIZEDBFSRESULT_H_
|
||||
#define ALIBABACLOUD_DBFS_MODEL_RESIZEDBFSRESULT_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 ResizeDbfsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResizeDbfsResult();
|
||||
explicit ResizeDbfsResult(const std::string &payload);
|
||||
~ResizeDbfsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DBFS_MODEL_RESIZEDBFSRESULT_H_
|
||||
Reference in New Issue
Block a user