AcceptInquiredSystemEvent adds Choice parameter.

This commit is contained in:
sdk-team
2021-04-22 07:36:19 +00:00
parent bfee7629d7
commit 863129ac92
61 changed files with 2761 additions and 65 deletions

View File

@@ -90,6 +90,8 @@
#include "model/CreateCapacityReservationResult.h"
#include "model/CreateCommandRequest.h"
#include "model/CreateCommandResult.h"
#include "model/CreateDedicatedBlockStorageClusterRequest.h"
#include "model/CreateDedicatedBlockStorageClusterResult.h"
#include "model/CreateDedicatedHostClusterRequest.h"
#include "model/CreateDedicatedHostClusterResult.h"
#include "model/CreateDemandRequest.h"
@@ -98,6 +100,8 @@
#include "model/CreateDeploymentSetResult.h"
#include "model/CreateDiskRequest.h"
#include "model/CreateDiskResult.h"
#include "model/CreateDiskReplicaPairRequest.h"
#include "model/CreateDiskReplicaPairResult.h"
#include "model/CreateElasticityAssuranceRequest.h"
#include "model/CreateElasticityAssuranceResult.h"
#include "model/CreateForwardEntryRequest.h"
@@ -168,6 +172,8 @@
#include "model/DeleteDeploymentSetResult.h"
#include "model/DeleteDiskRequest.h"
#include "model/DeleteDiskResult.h"
#include "model/DeleteDiskReplicaPairRequest.h"
#include "model/DeleteDiskReplicaPairResult.h"
#include "model/DeleteForwardEntryRequest.h"
#include "model/DeleteForwardEntryResult.h"
#include "model/DeleteHaVipRequest.h"
@@ -250,6 +256,8 @@
#include "model/DescribeClustersResult.h"
#include "model/DescribeCommandsRequest.h"
#include "model/DescribeCommandsResult.h"
#include "model/DescribeDedicatedBlockStorageClustersRequest.h"
#include "model/DescribeDedicatedBlockStorageClustersResult.h"
#include "model/DescribeDedicatedHostAutoRenewRequest.h"
#include "model/DescribeDedicatedHostAutoRenewResult.h"
#include "model/DescribeDedicatedHostClustersRequest.h"
@@ -266,6 +274,8 @@
#include "model/DescribeDeploymentSetsResult.h"
#include "model/DescribeDiskMonitorDataRequest.h"
#include "model/DescribeDiskMonitorDataResult.h"
#include "model/DescribeDiskReplicaPairsRequest.h"
#include "model/DescribeDiskReplicaPairsResult.h"
#include "model/DescribeDisksRequest.h"
#include "model/DescribeDisksResult.h"
#include "model/DescribeDisksFullStatusRequest.h"
@@ -644,6 +654,8 @@
#include "model/RunInstancesResult.h"
#include "model/SendFileRequest.h"
#include "model/SendFileResult.h"
#include "model/StartDiskReplicaPairRequest.h"
#include "model/StartDiskReplicaPairResult.h"
#include "model/StartElasticityAssuranceRequest.h"
#include "model/StartElasticityAssuranceResult.h"
#include "model/StartImagePipelineExecutionRequest.h"
@@ -652,6 +664,8 @@
#include "model/StartInstanceResult.h"
#include "model/StartInstancesRequest.h"
#include "model/StartInstancesResult.h"
#include "model/StopDiskReplicaPairRequest.h"
#include "model/StopDiskReplicaPairResult.h"
#include "model/StopInstanceRequest.h"
#include "model/StopInstanceResult.h"
#include "model/StopInstancesRequest.h"
@@ -785,6 +799,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateCommandResult> CreateCommandOutcome;
typedef std::future<CreateCommandOutcome> CreateCommandOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateCommandRequest&, const CreateCommandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCommandAsyncHandler;
typedef Outcome<Error, Model::CreateDedicatedBlockStorageClusterResult> CreateDedicatedBlockStorageClusterOutcome;
typedef std::future<CreateDedicatedBlockStorageClusterOutcome> CreateDedicatedBlockStorageClusterOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDedicatedBlockStorageClusterRequest&, const CreateDedicatedBlockStorageClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDedicatedBlockStorageClusterAsyncHandler;
typedef Outcome<Error, Model::CreateDedicatedHostClusterResult> CreateDedicatedHostClusterOutcome;
typedef std::future<CreateDedicatedHostClusterOutcome> CreateDedicatedHostClusterOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDedicatedHostClusterRequest&, const CreateDedicatedHostClusterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDedicatedHostClusterAsyncHandler;
@@ -797,6 +814,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateDiskResult> CreateDiskOutcome;
typedef std::future<CreateDiskOutcome> CreateDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDiskRequest&, const CreateDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiskAsyncHandler;
typedef Outcome<Error, Model::CreateDiskReplicaPairResult> CreateDiskReplicaPairOutcome;
typedef std::future<CreateDiskReplicaPairOutcome> CreateDiskReplicaPairOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateDiskReplicaPairRequest&, const CreateDiskReplicaPairOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiskReplicaPairAsyncHandler;
typedef Outcome<Error, Model::CreateElasticityAssuranceResult> CreateElasticityAssuranceOutcome;
typedef std::future<CreateElasticityAssuranceOutcome> CreateElasticityAssuranceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::CreateElasticityAssuranceRequest&, const CreateElasticityAssuranceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateElasticityAssuranceAsyncHandler;
@@ -902,6 +922,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDiskResult> DeleteDiskOutcome;
typedef std::future<DeleteDiskOutcome> DeleteDiskOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteDiskRequest&, const DeleteDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDiskAsyncHandler;
typedef Outcome<Error, Model::DeleteDiskReplicaPairResult> DeleteDiskReplicaPairOutcome;
typedef std::future<DeleteDiskReplicaPairOutcome> DeleteDiskReplicaPairOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteDiskReplicaPairRequest&, const DeleteDiskReplicaPairOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDiskReplicaPairAsyncHandler;
typedef Outcome<Error, Model::DeleteForwardEntryResult> DeleteForwardEntryOutcome;
typedef std::future<DeleteForwardEntryOutcome> DeleteForwardEntryOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DeleteForwardEntryRequest&, const DeleteForwardEntryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteForwardEntryAsyncHandler;
@@ -1025,6 +1048,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeCommandsResult> DescribeCommandsOutcome;
typedef std::future<DescribeCommandsOutcome> DescribeCommandsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeCommandsRequest&, const DescribeCommandsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCommandsAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedBlockStorageClustersResult> DescribeDedicatedBlockStorageClustersOutcome;
typedef std::future<DescribeDedicatedBlockStorageClustersOutcome> DescribeDedicatedBlockStorageClustersOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedBlockStorageClustersRequest&, const DescribeDedicatedBlockStorageClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedBlockStorageClustersAsyncHandler;
typedef Outcome<Error, Model::DescribeDedicatedHostAutoRenewResult> DescribeDedicatedHostAutoRenewOutcome;
typedef std::future<DescribeDedicatedHostAutoRenewOutcome> DescribeDedicatedHostAutoRenewOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDedicatedHostAutoRenewRequest&, const DescribeDedicatedHostAutoRenewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostAutoRenewAsyncHandler;
@@ -1049,6 +1075,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDiskMonitorDataResult> DescribeDiskMonitorDataOutcome;
typedef std::future<DescribeDiskMonitorDataOutcome> DescribeDiskMonitorDataOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDiskMonitorDataRequest&, const DescribeDiskMonitorDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiskMonitorDataAsyncHandler;
typedef Outcome<Error, Model::DescribeDiskReplicaPairsResult> DescribeDiskReplicaPairsOutcome;
typedef std::future<DescribeDiskReplicaPairsOutcome> DescribeDiskReplicaPairsOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDiskReplicaPairsRequest&, const DescribeDiskReplicaPairsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDiskReplicaPairsAsyncHandler;
typedef Outcome<Error, Model::DescribeDisksResult> DescribeDisksOutcome;
typedef std::future<DescribeDisksOutcome> DescribeDisksOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::DescribeDisksRequest&, const DescribeDisksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDisksAsyncHandler;
@@ -1616,6 +1645,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SendFileResult> SendFileOutcome;
typedef std::future<SendFileOutcome> SendFileOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::SendFileRequest&, const SendFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendFileAsyncHandler;
typedef Outcome<Error, Model::StartDiskReplicaPairResult> StartDiskReplicaPairOutcome;
typedef std::future<StartDiskReplicaPairOutcome> StartDiskReplicaPairOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartDiskReplicaPairRequest&, const StartDiskReplicaPairOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDiskReplicaPairAsyncHandler;
typedef Outcome<Error, Model::StartElasticityAssuranceResult> StartElasticityAssuranceOutcome;
typedef std::future<StartElasticityAssuranceOutcome> StartElasticityAssuranceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartElasticityAssuranceRequest&, const StartElasticityAssuranceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartElasticityAssuranceAsyncHandler;
@@ -1628,6 +1660,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StartInstancesResult> StartInstancesOutcome;
typedef std::future<StartInstancesOutcome> StartInstancesOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StartInstancesRequest&, const StartInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartInstancesAsyncHandler;
typedef Outcome<Error, Model::StopDiskReplicaPairResult> StopDiskReplicaPairOutcome;
typedef std::future<StopDiskReplicaPairOutcome> StopDiskReplicaPairOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StopDiskReplicaPairRequest&, const StopDiskReplicaPairOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopDiskReplicaPairAsyncHandler;
typedef Outcome<Error, Model::StopInstanceResult> StopInstanceOutcome;
typedef std::future<StopInstanceOutcome> StopInstanceOutcomeCallable;
typedef std::function<void(const EcsClient*, const Model::StopInstanceRequest&, const StopInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopInstanceAsyncHandler;
@@ -1768,6 +1803,9 @@ namespace AlibabaCloud
CreateCommandOutcome createCommand(const Model::CreateCommandRequest &request)const;
void createCommandAsync(const Model::CreateCommandRequest& request, const CreateCommandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCommandOutcomeCallable createCommandCallable(const Model::CreateCommandRequest& request) const;
CreateDedicatedBlockStorageClusterOutcome createDedicatedBlockStorageCluster(const Model::CreateDedicatedBlockStorageClusterRequest &request)const;
void createDedicatedBlockStorageClusterAsync(const Model::CreateDedicatedBlockStorageClusterRequest& request, const CreateDedicatedBlockStorageClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDedicatedBlockStorageClusterOutcomeCallable createDedicatedBlockStorageClusterCallable(const Model::CreateDedicatedBlockStorageClusterRequest& request) const;
CreateDedicatedHostClusterOutcome createDedicatedHostCluster(const Model::CreateDedicatedHostClusterRequest &request)const;
void createDedicatedHostClusterAsync(const Model::CreateDedicatedHostClusterRequest& request, const CreateDedicatedHostClusterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDedicatedHostClusterOutcomeCallable createDedicatedHostClusterCallable(const Model::CreateDedicatedHostClusterRequest& request) const;
@@ -1780,6 +1818,9 @@ namespace AlibabaCloud
CreateDiskOutcome createDisk(const Model::CreateDiskRequest &request)const;
void createDiskAsync(const Model::CreateDiskRequest& request, const CreateDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDiskOutcomeCallable createDiskCallable(const Model::CreateDiskRequest& request) const;
CreateDiskReplicaPairOutcome createDiskReplicaPair(const Model::CreateDiskReplicaPairRequest &request)const;
void createDiskReplicaPairAsync(const Model::CreateDiskReplicaPairRequest& request, const CreateDiskReplicaPairAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDiskReplicaPairOutcomeCallable createDiskReplicaPairCallable(const Model::CreateDiskReplicaPairRequest& request) const;
CreateElasticityAssuranceOutcome createElasticityAssurance(const Model::CreateElasticityAssuranceRequest &request)const;
void createElasticityAssuranceAsync(const Model::CreateElasticityAssuranceRequest& request, const CreateElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateElasticityAssuranceOutcomeCallable createElasticityAssuranceCallable(const Model::CreateElasticityAssuranceRequest& request) const;
@@ -1885,6 +1926,9 @@ namespace AlibabaCloud
DeleteDiskOutcome deleteDisk(const Model::DeleteDiskRequest &request)const;
void deleteDiskAsync(const Model::DeleteDiskRequest& request, const DeleteDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDiskOutcomeCallable deleteDiskCallable(const Model::DeleteDiskRequest& request) const;
DeleteDiskReplicaPairOutcome deleteDiskReplicaPair(const Model::DeleteDiskReplicaPairRequest &request)const;
void deleteDiskReplicaPairAsync(const Model::DeleteDiskReplicaPairRequest& request, const DeleteDiskReplicaPairAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDiskReplicaPairOutcomeCallable deleteDiskReplicaPairCallable(const Model::DeleteDiskReplicaPairRequest& request) const;
DeleteForwardEntryOutcome deleteForwardEntry(const Model::DeleteForwardEntryRequest &request)const;
void deleteForwardEntryAsync(const Model::DeleteForwardEntryRequest& request, const DeleteForwardEntryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteForwardEntryOutcomeCallable deleteForwardEntryCallable(const Model::DeleteForwardEntryRequest& request) const;
@@ -2008,6 +2052,9 @@ namespace AlibabaCloud
DescribeCommandsOutcome describeCommands(const Model::DescribeCommandsRequest &request)const;
void describeCommandsAsync(const Model::DescribeCommandsRequest& request, const DescribeCommandsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeCommandsOutcomeCallable describeCommandsCallable(const Model::DescribeCommandsRequest& request) const;
DescribeDedicatedBlockStorageClustersOutcome describeDedicatedBlockStorageClusters(const Model::DescribeDedicatedBlockStorageClustersRequest &request)const;
void describeDedicatedBlockStorageClustersAsync(const Model::DescribeDedicatedBlockStorageClustersRequest& request, const DescribeDedicatedBlockStorageClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedBlockStorageClustersOutcomeCallable describeDedicatedBlockStorageClustersCallable(const Model::DescribeDedicatedBlockStorageClustersRequest& request) const;
DescribeDedicatedHostAutoRenewOutcome describeDedicatedHostAutoRenew(const Model::DescribeDedicatedHostAutoRenewRequest &request)const;
void describeDedicatedHostAutoRenewAsync(const Model::DescribeDedicatedHostAutoRenewRequest& request, const DescribeDedicatedHostAutoRenewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDedicatedHostAutoRenewOutcomeCallable describeDedicatedHostAutoRenewCallable(const Model::DescribeDedicatedHostAutoRenewRequest& request) const;
@@ -2032,6 +2079,9 @@ namespace AlibabaCloud
DescribeDiskMonitorDataOutcome describeDiskMonitorData(const Model::DescribeDiskMonitorDataRequest &request)const;
void describeDiskMonitorDataAsync(const Model::DescribeDiskMonitorDataRequest& request, const DescribeDiskMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiskMonitorDataOutcomeCallable describeDiskMonitorDataCallable(const Model::DescribeDiskMonitorDataRequest& request) const;
DescribeDiskReplicaPairsOutcome describeDiskReplicaPairs(const Model::DescribeDiskReplicaPairsRequest &request)const;
void describeDiskReplicaPairsAsync(const Model::DescribeDiskReplicaPairsRequest& request, const DescribeDiskReplicaPairsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDiskReplicaPairsOutcomeCallable describeDiskReplicaPairsCallable(const Model::DescribeDiskReplicaPairsRequest& request) const;
DescribeDisksOutcome describeDisks(const Model::DescribeDisksRequest &request)const;
void describeDisksAsync(const Model::DescribeDisksRequest& request, const DescribeDisksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDisksOutcomeCallable describeDisksCallable(const Model::DescribeDisksRequest& request) const;
@@ -2599,6 +2649,9 @@ namespace AlibabaCloud
SendFileOutcome sendFile(const Model::SendFileRequest &request)const;
void sendFileAsync(const Model::SendFileRequest& request, const SendFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendFileOutcomeCallable sendFileCallable(const Model::SendFileRequest& request) const;
StartDiskReplicaPairOutcome startDiskReplicaPair(const Model::StartDiskReplicaPairRequest &request)const;
void startDiskReplicaPairAsync(const Model::StartDiskReplicaPairRequest& request, const StartDiskReplicaPairAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartDiskReplicaPairOutcomeCallable startDiskReplicaPairCallable(const Model::StartDiskReplicaPairRequest& request) const;
StartElasticityAssuranceOutcome startElasticityAssurance(const Model::StartElasticityAssuranceRequest &request)const;
void startElasticityAssuranceAsync(const Model::StartElasticityAssuranceRequest& request, const StartElasticityAssuranceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartElasticityAssuranceOutcomeCallable startElasticityAssuranceCallable(const Model::StartElasticityAssuranceRequest& request) const;
@@ -2611,6 +2664,9 @@ namespace AlibabaCloud
StartInstancesOutcome startInstances(const Model::StartInstancesRequest &request)const;
void startInstancesAsync(const Model::StartInstancesRequest& request, const StartInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartInstancesOutcomeCallable startInstancesCallable(const Model::StartInstancesRequest& request) const;
StopDiskReplicaPairOutcome stopDiskReplicaPair(const Model::StopDiskReplicaPairRequest &request)const;
void stopDiskReplicaPairAsync(const Model::StopDiskReplicaPairRequest& request, const StopDiskReplicaPairAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopDiskReplicaPairOutcomeCallable stopDiskReplicaPairCallable(const Model::StopDiskReplicaPairRequest& request) const;
StopInstanceOutcome stopInstance(const Model::StopInstanceRequest &request)const;
void stopInstanceAsync(const Model::StopInstanceRequest& request, const StopInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopInstanceOutcomeCallable stopInstanceCallable(const Model::StopInstanceRequest& request) const;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getChoice()const;
void setChoice(const std::string& choice);
private:
std::string eventId_;
@@ -55,6 +57,7 @@ namespace AlibabaCloud
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string choice_;
};
}

View File

@@ -0,0 +1,90 @@
/*
* 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_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateDedicatedBlockStorageClusterRequest : public RpcServiceRequest
{
public:
CreateDedicatedBlockStorageClusterRequest();
~CreateDedicatedBlockStorageClusterRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDedicatedBlockStorageClusterName()const;
void setDedicatedBlockStorageClusterName(const std::string& dedicatedBlockStorageClusterName);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getDescription()const;
void setDescription(const std::string& description);
int getCapacity()const;
void setCapacity(int capacity);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPeriod()const;
void setPeriod(int period);
std::string getFromApp()const;
void setFromApp(const std::string& fromApp);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPerformanceLevel()const;
void setPerformanceLevel(const std::string& performanceLevel);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getCategory()const;
void setCategory(const std::string& category);
private:
long resourceOwnerId_;
std::string dedicatedBlockStorageClusterName_;
std::string clientToken_;
std::string description_;
int capacity_;
std::string regionId_;
int period_;
std::string fromApp_;
std::string resourceOwnerAccount_;
std::string performanceLevel_;
std::string ownerAccount_;
long ownerId_;
std::string periodUnit_;
std::string zoneId_;
std::string category_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateDedicatedBlockStorageClusterResult : public ServiceResult
{
public:
CreateDedicatedBlockStorageClusterResult();
explicit CreateDedicatedBlockStorageClusterResult(const std::string &payload);
~CreateDedicatedBlockStorageClusterResult();
std::string getDedicatedBlockStorageClusterOrderId()const;
std::string getDedicatedBlockStorageClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string dedicatedBlockStorageClusterOrderId_;
std::string dedicatedBlockStorageClusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEDICATEDBLOCKSTORAGECLUSTERRESULT_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_ECS_MODEL_CREATEDISKREPLICAPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDISKREPLICAPAIRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateDiskReplicaPairRequest : public RpcServiceRequest
{
public:
CreateDiskReplicaPairRequest();
~CreateDiskReplicaPairRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPairName()const;
void setPairName(const std::string& pairName);
std::string getDestinationRegionId()const;
void setDestinationRegionId(const std::string& destinationRegionId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDiskId()const;
void setDiskId(const std::string& diskId);
int getAsyncCycle()const;
void setAsyncCycle(int asyncCycle);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDestinationDiskId()const;
void setDestinationDiskId(const std::string& destinationDiskId);
private:
long resourceOwnerId_;
std::string pairName_;
std::string destinationRegionId_;
std::string description_;
std::string regionId_;
std::string diskId_;
int asyncCycle_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string destinationDiskId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDISKREPLICAPAIRREQUEST_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_ECS_MODEL_CREATEDISKREPLICAPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDISKREPLICAPAIRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateDiskReplicaPairResult : public ServiceResult
{
public:
CreateDiskReplicaPairResult();
explicit CreateDiskReplicaPairResult(const std::string &payload);
~CreateDiskReplicaPairResult();
std::string getPairId()const;
protected:
void parse(const std::string &payload);
private:
std::string pairId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDISKREPLICAPAIRRESULT_H_

View File

@@ -73,6 +73,8 @@ namespace AlibabaCloud
void setArn(const std::vector<Arn>& arn);
std::string getAdvancedFeatures()const;
void setAdvancedFeatures(const std::string& advancedFeatures);
std::string getDedicatedBlockStorageClusterId()const;
void setDedicatedBlockStorageClusterId(const std::string& dedicatedBlockStorageClusterId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPerformanceLevel()const;
@@ -108,6 +110,7 @@ namespace AlibabaCloud
std::vector<Tag> tag_;
std::vector<Arn> arn_;
std::string advancedFeatures_;
std::string dedicatedBlockStorageClusterId_;
std::string resourceOwnerAccount_;
std::string performanceLevel_;
std::string ownerAccount_;

View File

@@ -71,10 +71,14 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
int getQueuePairNumber()const;
void setQueuePairNumber(int queuePairNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::vector<std::string> getSecurityGroupIds()const;
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds);
std::string getNetworkInterfaceTrafficMode()const;
void setNetworkInterfaceTrafficMode(const std::string& networkInterfaceTrafficMode);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::vector<std::string> getPrivateIpAddress()const;
@@ -98,8 +102,10 @@ namespace AlibabaCloud
bool visible_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
int queuePairNumber_;
long ownerId_;
std::vector<std::string> securityGroupIds_;
std::string networkInterfaceTrafficMode_;
std::string vSwitchId_;
std::vector<std::string> privateIpAddress_;
std::string primaryIpAddress_;

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_ECS_MODEL_DELETEDISKREPLICAPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEDISKREPLICAPAIRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteDiskReplicaPairRequest : public RpcServiceRequest
{
public:
DeleteDiskReplicaPairRequest();
~DeleteDiskReplicaPairRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getReplicaPairId()const;
void setReplicaPairId(const std::string& replicaPairId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string replicaPairId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEDISKREPLICAPAIRREQUEST_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_ECS_MODEL_DELETEDISKREPLICAPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DELETEDISKREPLICAPAIRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DeleteDiskReplicaPairResult : public ServiceResult
{
public:
DeleteDiskReplicaPairResult();
explicit DeleteDiskReplicaPairResult(const std::string &payload);
~DeleteDiskReplicaPairResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DELETEDISKREPLICAPAIRRESULT_H_

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string oSType;
long invocationCount;
std::string cloudAssistantStatus;
std::string lastHeartbeatTime;
std::string lastInvokedTime;
long activeTaskCount;
};

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_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedBlockStorageClustersRequest : public RpcServiceRequest
{
public:
DescribeDedicatedBlockStorageClustersRequest();
~DescribeDedicatedBlockStorageClustersRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::vector<std::string> getDedicatedBlockStorageClusterId()const;
void setDedicatedBlockStorageClusterId(const std::vector<std::string>& dedicatedBlockStorageClusterId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
int getMaxResults()const;
void setMaxResults(int maxResults);
std::string getCategory()const;
void setCategory(const std::string& category);
std::vector<std::string> getStatus()const;
void setStatus(const std::vector<std::string>& status);
private:
long resourceOwnerId_;
std::string regionId_;
std::string nextToken_;
std::vector<std::string> dedicatedBlockStorageClusterId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string zoneId_;
int maxResults_;
std::string category_;
std::vector<std::string> status_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSREQUEST_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_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedBlockStorageClustersResult : public ServiceResult
{
public:
struct DedicatedBlockStorageCluster
{
struct DedicatedBlockStorageClusterCapacity
{
long availableCapacity;
long totalCapacity;
};
std::string status;
std::string description;
std::string category;
std::string zoneId;
std::string dedicatedBlockStorageClusterId;
std::string performanceLevel;
std::string expiredTime;
std::string createTime;
std::string dedicatedBlockStorageClusterName;
DedicatedBlockStorageClusterCapacity dedicatedBlockStorageClusterCapacity;
};
DescribeDedicatedBlockStorageClustersResult();
explicit DescribeDedicatedBlockStorageClustersResult(const std::string &payload);
~DescribeDedicatedBlockStorageClustersResult();
std::vector<DedicatedBlockStorageCluster> getDedicatedBlockStorageClusters()const;
std::string getNextToken()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DedicatedBlockStorageCluster> dedicatedBlockStorageClusters_;
std::string nextToken_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDEDICATEDBLOCKSTORAGECLUSTERSRESULT_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_ECS_MODEL_DESCRIBEDISKREPLICAPAIRSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDISKREPLICAPAIRSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDiskReplicaPairsRequest : public RpcServiceRequest
{
public:
DescribeDiskReplicaPairsRequest();
~DescribeDiskReplicaPairsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getMaxResults()const;
void setMaxResults(int maxResults);
private:
long resourceOwnerId_;
std::string regionId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
int maxResults_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDISKREPLICAPAIRSREQUEST_H_

View 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_ECS_MODEL_DESCRIBEDISKREPLICAPAIRSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEDISKREPLICAPAIRSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT DescribeDiskReplicaPairsResult : public ServiceResult
{
public:
struct DiskReplicaPair
{
std::string status;
std::string destinationDiskId;
std::string description;
std::string pairName;
std::string destinationRegion;
std::string replicaPairId;
std::string sourceRegion;
std::string sourceDiskId;
};
DescribeDiskReplicaPairsResult();
explicit DescribeDiskReplicaPairsResult(const std::string &payload);
~DescribeDiskReplicaPairsResult();
std::string getNextToken()const;
std::vector<DiskReplicaPair> getDiskReplicaPairs()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<DiskReplicaPair> diskReplicaPairs_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEDISKREPLICAPAIRSRESULT_H_

View File

@@ -54,6 +54,7 @@ namespace AlibabaCloud
std::string category;
std::string kMSKeyId;
std::string resourceGroupId;
std::string dedicatedBlockStorageClusterId;
int size;
bool encrypted;
bool deleteAutoSnapshot;

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setInstanceEventCycleStatus(const std::vector<std::string>& instanceEventCycleStatus);
std::string getEventPublishTimeEnd()const;
void setEventPublishTimeEnd(const std::string& eventPublishTimeEnd);
std::vector<std::string> getResourceId()const;
void setResourceId(const std::vector<std::string>& resourceId);
std::vector<std::string> getInstanceEventType()const;
void setInstanceEventType(const std::vector<std::string>& instanceEventType);
std::string getResourceOwnerAccount()const;
@@ -63,6 +65,8 @@ namespace AlibabaCloud
void setNotBeforeStart(const std::string& notBeforeStart);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
std::string getEventPublishTimeStart()const;
void setEventPublishTimeStart(const std::string& eventPublishTimeStart);
std::string getInstanceId()const;
@@ -82,11 +86,13 @@ namespace AlibabaCloud
int pageSize_;
std::vector<std::string> instanceEventCycleStatus_;
std::string eventPublishTimeEnd_;
std::vector<std::string> resourceId_;
std::vector<std::string> instanceEventType_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string notBeforeStart_;
long ownerId_;
std::string resourceType_;
std::string eventPublishTimeStart_;
std::string instanceId_;
std::string notBeforeEnd_;

View File

@@ -66,6 +66,7 @@ namespace AlibabaCloud
std::string impactLevel;
ExtendedAttribute extendedAttribute;
std::string eventId;
std::string resourceType;
std::string notBefore;
std::string reason;
};

View File

@@ -35,12 +35,14 @@ namespace AlibabaCloud
struct InstanceType
{
long instancePpsTx;
std::string nvmeSupport;
int primaryEniQueueNumber;
long localStorageCapacity;
int totalEniQueueQuantity;
bool eniTrunkSupported;
std::string instanceTypeFamily;
long instancePpsRx;
int eriQuantity;
int instanceBandwidthRx;
int instanceBandwidthTx;
int localStorageAmount;
@@ -57,6 +59,7 @@ namespace AlibabaCloud
int eniQuantity;
int gPUAmount;
int diskQuantity;
int queuePairNumber;
int baselineCredit;
std::string instanceFamilyLevel;
int eniPrivateIpAddressQuantity;

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
int dropped;
std::string invocationStatus;
std::string instanceId;
bool timed;
std::string instanceInvokeStatus;
long exitCode;
std::string errorInfo;
@@ -56,6 +57,7 @@ namespace AlibabaCloud
bool timed;
std::vector<Invocation::InvokeInstance> invokeInstances;
std::string commandContent;
std::string repeatMode;
std::string invokeStatus;
std::string commandType;
std::string username;

View File

@@ -69,55 +69,59 @@ namespace AlibabaCloud
DescribeNetworkInterfaceAttributeResult();
explicit DescribeNetworkInterfaceAttributeResult(const std::string &payload);
~DescribeNetworkInterfaceAttributeResult();
std::string getStatus()const;
std::string getPrivateIpAddress()const;
std::string getDescription()const;
std::string getZoneId()const;
std::string getResourceGroupId()const;
bool getServiceManaged()const;
Attachment getAttachment()const;
std::string getNetworkInterfaceId()const;
std::vector<Ipv6Set> getIpv6Sets()const;
std::string getOwnerId()const;
AssociatedPublicIp getAssociatedPublicIp()const;
std::vector<Tag> getTags()const;
std::string getStatus()const;
std::string getNetworkInterfaceTrafficMode()const;
std::string getZoneId()const;
std::string getInstanceId()const;
std::string getVSwitchId()const;
std::string getNetworkInterfaceName()const;
Attachment getAttachment()const;
std::string getNetworkInterfaceId()const;
std::string getMacAddress()const;
std::vector<std::string> getSecurityGroupIds()const;
long getServiceID()const;
std::string getType()const;
std::vector<Ipv6Set> getIpv6Sets()const;
int getQueueNumber()const;
int getQueuePairNumber()const;
std::string getVpcId()const;
std::string getOwnerId()const;
AssociatedPublicIp getAssociatedPublicIp()const;
std::string getCreationTime()const;
std::vector<Tag> getTags()const;
std::vector<PrivateIpSet> getPrivateIpSets()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string privateIpAddress_;
std::string description_;
std::string zoneId_;
std::string resourceGroupId_;
bool serviceManaged_;
Attachment attachment_;
std::string networkInterfaceId_;
std::vector<Ipv6Set> ipv6Sets_;
std::string ownerId_;
AssociatedPublicIp associatedPublicIp_;
std::vector<Tag> tags_;
std::string status_;
std::string networkInterfaceTrafficMode_;
std::string zoneId_;
std::string instanceId_;
std::string vSwitchId_;
std::string networkInterfaceName_;
Attachment attachment_;
std::string networkInterfaceId_;
std::string macAddress_;
std::vector<std::string> securityGroupIds_;
long serviceID_;
std::string type_;
std::vector<Ipv6Set> ipv6Sets_;
int queueNumber_;
int queuePairNumber_;
std::string vpcId_;
std::string ownerId_;
AssociatedPublicIp associatedPublicIp_;
std::string creationTime_;
std::vector<Tag> tags_;
std::vector<PrivateIpSet> privateIpSets_;
};

View File

@@ -65,28 +65,30 @@ namespace AlibabaCloud
std::string tagKey;
std::string tagValue;
};
std::string status;
std::string privateIpAddress;
std::string description;
std::string zoneId;
std::string resourceGroupId;
bool serviceManaged;
Attachment attachment;
std::string networkInterfaceId;
std::vector<NetworkInterfaceSet::Ipv6Set> ipv6Sets;
std::string ownerId;
AssociatedPublicIp associatedPublicIp;
std::vector<NetworkInterfaceSet::Tag> tags;
std::string status;
std::string networkInterfaceTrafficMode;
std::string zoneId;
std::string instanceId;
std::string vSwitchId;
std::string networkInterfaceName;
Attachment attachment;
std::string networkInterfaceId;
std::string macAddress;
std::vector<std::string> securityGroupIds;
long serviceID;
std::string type;
std::vector<NetworkInterfaceSet::Ipv6Set> ipv6Sets;
int queueNumber;
int queuePairNumber;
std::string vpcId;
std::string ownerId;
AssociatedPublicIp associatedPublicIp;
std::string creationTime;
std::vector<NetworkInterfaceSet::Tag> tags;
std::vector<NetworkInterfaceSet::PrivateIpSet> privateIpSets;
};

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setFrequency(const std::string& frequency);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRepeatMode()const;
void setRepeatMode(const std::string& repeatMode);
std::string getWindowsPasswordName()const;
void setWindowsPasswordName(const std::string& windowsPasswordName);
bool getTimed()const;
@@ -65,6 +67,7 @@ namespace AlibabaCloud
std::string commandId_;
std::string frequency_;
std::string regionId_;
std::string repeatMode_;
std::string windowsPasswordName_;
bool timed_;
std::string resourceOwnerAccount_;

View File

@@ -43,6 +43,8 @@ namespace AlibabaCloud
void setDiskName(const std::string& diskName);
bool getDeleteAutoSnapshot()const;
void setDeleteAutoSnapshot(bool deleteAutoSnapshot);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getDiskIds()const;
void setDiskIds(const std::vector<std::string>& diskIds);
std::string getDiskId()const;
@@ -63,6 +65,7 @@ namespace AlibabaCloud
std::string description_;
std::string diskName_;
bool deleteAutoSnapshot_;
std::string regionId_;
std::vector<std::string> diskIds_;
std::string diskId_;
bool deleteWithInstance_;

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setRegionId(const std::string& regionId);
std::string getContentEncoding()const;
void setContentEncoding(const std::string& contentEncoding);
std::string getRepeatMode()const;
void setRepeatMode(const std::string& repeatMode);
std::string getWindowsPasswordName()const;
void setWindowsPasswordName(const std::string& windowsPasswordName);
bool getKeepCommand()const;
@@ -86,6 +88,7 @@ namespace AlibabaCloud
std::string frequency_;
std::string regionId_;
std::string contentEncoding_;
std::string repeatMode_;
std::string windowsPasswordName_;
bool keepCommand_;
bool timed_;

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_ECS_MODEL_STARTDISKREPLICAPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_STARTDISKREPLICAPAIRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT StartDiskReplicaPairRequest : public RpcServiceRequest
{
public:
StartDiskReplicaPairRequest();
~StartDiskReplicaPairRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getReplicaPairId()const;
void setReplicaPairId(const std::string& replicaPairId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string replicaPairId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STARTDISKREPLICAPAIRREQUEST_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_ECS_MODEL_STARTDISKREPLICAPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_STARTDISKREPLICAPAIRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT StartDiskReplicaPairResult : public ServiceResult
{
public:
StartDiskReplicaPairResult();
explicit StartDiskReplicaPairResult(const std::string &payload);
~StartDiskReplicaPairResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STARTDISKREPLICAPAIRRESULT_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_ECS_MODEL_STOPDISKREPLICAPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_STOPDISKREPLICAPAIRREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT StopDiskReplicaPairRequest : public RpcServiceRequest
{
public:
StopDiskReplicaPairRequest();
~StopDiskReplicaPairRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getReplicaPairId()const;
void setReplicaPairId(const std::string& replicaPairId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string replicaPairId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STOPDISKREPLICAPAIRREQUEST_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_ECS_MODEL_STOPDISKREPLICAPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_STOPDISKREPLICAPAIRRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT StopDiskReplicaPairResult : public ServiceResult
{
public:
StopDiskReplicaPairResult();
explicit StopDiskReplicaPairResult(const std::string &payload);
~StopDiskReplicaPairResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_STOPDISKREPLICAPAIRRESULT_H_