regenerate code
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/ModifyInstanceRequest.h"
|
||||
#include "model/ModifyInstanceResult.h"
|
||||
#include "model/MoveResourceGroupRequest.h"
|
||||
#include "model/MoveResourceGroupResult.h"
|
||||
#include "model/ReleaseInstanceRequest.h"
|
||||
#include "model/ReleaseInstanceResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
@@ -65,6 +67,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyInstanceResult> ModifyInstanceOutcome;
|
||||
typedef std::future<ModifyInstanceOutcome> ModifyInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HsmClient*, const Model::ModifyInstanceRequest&, const ModifyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveResourceGroupResult> MoveResourceGroupOutcome;
|
||||
typedef std::future<MoveResourceGroupOutcome> MoveResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const HsmClient*, const Model::MoveResourceGroupRequest&, const MoveResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReleaseInstanceResult> ReleaseInstanceOutcome;
|
||||
typedef std::future<ReleaseInstanceOutcome> ReleaseInstanceOutcomeCallable;
|
||||
typedef std::function<void(const HsmClient*, const Model::ReleaseInstanceRequest&, const ReleaseInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseInstanceAsyncHandler;
|
||||
@@ -94,6 +99,9 @@ namespace AlibabaCloud
|
||||
ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const;
|
||||
void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const;
|
||||
MoveResourceGroupOutcome moveResourceGroup(const Model::MoveResourceGroupRequest &request)const;
|
||||
void moveResourceGroupAsync(const Model::MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveResourceGroupOutcomeCallable moveResourceGroupCallable(const Model::MoveResourceGroupRequest& request) const;
|
||||
ReleaseInstanceOutcome releaseInstance(const Model::ReleaseInstanceRequest &request)const;
|
||||
void releaseInstanceAsync(const Model::ReleaseInstanceRequest& request, const ReleaseInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReleaseInstanceOutcomeCallable releaseInstanceCallable(const Model::ReleaseInstanceRequest& request) const;
|
||||
|
||||
@@ -35,25 +35,28 @@ namespace AlibabaCloud
|
||||
ConfigNetworkRequest();
|
||||
~ConfigNetworkRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getIp()const;
|
||||
void setIp(const std::string& ip);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
std::string lang_;
|
||||
std::string ip_;
|
||||
std::string vSwitchId_;
|
||||
std::string instanceId_;
|
||||
std::string sourceIp_;
|
||||
std::string vpcId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,20 +35,23 @@ namespace AlibabaCloud
|
||||
ConfigWhiteListRequest();
|
||||
~ConfigWhiteListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getWhiteList()const;
|
||||
void setWhiteList(const std::string& whiteList);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string whiteList_;
|
||||
std::string instanceId_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,25 +35,31 @@ namespace AlibabaCloud
|
||||
DescribeInstancesRequest();
|
||||
~DescribeInstancesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getHsmStatus()const;
|
||||
void setHsmStatus(int hsmStatus);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int hsmStatus_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,14 +35,17 @@ namespace AlibabaCloud
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getAcceptLanguage()const;
|
||||
void setAcceptLanguage(const std::string& acceptLanguage);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string acceptLanguage_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,9 +37,11 @@ namespace AlibabaCloud
|
||||
struct Zone
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string localName;
|
||||
};
|
||||
std::string regionId;
|
||||
std::vector<Region::Zone> zones;
|
||||
std::string localName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,20 +35,23 @@ namespace AlibabaCloud
|
||||
ModifyInstanceRequest();
|
||||
~ModifyInstanceRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_HSM_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_HSM_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/hsm/HsmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hsm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HSM_EXPORT MoveResourceGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
MoveResourceGroupRequest();
|
||||
~MoveResourceGroupRequest();
|
||||
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string sourceIp_;
|
||||
std::string regionId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HSM_MODEL_MOVERESOURCEGROUPREQUEST_H_
|
||||
49
hsm/include/alibabacloud/hsm/model/MoveResourceGroupResult.h
Normal file
49
hsm/include/alibabacloud/hsm/model/MoveResourceGroupResult.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_HSM_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_HSM_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/hsm/HsmExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Hsm
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_HSM_EXPORT MoveResourceGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MoveResourceGroupResult();
|
||||
explicit MoveResourceGroupResult(const std::string &payload);
|
||||
~MoveResourceGroupResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_HSM_MODEL_MOVERESOURCEGROUPRESULT_H_
|
||||
Reference in New Issue
Block a user