Add TriggerRemoteSync api.

This commit is contained in:
sdk-team
2021-05-28 08:49:18 +00:00
parent f4aa70c22f
commit a85bc74388
58 changed files with 2722 additions and 164 deletions

View File

@@ -46,6 +46,8 @@
#include "model/CheckUpgradeVersionResult.h"
#include "model/CreateCacheRequest.h"
#include "model/CreateCacheResult.h"
#include "model/CreateElasticGatewayPrivateZoneRequest.h"
#include "model/CreateElasticGatewayPrivateZoneResult.h"
#include "model/CreateExpressSyncRequest.h"
#include "model/CreateExpressSyncResult.h"
#include "model/CreateGatewayRequest.h"
@@ -62,6 +64,8 @@
#include "model/CreateGatewaySMBUserResult.h"
#include "model/CreateStorageBundleRequest.h"
#include "model/CreateStorageBundleResult.h"
#include "model/DeleteElasticGatewayPrivateZoneRequest.h"
#include "model/DeleteElasticGatewayPrivateZoneResult.h"
#include "model/DeleteExpressSyncRequest.h"
#include "model/DeleteExpressSyncResult.h"
#include "model/DeleteGatewayRequest.h"
@@ -136,6 +140,8 @@
#include "model/DescribeGatewayLogsResult.h"
#include "model/DescribeGatewayModificationClassesRequest.h"
#include "model/DescribeGatewayModificationClassesResult.h"
#include "model/DescribeGatewayNFSClientsRequest.h"
#include "model/DescribeGatewayNFSClientsResult.h"
#include "model/DescribeGatewaySMBUsersRequest.h"
#include "model/DescribeGatewaySMBUsersResult.h"
#include "model/DescribeGatewayStatisticsRequest.h"
@@ -182,6 +188,10 @@
#include "model/DescribeZonesResult.h"
#include "model/DisableGatewayLoggingRequest.h"
#include "model/DisableGatewayLoggingResult.h"
#include "model/DisableGatewayNFSVersionRequest.h"
#include "model/DisableGatewayNFSVersionResult.h"
#include "model/EnableGatewayIpv6Request.h"
#include "model/EnableGatewayIpv6Result.h"
#include "model/EnableGatewayLoggingRequest.h"
#include "model/EnableGatewayLoggingResult.h"
#include "model/ExpandCacheDiskRequest.h"
@@ -204,8 +214,12 @@
#include "model/ModifyGatewayClassResult.h"
#include "model/ModifyGatewayFileShareRequest.h"
#include "model/ModifyGatewayFileShareResult.h"
#include "model/ModifyGatewayFileShareWatermarkRequest.h"
#include "model/ModifyGatewayFileShareWatermarkResult.h"
#include "model/ModifyStorageBundleRequest.h"
#include "model/ModifyStorageBundleResult.h"
#include "model/OpenSgwServiceRequest.h"
#include "model/OpenSgwServiceResult.h"
#include "model/OperateGatewayRequest.h"
#include "model/OperateGatewayResult.h"
#include "model/ReleaseServiceRequest.h"
@@ -238,6 +252,8 @@
#include "model/SwitchToSubscriptionResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/TriggerGatewayRemoteSyncRequest.h"
#include "model/TriggerGatewayRemoteSyncResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
#include "model/UpdateGatewayBlockVolumeRequest.h"
@@ -297,6 +313,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateCacheResult> CreateCacheOutcome;
typedef std::future<CreateCacheOutcome> CreateCacheOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::CreateCacheRequest&, const CreateCacheOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCacheAsyncHandler;
typedef Outcome<Error, Model::CreateElasticGatewayPrivateZoneResult> CreateElasticGatewayPrivateZoneOutcome;
typedef std::future<CreateElasticGatewayPrivateZoneOutcome> CreateElasticGatewayPrivateZoneOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::CreateElasticGatewayPrivateZoneRequest&, const CreateElasticGatewayPrivateZoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateElasticGatewayPrivateZoneAsyncHandler;
typedef Outcome<Error, Model::CreateExpressSyncResult> CreateExpressSyncOutcome;
typedef std::future<CreateExpressSyncOutcome> CreateExpressSyncOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::CreateExpressSyncRequest&, const CreateExpressSyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateExpressSyncAsyncHandler;
@@ -321,6 +340,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateStorageBundleResult> CreateStorageBundleOutcome;
typedef std::future<CreateStorageBundleOutcome> CreateStorageBundleOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::CreateStorageBundleRequest&, const CreateStorageBundleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStorageBundleAsyncHandler;
typedef Outcome<Error, Model::DeleteElasticGatewayPrivateZoneResult> DeleteElasticGatewayPrivateZoneOutcome;
typedef std::future<DeleteElasticGatewayPrivateZoneOutcome> DeleteElasticGatewayPrivateZoneOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DeleteElasticGatewayPrivateZoneRequest&, const DeleteElasticGatewayPrivateZoneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteElasticGatewayPrivateZoneAsyncHandler;
typedef Outcome<Error, Model::DeleteExpressSyncResult> DeleteExpressSyncOutcome;
typedef std::future<DeleteExpressSyncOutcome> DeleteExpressSyncOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DeleteExpressSyncRequest&, const DeleteExpressSyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteExpressSyncAsyncHandler;
@@ -432,6 +454,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeGatewayModificationClassesResult> DescribeGatewayModificationClassesOutcome;
typedef std::future<DescribeGatewayModificationClassesOutcome> DescribeGatewayModificationClassesOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DescribeGatewayModificationClassesRequest&, const DescribeGatewayModificationClassesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGatewayModificationClassesAsyncHandler;
typedef Outcome<Error, Model::DescribeGatewayNFSClientsResult> DescribeGatewayNFSClientsOutcome;
typedef std::future<DescribeGatewayNFSClientsOutcome> DescribeGatewayNFSClientsOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DescribeGatewayNFSClientsRequest&, const DescribeGatewayNFSClientsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGatewayNFSClientsAsyncHandler;
typedef Outcome<Error, Model::DescribeGatewaySMBUsersResult> DescribeGatewaySMBUsersOutcome;
typedef std::future<DescribeGatewaySMBUsersOutcome> DescribeGatewaySMBUsersOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DescribeGatewaySMBUsersRequest&, const DescribeGatewaySMBUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGatewaySMBUsersAsyncHandler;
@@ -501,6 +526,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DisableGatewayLoggingResult> DisableGatewayLoggingOutcome;
typedef std::future<DisableGatewayLoggingOutcome> DisableGatewayLoggingOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DisableGatewayLoggingRequest&, const DisableGatewayLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableGatewayLoggingAsyncHandler;
typedef Outcome<Error, Model::DisableGatewayNFSVersionResult> DisableGatewayNFSVersionOutcome;
typedef std::future<DisableGatewayNFSVersionOutcome> DisableGatewayNFSVersionOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::DisableGatewayNFSVersionRequest&, const DisableGatewayNFSVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableGatewayNFSVersionAsyncHandler;
typedef Outcome<Error, Model::EnableGatewayIpv6Result> EnableGatewayIpv6Outcome;
typedef std::future<EnableGatewayIpv6Outcome> EnableGatewayIpv6OutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::EnableGatewayIpv6Request&, const EnableGatewayIpv6Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableGatewayIpv6AsyncHandler;
typedef Outcome<Error, Model::EnableGatewayLoggingResult> EnableGatewayLoggingOutcome;
typedef std::future<EnableGatewayLoggingOutcome> EnableGatewayLoggingOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::EnableGatewayLoggingRequest&, const EnableGatewayLoggingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableGatewayLoggingAsyncHandler;
@@ -534,9 +565,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyGatewayFileShareResult> ModifyGatewayFileShareOutcome;
typedef std::future<ModifyGatewayFileShareOutcome> ModifyGatewayFileShareOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::ModifyGatewayFileShareRequest&, const ModifyGatewayFileShareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGatewayFileShareAsyncHandler;
typedef Outcome<Error, Model::ModifyGatewayFileShareWatermarkResult> ModifyGatewayFileShareWatermarkOutcome;
typedef std::future<ModifyGatewayFileShareWatermarkOutcome> ModifyGatewayFileShareWatermarkOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::ModifyGatewayFileShareWatermarkRequest&, const ModifyGatewayFileShareWatermarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyGatewayFileShareWatermarkAsyncHandler;
typedef Outcome<Error, Model::ModifyStorageBundleResult> ModifyStorageBundleOutcome;
typedef std::future<ModifyStorageBundleOutcome> ModifyStorageBundleOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::ModifyStorageBundleRequest&, const ModifyStorageBundleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStorageBundleAsyncHandler;
typedef Outcome<Error, Model::OpenSgwServiceResult> OpenSgwServiceOutcome;
typedef std::future<OpenSgwServiceOutcome> OpenSgwServiceOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::OpenSgwServiceRequest&, const OpenSgwServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OpenSgwServiceAsyncHandler;
typedef Outcome<Error, Model::OperateGatewayResult> OperateGatewayOutcome;
typedef std::future<OperateGatewayOutcome> OperateGatewayOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::OperateGatewayRequest&, const OperateGatewayOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateGatewayAsyncHandler;
@@ -585,6 +622,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::TriggerGatewayRemoteSyncResult> TriggerGatewayRemoteSyncOutcome;
typedef std::future<TriggerGatewayRemoteSyncOutcome> TriggerGatewayRemoteSyncOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::TriggerGatewayRemoteSyncRequest&, const TriggerGatewayRemoteSyncOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TriggerGatewayRemoteSyncAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const SgwClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
@@ -647,6 +687,9 @@ namespace AlibabaCloud
CreateCacheOutcome createCache(const Model::CreateCacheRequest &request)const;
void createCacheAsync(const Model::CreateCacheRequest& request, const CreateCacheAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCacheOutcomeCallable createCacheCallable(const Model::CreateCacheRequest& request) const;
CreateElasticGatewayPrivateZoneOutcome createElasticGatewayPrivateZone(const Model::CreateElasticGatewayPrivateZoneRequest &request)const;
void createElasticGatewayPrivateZoneAsync(const Model::CreateElasticGatewayPrivateZoneRequest& request, const CreateElasticGatewayPrivateZoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateElasticGatewayPrivateZoneOutcomeCallable createElasticGatewayPrivateZoneCallable(const Model::CreateElasticGatewayPrivateZoneRequest& request) const;
CreateExpressSyncOutcome createExpressSync(const Model::CreateExpressSyncRequest &request)const;
void createExpressSyncAsync(const Model::CreateExpressSyncRequest& request, const CreateExpressSyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateExpressSyncOutcomeCallable createExpressSyncCallable(const Model::CreateExpressSyncRequest& request) const;
@@ -671,6 +714,9 @@ namespace AlibabaCloud
CreateStorageBundleOutcome createStorageBundle(const Model::CreateStorageBundleRequest &request)const;
void createStorageBundleAsync(const Model::CreateStorageBundleRequest& request, const CreateStorageBundleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateStorageBundleOutcomeCallable createStorageBundleCallable(const Model::CreateStorageBundleRequest& request) const;
DeleteElasticGatewayPrivateZoneOutcome deleteElasticGatewayPrivateZone(const Model::DeleteElasticGatewayPrivateZoneRequest &request)const;
void deleteElasticGatewayPrivateZoneAsync(const Model::DeleteElasticGatewayPrivateZoneRequest& request, const DeleteElasticGatewayPrivateZoneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteElasticGatewayPrivateZoneOutcomeCallable deleteElasticGatewayPrivateZoneCallable(const Model::DeleteElasticGatewayPrivateZoneRequest& request) const;
DeleteExpressSyncOutcome deleteExpressSync(const Model::DeleteExpressSyncRequest &request)const;
void deleteExpressSyncAsync(const Model::DeleteExpressSyncRequest& request, const DeleteExpressSyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteExpressSyncOutcomeCallable deleteExpressSyncCallable(const Model::DeleteExpressSyncRequest& request) const;
@@ -782,6 +828,9 @@ namespace AlibabaCloud
DescribeGatewayModificationClassesOutcome describeGatewayModificationClasses(const Model::DescribeGatewayModificationClassesRequest &request)const;
void describeGatewayModificationClassesAsync(const Model::DescribeGatewayModificationClassesRequest& request, const DescribeGatewayModificationClassesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGatewayModificationClassesOutcomeCallable describeGatewayModificationClassesCallable(const Model::DescribeGatewayModificationClassesRequest& request) const;
DescribeGatewayNFSClientsOutcome describeGatewayNFSClients(const Model::DescribeGatewayNFSClientsRequest &request)const;
void describeGatewayNFSClientsAsync(const Model::DescribeGatewayNFSClientsRequest& request, const DescribeGatewayNFSClientsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGatewayNFSClientsOutcomeCallable describeGatewayNFSClientsCallable(const Model::DescribeGatewayNFSClientsRequest& request) const;
DescribeGatewaySMBUsersOutcome describeGatewaySMBUsers(const Model::DescribeGatewaySMBUsersRequest &request)const;
void describeGatewaySMBUsersAsync(const Model::DescribeGatewaySMBUsersRequest& request, const DescribeGatewaySMBUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeGatewaySMBUsersOutcomeCallable describeGatewaySMBUsersCallable(const Model::DescribeGatewaySMBUsersRequest& request) const;
@@ -851,6 +900,12 @@ namespace AlibabaCloud
DisableGatewayLoggingOutcome disableGatewayLogging(const Model::DisableGatewayLoggingRequest &request)const;
void disableGatewayLoggingAsync(const Model::DisableGatewayLoggingRequest& request, const DisableGatewayLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableGatewayLoggingOutcomeCallable disableGatewayLoggingCallable(const Model::DisableGatewayLoggingRequest& request) const;
DisableGatewayNFSVersionOutcome disableGatewayNFSVersion(const Model::DisableGatewayNFSVersionRequest &request)const;
void disableGatewayNFSVersionAsync(const Model::DisableGatewayNFSVersionRequest& request, const DisableGatewayNFSVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DisableGatewayNFSVersionOutcomeCallable disableGatewayNFSVersionCallable(const Model::DisableGatewayNFSVersionRequest& request) const;
EnableGatewayIpv6Outcome enableGatewayIpv6(const Model::EnableGatewayIpv6Request &request)const;
void enableGatewayIpv6Async(const Model::EnableGatewayIpv6Request& request, const EnableGatewayIpv6AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableGatewayIpv6OutcomeCallable enableGatewayIpv6Callable(const Model::EnableGatewayIpv6Request& request) const;
EnableGatewayLoggingOutcome enableGatewayLogging(const Model::EnableGatewayLoggingRequest &request)const;
void enableGatewayLoggingAsync(const Model::EnableGatewayLoggingRequest& request, const EnableGatewayLoggingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
EnableGatewayLoggingOutcomeCallable enableGatewayLoggingCallable(const Model::EnableGatewayLoggingRequest& request) const;
@@ -884,9 +939,15 @@ namespace AlibabaCloud
ModifyGatewayFileShareOutcome modifyGatewayFileShare(const Model::ModifyGatewayFileShareRequest &request)const;
void modifyGatewayFileShareAsync(const Model::ModifyGatewayFileShareRequest& request, const ModifyGatewayFileShareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyGatewayFileShareOutcomeCallable modifyGatewayFileShareCallable(const Model::ModifyGatewayFileShareRequest& request) const;
ModifyGatewayFileShareWatermarkOutcome modifyGatewayFileShareWatermark(const Model::ModifyGatewayFileShareWatermarkRequest &request)const;
void modifyGatewayFileShareWatermarkAsync(const Model::ModifyGatewayFileShareWatermarkRequest& request, const ModifyGatewayFileShareWatermarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyGatewayFileShareWatermarkOutcomeCallable modifyGatewayFileShareWatermarkCallable(const Model::ModifyGatewayFileShareWatermarkRequest& request) const;
ModifyStorageBundleOutcome modifyStorageBundle(const Model::ModifyStorageBundleRequest &request)const;
void modifyStorageBundleAsync(const Model::ModifyStorageBundleRequest& request, const ModifyStorageBundleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyStorageBundleOutcomeCallable modifyStorageBundleCallable(const Model::ModifyStorageBundleRequest& request) const;
OpenSgwServiceOutcome openSgwService(const Model::OpenSgwServiceRequest &request)const;
void openSgwServiceAsync(const Model::OpenSgwServiceRequest& request, const OpenSgwServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OpenSgwServiceOutcomeCallable openSgwServiceCallable(const Model::OpenSgwServiceRequest& request) const;
OperateGatewayOutcome operateGateway(const Model::OperateGatewayRequest &request)const;
void operateGatewayAsync(const Model::OperateGatewayRequest& request, const OperateGatewayAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OperateGatewayOutcomeCallable operateGatewayCallable(const Model::OperateGatewayRequest& request) const;
@@ -935,6 +996,9 @@ namespace AlibabaCloud
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
TriggerGatewayRemoteSyncOutcome triggerGatewayRemoteSync(const Model::TriggerGatewayRemoteSyncRequest &request)const;
void triggerGatewayRemoteSyncAsync(const Model::TriggerGatewayRemoteSyncRequest& request, const TriggerGatewayRemoteSyncAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TriggerGatewayRemoteSyncOutcomeCallable triggerGatewayRemoteSyncCallable(const Model::TriggerGatewayRemoteSyncRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;

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_SGW_MODEL_CREATEELASTICGATEWAYPRIVATEZONEREQUEST_H_
#define ALIBABACLOUD_SGW_MODEL_CREATEELASTICGATEWAYPRIVATEZONEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT CreateElasticGatewayPrivateZoneRequest : public RpcServiceRequest
{
public:
CreateElasticGatewayPrivateZoneRequest();
~CreateElasticGatewayPrivateZoneRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
private:
std::string accessKeyId_;
std::string securityToken_;
std::string gatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_CREATEELASTICGATEWAYPRIVATEZONEREQUEST_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_SGW_MODEL_CREATEELASTICGATEWAYPRIVATEZONERESULT_H_
#define ALIBABACLOUD_SGW_MODEL_CREATEELASTICGATEWAYPRIVATEZONERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT CreateElasticGatewayPrivateZoneResult : public ServiceResult
{
public:
CreateElasticGatewayPrivateZoneResult();
explicit CreateElasticGatewayPrivateZoneResult(const std::string &payload);
~CreateElasticGatewayPrivateZoneResult();
std::string getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_CREATEELASTICGATEWAYPRIVATEZONERESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setOssEndpoint(const std::string& ossEndpoint);
std::string getReadWriteClientList()const;
void setReadWriteClientList(const std::string& readWriteClientList);
bool getBypassCacheRead()const;
void setBypassCacheRead(bool bypassCacheRead);
int getBackendLimit()const;
void setBackendLimit(int backendLimit);
std::string getSquash()const;
@@ -97,6 +99,8 @@ namespace AlibabaCloud
void setEnabled(bool enabled);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getServerSideAlgorithm()const;
void setServerSideAlgorithm(const std::string& serverSideAlgorithm);
std::string getServerSideCmk()const;
void setServerSideCmk(const std::string& serverSideCmk);
bool getServerSideEncryption()const;
@@ -120,6 +124,7 @@ namespace AlibabaCloud
bool inPlace_;
std::string ossEndpoint_;
std::string readWriteClientList_;
bool bypassCacheRead_;
int backendLimit_;
std::string squash_;
std::string readOnlyClientList_;
@@ -148,6 +153,7 @@ namespace AlibabaCloud
int pollingInterval_;
bool enabled_;
std::string accessKeyId_;
std::string serverSideAlgorithm_;
std::string serverSideCmk_;
bool serverSideEncryption_;
bool ignoreDelete_;

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_SGW_MODEL_DELETEELASTICGATEWAYPRIVATEZONEREQUEST_H_
#define ALIBABACLOUD_SGW_MODEL_DELETEELASTICGATEWAYPRIVATEZONEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT DeleteElasticGatewayPrivateZoneRequest : public RpcServiceRequest
{
public:
DeleteElasticGatewayPrivateZoneRequest();
~DeleteElasticGatewayPrivateZoneRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
private:
std::string accessKeyId_;
std::string securityToken_;
std::string gatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_DELETEELASTICGATEWAYPRIVATEZONEREQUEST_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_SGW_MODEL_DELETEELASTICGATEWAYPRIVATEZONERESULT_H_
#define ALIBABACLOUD_SGW_MODEL_DELETEELASTICGATEWAYPRIVATEZONERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT DeleteElasticGatewayPrivateZoneResult : public ServiceResult
{
public:
DeleteElasticGatewayPrivateZoneResult();
explicit DeleteElasticGatewayPrivateZoneResult(const std::string &payload);
~DeleteElasticGatewayPrivateZoneResult();
std::string getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_DELETEELASTICGATEWAYPRIVATEZONERESULT_H_

View File

@@ -37,15 +37,21 @@ namespace AlibabaCloud
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getReasonDetail()const;
void setReasonDetail(const std::string& reasonDetail);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
std::string getReasonType()const;
void setReasonType(const std::string& reasonType);
private:
std::string accessKeyId_;
std::string reasonDetail_;
std::string securityToken_;
std::string gatewayId_;
std::string reasonType_;
};
}

View File

@@ -43,6 +43,7 @@ namespace AlibabaCloud
int expireStatus;
bool isUsed;
long iops;
std::string subscriptionInstanceId;
std::string localFilePath;
std::string cacheType;
};

View File

@@ -39,9 +39,9 @@ namespace AlibabaCloud
~DescribeGatewayCapacityLimitResult();
long getFileSystemSizeInTB()const;
std::string getMessage()const;
std::string getCode()const;
long getFileNumber()const;
bool getIsMetadataSeparate()const;
long getFileNumber()const;
std::string getCode()const;
bool getSuccess()const;
protected:
@@ -49,9 +49,9 @@ namespace AlibabaCloud
private:
long fileSystemSizeInTB_;
std::string message_;
std::string code_;
long fileNumber_;
bool isMetadataSeparate_;
long fileNumber_;
std::string code_;
bool success_;
};

View File

@@ -36,16 +36,18 @@ namespace AlibabaCloud
{
long fileNumLimit;
std::string bucketInfos;
bool throttling;
long totalDownload;
long inRate;
std::string address;
long totalUpload;
long size;
int downloadLimit;
int highWatermark;
long downloadQueue;
std::string localPath;
long ossUsed;
std::string clientSideCmk;
long ossUsed;
std::string localPath;
std::string serverSideCmk;
int beLimit;
std::string name;
@@ -57,6 +59,7 @@ namespace AlibabaCloud
bool supportArchive;
std::string roUserList;
bool browsable;
bool bypassCacheRead;
std::string obsoleteBuckets;
bool bucketsStub;
bool fastReclaim;
@@ -68,25 +71,27 @@ namespace AlibabaCloud
bool inPlace;
std::string ossBucketName;
int pollingInterval;
std::string serverSideAlgorithm;
std::string diskId;
bool remoteSync;
bool accessBasedEnumeration;
std::string rwUserList;
bool remoteSync;
bool windowsAcl;
std::string rwUserList;
long fsSizeLimit;
std::string cacheMode;
bool transferAcceleration;
long downloadRate;
std::string squash;
std::string roClientList;
std::string nfsFullPath;
std::string roClientList;
int lowWatermark;
std::string ossEndpoint;
bool nfsV4Optimization;
bool serverSideEncryption;
std::string protocol;
std::string pathPrefix;
long lagPeriod;
std::string protocol;
std::string partialSyncPaths;
long lagPeriod;
std::string ossHealth;
std::string indexId;
long activeMessages;

View File

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

View File

@@ -0,0 +1,76 @@
/*
* 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_SGW_MODEL_DESCRIBEGATEWAYNFSCLIENTSRESULT_H_
#define ALIBABACLOUD_SGW_MODEL_DESCRIBEGATEWAYNFSCLIENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT DescribeGatewayNFSClientsResult : public ServiceResult
{
public:
struct ClientInfo
{
bool hasNFSv3;
bool hasNFSv40;
std::string clientIpAddr;
bool hasNFSv41;
};
DescribeGatewayNFSClientsResult();
explicit DescribeGatewayNFSClientsResult(const std::string &payload);
~DescribeGatewayNFSClientsResult();
bool getVersion40Enabled()const;
int getTotalCount()const;
bool getVersion41Enabled()const;
std::string getMessage()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ClientInfo> getClientInfoList()const;
bool getVersion3Enabled()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
bool version40Enabled_;
int totalCount_;
bool version41Enabled_;
std::string message_;
int pageSize_;
int pageNumber_;
std::vector<ClientInfo> clientInfoList_;
bool version3Enabled_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_DESCRIBEGATEWAYNFSCLIENTSRESULT_H_

View File

@@ -74,6 +74,7 @@ namespace AlibabaCloud
bool getElasticGateway()const;
std::string getCommonBuyInstanceId()const;
std::string getModel()const;
std::string getInnerIpv6Ip()const;
std::string getLastErrorKey()const;
std::string getLocation()const;
@@ -117,6 +118,7 @@ namespace AlibabaCloud
bool elasticGateway_;
std::string commonBuyInstanceId_;
std::string model_;
std::string innerIpv6Ip_;
std::string lastErrorKey_;
std::string location_;

View File

@@ -68,6 +68,7 @@ namespace AlibabaCloud
bool elasticGateway;
std::string commonBuyInstanceId;
std::string model;
std::string innerIpv6Ip;
std::string lastErrorKey;
std::string location;
};

View File

@@ -44,6 +44,7 @@ namespace AlibabaCloud
long getStorageSize()const;
bool getIsBackToResource()const;
int getPollingInterval()const;
bool getIsVersioning()const;
std::string getCode()const;
bool getSuccess()const;
@@ -57,6 +58,7 @@ namespace AlibabaCloud
long storageSize_;
bool isBackToResource_;
int pollingInterval_;
bool isVersioning_;
std::string code_;
bool success_;

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_SGW_MODEL_DISABLEGATEWAYNFSVERSIONREQUEST_H_
#define ALIBABACLOUD_SGW_MODEL_DISABLEGATEWAYNFSVERSIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT DisableGatewayNFSVersionRequest : public RpcServiceRequest
{
public:
DisableGatewayNFSVersionRequest();
~DisableGatewayNFSVersionRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNFSVersion()const;
void setNFSVersion(const std::string& nFSVersion);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
private:
std::string accessKeyId_;
std::string nFSVersion_;
std::string securityToken_;
std::string gatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_DISABLEGATEWAYNFSVERSIONREQUEST_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_SGW_MODEL_DISABLEGATEWAYNFSVERSIONRESULT_H_
#define ALIBABACLOUD_SGW_MODEL_DISABLEGATEWAYNFSVERSIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT DisableGatewayNFSVersionResult : public ServiceResult
{
public:
DisableGatewayNFSVersionResult();
explicit DisableGatewayNFSVersionResult(const std::string &payload);
~DisableGatewayNFSVersionResult();
std::string getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_DISABLEGATEWAYNFSVERSIONRESULT_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_SGW_MODEL_ENABLEGATEWAYIPV6REQUEST_H_
#define ALIBABACLOUD_SGW_MODEL_ENABLEGATEWAYIPV6REQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT EnableGatewayIpv6Request : public RpcServiceRequest
{
public:
EnableGatewayIpv6Request();
~EnableGatewayIpv6Request();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
private:
std::string accessKeyId_;
std::string securityToken_;
std::string gatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_ENABLEGATEWAYIPV6REQUEST_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_SGW_MODEL_ENABLEGATEWAYIPV6RESULT_H_
#define ALIBABACLOUD_SGW_MODEL_ENABLEGATEWAYIPV6RESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT EnableGatewayIpv6Result : public ServiceResult
{
public:
EnableGatewayIpv6Result();
explicit EnableGatewayIpv6Result(const std::string &payload);
~EnableGatewayIpv6Result();
std::string getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_ENABLEGATEWAYIPV6RESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SGW_MODEL_MODIFYGATEWAYFILESHAREWATERMARKREQUEST_H_
#define ALIBABACLOUD_SGW_MODEL_MODIFYGATEWAYFILESHAREWATERMARKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT ModifyGatewayFileShareWatermarkRequest : public RpcServiceRequest
{
public:
ModifyGatewayFileShareWatermarkRequest();
~ModifyGatewayFileShareWatermarkRequest();
int getWatermark()const;
void setWatermark(int watermark);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getIndexId()const;
void setIndexId(const std::string& indexId);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
private:
int watermark_;
std::string accessKeyId_;
std::string securityToken_;
std::string indexId_;
std::string gatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_MODIFYGATEWAYFILESHAREWATERMARKREQUEST_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_SGW_MODEL_MODIFYGATEWAYFILESHAREWATERMARKRESULT_H_
#define ALIBABACLOUD_SGW_MODEL_MODIFYGATEWAYFILESHAREWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT ModifyGatewayFileShareWatermarkResult : public ServiceResult
{
public:
ModifyGatewayFileShareWatermarkResult();
explicit ModifyGatewayFileShareWatermarkResult(const std::string &payload);
~ModifyGatewayFileShareWatermarkResult();
std::string getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_MODIFYGATEWAYFILESHAREWATERMARKRESULT_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SGW_MODEL_TRIGGERGATEWAYREMOTESYNCREQUEST_H_
#define ALIBABACLOUD_SGW_MODEL_TRIGGERGATEWAYREMOTESYNCREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT TriggerGatewayRemoteSyncRequest : public RpcServiceRequest
{
public:
TriggerGatewayRemoteSyncRequest();
~TriggerGatewayRemoteSyncRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPath()const;
void setPath(const std::string& path);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getIndexId()const;
void setIndexId(const std::string& indexId);
std::string getGatewayId()const;
void setGatewayId(const std::string& gatewayId);
private:
std::string accessKeyId_;
std::string path_;
std::string securityToken_;
std::string indexId_;
std::string gatewayId_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_TRIGGERGATEWAYREMOTESYNCREQUEST_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_SGW_MODEL_TRIGGERGATEWAYREMOTESYNCRESULT_H_
#define ALIBABACLOUD_SGW_MODEL_TRIGGERGATEWAYREMOTESYNCRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sgw/SgwExport.h>
namespace AlibabaCloud
{
namespace Sgw
{
namespace Model
{
class ALIBABACLOUD_SGW_EXPORT TriggerGatewayRemoteSyncResult : public ServiceResult
{
public:
TriggerGatewayRemoteSyncResult();
explicit TriggerGatewayRemoteSyncResult(const std::string &payload);
~TriggerGatewayRemoteSyncResult();
std::string getTaskId()const;
std::string getMessage()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string message_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SGW_MODEL_TRIGGERGATEWAYREMOTESYNCRESULT_H_

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setPollingInterval(int pollingInterval);
std::string getReadWriteClientList()const;
void setReadWriteClientList(const std::string& readWriteClientList);
bool getBypassCacheRead()const;
void setBypassCacheRead(bool bypassCacheRead);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getBackendLimit()const;
@@ -107,6 +109,7 @@ namespace AlibabaCloud
std::string readWriteUserList_;
int pollingInterval_;
std::string readWriteClientList_;
bool bypassCacheRead_;
std::string accessKeyId_;
int backendLimit_;
std::string squash_;