Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc4cc968c2 | ||
|
|
863129ac92 | ||
|
|
bfee7629d7 | ||
|
|
9f6ab32ea8 | ||
|
|
127ebd7d3a | ||
|
|
9b9e034594 |
19
CHANGELOG
19
CHANGELOG
@@ -1,3 +1,22 @@
|
||||
2021-04-22 Version: 1.36.697
|
||||
- Support NetworkInterface TrafficMode.
|
||||
|
||||
2021-04-22 Version: 1.36.696
|
||||
- AcceptInquiredSystemEvent adds Choice parameter.
|
||||
- DescribeInstanceHistoryEvents supports multiple resource types.
|
||||
|
||||
2021-04-22 Version: 1.36.695
|
||||
- Support CEN latest Apis.
|
||||
|
||||
2021-04-22 Version: 1.36.694
|
||||
- Support GetPhysicalDatabase API.
|
||||
|
||||
2021-04-21 Version: 1.36.693
|
||||
- Add API to list repo members with group inherited info.
|
||||
|
||||
2021-04-20 Version: 1.36.692
|
||||
- Support Tag.
|
||||
|
||||
2021-04-20 Version: 1.36.691
|
||||
- Export predictive dialer API.
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/CreateCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/CreateCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/CreateFlowlogRequest.h
|
||||
@@ -41,6 +43,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/DeleteCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenResult.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapRequest.h
|
||||
include/alibabacloud/cbn/model/DeleteCenRouteMapResult.h
|
||||
include/alibabacloud/cbn/model/DeleteFlowlogRequest.h
|
||||
@@ -113,6 +117,8 @@ set(cbn_public_header_model
|
||||
include/alibabacloud/cbn/model/SetCenInterRegionBandwidthLimitResult.h
|
||||
include/alibabacloud/cbn/model/TagResourcesRequest.h
|
||||
include/alibabacloud/cbn/model/TagResourcesResult.h
|
||||
include/alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecRequest.h
|
||||
include/alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecResult.h
|
||||
include/alibabacloud/cbn/model/UnassociateCenBandwidthPackageRequest.h
|
||||
include/alibabacloud/cbn/model/UnassociateCenBandwidthPackageResult.h
|
||||
include/alibabacloud/cbn/model/UnroutePrivateZoneInCenToVpcRequest.h
|
||||
@@ -134,6 +140,8 @@ set(cbn_src
|
||||
src/model/CreateCenResult.cc
|
||||
src/model/CreateCenBandwidthPackageRequest.cc
|
||||
src/model/CreateCenBandwidthPackageResult.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/CreateCenRouteMapRequest.cc
|
||||
src/model/CreateCenRouteMapResult.cc
|
||||
src/model/CreateFlowlogRequest.cc
|
||||
@@ -144,6 +152,8 @@ set(cbn_src
|
||||
src/model/DeleteCenResult.cc
|
||||
src/model/DeleteCenBandwidthPackageRequest.cc
|
||||
src/model/DeleteCenBandwidthPackageResult.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
|
||||
src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
|
||||
src/model/DeleteCenRouteMapRequest.cc
|
||||
src/model/DeleteCenRouteMapResult.cc
|
||||
src/model/DeleteFlowlogRequest.cc
|
||||
@@ -216,6 +226,8 @@ set(cbn_src
|
||||
src/model/SetCenInterRegionBandwidthLimitResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/TempUpgradeCenBandwidthPackageSpecRequest.cc
|
||||
src/model/TempUpgradeCenBandwidthPackageSpecResult.cc
|
||||
src/model/UnassociateCenBandwidthPackageRequest.cc
|
||||
src/model/UnassociateCenBandwidthPackageResult.cc
|
||||
src/model/UnroutePrivateZoneInCenToVpcRequest.cc
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "model/CreateCenResult.h"
|
||||
#include "model/CreateCenBandwidthPackageRequest.h"
|
||||
#include "model/CreateCenBandwidthPackageResult.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/CreateCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/CreateCenRouteMapRequest.h"
|
||||
#include "model/CreateCenRouteMapResult.h"
|
||||
#include "model/CreateFlowlogRequest.h"
|
||||
@@ -42,6 +44,8 @@
|
||||
#include "model/DeleteCenResult.h"
|
||||
#include "model/DeleteCenBandwidthPackageRequest.h"
|
||||
#include "model/DeleteCenBandwidthPackageResult.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenRequest.h"
|
||||
#include "model/DeleteCenChildInstanceRouteEntryToCenResult.h"
|
||||
#include "model/DeleteCenRouteMapRequest.h"
|
||||
#include "model/DeleteCenRouteMapResult.h"
|
||||
#include "model/DeleteFlowlogRequest.h"
|
||||
@@ -114,6 +118,8 @@
|
||||
#include "model/SetCenInterRegionBandwidthLimitResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/TempUpgradeCenBandwidthPackageSpecRequest.h"
|
||||
#include "model/TempUpgradeCenBandwidthPackageSpecResult.h"
|
||||
#include "model/UnassociateCenBandwidthPackageRequest.h"
|
||||
#include "model/UnassociateCenBandwidthPackageResult.h"
|
||||
#include "model/UnroutePrivateZoneInCenToVpcRequest.h"
|
||||
@@ -146,6 +152,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateCenBandwidthPackageResult> CreateCenBandwidthPackageOutcome;
|
||||
typedef std::future<CreateCenBandwidthPackageOutcome> CreateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenBandwidthPackageRequest&, const CreateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenChildInstanceRouteEntryToCenResult> CreateCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<CreateCenChildInstanceRouteEntryToCenOutcome> CreateCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenChildInstanceRouteEntryToCenRequest&, const CreateCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCenRouteMapResult> CreateCenRouteMapOutcome;
|
||||
typedef std::future<CreateCenRouteMapOutcome> CreateCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::CreateCenRouteMapRequest&, const CreateCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCenRouteMapAsyncHandler;
|
||||
@@ -161,6 +170,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCenBandwidthPackageResult> DeleteCenBandwidthPackageOutcome;
|
||||
typedef std::future<DeleteCenBandwidthPackageOutcome> DeleteCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenBandwidthPackageRequest&, const DeleteCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenBandwidthPackageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenChildInstanceRouteEntryToCenResult> DeleteCenChildInstanceRouteEntryToCenOutcome;
|
||||
typedef std::future<DeleteCenChildInstanceRouteEntryToCenOutcome> DeleteCenChildInstanceRouteEntryToCenOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenChildInstanceRouteEntryToCenRequest&, const DeleteCenChildInstanceRouteEntryToCenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenChildInstanceRouteEntryToCenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCenRouteMapResult> DeleteCenRouteMapOutcome;
|
||||
typedef std::future<DeleteCenRouteMapOutcome> DeleteCenRouteMapOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::DeleteCenRouteMapRequest&, const DeleteCenRouteMapOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCenRouteMapAsyncHandler;
|
||||
@@ -269,6 +281,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::TempUpgradeCenBandwidthPackageSpecResult> TempUpgradeCenBandwidthPackageSpecOutcome;
|
||||
typedef std::future<TempUpgradeCenBandwidthPackageSpecOutcome> TempUpgradeCenBandwidthPackageSpecOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::TempUpgradeCenBandwidthPackageSpecRequest&, const TempUpgradeCenBandwidthPackageSpecOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TempUpgradeCenBandwidthPackageSpecAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnassociateCenBandwidthPackageResult> UnassociateCenBandwidthPackageOutcome;
|
||||
typedef std::future<UnassociateCenBandwidthPackageOutcome> UnassociateCenBandwidthPackageOutcomeCallable;
|
||||
typedef std::function<void(const CbnClient*, const Model::UnassociateCenBandwidthPackageRequest&, const UnassociateCenBandwidthPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnassociateCenBandwidthPackageAsyncHandler;
|
||||
@@ -301,6 +316,9 @@ namespace AlibabaCloud
|
||||
CreateCenBandwidthPackageOutcome createCenBandwidthPackage(const Model::CreateCenBandwidthPackageRequest &request)const;
|
||||
void createCenBandwidthPackageAsync(const Model::CreateCenBandwidthPackageRequest& request, const CreateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenBandwidthPackageOutcomeCallable createCenBandwidthPackageCallable(const Model::CreateCenBandwidthPackageRequest& request) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcome createCenChildInstanceRouteEntryToCen(const Model::CreateCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void createCenChildInstanceRouteEntryToCenAsync(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request, const CreateCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenChildInstanceRouteEntryToCenOutcomeCallable createCenChildInstanceRouteEntryToCenCallable(const Model::CreateCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
CreateCenRouteMapOutcome createCenRouteMap(const Model::CreateCenRouteMapRequest &request)const;
|
||||
void createCenRouteMapAsync(const Model::CreateCenRouteMapRequest& request, const CreateCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCenRouteMapOutcomeCallable createCenRouteMapCallable(const Model::CreateCenRouteMapRequest& request) const;
|
||||
@@ -316,6 +334,9 @@ namespace AlibabaCloud
|
||||
DeleteCenBandwidthPackageOutcome deleteCenBandwidthPackage(const Model::DeleteCenBandwidthPackageRequest &request)const;
|
||||
void deleteCenBandwidthPackageAsync(const Model::DeleteCenBandwidthPackageRequest& request, const DeleteCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenBandwidthPackageOutcomeCallable deleteCenBandwidthPackageCallable(const Model::DeleteCenBandwidthPackageRequest& request) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcome deleteCenChildInstanceRouteEntryToCen(const Model::DeleteCenChildInstanceRouteEntryToCenRequest &request)const;
|
||||
void deleteCenChildInstanceRouteEntryToCenAsync(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request, const DeleteCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenChildInstanceRouteEntryToCenOutcomeCallable deleteCenChildInstanceRouteEntryToCenCallable(const Model::DeleteCenChildInstanceRouteEntryToCenRequest& request) const;
|
||||
DeleteCenRouteMapOutcome deleteCenRouteMap(const Model::DeleteCenRouteMapRequest &request)const;
|
||||
void deleteCenRouteMapAsync(const Model::DeleteCenRouteMapRequest& request, const DeleteCenRouteMapAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCenRouteMapOutcomeCallable deleteCenRouteMapCallable(const Model::DeleteCenRouteMapRequest& request) const;
|
||||
@@ -424,6 +445,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;
|
||||
TempUpgradeCenBandwidthPackageSpecOutcome tempUpgradeCenBandwidthPackageSpec(const Model::TempUpgradeCenBandwidthPackageSpecRequest &request)const;
|
||||
void tempUpgradeCenBandwidthPackageSpecAsync(const Model::TempUpgradeCenBandwidthPackageSpecRequest& request, const TempUpgradeCenBandwidthPackageSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TempUpgradeCenBandwidthPackageSpecOutcomeCallable tempUpgradeCenBandwidthPackageSpecCallable(const Model::TempUpgradeCenBandwidthPackageSpecRequest& request) const;
|
||||
UnassociateCenBandwidthPackageOutcome unassociateCenBandwidthPackage(const Model::UnassociateCenBandwidthPackageRequest &request)const;
|
||||
void unassociateCenBandwidthPackageAsync(const Model::UnassociateCenBandwidthPackageRequest& request, const UnassociateCenBandwidthPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnassociateCenBandwidthPackageOutcomeCallable unassociateCenBandwidthPackageCallable(const Model::UnassociateCenBandwidthPackageRequest& request) const;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
int getAutoRenewDuration()const;
|
||||
void setAutoRenewDuration(int autoRenewDuration);
|
||||
std::string getBandwidthPackageChargeType()const;
|
||||
void setBandwidthPackageChargeType(const std::string& bandwidthPackageChargeType);
|
||||
std::string getGeographicRegionBId()const;
|
||||
@@ -59,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getAutoRenew()const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getPricingCycle()const;
|
||||
@@ -68,6 +72,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
int autoRenewDuration_;
|
||||
std::string bandwidthPackageChargeType_;
|
||||
std::string geographicRegionBId_;
|
||||
int period_;
|
||||
@@ -77,6 +82,7 @@ namespace AlibabaCloud
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
bool autoRenew_;
|
||||
std::string name_;
|
||||
std::string pricingCycle_;
|
||||
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCenChildInstanceRouteEntryToCenRequest();
|
||||
~CreateCenChildInstanceRouteEntryToCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getNextHopGatewayZoneId()const;
|
||||
void setNextHopGatewayZoneId(const std::string& nextHopGatewayZoneId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getChildInstanceAliUid()const;
|
||||
void setChildInstanceAliUid(long childInstanceAliUid);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string clientToken_;
|
||||
std::string nextHopGatewayZoneId_;
|
||||
std::string childInstanceRegionId_;
|
||||
std::string routeTableId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceId_;
|
||||
long childInstanceAliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
@@ -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_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT CreateCenChildInstanceRouteEntryToCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult();
|
||||
explicit CreateCenChildInstanceRouteEntryToCenResult(const std::string &payload);
|
||||
~CreateCenChildInstanceRouteEntryToCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_CREATECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getIpv6Level()const;
|
||||
void setIpv6Level(const std::string& ipv6Level);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string ipv6Level_;
|
||||
std::string description_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -41,14 +41,22 @@ namespace AlibabaCloud
|
||||
void setCommunityMatchMode(const std::string& communityMatchMode);
|
||||
std::string getMapResult()const;
|
||||
void setMapResult(const std::string& mapResult);
|
||||
std::vector<std::string> getDestinationRegionIds()const;
|
||||
void setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds);
|
||||
int getNextPriority()const;
|
||||
void setNextPriority(int nextPriority);
|
||||
std::vector<std::string> getDestinationCidrBlocks()const;
|
||||
void setDestinationCidrBlocks(const std::vector<std::string>& destinationCidrBlocks);
|
||||
bool getSystemPolicy()const;
|
||||
void setSystemPolicy(bool systemPolicy);
|
||||
std::vector<std::string> getOriginalRouteTableIds()const;
|
||||
void setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds);
|
||||
std::vector<std::string> getSourceInstanceIds()const;
|
||||
void setSourceInstanceIds(const std::vector<std::string>& sourceInstanceIds);
|
||||
std::vector<std::string> getSourceRegionIds()const;
|
||||
void setSourceRegionIds(const std::vector<std::string>& sourceRegionIds);
|
||||
std::string getGatewayZoneId()const;
|
||||
void setGatewayZoneId(const std::string& gatewayZoneId);
|
||||
std::vector<long> getMatchAsns()const;
|
||||
void setMatchAsns(const std::vector<long>& matchAsns);
|
||||
int getPreference()const;
|
||||
@@ -69,6 +77,8 @@ namespace AlibabaCloud
|
||||
void setOperateCommunitySet(const std::vector<std::string>& operateCommunitySet);
|
||||
std::vector<std::string> getRouteTypes()const;
|
||||
void setRouteTypes(const std::vector<std::string>& routeTypes);
|
||||
std::string getMatchAddressType()const;
|
||||
void setMatchAddressType(const std::string& matchAddressType);
|
||||
std::string getCidrMatchMode()const;
|
||||
void setCidrMatchMode(const std::string& cidrMatchMode);
|
||||
std::string getCenId()const;
|
||||
@@ -79,6 +89,8 @@ namespace AlibabaCloud
|
||||
void setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch);
|
||||
std::vector<std::string> getDestinationRouteTableIds()const;
|
||||
void setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds);
|
||||
std::vector<std::string> getSourceZoneIds()const;
|
||||
void setSourceZoneIds(const std::vector<std::string>& sourceZoneIds);
|
||||
std::string getTransmitDirection()const;
|
||||
void setTransmitDirection(const std::string& transmitDirection);
|
||||
std::vector<std::string> getDestinationInstanceIds()const;
|
||||
@@ -102,10 +114,14 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string communityMatchMode_;
|
||||
std::string mapResult_;
|
||||
std::vector<std::string> destinationRegionIds_;
|
||||
int nextPriority_;
|
||||
std::vector<std::string> destinationCidrBlocks_;
|
||||
bool systemPolicy_;
|
||||
std::vector<std::string> originalRouteTableIds_;
|
||||
std::vector<std::string> sourceInstanceIds_;
|
||||
std::vector<std::string> sourceRegionIds_;
|
||||
std::string gatewayZoneId_;
|
||||
std::vector<long> matchAsns_;
|
||||
int preference_;
|
||||
long ownerId_;
|
||||
@@ -116,11 +132,13 @@ namespace AlibabaCloud
|
||||
std::string communityOperateMode_;
|
||||
std::vector<std::string> operateCommunitySet_;
|
||||
std::vector<std::string> routeTypes_;
|
||||
std::string matchAddressType_;
|
||||
std::string cidrMatchMode_;
|
||||
std::string cenId_;
|
||||
std::string description_;
|
||||
bool sourceInstanceIdsReverseMatch_;
|
||||
std::vector<std::string> destinationRouteTableIds_;
|
||||
std::vector<std::string> sourceZoneIds_;
|
||||
std::string transmitDirection_;
|
||||
std::vector<std::string> destinationInstanceIds_;
|
||||
std::string resourceOwnerAccount_;
|
||||
|
||||
@@ -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_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToCenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCenChildInstanceRouteEntryToCenRequest();
|
||||
~DeleteCenChildInstanceRouteEntryToCenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getChildInstanceRegionId()const;
|
||||
void setChildInstanceRegionId(const std::string& childInstanceRegionId);
|
||||
std::string getRouteTableId()const;
|
||||
void setRouteTableId(const std::string& routeTableId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
long getChildInstanceAliUid()const;
|
||||
void setChildInstanceAliUid(long childInstanceAliUid);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceRegionId_;
|
||||
std::string routeTableId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceId_;
|
||||
long childInstanceAliUid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENREQUEST_H_
|
||||
@@ -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_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DeleteCenChildInstanceRouteEntryToCenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult();
|
||||
explicit DeleteCenChildInstanceRouteEntryToCenResult(const std::string &payload);
|
||||
~DeleteCenChildInstanceRouteEntryToCenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_DELETECENCHILDINSTANCEROUTEENTRYTOCENRESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeCenAttachedChildInstanceAttributeRequest();
|
||||
~DescribeCenAttachedChildInstanceAttributeRequest();
|
||||
|
||||
bool getIncludeRouteTable()const;
|
||||
void setIncludeRouteTable(bool includeRouteTable);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
|
||||
private:
|
||||
bool includeRouteTable_;
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceRegionId_;
|
||||
|
||||
@@ -32,13 +32,20 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenAttachedChildInstanceAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChildInstanceRouteTable
|
||||
{
|
||||
std::string routeTableId;
|
||||
std::string routeTableType;
|
||||
};
|
||||
|
||||
|
||||
DescribeCenAttachedChildInstanceAttributeResult();
|
||||
explicit DescribeCenAttachedChildInstanceAttributeResult(const std::string &payload);
|
||||
~DescribeCenAttachedChildInstanceAttributeResult();
|
||||
std::string getStatus()const;
|
||||
std::vector<ChildInstanceRouteTable> getChildInstanceRouteTables()const;
|
||||
std::string getChildInstanceType()const;
|
||||
std::string getIpv6StatusInCen()const;
|
||||
std::string getCenId()const;
|
||||
std::string getChildInstanceAttachTime()const;
|
||||
long getChildInstanceOwnerId()const;
|
||||
@@ -50,7 +57,9 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::vector<ChildInstanceRouteTable> childInstanceRouteTables_;
|
||||
std::string childInstanceType_;
|
||||
std::string ipv6StatusInCen_;
|
||||
std::string cenId_;
|
||||
std::string childInstanceAttachTime_;
|
||||
long childInstanceOwnerId_;
|
||||
|
||||
@@ -31,6 +31,11 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenBandwidthPackagesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
@@ -51,6 +56,8 @@ namespace AlibabaCloud
|
||||
void setIsOrKey(bool isOrKey);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -66,6 +73,7 @@ namespace AlibabaCloud
|
||||
int pageNumber_;
|
||||
bool isOrKey_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -41,6 +41,11 @@ namespace AlibabaCloud
|
||||
std::string bandwidthLimit;
|
||||
std::string localRegionId;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string geographicSpanId;
|
||||
@@ -63,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string reservationActiveTime;
|
||||
std::string cenBandwidthPackageId;
|
||||
std::string reservationBandwidth;
|
||||
std::vector<CenBandwidthPackage::Tag> tags;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -49,12 +49,16 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getChildInstanceType()const;
|
||||
void setChildInstanceType(const std::string& childInstanceType);
|
||||
std::string getChildInstanceId()const;
|
||||
void setChildInstanceId(const std::string& childInstanceId);
|
||||
std::string getChildInstanceRouteTableId()const;
|
||||
void setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
@@ -66,9 +70,11 @@ namespace AlibabaCloud
|
||||
std::string childInstanceRegionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string childInstanceType_;
|
||||
std::string childInstanceId_;
|
||||
std::string childInstanceRouteTableId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct CenInterRegionBandwidthLimit
|
||||
{
|
||||
std::string status;
|
||||
std::string transitRouterAttachmentId;
|
||||
std::string geographicSpanId;
|
||||
std::string oppositeRegionId;
|
||||
std::string cenId;
|
||||
|
||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCenRegionId()const;
|
||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string destinationCidrBlock_;
|
||||
long ownerId_;
|
||||
std::string cenRegionId_;
|
||||
std::string status_;
|
||||
|
||||
@@ -30,6 +30,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT DescribeCenRouteMapsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeCenRouteMapsRequest();
|
||||
@@ -53,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setRouteMapId(const std::string& routeMapId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<Filter> getFilter()const;
|
||||
void setFilter(const std::vector<Filter>& filter);
|
||||
std::string getCenRegionId()const;
|
||||
void setCenRegionId(const std::string& cenRegionId);
|
||||
|
||||
@@ -66,6 +74,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
std::string routeMapId_;
|
||||
long ownerId_;
|
||||
std::vector<Filter> filter_;
|
||||
std::string cenRegionId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct RouteMap
|
||||
{
|
||||
std::string matchAddressType;
|
||||
std::string description;
|
||||
bool sourceInstanceIdsReverseMatch;
|
||||
std::string transmitDirection;
|
||||
@@ -54,13 +55,17 @@ namespace AlibabaCloud
|
||||
std::string asPathMatchMode;
|
||||
std::string mapResult;
|
||||
std::string cidrMatchMode;
|
||||
std::vector<std::string> originalRouteTableIds;
|
||||
std::vector<std::string> routeTypes;
|
||||
std::string gatewayZoneId;
|
||||
int preference;
|
||||
std::string communityOperateMode;
|
||||
std::string cenId;
|
||||
std::vector<std::string> destinationRegionIds;
|
||||
int nextPriority;
|
||||
std::vector<std::string> prependAsPath;
|
||||
std::string communityMatchMode;
|
||||
std::vector<std::string> srcZoneIds;
|
||||
std::vector<std::string> matchAsns;
|
||||
std::vector<std::string> sourceRegionIds;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct VbrHealthCheck
|
||||
{
|
||||
std::string vbrInstanceRegionId;
|
||||
std::string linkStatus;
|
||||
int healthCheckInterval;
|
||||
std::string vbrInstanceId;
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace AlibabaCloud
|
||||
std::string status;
|
||||
std::string protectionLevel;
|
||||
std::string description;
|
||||
std::string ipv6Level;
|
||||
std::string cenId;
|
||||
std::string creationTime;
|
||||
std::vector<std::string> cenBandwidthPackageIds;
|
||||
|
||||
@@ -37,21 +37,24 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
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 getProductType()const;
|
||||
void setProductType(const std::string& productType);
|
||||
long getChildInstanceOwnerId()const;
|
||||
void setChildInstanceOwnerId(long childInstanceOwnerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string productType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string productType_;
|
||||
long childInstanceOwnerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getCenId()const;
|
||||
void setCenId(const std::string& cenId);
|
||||
std::string getIpv6Level()const;
|
||||
void setIpv6Level(const std::string& ipv6Level);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string cenId_;
|
||||
std::string ipv6Level_;
|
||||
std::string description_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -41,14 +41,20 @@ namespace AlibabaCloud
|
||||
void setCommunityMatchMode(const std::string& communityMatchMode);
|
||||
std::string getMapResult()const;
|
||||
void setMapResult(const std::string& mapResult);
|
||||
std::vector<std::string> getDestinationRegionIds()const;
|
||||
void setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds);
|
||||
int getNextPriority()const;
|
||||
void setNextPriority(int nextPriority);
|
||||
std::vector<std::string> getDestinationCidrBlocks()const;
|
||||
void setDestinationCidrBlocks(const std::vector<std::string>& destinationCidrBlocks);
|
||||
std::vector<std::string> getOriginalRouteTableIds()const;
|
||||
void setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds);
|
||||
std::vector<std::string> getSourceInstanceIds()const;
|
||||
void setSourceInstanceIds(const std::vector<std::string>& sourceInstanceIds);
|
||||
std::vector<std::string> getSourceRegionIds()const;
|
||||
void setSourceRegionIds(const std::vector<std::string>& sourceRegionIds);
|
||||
std::string getGatewayZoneId()const;
|
||||
void setGatewayZoneId(const std::string& gatewayZoneId);
|
||||
std::vector<int> getMatchAsns()const;
|
||||
void setMatchAsns(const std::vector<int>& matchAsns);
|
||||
int getPreference()const;
|
||||
@@ -69,6 +75,8 @@ namespace AlibabaCloud
|
||||
void setOperateCommunitySet(const std::vector<std::string>& operateCommunitySet);
|
||||
std::vector<std::string> getRouteTypes()const;
|
||||
void setRouteTypes(const std::vector<std::string>& routeTypes);
|
||||
std::string getMatchAddressType()const;
|
||||
void setMatchAddressType(const std::string& matchAddressType);
|
||||
std::string getCidrMatchMode()const;
|
||||
void setCidrMatchMode(const std::string& cidrMatchMode);
|
||||
std::string getCenId()const;
|
||||
@@ -79,6 +87,8 @@ namespace AlibabaCloud
|
||||
void setSourceInstanceIdsReverseMatch(bool sourceInstanceIdsReverseMatch);
|
||||
std::vector<std::string> getDestinationRouteTableIds()const;
|
||||
void setDestinationRouteTableIds(const std::vector<std::string>& destinationRouteTableIds);
|
||||
std::vector<std::string> getSourceZoneIds()const;
|
||||
void setSourceZoneIds(const std::vector<std::string>& sourceZoneIds);
|
||||
std::vector<std::string> getDestinationInstanceIds()const;
|
||||
void setDestinationInstanceIds(const std::vector<std::string>& destinationInstanceIds);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -102,10 +112,13 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string communityMatchMode_;
|
||||
std::string mapResult_;
|
||||
std::vector<std::string> destinationRegionIds_;
|
||||
int nextPriority_;
|
||||
std::vector<std::string> destinationCidrBlocks_;
|
||||
std::vector<std::string> originalRouteTableIds_;
|
||||
std::vector<std::string> sourceInstanceIds_;
|
||||
std::vector<std::string> sourceRegionIds_;
|
||||
std::string gatewayZoneId_;
|
||||
std::vector<int> matchAsns_;
|
||||
int preference_;
|
||||
long ownerId_;
|
||||
@@ -116,11 +129,13 @@ namespace AlibabaCloud
|
||||
std::string communityOperateMode_;
|
||||
std::vector<std::string> operateCommunitySet_;
|
||||
std::vector<std::string> routeTypes_;
|
||||
std::string matchAddressType_;
|
||||
std::string cidrMatchMode_;
|
||||
std::string cenId_;
|
||||
std::string description_;
|
||||
bool sourceInstanceIdsReverseMatch_;
|
||||
std::vector<std::string> destinationRouteTableIds_;
|
||||
std::vector<std::string> sourceZoneIds_;
|
||||
std::vector<std::string> destinationInstanceIds_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -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_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT TempUpgradeCenBandwidthPackageSpecRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TempUpgradeCenBandwidthPackageSpecRequest();
|
||||
~TempUpgradeCenBandwidthPackageSpecRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getBandwidth()const;
|
||||
void setBandwidth(int bandwidth);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCenBandwidthPackageId()const;
|
||||
void setCenBandwidthPackageId(const std::string& cenBandwidthPackageId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int bandwidth_;
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string cenBandwidthPackageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECREQUEST_H_
|
||||
@@ -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_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
#define ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cbn/CbnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cbn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CBN_EXPORT TempUpgradeCenBandwidthPackageSpecResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult();
|
||||
explicit TempUpgradeCenBandwidthPackageSpecResult(const std::string &payload);
|
||||
~TempUpgradeCenBandwidthPackageSpecResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CBN_MODEL_TEMPUPGRADECENBANDWIDTHPACKAGESPECRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -231,6 +231,42 @@ CbnClient::CreateCenBandwidthPackageOutcomeCallable CbnClient::createCenBandwidt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToCenOutcome CbnClient::createCenChildInstanceRouteEntryToCen(const CreateCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCenChildInstanceRouteEntryToCenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCenChildInstanceRouteEntryToCenOutcome(CreateCenChildInstanceRouteEntryToCenResult(outcome.result()));
|
||||
else
|
||||
return CreateCenChildInstanceRouteEntryToCenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::createCenChildInstanceRouteEntryToCenAsync(const CreateCenChildInstanceRouteEntryToCenRequest& request, const CreateCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCenChildInstanceRouteEntryToCen(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::CreateCenChildInstanceRouteEntryToCenOutcomeCallable CbnClient::createCenChildInstanceRouteEntryToCenCallable(const CreateCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCenChildInstanceRouteEntryToCenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCenChildInstanceRouteEntryToCen(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::CreateCenRouteMapOutcome CbnClient::createCenRouteMap(const CreateCenRouteMapRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +447,42 @@ CbnClient::DeleteCenBandwidthPackageOutcomeCallable CbnClient::deleteCenBandwidt
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToCenOutcome CbnClient::deleteCenChildInstanceRouteEntryToCen(const DeleteCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCenChildInstanceRouteEntryToCenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCenChildInstanceRouteEntryToCenOutcome(DeleteCenChildInstanceRouteEntryToCenResult(outcome.result()));
|
||||
else
|
||||
return DeleteCenChildInstanceRouteEntryToCenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::deleteCenChildInstanceRouteEntryToCenAsync(const DeleteCenChildInstanceRouteEntryToCenRequest& request, const DeleteCenChildInstanceRouteEntryToCenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCenChildInstanceRouteEntryToCen(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenChildInstanceRouteEntryToCenOutcomeCallable CbnClient::deleteCenChildInstanceRouteEntryToCenCallable(const DeleteCenChildInstanceRouteEntryToCenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCenChildInstanceRouteEntryToCenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCenChildInstanceRouteEntryToCen(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::DeleteCenRouteMapOutcome CbnClient::deleteCenRouteMap(const DeleteCenRouteMapRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,6 +1779,42 @@ CbnClient::TagResourcesOutcomeCallable CbnClient::tagResourcesCallable(const Tag
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::TempUpgradeCenBandwidthPackageSpecOutcome CbnClient::tempUpgradeCenBandwidthPackageSpec(const TempUpgradeCenBandwidthPackageSpecRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TempUpgradeCenBandwidthPackageSpecOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TempUpgradeCenBandwidthPackageSpecOutcome(TempUpgradeCenBandwidthPackageSpecResult(outcome.result()));
|
||||
else
|
||||
return TempUpgradeCenBandwidthPackageSpecOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CbnClient::tempUpgradeCenBandwidthPackageSpecAsync(const TempUpgradeCenBandwidthPackageSpecRequest& request, const TempUpgradeCenBandwidthPackageSpecAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tempUpgradeCenBandwidthPackageSpec(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CbnClient::TempUpgradeCenBandwidthPackageSpecOutcomeCallable CbnClient::tempUpgradeCenBandwidthPackageSpecCallable(const TempUpgradeCenBandwidthPackageSpecRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TempUpgradeCenBandwidthPackageSpecOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tempUpgradeCenBandwidthPackageSpec(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CbnClient::UnassociateCenBandwidthPackageOutcome CbnClient::unassociateCenBandwidthPackage(const UnassociateCenBandwidthPackageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -60,6 +60,17 @@ void CreateCenBandwidthPackageRequest::setDescription(const std::string& descrip
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
int CreateCenBandwidthPackageRequest::getAutoRenewDuration()const
|
||||
{
|
||||
return autoRenewDuration_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setAutoRenewDuration(int autoRenewDuration)
|
||||
{
|
||||
autoRenewDuration_ = autoRenewDuration;
|
||||
setParameter("AutoRenewDuration", std::to_string(autoRenewDuration));
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getBandwidthPackageChargeType()const
|
||||
{
|
||||
return bandwidthPackageChargeType_;
|
||||
@@ -159,6 +170,17 @@ void CreateCenBandwidthPackageRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CreateCenBandwidthPackageRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void CreateCenBandwidthPackageRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCenBandwidthPackageRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
172
cbn/src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
Normal file
172
cbn/src/model/CreateCenChildInstanceRouteEntryToCenRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::CreateCenChildInstanceRouteEntryToCenRequest;
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenRequest::CreateCenChildInstanceRouteEntryToCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "CreateCenChildInstanceRouteEntryToCen")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenRequest::~CreateCenChildInstanceRouteEntryToCenRequest()
|
||||
{}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getNextHopGatewayZoneId()const
|
||||
{
|
||||
return nextHopGatewayZoneId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setNextHopGatewayZoneId(const std::string& nextHopGatewayZoneId)
|
||||
{
|
||||
nextHopGatewayZoneId_ = nextHopGatewayZoneId;
|
||||
setParameter("NextHopGatewayZoneId", nextHopGatewayZoneId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long CreateCenChildInstanceRouteEntryToCenRequest::getChildInstanceAliUid()const
|
||||
{
|
||||
return childInstanceAliUid_;
|
||||
}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenRequest::setChildInstanceAliUid(long childInstanceAliUid)
|
||||
{
|
||||
childInstanceAliUid_ = childInstanceAliUid;
|
||||
setParameter("ChildInstanceAliUid", std::to_string(childInstanceAliUid));
|
||||
}
|
||||
|
||||
44
cbn/src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
Normal file
44
cbn/src/model/CreateCenChildInstanceRouteEntryToCenResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/CreateCenChildInstanceRouteEntryToCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult::CreateCenChildInstanceRouteEntryToCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult::CreateCenChildInstanceRouteEntryToCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCenChildInstanceRouteEntryToCenResult::~CreateCenChildInstanceRouteEntryToCenResult()
|
||||
{}
|
||||
|
||||
void CreateCenChildInstanceRouteEntryToCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -49,6 +49,17 @@ void CreateCenRequest::setClientToken(const std::string& clientToken)
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getIpv6Level()const
|
||||
{
|
||||
return ipv6Level_;
|
||||
}
|
||||
|
||||
void CreateCenRequest::setIpv6Level(const std::string& ipv6Level)
|
||||
{
|
||||
ipv6Level_ = ipv6Level;
|
||||
setParameter("Ipv6Level", ipv6Level);
|
||||
}
|
||||
|
||||
std::string CreateCenRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
|
||||
@@ -60,6 +60,19 @@ void CreateCenRouteMapRequest::setMapResult(const std::string& mapResult)
|
||||
setParameter("MapResult", mapResult);
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getDestinationRegionIds()const
|
||||
{
|
||||
return destinationRegionIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds)
|
||||
{
|
||||
destinationRegionIds_ = destinationRegionIds;
|
||||
for(int dep1 = 0; dep1!= destinationRegionIds.size(); dep1++) {
|
||||
setParameter("DestinationRegionIds."+ std::to_string(dep1), destinationRegionIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
int CreateCenRouteMapRequest::getNextPriority()const
|
||||
{
|
||||
return nextPriority_;
|
||||
@@ -84,6 +97,30 @@ void CreateCenRouteMapRequest::setDestinationCidrBlocks(const std::vector<std::s
|
||||
}
|
||||
}
|
||||
|
||||
bool CreateCenRouteMapRequest::getSystemPolicy()const
|
||||
{
|
||||
return systemPolicy_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setSystemPolicy(bool systemPolicy)
|
||||
{
|
||||
systemPolicy_ = systemPolicy;
|
||||
setParameter("SystemPolicy", systemPolicy ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getOriginalRouteTableIds()const
|
||||
{
|
||||
return originalRouteTableIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds)
|
||||
{
|
||||
originalRouteTableIds_ = originalRouteTableIds;
|
||||
for(int dep1 = 0; dep1!= originalRouteTableIds.size(); dep1++) {
|
||||
setParameter("OriginalRouteTableIds."+ std::to_string(dep1), originalRouteTableIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getSourceInstanceIds()const
|
||||
{
|
||||
return sourceInstanceIds_;
|
||||
@@ -110,6 +147,17 @@ void CreateCenRouteMapRequest::setSourceRegionIds(const std::vector<std::string>
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getGatewayZoneId()const
|
||||
{
|
||||
return gatewayZoneId_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setGatewayZoneId(const std::string& gatewayZoneId)
|
||||
{
|
||||
gatewayZoneId_ = gatewayZoneId;
|
||||
setParameter("GatewayZoneId", gatewayZoneId);
|
||||
}
|
||||
|
||||
std::vector<long> CreateCenRouteMapRequest::getMatchAsns()const
|
||||
{
|
||||
return matchAsns_;
|
||||
@@ -232,6 +280,17 @@ void CreateCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& rou
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getMatchAddressType()const
|
||||
{
|
||||
return matchAddressType_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setMatchAddressType(const std::string& matchAddressType)
|
||||
{
|
||||
matchAddressType_ = matchAddressType;
|
||||
setParameter("MatchAddressType", matchAddressType);
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
@@ -289,6 +348,19 @@ void CreateCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> CreateCenRouteMapRequest::getSourceZoneIds()const
|
||||
{
|
||||
return sourceZoneIds_;
|
||||
}
|
||||
|
||||
void CreateCenRouteMapRequest::setSourceZoneIds(const std::vector<std::string>& sourceZoneIds)
|
||||
{
|
||||
sourceZoneIds_ = sourceZoneIds;
|
||||
for(int dep1 = 0; dep1!= sourceZoneIds.size(); dep1++) {
|
||||
setParameter("SourceZoneIds."+ std::to_string(dep1), sourceZoneIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCenRouteMapRequest::getTransmitDirection()const
|
||||
{
|
||||
return transmitDirection_;
|
||||
|
||||
150
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
Normal file
150
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenRequest.cc
Normal file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::DeleteCenChildInstanceRouteEntryToCenRequest;
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenRequest::DeleteCenChildInstanceRouteEntryToCenRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "DeleteCenChildInstanceRouteEntryToCen")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenRequest::~DeleteCenChildInstanceRouteEntryToCenRequest()
|
||||
{}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToCenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setCenId(const std::string& cenId)
|
||||
{
|
||||
cenId_ = cenId;
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceRegionId()const
|
||||
{
|
||||
return childInstanceRegionId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceRegionId(const std::string& childInstanceRegionId)
|
||||
{
|
||||
childInstanceRegionId_ = childInstanceRegionId;
|
||||
setParameter("ChildInstanceRegionId", childInstanceRegionId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getRouteTableId()const
|
||||
{
|
||||
return routeTableId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setRouteTableId(const std::string& routeTableId)
|
||||
{
|
||||
routeTableId_ = routeTableId;
|
||||
setParameter("RouteTableId", routeTableId);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToCenRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceType(const std::string& childInstanceType)
|
||||
{
|
||||
childInstanceType_ = childInstanceType;
|
||||
setParameter("ChildInstanceType", childInstanceType);
|
||||
}
|
||||
|
||||
std::string DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceId()const
|
||||
{
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceId(const std::string& childInstanceId)
|
||||
{
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
long DeleteCenChildInstanceRouteEntryToCenRequest::getChildInstanceAliUid()const
|
||||
{
|
||||
return childInstanceAliUid_;
|
||||
}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenRequest::setChildInstanceAliUid(long childInstanceAliUid)
|
||||
{
|
||||
childInstanceAliUid_ = childInstanceAliUid;
|
||||
setParameter("ChildInstanceAliUid", std::to_string(childInstanceAliUid));
|
||||
}
|
||||
|
||||
44
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
Normal file
44
cbn/src/model/DeleteCenChildInstanceRouteEntryToCenResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/DeleteCenChildInstanceRouteEntryToCenResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult::DeleteCenChildInstanceRouteEntryToCenResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult::DeleteCenChildInstanceRouteEntryToCenResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCenChildInstanceRouteEntryToCenResult::~DeleteCenChildInstanceRouteEntryToCenResult()
|
||||
{}
|
||||
|
||||
void DeleteCenChildInstanceRouteEntryToCenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeCenAttachedChildInstanceAttributeRequest::DescribeCenAttachedChildInstan
|
||||
DescribeCenAttachedChildInstanceAttributeRequest::~DescribeCenAttachedChildInstanceAttributeRequest()
|
||||
{}
|
||||
|
||||
bool DescribeCenAttachedChildInstanceAttributeRequest::getIncludeRouteTable()const
|
||||
{
|
||||
return includeRouteTable_;
|
||||
}
|
||||
|
||||
void DescribeCenAttachedChildInstanceAttributeRequest::setIncludeRouteTable(bool includeRouteTable)
|
||||
{
|
||||
includeRouteTable_ = includeRouteTable;
|
||||
setParameter("IncludeRouteTable", includeRouteTable ? "true" : "false");
|
||||
}
|
||||
|
||||
long DescribeCenAttachedChildInstanceAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
|
||||
@@ -39,6 +39,16 @@ void DescribeCenAttachedChildInstanceAttributeResult::parse(const std::string &p
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChildInstanceRouteTablesNode = value["ChildInstanceRouteTables"]["ChildInstanceRouteTable"];
|
||||
for (auto valueChildInstanceRouteTablesChildInstanceRouteTable : allChildInstanceRouteTablesNode)
|
||||
{
|
||||
ChildInstanceRouteTable childInstanceRouteTablesObject;
|
||||
if(!valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableId"].isNull())
|
||||
childInstanceRouteTablesObject.routeTableId = valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableId"].asString();
|
||||
if(!valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableType"].isNull())
|
||||
childInstanceRouteTablesObject.routeTableType = valueChildInstanceRouteTablesChildInstanceRouteTable["RouteTableType"].asString();
|
||||
childInstanceRouteTables_.push_back(childInstanceRouteTablesObject);
|
||||
}
|
||||
if(!value["CenId"].isNull())
|
||||
cenId_ = value["CenId"].asString();
|
||||
if(!value["ChildInstanceId"].isNull())
|
||||
@@ -55,6 +65,8 @@ void DescribeCenAttachedChildInstanceAttributeResult::parse(const std::string &p
|
||||
childInstanceName_ = value["ChildInstanceName"].asString();
|
||||
if(!value["ChildInstanceAttachTime"].isNull())
|
||||
childInstanceAttachTime_ = value["ChildInstanceAttachTime"].asString();
|
||||
if(!value["Ipv6StatusInCen"].isNull())
|
||||
ipv6StatusInCen_ = value["Ipv6StatusInCen"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -63,11 +75,21 @@ std::string DescribeCenAttachedChildInstanceAttributeResult::getStatus()const
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCenAttachedChildInstanceAttributeResult::ChildInstanceRouteTable> DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceRouteTables()const
|
||||
{
|
||||
return childInstanceRouteTables_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getChildInstanceType()const
|
||||
{
|
||||
return childInstanceType_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getIpv6StatusInCen()const
|
||||
{
|
||||
return ipv6StatusInCen_;
|
||||
}
|
||||
|
||||
std::string DescribeCenAttachedChildInstanceAttributeResult::getCenId()const
|
||||
{
|
||||
return cenId_;
|
||||
|
||||
@@ -82,6 +82,22 @@ void DescribeCenBandwidthPackagesRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeCenBandwidthPackagesRequest::Tag> DescribeCenBandwidthPackagesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeCenBandwidthPackagesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeCenBandwidthPackagesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
@@ -83,20 +83,30 @@ void DescribeCenBandwidthPackagesResult::parse(const std::string &payload)
|
||||
cenBandwidthPackagesObject.reservationActiveTime = valueCenBandwidthPackagesCenBandwidthPackage["ReservationActiveTime"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackage["ReservationOrderType"].isNull())
|
||||
cenBandwidthPackagesObject.reservationOrderType = valueCenBandwidthPackagesCenBandwidthPackage["ReservationOrderType"].asString();
|
||||
auto allOrginInterRegionBandwidthLimitsNode = allCenBandwidthPackagesNode["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit : allOrginInterRegionBandwidthLimitsNode)
|
||||
auto allOrginInterRegionBandwidthLimitsNode = valueCenBandwidthPackagesCenBandwidthPackage["OrginInterRegionBandwidthLimits"]["OrginInterRegionBandwidthLimit"];
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit : allOrginInterRegionBandwidthLimitsNode)
|
||||
{
|
||||
CenBandwidthPackage::OrginInterRegionBandwidthLimit orginInterRegionBandwidthLimitsObject;
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].asString();
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.oppositeRegionId = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].asString();
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.geographicSpanId = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].asString();
|
||||
if(!allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = allCenBandwidthPackagesNodeOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.localRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["LocalRegionId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.oppositeRegionId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["OppositeRegionId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.geographicSpanId = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["GeographicSpanId"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].isNull())
|
||||
orginInterRegionBandwidthLimitsObject.bandwidthLimit = valueCenBandwidthPackagesCenBandwidthPackageOrginInterRegionBandwidthLimitsOrginInterRegionBandwidthLimit["BandwidthLimit"].asString();
|
||||
cenBandwidthPackagesObject.orginInterRegionBandwidthLimits.push_back(orginInterRegionBandwidthLimitsObject);
|
||||
}
|
||||
auto allTagsNode = valueCenBandwidthPackagesCenBandwidthPackage["Tags"]["Tag"];
|
||||
for (auto valueCenBandwidthPackagesCenBandwidthPackageTagsTag : allTagsNode)
|
||||
{
|
||||
CenBandwidthPackage::Tag tagsObject;
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Key"].asString();
|
||||
if(!valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueCenBandwidthPackagesCenBandwidthPackageTagsTag["Value"].asString();
|
||||
cenBandwidthPackagesObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allCenIds = value["CenIds"]["CenId"];
|
||||
for (auto value : allCenIds)
|
||||
cenBandwidthPackagesObject.cenIds.push_back(value.asString());
|
||||
|
||||
@@ -104,6 +104,17 @@ void DescribeCenChildInstanceRouteEntriesRequest::setOwnerAccount(const std::str
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DescribeCenChildInstanceRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -137,6 +148,17 @@ void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceId(const std::
|
||||
setParameter("ChildInstanceId", childInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getChildInstanceRouteTableId()const
|
||||
{
|
||||
return childInstanceRouteTableId_;
|
||||
}
|
||||
|
||||
void DescribeCenChildInstanceRouteEntriesRequest::setChildInstanceRouteTableId(const std::string& childInstanceRouteTableId)
|
||||
{
|
||||
childInstanceRouteTableId_ = childInstanceRouteTableId;
|
||||
setParameter("ChildInstanceRouteTableId", childInstanceRouteTableId);
|
||||
}
|
||||
|
||||
std::string DescribeCenChildInstanceRouteEntriesRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
@@ -61,30 +61,30 @@ void DescribeCenChildInstanceRouteEntriesResult::parse(const std::string &payloa
|
||||
cenRouteEntriesObject.publishStatus = valueCenRouteEntriesCenRouteEntry["PublishStatus"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntry["RouteTableId"].isNull())
|
||||
cenRouteEntriesObject.routeTableId = valueCenRouteEntriesCenRouteEntry["RouteTableId"].asString();
|
||||
auto allCenRouteMapRecordsNode = allCenRouteEntriesNode["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
auto allCenRouteMapRecordsNode = valueCenRouteEntriesCenRouteEntry["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
{
|
||||
CenRouteEntry::CenRouteMapRecord cenRouteMapRecordsObject;
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
cenRouteEntriesObject.cenRouteMapRecords.push_back(cenRouteMapRecordsObject);
|
||||
}
|
||||
auto allConflictsNode = allCenRouteEntriesNode["Conflicts"]["Conflict"];
|
||||
for (auto allCenRouteEntriesNodeConflictsConflict : allConflictsNode)
|
||||
auto allConflictsNode = valueCenRouteEntriesCenRouteEntry["Conflicts"]["Conflict"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryConflictsConflict : allConflictsNode)
|
||||
{
|
||||
CenRouteEntry::Conflict conflictsObject;
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = allCenRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = allCenRouteEntriesNodeConflictsConflict["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = allCenRouteEntriesNodeConflictsConflict["InstanceId"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = allCenRouteEntriesNodeConflictsConflict["InstanceType"].asString();
|
||||
if(!allCenRouteEntriesNodeConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = allCenRouteEntriesNodeConflictsConflict["Status"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = valueCenRouteEntriesCenRouteEntryConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = valueCenRouteEntriesCenRouteEntryConflictsConflict["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = valueCenRouteEntriesCenRouteEntryConflictsConflict["InstanceType"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = valueCenRouteEntriesCenRouteEntryConflictsConflict["Status"].asString();
|
||||
cenRouteEntriesObject.conflicts.push_back(conflictsObject);
|
||||
}
|
||||
auto allAsPaths = value["AsPaths"]["AsPath"];
|
||||
|
||||
@@ -55,6 +55,8 @@ void DescribeCenInterRegionBandwidthLimitsResult::parse(const std::string &paylo
|
||||
cenInterRegionBandwidthLimitsObject.bandwidthLimit = std::stol(valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["BandwidthLimit"].asString());
|
||||
if(!valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["Status"].isNull())
|
||||
cenInterRegionBandwidthLimitsObject.status = valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["Status"].asString();
|
||||
if(!valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["TransitRouterAttachmentId"].isNull())
|
||||
cenInterRegionBandwidthLimitsObject.transitRouterAttachmentId = valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["TransitRouterAttachmentId"].asString();
|
||||
if(!valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["BandwidthPackageId"].isNull())
|
||||
cenInterRegionBandwidthLimitsObject.bandwidthPackageId = valueCenInterRegionBandwidthLimitsCenInterRegionBandwidthLimit["BandwidthPackageId"].asString();
|
||||
cenInterRegionBandwidthLimits_.push_back(cenInterRegionBandwidthLimitsObject);
|
||||
|
||||
@@ -93,6 +93,17 @@ void DescribeCenRegionDomainRouteEntriesRequest::setOwnerAccount(const std::stri
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeCenRegionDomainRouteEntriesRequest::getDestinationCidrBlock()const
|
||||
{
|
||||
return destinationCidrBlock_;
|
||||
}
|
||||
|
||||
void DescribeCenRegionDomainRouteEntriesRequest::setDestinationCidrBlock(const std::string& destinationCidrBlock)
|
||||
{
|
||||
destinationCidrBlock_ = destinationCidrBlock;
|
||||
setParameter("DestinationCidrBlock", destinationCidrBlock);
|
||||
}
|
||||
|
||||
long DescribeCenRegionDomainRouteEntriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
|
||||
@@ -59,24 +59,24 @@ void DescribeCenRegionDomainRouteEntriesResult::parse(const std::string &payload
|
||||
cenRouteEntriesObject.toOtherRegionStatus = valueCenRouteEntriesCenRouteEntry["ToOtherRegionStatus"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntry["Preference"].isNull())
|
||||
cenRouteEntriesObject.preference = std::stoi(valueCenRouteEntriesCenRouteEntry["Preference"].asString());
|
||||
auto allCenRouteMapRecordsNode = allCenRouteEntriesNode["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
auto allCenRouteMapRecordsNode = valueCenRouteEntriesCenRouteEntry["CenRouteMapRecords"]["CenRouteMapRecord"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord : allCenRouteMapRecordsNode)
|
||||
{
|
||||
CenRouteEntry::CenRouteMapRecord cenRouteMapRecordsObject;
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = allCenRouteEntriesNodeCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].isNull())
|
||||
cenRouteMapRecordsObject.regionId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].isNull())
|
||||
cenRouteMapRecordsObject.routeMapId = valueCenRouteEntriesCenRouteEntryCenRouteMapRecordsCenRouteMapRecord["RouteMapId"].asString();
|
||||
cenRouteEntriesObject.cenRouteMapRecords.push_back(cenRouteMapRecordsObject);
|
||||
}
|
||||
auto allCenOutRouteMapRecordsNode = allCenRouteEntriesNode["CenOutRouteMapRecords"]["CenOutRouteMapRecord"];
|
||||
for (auto allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord : allCenOutRouteMapRecordsNode)
|
||||
auto allCenOutRouteMapRecordsNode = valueCenRouteEntriesCenRouteEntry["CenOutRouteMapRecords"]["CenOutRouteMapRecord"];
|
||||
for (auto valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord : allCenOutRouteMapRecordsNode)
|
||||
{
|
||||
CenRouteEntry::CenOutRouteMapRecord cenOutRouteMapRecordsObject;
|
||||
if(!allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].isNull())
|
||||
cenOutRouteMapRecordsObject.regionId = allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].asString();
|
||||
if(!allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].isNull())
|
||||
cenOutRouteMapRecordsObject.routeMapId = allCenRouteEntriesNodeCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].isNull())
|
||||
cenOutRouteMapRecordsObject.regionId = valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RegionId"].asString();
|
||||
if(!valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].isNull())
|
||||
cenOutRouteMapRecordsObject.routeMapId = valueCenRouteEntriesCenRouteEntryCenOutRouteMapRecordsCenOutRouteMapRecord["RouteMapId"].asString();
|
||||
cenRouteEntriesObject.cenOutRouteMapRecords.push_back(cenOutRouteMapRecordsObject);
|
||||
}
|
||||
auto allAsPaths = value["AsPaths"]["AsPath"];
|
||||
|
||||
@@ -126,6 +126,24 @@ void DescribeCenRouteMapsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<DescribeCenRouteMapsRequest::Filter> DescribeCenRouteMapsRequest::getFilter()const
|
||||
{
|
||||
return filter_;
|
||||
}
|
||||
|
||||
void DescribeCenRouteMapsRequest::setFilter(const std::vector<Filter>& filter)
|
||||
{
|
||||
filter_ = filter;
|
||||
for(int dep1 = 0; dep1!= filter.size(); dep1++) {
|
||||
auto filterObj = filter.at(dep1);
|
||||
std::string filterObjStr = "Filter." + std::to_string(dep1 + 1);
|
||||
for(int dep2 = 0; dep2!= filterObj.value.size(); dep2++) {
|
||||
setParameter(filterObjStr + ".Value."+ std::to_string(dep2), filterObj.value.at(dep2));
|
||||
}
|
||||
setParameter(filterObjStr + ".Key", filterObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeCenRouteMapsRequest::getCenRegionId()const
|
||||
{
|
||||
return cenRegionId_;
|
||||
|
||||
@@ -75,6 +75,10 @@ void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
routeMapsObject.sourceInstanceIdsReverseMatch = valueRouteMapsRouteMap["SourceInstanceIdsReverseMatch"].asString() == "true";
|
||||
if(!valueRouteMapsRouteMap["DestinationInstanceIdsReverseMatch"].isNull())
|
||||
routeMapsObject.destinationInstanceIdsReverseMatch = valueRouteMapsRouteMap["DestinationInstanceIdsReverseMatch"].asString() == "true";
|
||||
if(!valueRouteMapsRouteMap["GatewayZoneId"].isNull())
|
||||
routeMapsObject.gatewayZoneId = valueRouteMapsRouteMap["GatewayZoneId"].asString();
|
||||
if(!valueRouteMapsRouteMap["MatchAddressType"].isNull())
|
||||
routeMapsObject.matchAddressType = valueRouteMapsRouteMap["MatchAddressType"].asString();
|
||||
auto allSourceInstanceIds = value["SourceInstanceIds"]["SourceInstanceId"];
|
||||
for (auto value : allSourceInstanceIds)
|
||||
routeMapsObject.sourceInstanceIds.push_back(value.asString());
|
||||
@@ -114,6 +118,15 @@ void DescribeCenRouteMapsResult::parse(const std::string &payload)
|
||||
auto allPrependAsPath = value["PrependAsPath"]["AsPath"];
|
||||
for (auto value : allPrependAsPath)
|
||||
routeMapsObject.prependAsPath.push_back(value.asString());
|
||||
auto allDestinationRegionIds = value["DestinationRegionIds"]["DestinationRegionId"];
|
||||
for (auto value : allDestinationRegionIds)
|
||||
routeMapsObject.destinationRegionIds.push_back(value.asString());
|
||||
auto allOriginalRouteTableIds = value["OriginalRouteTableIds"]["OriginalRouteTableId"];
|
||||
for (auto value : allOriginalRouteTableIds)
|
||||
routeMapsObject.originalRouteTableIds.push_back(value.asString());
|
||||
auto allSrcZoneIds = value["SrcZoneIds"]["SrcZoneId"];
|
||||
for (auto value : allSrcZoneIds)
|
||||
routeMapsObject.srcZoneIds.push_back(value.asString());
|
||||
routeMaps_.push_back(routeMapsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -61,6 +61,8 @@ void DescribeCenVbrHealthCheckResult::parse(const std::string &payload)
|
||||
vbrHealthChecksObject.healthCheckInterval = std::stoi(valueVbrHealthChecksVbrHealthCheck["HealthCheckInterval"].asString());
|
||||
if(!valueVbrHealthChecksVbrHealthCheck["HealthyThreshold"].isNull())
|
||||
vbrHealthChecksObject.healthyThreshold = std::stoi(valueVbrHealthChecksVbrHealthCheck["HealthyThreshold"].asString());
|
||||
if(!valueVbrHealthChecksVbrHealthCheck["VbrInstanceRegionId"].isNull())
|
||||
vbrHealthChecksObject.vbrInstanceRegionId = valueVbrHealthChecksVbrHealthCheck["VbrInstanceRegionId"].asString();
|
||||
vbrHealthChecks_.push_back(vbrHealthChecksObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -55,14 +55,16 @@ void DescribeCensResult::parse(const std::string &payload)
|
||||
censObject.status = valueCensCen["Status"].asString();
|
||||
if(!valueCensCen["CreationTime"].isNull())
|
||||
censObject.creationTime = valueCensCen["CreationTime"].asString();
|
||||
auto allTagsNode = allCensNode["Tags"]["Tag"];
|
||||
for (auto allCensNodeTagsTag : allTagsNode)
|
||||
if(!valueCensCen["Ipv6Level"].isNull())
|
||||
censObject.ipv6Level = valueCensCen["Ipv6Level"].asString();
|
||||
auto allTagsNode = valueCensCen["Tags"]["Tag"];
|
||||
for (auto valueCensCenTagsTag : allTagsNode)
|
||||
{
|
||||
Cen::Tag tagsObject;
|
||||
if(!allCensNodeTagsTag["Key"].isNull())
|
||||
tagsObject.key = allCensNodeTagsTag["Key"].asString();
|
||||
if(!allCensNodeTagsTag["Value"].isNull())
|
||||
tagsObject.value = allCensNodeTagsTag["Value"].asString();
|
||||
if(!valueCensCenTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueCensCenTagsTag["Key"].asString();
|
||||
if(!valueCensCenTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueCensCenTagsTag["Value"].asString();
|
||||
censObject.tags.push_back(tagsObject);
|
||||
}
|
||||
auto allCenBandwidthPackageIds = value["CenBandwidthPackageIds"]["CenBandwidthPackageId"];
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeChildInstanceRegionsRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeChildInstanceRegionsRequest::getProductType()const
|
||||
{
|
||||
return productType_;
|
||||
}
|
||||
|
||||
void DescribeChildInstanceRegionsRequest::setProductType(const std::string& productType)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
}
|
||||
|
||||
std::string DescribeChildInstanceRegionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
@@ -71,14 +82,14 @@ void DescribeChildInstanceRegionsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeChildInstanceRegionsRequest::getProductType()const
|
||||
long DescribeChildInstanceRegionsRequest::getChildInstanceOwnerId()const
|
||||
{
|
||||
return productType_;
|
||||
return childInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeChildInstanceRegionsRequest::setProductType(const std::string& productType)
|
||||
void DescribeChildInstanceRegionsRequest::setChildInstanceOwnerId(long childInstanceOwnerId)
|
||||
{
|
||||
productType_ = productType;
|
||||
setParameter("ProductType", productType);
|
||||
childInstanceOwnerId_ = childInstanceOwnerId;
|
||||
setParameter("ChildInstanceOwnerId", std::to_string(childInstanceOwnerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -57,20 +57,20 @@ void DescribePublishedRouteEntriesResult::parse(const std::string &payload)
|
||||
publishedRouteEntriesObject.operationalMode = valuePublishedRouteEntriesPublishedRouteEntry["OperationalMode"].asString() == "true";
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntry["PublishStatus"].isNull())
|
||||
publishedRouteEntriesObject.publishStatus = valuePublishedRouteEntriesPublishedRouteEntry["PublishStatus"].asString();
|
||||
auto allConflictsNode = allPublishedRouteEntriesNode["Conflicts"]["Conflict"];
|
||||
for (auto allPublishedRouteEntriesNodeConflictsConflict : allConflictsNode)
|
||||
auto allConflictsNode = valuePublishedRouteEntriesPublishedRouteEntry["Conflicts"]["Conflict"];
|
||||
for (auto valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict : allConflictsNode)
|
||||
{
|
||||
PublishedRouteEntry::Conflict conflictsObject;
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = allPublishedRouteEntriesNodeConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = allPublishedRouteEntriesNodeConflictsConflict["RegionId"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = allPublishedRouteEntriesNodeConflictsConflict["InstanceId"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = allPublishedRouteEntriesNodeConflictsConflict["InstanceType"].asString();
|
||||
if(!allPublishedRouteEntriesNodeConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = allPublishedRouteEntriesNodeConflictsConflict["Status"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["DestinationCidrBlock"].isNull())
|
||||
conflictsObject.destinationCidrBlock = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["DestinationCidrBlock"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["RegionId"].isNull())
|
||||
conflictsObject.regionId = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["RegionId"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceId"].isNull())
|
||||
conflictsObject.instanceId = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceId"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceType"].isNull())
|
||||
conflictsObject.instanceType = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["InstanceType"].asString();
|
||||
if(!valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["Status"].isNull())
|
||||
conflictsObject.status = valuePublishedRouteEntriesPublishedRouteEntryConflictsConflict["Status"].asString();
|
||||
publishedRouteEntriesObject.conflicts.push_back(conflictsObject);
|
||||
}
|
||||
publishedRouteEntries_.push_back(publishedRouteEntriesObject);
|
||||
|
||||
@@ -49,6 +49,17 @@ void ModifyCenAttributeRequest::setCenId(const std::string& cenId)
|
||||
setParameter("CenId", cenId);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getIpv6Level()const
|
||||
{
|
||||
return ipv6Level_;
|
||||
}
|
||||
|
||||
void ModifyCenAttributeRequest::setIpv6Level(const std::string& ipv6Level)
|
||||
{
|
||||
ipv6Level_ = ipv6Level;
|
||||
setParameter("Ipv6Level", ipv6Level);
|
||||
}
|
||||
|
||||
std::string ModifyCenAttributeRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
|
||||
@@ -60,6 +60,19 @@ void ModifyCenRouteMapRequest::setMapResult(const std::string& mapResult)
|
||||
setParameter("MapResult", mapResult);
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationRegionIds()const
|
||||
{
|
||||
return destinationRegionIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setDestinationRegionIds(const std::vector<std::string>& destinationRegionIds)
|
||||
{
|
||||
destinationRegionIds_ = destinationRegionIds;
|
||||
for(int dep1 = 0; dep1!= destinationRegionIds.size(); dep1++) {
|
||||
setParameter("DestinationRegionIds."+ std::to_string(dep1), destinationRegionIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
int ModifyCenRouteMapRequest::getNextPriority()const
|
||||
{
|
||||
return nextPriority_;
|
||||
@@ -84,6 +97,19 @@ void ModifyCenRouteMapRequest::setDestinationCidrBlocks(const std::vector<std::s
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getOriginalRouteTableIds()const
|
||||
{
|
||||
return originalRouteTableIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setOriginalRouteTableIds(const std::vector<std::string>& originalRouteTableIds)
|
||||
{
|
||||
originalRouteTableIds_ = originalRouteTableIds;
|
||||
for(int dep1 = 0; dep1!= originalRouteTableIds.size(); dep1++) {
|
||||
setParameter("OriginalRouteTableIds."+ std::to_string(dep1), originalRouteTableIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getSourceInstanceIds()const
|
||||
{
|
||||
return sourceInstanceIds_;
|
||||
@@ -110,6 +136,17 @@ void ModifyCenRouteMapRequest::setSourceRegionIds(const std::vector<std::string>
|
||||
}
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getGatewayZoneId()const
|
||||
{
|
||||
return gatewayZoneId_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setGatewayZoneId(const std::string& gatewayZoneId)
|
||||
{
|
||||
gatewayZoneId_ = gatewayZoneId;
|
||||
setParameter("GatewayZoneId", gatewayZoneId);
|
||||
}
|
||||
|
||||
std::vector<int> ModifyCenRouteMapRequest::getMatchAsns()const
|
||||
{
|
||||
return matchAsns_;
|
||||
@@ -232,6 +269,17 @@ void ModifyCenRouteMapRequest::setRouteTypes(const std::vector<std::string>& rou
|
||||
}
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getMatchAddressType()const
|
||||
{
|
||||
return matchAddressType_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setMatchAddressType(const std::string& matchAddressType)
|
||||
{
|
||||
matchAddressType_ = matchAddressType;
|
||||
setParameter("MatchAddressType", matchAddressType);
|
||||
}
|
||||
|
||||
std::string ModifyCenRouteMapRequest::getCidrMatchMode()const
|
||||
{
|
||||
return cidrMatchMode_;
|
||||
@@ -289,6 +337,19 @@ void ModifyCenRouteMapRequest::setDestinationRouteTableIds(const std::vector<std
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getSourceZoneIds()const
|
||||
{
|
||||
return sourceZoneIds_;
|
||||
}
|
||||
|
||||
void ModifyCenRouteMapRequest::setSourceZoneIds(const std::vector<std::string>& sourceZoneIds)
|
||||
{
|
||||
sourceZoneIds_ = sourceZoneIds;
|
||||
for(int dep1 = 0; dep1!= sourceZoneIds.size(); dep1++) {
|
||||
setParameter("SourceZoneIds."+ std::to_string(dep1), sourceZoneIds.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ModifyCenRouteMapRequest::getDestinationInstanceIds()const
|
||||
{
|
||||
return destinationInstanceIds_;
|
||||
|
||||
106
cbn/src/model/TempUpgradeCenBandwidthPackageSpecRequest.cc
Normal file
106
cbn/src/model/TempUpgradeCenBandwidthPackageSpecRequest.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecRequest.h>
|
||||
|
||||
using AlibabaCloud::Cbn::Model::TempUpgradeCenBandwidthPackageSpecRequest;
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecRequest::TempUpgradeCenBandwidthPackageSpecRequest() :
|
||||
RpcServiceRequest("cbn", "2017-09-12", "TempUpgradeCenBandwidthPackageSpec")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecRequest::~TempUpgradeCenBandwidthPackageSpecRequest()
|
||||
{}
|
||||
|
||||
long TempUpgradeCenBandwidthPackageSpecRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int TempUpgradeCenBandwidthPackageSpecRequest::getBandwidth()const
|
||||
{
|
||||
return bandwidth_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setBandwidth(int bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setParameter("Bandwidth", std::to_string(bandwidth));
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long TempUpgradeCenBandwidthPackageSpecRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string TempUpgradeCenBandwidthPackageSpecRequest::getCenBandwidthPackageId()const
|
||||
{
|
||||
return cenBandwidthPackageId_;
|
||||
}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecRequest::setCenBandwidthPackageId(const std::string& cenBandwidthPackageId)
|
||||
{
|
||||
cenBandwidthPackageId_ = cenBandwidthPackageId;
|
||||
setParameter("CenBandwidthPackageId", cenBandwidthPackageId);
|
||||
}
|
||||
|
||||
44
cbn/src/model/TempUpgradeCenBandwidthPackageSpecResult.cc
Normal file
44
cbn/src/model/TempUpgradeCenBandwidthPackageSpecResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cbn/model/TempUpgradeCenBandwidthPackageSpecResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cbn;
|
||||
using namespace AlibabaCloud::Cbn::Model;
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult::TempUpgradeCenBandwidthPackageSpecResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult::TempUpgradeCenBandwidthPackageSpecResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TempUpgradeCenBandwidthPackageSpecResult::~TempUpgradeCenBandwidthPackageSpecResult()
|
||||
{}
|
||||
|
||||
void TempUpgradeCenBandwidthPackageSpecResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -38,6 +38,17 @@ void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
bool UntagResourcesRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setParameter("All", all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
|
||||
1
codeup/2020-04-14/GetCodeCompletion.xml
Normal file
1
codeup/2020-04-14/GetCodeCompletion.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="Anonymous" responseLog="enable" isolationType="outer" parameterType="Single" product="codeup" visibility="Public" akProvenStatus="Disable" version="2020-04-14" keepClientResourceOwnerId="false" name="GetCodeCompletion" showJsonItemName="false" status="online"><IsvProtocol pattern="/api/v2/service/invoke/[ServiceName]" protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol timeout="10000" protocol="http" httpHost="http://forceai_prod_env/#vpc" resultType="Object" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="x-acs-request-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="clientIp" tagName="x-acs-client-ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="serviceName" tagName="ServiceName" type="String" required="true" tagPosition="Path" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="fetchKeys" tagName="FetchKeys" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="isEncrypted" tagName="IsEncrypted" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" apiDefault="1000" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://forceai_test_env/#vpc" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Struct tagName="Result" visibility="Public" name="result"><Member tagName="Body" visibility="Public" type="String" name="body"/><Member tagName="ClientTimestamp" visibility="Public" type="String" name="clientTimestamp"/><Member tagName="ReceiveTimestamp" visibility="Public" type="String" name="receiveTimestamp"/><Member tagName="InvokeTimestamp" visibility="Public" type="String" name="invokeTimestamp"/><Member tagName="FetchTimestamp" visibility="Public" type="String" name="fetchTimestamp"/><Member tagName="RspTimestamp" visibility="Public" type="String" name="rspTimestamp"/></Struct></ResultMapping></Api>
|
||||
@@ -1 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="codeup" visibility="Public" akProvenStatus="Disable" version="2020-04-14" keepClientResourceOwnerId="false" name="GetCodeupOrganization" showJsonItemName="false" status="online"><IsvProtocol pattern="/api/v4/organization/[OrganizationIdentity]" protocol="HTTPS|HTTP" method="GET" /><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes><ErrorCode code="SYSTEM_UNKNOWN_ERROR" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="pre_prod_secret" timeout="8000" protocol="http" httpHost="http://codeup_yx_prod_env/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="x-acs-request-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessToken" tagName="AccessToken" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="organizationId" tagName="OrganizationId" type="String" required="true" sensitive="false" fileOssUrl="false" tagPosition="Query" docRequired="true" checkBlank="true" visibility="Public"/><Parameter name="subUserId" tagName="SubUserId" type="String" required="false" sensitive="false" fileOssUrl="false" tagPosition="Query" docRequired="false" checkBlank="false" visibility="Public"/><Parameter name="securityToken" tagName="x-acs-security-token" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="clientIp" tagName="x-acs-client-ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="x-acs-accesskey-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="x-acs-caller-type" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="organizationIdentity" tagName="OrganizationIdentity" type="String" required="true" sensitive="false" fileOssUrl="false" tagPosition="Path" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="20" apiDefault="100" /><PreIspProtocol sign="true" signKeyName="pre_prod_secret" timeout="8000" protocol="http" httpHost="http://codeup_yx_pre_env/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Struct tagName="Result" visibility="Public" name="result"><Member tagName="Id" visibility="Public" type="Long" name="id"/><Member tagName="OrganizationId" visibility="Public" type="String" name="organization_id"/><Member tagName="Path" visibility="Public" type="String" name="path"/><Member tagName="CreatedAt" visibility="Public" type="String" name="created_at"/><Member tagName="UpdatedAt" visibility="Public" type="String" name="updated_at"/><Member tagName="NamespaceId" visibility="Public" type="Long" name="namespace_id"/><Member tagName="UserRole" visibility="Public" type="String" name="user_role"/></Struct></ResultMapping></Api>
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="codeup" visibility="Public" akProvenStatus="Disable" version="2020-04-14" keepClientResourceOwnerId="false" name="GetCodeupOrganization" showJsonItemName="false" status="online"><IsvProtocol pattern="/api/v4/organization/[OrganizationIdentity]" protocol="HTTPS|HTTP" method="GET" /><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes><ErrorCode code="SYSTEM_UNKNOWN_ERROR" errorCode="SystemError.UnKnownError" type="user" httpCode="500" extendedErrorCode="" errorMessage="An error occurred while processing your request." /></ErrorCodes></ErrorMapping><IspProtocol sign="true" signKeyName="pre_prod_secret" timeout="8000" protocol="http" httpHost="http://codeup_yx_prod_env/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="x-acs-request-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessToken" tagName="AccessToken" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="organizationId" tagName="OrganizationId" type="String" required="false" sensitive="false" fileOssUrl="false" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="subUserId" tagName="SubUserId" type="String" required="false" sensitive="false" fileOssUrl="false" tagPosition="Query" docRequired="false" checkBlank="false" visibility="Public"/><Parameter name="securityToken" tagName="x-acs-security-token" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="clientIp" tagName="x-acs-client-ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="x-acs-accesskey-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="x-acs-caller-type" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="organizationIdentity" tagName="OrganizationIdentity" type="String" required="true" sensitive="false" fileOssUrl="false" tagPosition="Path" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" userDefault="20" apiDefault="100" /><PreIspProtocol sign="true" signKeyName="pre_prod_secret" timeout="8000" protocol="http" httpHost="http://codeup_yx_pre_env/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Struct tagName="Result" visibility="Public" name="result"><Member tagName="Id" visibility="Public" type="Long" name="id"/><Member tagName="OrganizationId" visibility="Public" type="String" name="organization_id"/><Member tagName="Path" visibility="Public" type="String" name="path"/><Member tagName="CreatedAt" visibility="Public" type="String" name="created_at"/><Member tagName="UpdatedAt" visibility="Public" type="String" name="updated_at"/><Member tagName="NamespaceId" visibility="Public" type="Long" name="namespace_id"/><Member tagName="UserRole" visibility="Public" type="String" name="user_role"/></Struct></ResultMapping></Api>
|
||||
|
||||
1
codeup/2020-04-14/ListRepositoryMemberWithInherited.xml
Normal file
1
codeup/2020-04-14/ListRepositoryMemberWithInherited.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="enable" isolationType="outer" parameterType="Single" product="codeup" visibility="Public" akProvenStatus="Disable" version="2020-04-14" keepClientResourceOwnerId="false" name="ListRepositoryMemberWithInherited" showJsonItemName="false" status="online"><IsvProtocol pattern="/api/v4/projects/[ProjectId]/all_members" protocol="HTTPS|HTTP" method="GET" /><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol sign="true" signKeyName="pre_prod_secret" timeout="10000" protocol="http" httpHost="http://codeup_yx_prod_env/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="x-acs-request-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessToken" tagName="AccessToken" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="projectId" tagName="ProjectId" type="Long" required="true" sensitive="false" fileOssUrl="false" tagPosition="Path" docRequired="true" checkBlank="true" minValue="0" maxValue="9223372036854775807" visibility="Public"/><Parameter name="organizationId" tagName="OrganizationId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="securityToken" tagName="x-acs-security-token" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="clientIp" tagName="x-acs-client-ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="x-acs-caller-type" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="accessKeyId" tagName="x-acs-accesskey-id" type="String" required="false" tagPosition="System" checkBlank="false"/></Parameters><FlowControl controlUnit="Second" userDefault="20" apiDefault="80" /><PreIspProtocol sign="true" signKeyName="pre_prod_secret" timeout="10000" protocol="http" httpHost="http://codeup_yx_pre_env/#vpc" resultType="Object" signPolicy="Local" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Array tagName="Result" visibility="Public" itemName="Result" name="result"><Member tagName="AccessLevel" visibility="Public" type="Integer" name="access_level"/><Member tagName="ExternUserId" visibility="Public" type="String" name="tb_user_id"/><Member tagName="Id" visibility="Public" type="Long" name="id"/><Member tagName="State" visibility="Public" type="String" name="state"/><Member tagName="AvatarUrl" visibility="Public" type="String" name="avatar_url"/><Member tagName="Email" visibility="Public" type="String" name="email"/><Member tagName="Name" visibility="Public" type="String" name="name"/><Member tagName="Username" visibility="Public" type="String" name="username"/><Struct tagName="Inherited" visibility="Public" name="inherited"><Member tagName="Id" visibility="Public" type="Long" name="id"/><Member tagName="Name" visibility="Public" type="String" name="name"/><Member tagName="Path" visibility="Public" type="String" name="path"/><Member tagName="NameWithNamespace" visibility="Public" type="String" name="name_with_namespace"/><Member tagName="PathWithNamespace" visibility="Public" type="String" name="path_with_namespace"/><Member tagName="Type" visibility="Public" type="String" name="type"/><Member tagName="VisibilityLevel" visibility="Public" type="String" name="visibility_level"/></Struct></Array></ResultMapping></Api>
|
||||
1
codeup/2020-04-14/RequestCompletion.xml
Normal file
1
codeup/2020-04-14/RequestCompletion.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="Anonymous" responseLog="enable" isolationType="outer" parameterType="Single" product="codeup" visibility="Public" akProvenStatus="Disable" version="2020-04-14" keepClientResourceOwnerId="false" name="RequestCompletion" showJsonItemName="false" status="online"><IsvProtocol pattern="/api/v2/invoke/[ServiceName]" protocol="HTTPS|HTTP" method="POST" /><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol serviceRoutePolicy="" timeout="10000" protocol="http" httpHost="http://forceai_prod_env/#vpc" resultType="Object" httpsValidation="true" retries="-1" /><Parameters><Parameter name="requestId" tagName="x-acs-request-id" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="clientIp" tagName="x-acs-client-ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="serviceName" tagName="ServiceName" type="String" required="true" tagPosition="Path" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="fetchKeys" tagName="FetchKeys" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="isEncrypted" tagName="IsEncrypted" type="Boolean" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Second" apiDefault="1000" /><PreIspProtocol timeout="10000" protocol="http" httpHost="http://forceai_test_env/#vpc" resultType="Object" httpsValidation="true" retries="-1" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode"/><Member tagName="Success" visibility="Public" type="Boolean" name="success"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="errorMsg" nullToEmpty="false"/><Struct tagName="Result" visibility="Public" name="result"><Member tagName="Body" visibility="Public" type="String" name="body"/></Struct></ResultMapping></Api>
|
||||
@@ -71,6 +71,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/EnableRepositoryDeployKeyResult.h
|
||||
include/alibabacloud/codeup/model/GetBranchInfoRequest.h
|
||||
include/alibabacloud/codeup/model/GetBranchInfoResult.h
|
||||
include/alibabacloud/codeup/model/GetCodeCompletionRequest.h
|
||||
include/alibabacloud/codeup/model/GetCodeCompletionResult.h
|
||||
include/alibabacloud/codeup/model/GetCodeupOrganizationRequest.h
|
||||
include/alibabacloud/codeup/model/GetCodeupOrganizationResult.h
|
||||
include/alibabacloud/codeup/model/GetFileBlobsRequest.h
|
||||
@@ -117,6 +119,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/ListRepositoryCommitsResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberWithInheritedRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryMemberWithInheritedResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryTagsRequest.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryTagsResult.h
|
||||
include/alibabacloud/codeup/model/ListRepositoryTreeRequest.h
|
||||
@@ -192,6 +196,8 @@ set(codeup_src
|
||||
src/model/EnableRepositoryDeployKeyResult.cc
|
||||
src/model/GetBranchInfoRequest.cc
|
||||
src/model/GetBranchInfoResult.cc
|
||||
src/model/GetCodeCompletionRequest.cc
|
||||
src/model/GetCodeCompletionResult.cc
|
||||
src/model/GetCodeupOrganizationRequest.cc
|
||||
src/model/GetCodeupOrganizationResult.cc
|
||||
src/model/GetFileBlobsRequest.cc
|
||||
@@ -238,6 +244,8 @@ set(codeup_src
|
||||
src/model/ListRepositoryCommitsResult.cc
|
||||
src/model/ListRepositoryMemberRequest.cc
|
||||
src/model/ListRepositoryMemberResult.cc
|
||||
src/model/ListRepositoryMemberWithInheritedRequest.cc
|
||||
src/model/ListRepositoryMemberWithInheritedResult.cc
|
||||
src/model/ListRepositoryTagsRequest.cc
|
||||
src/model/ListRepositoryTagsResult.cc
|
||||
src/model/ListRepositoryTreeRequest.cc
|
||||
|
||||
@@ -72,6 +72,8 @@
|
||||
#include "model/EnableRepositoryDeployKeyResult.h"
|
||||
#include "model/GetBranchInfoRequest.h"
|
||||
#include "model/GetBranchInfoResult.h"
|
||||
#include "model/GetCodeCompletionRequest.h"
|
||||
#include "model/GetCodeCompletionResult.h"
|
||||
#include "model/GetCodeupOrganizationRequest.h"
|
||||
#include "model/GetCodeupOrganizationResult.h"
|
||||
#include "model/GetFileBlobsRequest.h"
|
||||
@@ -118,6 +120,8 @@
|
||||
#include "model/ListRepositoryCommitsResult.h"
|
||||
#include "model/ListRepositoryMemberRequest.h"
|
||||
#include "model/ListRepositoryMemberResult.h"
|
||||
#include "model/ListRepositoryMemberWithInheritedRequest.h"
|
||||
#include "model/ListRepositoryMemberWithInheritedResult.h"
|
||||
#include "model/ListRepositoryTagsRequest.h"
|
||||
#include "model/ListRepositoryTagsResult.h"
|
||||
#include "model/ListRepositoryTreeRequest.h"
|
||||
@@ -224,6 +228,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetBranchInfoResult> GetBranchInfoOutcome;
|
||||
typedef std::future<GetBranchInfoOutcome> GetBranchInfoOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetBranchInfoRequest&, const GetBranchInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBranchInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCodeCompletionResult> GetCodeCompletionOutcome;
|
||||
typedef std::future<GetCodeCompletionOutcome> GetCodeCompletionOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetCodeCompletionRequest&, const GetCodeCompletionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCodeCompletionAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCodeupOrganizationResult> GetCodeupOrganizationOutcome;
|
||||
typedef std::future<GetCodeupOrganizationOutcome> GetCodeupOrganizationOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::GetCodeupOrganizationRequest&, const GetCodeupOrganizationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCodeupOrganizationAsyncHandler;
|
||||
@@ -293,6 +300,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListRepositoryMemberResult> ListRepositoryMemberOutcome;
|
||||
typedef std::future<ListRepositoryMemberOutcome> ListRepositoryMemberOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryMemberRequest&, const ListRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoryMemberWithInheritedResult> ListRepositoryMemberWithInheritedOutcome;
|
||||
typedef std::future<ListRepositoryMemberWithInheritedOutcome> ListRepositoryMemberWithInheritedOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryMemberWithInheritedRequest&, const ListRepositoryMemberWithInheritedOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryMemberWithInheritedAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRepositoryTagsResult> ListRepositoryTagsOutcome;
|
||||
typedef std::future<ListRepositoryTagsOutcome> ListRepositoryTagsOutcomeCallable;
|
||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryTagsRequest&, const ListRepositoryTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryTagsAsyncHandler;
|
||||
@@ -406,6 +416,9 @@ namespace AlibabaCloud
|
||||
GetBranchInfoOutcome getBranchInfo(const Model::GetBranchInfoRequest &request)const;
|
||||
void getBranchInfoAsync(const Model::GetBranchInfoRequest& request, const GetBranchInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetBranchInfoOutcomeCallable getBranchInfoCallable(const Model::GetBranchInfoRequest& request) const;
|
||||
GetCodeCompletionOutcome getCodeCompletion(const Model::GetCodeCompletionRequest &request)const;
|
||||
void getCodeCompletionAsync(const Model::GetCodeCompletionRequest& request, const GetCodeCompletionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCodeCompletionOutcomeCallable getCodeCompletionCallable(const Model::GetCodeCompletionRequest& request) const;
|
||||
GetCodeupOrganizationOutcome getCodeupOrganization(const Model::GetCodeupOrganizationRequest &request)const;
|
||||
void getCodeupOrganizationAsync(const Model::GetCodeupOrganizationRequest& request, const GetCodeupOrganizationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCodeupOrganizationOutcomeCallable getCodeupOrganizationCallable(const Model::GetCodeupOrganizationRequest& request) const;
|
||||
@@ -475,6 +488,9 @@ namespace AlibabaCloud
|
||||
ListRepositoryMemberOutcome listRepositoryMember(const Model::ListRepositoryMemberRequest &request)const;
|
||||
void listRepositoryMemberAsync(const Model::ListRepositoryMemberRequest& request, const ListRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryMemberOutcomeCallable listRepositoryMemberCallable(const Model::ListRepositoryMemberRequest& request) const;
|
||||
ListRepositoryMemberWithInheritedOutcome listRepositoryMemberWithInherited(const Model::ListRepositoryMemberWithInheritedRequest &request)const;
|
||||
void listRepositoryMemberWithInheritedAsync(const Model::ListRepositoryMemberWithInheritedRequest& request, const ListRepositoryMemberWithInheritedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryMemberWithInheritedOutcomeCallable listRepositoryMemberWithInheritedCallable(const Model::ListRepositoryMemberWithInheritedRequest& request) const;
|
||||
ListRepositoryTagsOutcome listRepositoryTags(const Model::ListRepositoryTagsRequest &request)const;
|
||||
void listRepositoryTagsAsync(const Model::ListRepositoryTagsRequest& request, const ListRepositoryTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRepositoryTagsOutcomeCallable listRepositoryTagsCallable(const Model::ListRepositoryTagsRequest& request) const;
|
||||
|
||||
@@ -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_CODEUP_MODEL_GETCODECOMPLETIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETCODECOMPLETIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetCodeCompletionRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetCodeCompletionRequest();
|
||||
~GetCodeCompletionRequest();
|
||||
|
||||
bool getIsEncrypted()const;
|
||||
void setIsEncrypted(bool isEncrypted);
|
||||
std::string getFetchKeys()const;
|
||||
void setFetchKeys(const std::string& fetchKeys);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
bool isEncrypted_;
|
||||
std::string fetchKeys_;
|
||||
std::string serviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETCODECOMPLETIONREQUEST_H_
|
||||
@@ -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_CODEUP_MODEL_GETCODECOMPLETIONRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_GETCODECOMPLETIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT GetCodeCompletionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string clientTimestamp;
|
||||
std::string rspTimestamp;
|
||||
std::string invokeTimestamp;
|
||||
std::string fetchTimestamp;
|
||||
std::string body;
|
||||
std::string receiveTimestamp;
|
||||
};
|
||||
|
||||
|
||||
GetCodeCompletionResult();
|
||||
explicit GetCodeCompletionResult(const std::string &payload);
|
||||
~GetCodeCompletionResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
Result getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
Result result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETCODECOMPLETIONRESULT_H_
|
||||
@@ -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_CODEUP_MODEL_LISTREPOSITORYMEMBERWITHINHERITEDREQUEST_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYMEMBERWITHINHERITEDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryMemberWithInheritedRequest : public RoaServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRepositoryMemberWithInheritedRequest();
|
||||
~ListRepositoryMemberWithInheritedRequest();
|
||||
|
||||
std::string getOrganizationId()const;
|
||||
void setOrganizationId(const std::string& organizationId);
|
||||
std::string getAccessToken()const;
|
||||
void setAccessToken(const std::string& accessToken);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
std::string organizationId_;
|
||||
std::string accessToken_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYMEMBERWITHINHERITEDREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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_CODEUP_MODEL_LISTREPOSITORYMEMBERWITHINHERITEDRESULT_H_
|
||||
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYMEMBERWITHINHERITEDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/codeup/CodeupExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Codeup
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryMemberWithInheritedResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResultItem
|
||||
{
|
||||
struct Inherited
|
||||
{
|
||||
std::string path;
|
||||
std::string pathWithNamespace;
|
||||
std::string type;
|
||||
std::string nameWithNamespace;
|
||||
std::string visibilityLevel;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
std::string avatarUrl;
|
||||
std::string email;
|
||||
Inherited inherited;
|
||||
std::string username;
|
||||
std::string state;
|
||||
std::string externUserId;
|
||||
long id;
|
||||
int accessLevel;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListRepositoryMemberWithInheritedResult();
|
||||
explicit ListRepositoryMemberWithInheritedResult(const std::string &payload);
|
||||
~ListRepositoryMemberWithInheritedResult();
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<ResultItem> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
std::vector<ResultItem> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYMEMBERWITHINHERITEDRESULT_H_
|
||||
@@ -951,6 +951,42 @@ CodeupClient::GetBranchInfoOutcomeCallable CodeupClient::getBranchInfoCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetCodeCompletionOutcome CodeupClient::getCodeCompletion(const GetCodeCompletionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetCodeCompletionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetCodeCompletionOutcome(GetCodeCompletionResult(outcome.result()));
|
||||
else
|
||||
return GetCodeCompletionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::getCodeCompletionAsync(const GetCodeCompletionRequest& request, const GetCodeCompletionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getCodeCompletion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::GetCodeCompletionOutcomeCallable CodeupClient::getCodeCompletionCallable(const GetCodeCompletionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetCodeCompletionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getCodeCompletion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::GetCodeupOrganizationOutcome CodeupClient::getCodeupOrganization(const GetCodeupOrganizationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1779,6 +1815,42 @@ CodeupClient::ListRepositoryMemberOutcomeCallable CodeupClient::listRepositoryMe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryMemberWithInheritedOutcome CodeupClient::listRepositoryMemberWithInherited(const ListRepositoryMemberWithInheritedRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListRepositoryMemberWithInheritedOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListRepositoryMemberWithInheritedOutcome(ListRepositoryMemberWithInheritedResult(outcome.result()));
|
||||
else
|
||||
return ListRepositoryMemberWithInheritedOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CodeupClient::listRepositoryMemberWithInheritedAsync(const ListRepositoryMemberWithInheritedRequest& request, const ListRepositoryMemberWithInheritedAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listRepositoryMemberWithInherited(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryMemberWithInheritedOutcomeCallable CodeupClient::listRepositoryMemberWithInheritedCallable(const ListRepositoryMemberWithInheritedRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListRepositoryMemberWithInheritedOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listRepositoryMemberWithInherited(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CodeupClient::ListRepositoryTagsOutcome CodeupClient::listRepositoryTags(const ListRepositoryTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
63
codeup/src/model/GetCodeCompletionRequest.cc
Normal file
63
codeup/src/model/GetCodeCompletionRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/GetCodeCompletionRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::GetCodeCompletionRequest;
|
||||
|
||||
GetCodeCompletionRequest::GetCodeCompletionRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v2/service/invoke/[ServiceName]");
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCodeCompletionRequest::~GetCodeCompletionRequest()
|
||||
{}
|
||||
|
||||
bool GetCodeCompletionRequest::getIsEncrypted()const
|
||||
{
|
||||
return isEncrypted_;
|
||||
}
|
||||
|
||||
void GetCodeCompletionRequest::setIsEncrypted(bool isEncrypted)
|
||||
{
|
||||
isEncrypted_ = isEncrypted;
|
||||
setParameter("IsEncrypted", isEncrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetCodeCompletionRequest::getFetchKeys()const
|
||||
{
|
||||
return fetchKeys_;
|
||||
}
|
||||
|
||||
void GetCodeCompletionRequest::setFetchKeys(const std::string& fetchKeys)
|
||||
{
|
||||
fetchKeys_ = fetchKeys;
|
||||
setParameter("FetchKeys", fetchKeys);
|
||||
}
|
||||
|
||||
std::string GetCodeCompletionRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void GetCodeCompletionRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
83
codeup/src/model/GetCodeCompletionResult.cc
Normal file
83
codeup/src/model/GetCodeCompletionResult.cc
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/GetCodeCompletionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
GetCodeCompletionResult::GetCodeCompletionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetCodeCompletionResult::GetCodeCompletionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetCodeCompletionResult::~GetCodeCompletionResult()
|
||||
{}
|
||||
|
||||
void GetCodeCompletionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Body"].isNull())
|
||||
result_.body = resultNode["Body"].asString();
|
||||
if(!resultNode["ClientTimestamp"].isNull())
|
||||
result_.clientTimestamp = resultNode["ClientTimestamp"].asString();
|
||||
if(!resultNode["ReceiveTimestamp"].isNull())
|
||||
result_.receiveTimestamp = resultNode["ReceiveTimestamp"].asString();
|
||||
if(!resultNode["InvokeTimestamp"].isNull())
|
||||
result_.invokeTimestamp = resultNode["InvokeTimestamp"].asString();
|
||||
if(!resultNode["FetchTimestamp"].isNull())
|
||||
result_.fetchTimestamp = resultNode["FetchTimestamp"].asString();
|
||||
if(!resultNode["RspTimestamp"].isNull())
|
||||
result_.rspTimestamp = resultNode["RspTimestamp"].asString();
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetCodeCompletionResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetCodeCompletionResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetCodeCompletionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
GetCodeCompletionResult::Result GetCodeCompletionResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
63
codeup/src/model/ListRepositoryMemberWithInheritedRequest.cc
Normal file
63
codeup/src/model/ListRepositoryMemberWithInheritedRequest.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/ListRepositoryMemberWithInheritedRequest.h>
|
||||
|
||||
using AlibabaCloud::Codeup::Model::ListRepositoryMemberWithInheritedRequest;
|
||||
|
||||
ListRepositoryMemberWithInheritedRequest::ListRepositoryMemberWithInheritedRequest() :
|
||||
RoaServiceRequest("codeup", "2020-04-14")
|
||||
{
|
||||
setResourcePath("/api/v4/projects/[ProjectId]/all_members");
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListRepositoryMemberWithInheritedRequest::~ListRepositoryMemberWithInheritedRequest()
|
||||
{}
|
||||
|
||||
std::string ListRepositoryMemberWithInheritedRequest::getOrganizationId()const
|
||||
{
|
||||
return organizationId_;
|
||||
}
|
||||
|
||||
void ListRepositoryMemberWithInheritedRequest::setOrganizationId(const std::string& organizationId)
|
||||
{
|
||||
organizationId_ = organizationId;
|
||||
setParameter("OrganizationId", organizationId);
|
||||
}
|
||||
|
||||
std::string ListRepositoryMemberWithInheritedRequest::getAccessToken()const
|
||||
{
|
||||
return accessToken_;
|
||||
}
|
||||
|
||||
void ListRepositoryMemberWithInheritedRequest::setAccessToken(const std::string& accessToken)
|
||||
{
|
||||
accessToken_ = accessToken;
|
||||
setParameter("AccessToken", accessToken);
|
||||
}
|
||||
|
||||
long ListRepositoryMemberWithInheritedRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListRepositoryMemberWithInheritedRequest::setProjectId(long projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setParameter("ProjectId", std::to_string(projectId));
|
||||
}
|
||||
|
||||
107
codeup/src/model/ListRepositoryMemberWithInheritedResult.cc
Normal file
107
codeup/src/model/ListRepositoryMemberWithInheritedResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/codeup/model/ListRepositoryMemberWithInheritedResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Codeup;
|
||||
using namespace AlibabaCloud::Codeup::Model;
|
||||
|
||||
ListRepositoryMemberWithInheritedResult::ListRepositoryMemberWithInheritedResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListRepositoryMemberWithInheritedResult::ListRepositoryMemberWithInheritedResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListRepositoryMemberWithInheritedResult::~ListRepositoryMemberWithInheritedResult()
|
||||
{}
|
||||
|
||||
void ListRepositoryMemberWithInheritedResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResultNode = value["Result"]["ResultItem"];
|
||||
for (auto valueResultResultItem : allResultNode)
|
||||
{
|
||||
ResultItem resultObject;
|
||||
if(!valueResultResultItem["AccessLevel"].isNull())
|
||||
resultObject.accessLevel = std::stoi(valueResultResultItem["AccessLevel"].asString());
|
||||
if(!valueResultResultItem["ExternUserId"].isNull())
|
||||
resultObject.externUserId = valueResultResultItem["ExternUserId"].asString();
|
||||
if(!valueResultResultItem["Id"].isNull())
|
||||
resultObject.id = std::stol(valueResultResultItem["Id"].asString());
|
||||
if(!valueResultResultItem["State"].isNull())
|
||||
resultObject.state = valueResultResultItem["State"].asString();
|
||||
if(!valueResultResultItem["AvatarUrl"].isNull())
|
||||
resultObject.avatarUrl = valueResultResultItem["AvatarUrl"].asString();
|
||||
if(!valueResultResultItem["Email"].isNull())
|
||||
resultObject.email = valueResultResultItem["Email"].asString();
|
||||
if(!valueResultResultItem["Name"].isNull())
|
||||
resultObject.name = valueResultResultItem["Name"].asString();
|
||||
if(!valueResultResultItem["Username"].isNull())
|
||||
resultObject.username = valueResultResultItem["Username"].asString();
|
||||
auto inheritedNode = value["Inherited"];
|
||||
if(!inheritedNode["Id"].isNull())
|
||||
resultObject.inherited.id = std::stol(inheritedNode["Id"].asString());
|
||||
if(!inheritedNode["Name"].isNull())
|
||||
resultObject.inherited.name = inheritedNode["Name"].asString();
|
||||
if(!inheritedNode["Path"].isNull())
|
||||
resultObject.inherited.path = inheritedNode["Path"].asString();
|
||||
if(!inheritedNode["NameWithNamespace"].isNull())
|
||||
resultObject.inherited.nameWithNamespace = inheritedNode["NameWithNamespace"].asString();
|
||||
if(!inheritedNode["PathWithNamespace"].isNull())
|
||||
resultObject.inherited.pathWithNamespace = inheritedNode["PathWithNamespace"].asString();
|
||||
if(!inheritedNode["Type"].isNull())
|
||||
resultObject.inherited.type = inheritedNode["Type"].asString();
|
||||
if(!inheritedNode["VisibilityLevel"].isNull())
|
||||
resultObject.inherited.visibilityLevel = inheritedNode["VisibilityLevel"].asString();
|
||||
result_.push_back(resultObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListRepositoryMemberWithInheritedResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string ListRepositoryMemberWithInheritedResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool ListRepositoryMemberWithInheritedResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<ListRepositoryMemberWithInheritedResult::ResultItem> ListRepositoryMemberWithInheritedResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Version product="codeup" apiStyle="ROA" name="2020-04-14" isolationType="outer"><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes><ErrorCode extendedErrorCode="" code="SYSTEM_UNKNOWN_ERROR" errorMessage="An error occurred while processing your request." errorCode="SystemError.UnKnownError" type="user" httpCode="500" /></ErrorCodes></ErrorMapping><Apis><Api name="ListOrganizationSecurityScores" /><Api name="GetOrganizationSecurityCenterStatus" /><Api name="DeleteRepositoryTagV2" /><Api name="GetRepositoryTagV2" /><Api name="AcceptMergeRequest" /><Api name="GetMergeRequestDetail" /><Api name="UpdateMergeRequest" /><Api name="ListMergeRequestComments" /><Api name="ListRepositoryCommits" /><Api name="UpdateMergeRequestComment" /><Api name="UpdateMergeRequestSetting" /><Api name="CreateMergeRequestComment" /><Api name="GetMergeRequestSetting" /><Api name="GetMergeRequestApproveStatus" /><Api name="ListMergeRequests" /><Api name="CreateRepositoryProtectedBranch" /><Api name="UpdateRepository" /><Api name="DeleteRepositoryProtectedBranch" /><Api name="EnableRepositoryDeployKey" /><Api name="CreateRepositoryDeployKey" /><Api name="ListRepositoryWebhook" /><Api name="GetUserInfo" /><Api name="ListRepositories" /><Api name="DeleteRepositoryWebhook" /><Api name="ListOrganizations" /><Api name="GetRepositoryTag" /><Api name="DeleteRepositoryTag" /><Api name="ListRepositoryTags" /><Api name="GetGroupDetail" /><Api name="ListRepositoryBranches" /><Api name="GetRepositoryInfo" /><Api name="AddWebhook" /><Api name="MergeMergeRequest" /><Api name="CreateMergeRequest" /><Api name="CreateTag" /><Api name="GetProjectMember" /><Api name="GetBranchInfo" /><Api name="CreateBranch" /><Api name="ListGroups" /><Api name="ListGroupRepositories" /><Api name="DeleteBranch" /><Api name="UpdateFile" /><Api name="DeleteRepositoryGroup" /><Api name="DeleteRepository" /><Api name="GetCodeupOrganization" /><Api name="CreateRepositoryGroup" /><Api name="AddGroupMember" /><Api name="CreateRepository" /><Api name="AddRepositoryMember" /><Api name="DeleteRepositoryMember" /><Api name="ListRepositoryTree" /><Api name="DeleteGroupMember" /><Api name="ListRepositoryMember" /><Api name="UpdateRepositoryMember" /><Api name="GetFileBlobs" /><Api name="CreateFile" /><Api name="UpdateGroupMember" /><Api name="DeleteFile" /><Api name="ListGroupMember" /></Apis></Version>
|
||||
<?xml version='1.0' encoding='UTF-8'?><Version product="codeup" apiStyle="ROA" name="2020-04-14" isolationType="outer"><ErrorMapping exceptionExpress="success=false,errorCode,errorMsg,httpStatusCode"><ErrorCodes><ErrorCode extendedErrorCode="" code="SYSTEM_UNKNOWN_ERROR" errorMessage="An error occurred while processing your request." errorCode="SystemError.UnKnownError" type="user" httpCode="500" /></ErrorCodes></ErrorMapping><Apis><Api name="ListRepositoryMemberWithInherited" /><Api name="GetCodeCompletion" /><Api name="ListOrganizationSecurityScores" /><Api name="GetOrganizationSecurityCenterStatus" /><Api name="DeleteRepositoryTagV2" /><Api name="GetRepositoryTagV2" /><Api name="AcceptMergeRequest" /><Api name="GetMergeRequestDetail" /><Api name="UpdateMergeRequest" /><Api name="ListMergeRequestComments" /><Api name="ListRepositoryCommits" /><Api name="UpdateMergeRequestComment" /><Api name="UpdateMergeRequestSetting" /><Api name="CreateMergeRequestComment" /><Api name="GetMergeRequestSetting" /><Api name="GetMergeRequestApproveStatus" /><Api name="ListMergeRequests" /><Api name="CreateRepositoryProtectedBranch" /><Api name="UpdateRepository" /><Api name="DeleteRepositoryProtectedBranch" /><Api name="EnableRepositoryDeployKey" /><Api name="CreateRepositoryDeployKey" /><Api name="ListRepositoryWebhook" /><Api name="GetUserInfo" /><Api name="ListRepositories" /><Api name="DeleteRepositoryWebhook" /><Api name="ListOrganizations" /><Api name="GetRepositoryTag" /><Api name="DeleteRepositoryTag" /><Api name="ListRepositoryTags" /><Api name="GetGroupDetail" /><Api name="ListRepositoryBranches" /><Api name="GetRepositoryInfo" /><Api name="AddWebhook" /><Api name="MergeMergeRequest" /><Api name="CreateMergeRequest" /><Api name="CreateTag" /><Api name="GetProjectMember" /><Api name="GetBranchInfo" /><Api name="CreateBranch" /><Api name="ListGroups" /><Api name="ListGroupRepositories" /><Api name="DeleteBranch" /><Api name="UpdateFile" /><Api name="DeleteRepositoryGroup" /><Api name="DeleteRepository" /><Api name="GetCodeupOrganization" /><Api name="CreateRepositoryGroup" /><Api name="AddGroupMember" /><Api name="CreateRepository" /><Api name="AddRepositoryMember" /><Api name="DeleteRepositoryMember" /><Api name="ListRepositoryTree" /><Api name="DeleteGroupMember" /><Api name="ListRepositoryMember" /><Api name="UpdateRepositoryMember" /><Api name="GetFileBlobs" /><Api name="CreateFile" /><Api name="UpdateGroupMember" /><Api name="DeleteFile" /><Api name="ListGroupMember" /></Apis></Version>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Api name="GetOrderBaseInfo" status="online" version="2018-11-01" product="dms-enterprise" authType="AK" parameterType="Single" showJsonItemName="true" visibility="Public" responseLog="enable" keepClientResourceOwnerId="true"><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="tid" tagName="Tid" type="Long" required="false" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="orderId" tagName="OrderId" type="Long" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="IspSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="apiName" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="regionId" tagName="RegionId" type="String" required="false" tagPosition="Host" docRequired="false" checkBlank="false" defaultValue="center"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System"/></Parameters><IspProtocol protocol="http" retries="-1" timeout="10000" httpHost="http://api-dms-share-${regionId}.aliyun-inc.com/worknode/openapi/order/detail" sign="true" signKeyName="dms-enterprise-prod" signPolicy="Local" resultType="Object"/><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"/><IsvProtocol protocol="HTTP|HTTPS" method="POST|GET"/><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="message" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="success" nullToEmpty="false"/><Struct tagName="OrderBaseInfo" visibility="Public" name="data" nullToEmpty="false"><Member tagName="StatusDesc" visibility="Public" type="String" name="statusDesc"/><Member tagName="WorkflowStatusDesc" visibility="Public" type="String" name="workflowStatusDesc"/><Member tagName="Comment" visibility="Public" type="String" name="comment"/><Member tagName="CreateTime" visibility="Public" type="String" name="gmtCreate"/><Member tagName="WorkflowInstanceId" visibility="Public" type="Long" name="workflowInstanceId"/><Member tagName="Committer" visibility="Public" type="String" name="committer"/><Member tagName="OrderId" visibility="Public" type="Long" name="id"/><Member tagName="LastModifyTime" visibility="Public" type="String" name="gmtModified"/><Member tagName="PluginType" visibility="Public" type="String" name="pluginType"/><Member tagName="StatusCode" visibility="Public" type="String" name="statusCode"/><Member tagName="CommitterId" visibility="Public" type="Long" name="committerId"/><List tagName="RelatedUserList" visibility="Public" itemName="UserIds" name="relatedUserList" type="String"/><List tagName="RelatedUserNickList" visibility="Public" itemName="UserNicks" name="relatedUserNickList" type="String"/></Struct></ResultMapping><FlowControl controlUnit="Second" apiDefault="200"/></Api>
|
||||
<Api name="GetOrderBaseInfo" status="online" version="2018-11-01" product="dms-enterprise" authType="AK" showJsonItemName="true" visibility="Public" responseLog="enable" keepClientResourceOwnerId="true"><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="tid" tagName="Tid" type="Long" required="false" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="orderId" tagName="OrderId" type="Long" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/><Parameter name="IspSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="apiName" tagName="Action" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="regionId" tagName="RegionId" type="String" required="false" tagPosition="Host" docRequired="false" checkBlank="false" defaultValue="center"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System"/></Parameters><IspProtocol protocol="http" retries="-1" timeout="10000" httpHost="http://api-dms-share-${regionId}.aliyun-inc.com/worknode/openapi/order/detail" sign="true" signKeyName="dms-enterprise-prod" signPolicy="Local" resultType="Object"/><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"/><IsvProtocol protocol="HTTP|HTTPS" method="POST|GET"/><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="message" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="success" nullToEmpty="false"/><Struct tagName="OrderBaseInfo" visibility="Public" name="data" nullToEmpty="false"><Member tagName="StatusDesc" visibility="Public" type="String" name="statusDesc"/><Member tagName="WorkflowStatusDesc" visibility="Public" type="String" name="workflowStatusDesc"/><Member tagName="Comment" visibility="Public" type="String" name="comment"/><Member tagName="CreateTime" visibility="Public" type="String" name="gmtCreate"/><Member tagName="WorkflowInstanceId" visibility="Public" type="Long" name="workflowInstanceId"/><Member tagName="Committer" visibility="Public" type="String" name="committer"/><Member tagName="OrderId" visibility="Public" type="Long" name="id"/><Member tagName="LastModifyTime" visibility="Public" type="String" name="gmtModified"/><Member tagName="PluginType" visibility="Public" type="String" name="pluginType"/><Member tagName="StatusCode" visibility="Public" type="String" name="statusCode"/><Member tagName="CommitterId" visibility="Public" type="Long" name="committerId"/><List tagName="RelatedUserList" visibility="Public" itemName="UserIds" name="relatedUserList" type="String"/><List tagName="RelatedUserNickList" visibility="Public" itemName="UserNicks" name="relatedUserNickList" type="String"/></Struct></ResultMapping><FlowControl controlUnit="Second" apiDefault="1000"/></Api>
|
||||
2
dms-enterprise/2018-11-01/GetPhysicalDatabase.xml
Normal file
2
dms-enterprise/2018-11-01/GetPhysicalDatabase.xml
Normal file
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Api name="GetPhysicalDatabase" status="online" version="2018-11-01" product="dms-enterprise" authType="AK" showJsonItemName="true" visibility="Public" responseLog="enable" keepClientResourceOwnerId="true"><Parameters><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="dbId" tagName="DbId" type="Long" required="true" tagPosition="Query" docRequired="true" checkBlank="false" minValue="1" maxValue="9223372036854775807" visibility="Public"/><Parameter name="actionName" tagName="Action" type="String" required="false" tagPosition="System"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System"/><Parameter name="IspSignatureSecretKey" tagName="IspSignatureSecretKey" type="String" required="false" tagPosition="System"/><Parameter name="IspSignature" tagName="IspSignature" type="String" required="false" tagPosition="System"/><Parameter name="accessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="System"/><Parameter name="securityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System"/><Parameter name="stsTokenCallerUid" tagName="stsTokenCallerUid" type="Long" required="false" tagPosition="System"/><Parameter name="tid" tagName="Tid" type="Long" required="false" tagPosition="Query" minValue="1" maxValue="9223372036854775807"/><Parameter name="regionId" tagName="RegionId" type="String" required="false" tagPosition="Host" defaultValue="center"/></Parameters><IspProtocol protocol="http" retries="-1" timeout="10000" httpHost="http://api-dms-share-${regionId}.aliyun-inc.com/worknode/openapi/meta/database/getByDbId" sign="true" signKeyName="dms-enterprise-prod" signPolicy="Local" resultType="Object"/><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"/><IsvProtocol protocol="HTTP|HTTPS" method="POST|GET"/><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId" nullToEmpty="false"/><Member tagName="ErrorCode" visibility="Public" type="String" name="errorCode" nullToEmpty="false"/><Member tagName="ErrorMessage" visibility="Public" type="String" name="message" nullToEmpty="false"/><Member tagName="Success" visibility="Public" type="Boolean" name="success" nullToEmpty="false"/><Struct tagName="Database" visibility="Public" name="data" nullToEmpty="false"><Member tagName="SearchName" visibility="Public" type="String" name="searchName"/><Member tagName="InstanceId" visibility="Public" type="String" name="instanceId"/><Member tagName="Port" visibility="Public" type="Integer" name="port"/><Member tagName="Encoding" visibility="Public" type="String" name="encoding"/><Member tagName="Host" visibility="Public" type="String" name="host"/><Member tagName="DatabaseId" visibility="Public" type="String" name="dbId"/><Member tagName="DbType" visibility="Public" type="String" name="dbType"/><Member tagName="EnvType" visibility="Public" type="String" name="envType"/><Member tagName="Sid" visibility="Public" type="String" name="sid"/><Member tagName="DbaName" visibility="Public" type="String" name="dbaName"/><Member tagName="DbaId" visibility="Public" type="String" name="dbaId"/><Member tagName="State" visibility="Public" type="String" name="state"/><Member tagName="CatalogName" visibility="Public" type="String" name="catalogName"/><Member tagName="SchemaName" visibility="Public" type="String" name="schemaName"/><List tagName="OwnerNameList" visibility="Public" itemName="OwnerNames" name="ownerNames"/><List tagName="OwnerIdList" visibility="Public" itemName="OwnerIds" name="ownerIds"/></Struct></ResultMapping><FlowControl controlUnit="Second" apiDefault="200"/></Api>
|
||||
@@ -95,6 +95,8 @@ set(dms-enterprise_public_header_model
|
||||
include/alibabacloud/dms-enterprise/model/GetOwnerApplyOrderDetailResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetPermApplyOrderDetailRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetPermApplyOrderDetailResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetPhysicalDatabaseResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailRequest.h
|
||||
include/alibabacloud/dms-enterprise/model/GetStructSyncExecSqlDetailResult.h
|
||||
include/alibabacloud/dms-enterprise/model/GetStructSyncJobAnalyzeResultRequest.h
|
||||
@@ -254,6 +256,8 @@ set(dms-enterprise_src
|
||||
src/model/GetOwnerApplyOrderDetailResult.cc
|
||||
src/model/GetPermApplyOrderDetailRequest.cc
|
||||
src/model/GetPermApplyOrderDetailResult.cc
|
||||
src/model/GetPhysicalDatabaseRequest.cc
|
||||
src/model/GetPhysicalDatabaseResult.cc
|
||||
src/model/GetStructSyncExecSqlDetailRequest.cc
|
||||
src/model/GetStructSyncExecSqlDetailResult.cc
|
||||
src/model/GetStructSyncJobAnalyzeResultRequest.cc
|
||||
|
||||
@@ -96,6 +96,8 @@
|
||||
#include "model/GetOwnerApplyOrderDetailResult.h"
|
||||
#include "model/GetPermApplyOrderDetailRequest.h"
|
||||
#include "model/GetPermApplyOrderDetailResult.h"
|
||||
#include "model/GetPhysicalDatabaseRequest.h"
|
||||
#include "model/GetPhysicalDatabaseResult.h"
|
||||
#include "model/GetStructSyncExecSqlDetailRequest.h"
|
||||
#include "model/GetStructSyncExecSqlDetailResult.h"
|
||||
#include "model/GetStructSyncJobAnalyzeResultRequest.h"
|
||||
@@ -298,6 +300,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetPermApplyOrderDetailResult> GetPermApplyOrderDetailOutcome;
|
||||
typedef std::future<GetPermApplyOrderDetailOutcome> GetPermApplyOrderDetailOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetPermApplyOrderDetailRequest&, const GetPermApplyOrderDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPermApplyOrderDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPhysicalDatabaseResult> GetPhysicalDatabaseOutcome;
|
||||
typedef std::future<GetPhysicalDatabaseOutcome> GetPhysicalDatabaseOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetPhysicalDatabaseRequest&, const GetPhysicalDatabaseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhysicalDatabaseAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStructSyncExecSqlDetailResult> GetStructSyncExecSqlDetailOutcome;
|
||||
typedef std::future<GetStructSyncExecSqlDetailOutcome> GetStructSyncExecSqlDetailOutcomeCallable;
|
||||
typedef std::function<void(const Dms_enterpriseClient*, const Model::GetStructSyncExecSqlDetailRequest&, const GetStructSyncExecSqlDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStructSyncExecSqlDetailAsyncHandler;
|
||||
@@ -537,6 +542,9 @@ namespace AlibabaCloud
|
||||
GetPermApplyOrderDetailOutcome getPermApplyOrderDetail(const Model::GetPermApplyOrderDetailRequest &request)const;
|
||||
void getPermApplyOrderDetailAsync(const Model::GetPermApplyOrderDetailRequest& request, const GetPermApplyOrderDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPermApplyOrderDetailOutcomeCallable getPermApplyOrderDetailCallable(const Model::GetPermApplyOrderDetailRequest& request) const;
|
||||
GetPhysicalDatabaseOutcome getPhysicalDatabase(const Model::GetPhysicalDatabaseRequest &request)const;
|
||||
void getPhysicalDatabaseAsync(const Model::GetPhysicalDatabaseRequest& request, const GetPhysicalDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhysicalDatabaseOutcomeCallable getPhysicalDatabaseCallable(const Model::GetPhysicalDatabaseRequest& request) const;
|
||||
GetStructSyncExecSqlDetailOutcome getStructSyncExecSqlDetail(const Model::GetStructSyncExecSqlDetailRequest &request)const;
|
||||
void getStructSyncExecSqlDetailAsync(const Model::GetStructSyncExecSqlDetailRequest& request, const GetStructSyncExecSqlDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStructSyncExecSqlDetailOutcomeCallable getStructSyncExecSqlDetailCallable(const Model::GetStructSyncExecSqlDetailRequest& request) const;
|
||||
|
||||
@@ -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_DMS_ENTERPRISE_MODEL_GETPHYSICALDATABASEREQUEST_H_
|
||||
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPHYSICALDATABASEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dms_enterprise
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetPhysicalDatabaseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPhysicalDatabaseRequest();
|
||||
~GetPhysicalDatabaseRequest();
|
||||
|
||||
long getDbId()const;
|
||||
void setDbId(long dbId);
|
||||
long getTid()const;
|
||||
void setTid(long tid);
|
||||
|
||||
private:
|
||||
long dbId_;
|
||||
long tid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPHYSICALDATABASEREQUEST_H_
|
||||
@@ -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_DMS_ENTERPRISE_MODEL_GETPHYSICALDATABASERESULT_H_
|
||||
#define ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPHYSICALDATABASERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dms-enterprise/Dms_enterpriseExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dms_enterprise
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DMS_ENTERPRISE_EXPORT GetPhysicalDatabaseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Database
|
||||
{
|
||||
std::string searchName;
|
||||
std::string instanceId;
|
||||
int port;
|
||||
std::string encoding;
|
||||
std::string host;
|
||||
std::string databaseId;
|
||||
std::string dbType;
|
||||
std::string envType;
|
||||
std::string sid;
|
||||
std::string dbaName;
|
||||
std::string dbaId;
|
||||
std::string state;
|
||||
std::string catalogName;
|
||||
std::vector<std::string> ownerNameList;
|
||||
std::string schemaName;
|
||||
std::vector<std::string> ownerIdList;
|
||||
};
|
||||
|
||||
|
||||
GetPhysicalDatabaseResult();
|
||||
explicit GetPhysicalDatabaseResult(const std::string &payload);
|
||||
~GetPhysicalDatabaseResult();
|
||||
Database getDatabase()const;
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Database database_;
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DMS_ENTERPRISE_MODEL_GETPHYSICALDATABASERESULT_H_
|
||||
@@ -31,21 +31,21 @@ Dms_enterpriseClient::Dms_enterpriseClient(const Credentials &credentials, const
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dms-enterprise");
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::Dms_enterpriseClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dms-enterprise");
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::Dms_enterpriseClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dms-enterprise");
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::~Dms_enterpriseClient()
|
||||
@@ -1383,6 +1383,42 @@ Dms_enterpriseClient::GetPermApplyOrderDetailOutcomeCallable Dms_enterpriseClien
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetPhysicalDatabaseOutcome Dms_enterpriseClient::getPhysicalDatabase(const GetPhysicalDatabaseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetPhysicalDatabaseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetPhysicalDatabaseOutcome(GetPhysicalDatabaseResult(outcome.result()));
|
||||
else
|
||||
return GetPhysicalDatabaseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Dms_enterpriseClient::getPhysicalDatabaseAsync(const GetPhysicalDatabaseRequest& request, const GetPhysicalDatabaseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getPhysicalDatabase(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetPhysicalDatabaseOutcomeCallable Dms_enterpriseClient::getPhysicalDatabaseCallable(const GetPhysicalDatabaseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetPhysicalDatabaseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getPhysicalDatabase(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Dms_enterpriseClient::GetStructSyncExecSqlDetailOutcome Dms_enterpriseClient::getStructSyncExecSqlDetail(const GetStructSyncExecSqlDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
dms-enterprise/src/model/GetPhysicalDatabaseRequest.cc
Normal file
51
dms-enterprise/src/model/GetPhysicalDatabaseRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetPhysicalDatabaseRequest.h>
|
||||
|
||||
using AlibabaCloud::Dms_enterprise::Model::GetPhysicalDatabaseRequest;
|
||||
|
||||
GetPhysicalDatabaseRequest::GetPhysicalDatabaseRequest() :
|
||||
RpcServiceRequest("dms-enterprise", "2018-11-01", "GetPhysicalDatabase")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPhysicalDatabaseRequest::~GetPhysicalDatabaseRequest()
|
||||
{}
|
||||
|
||||
long GetPhysicalDatabaseRequest::getDbId()const
|
||||
{
|
||||
return dbId_;
|
||||
}
|
||||
|
||||
void GetPhysicalDatabaseRequest::setDbId(long dbId)
|
||||
{
|
||||
dbId_ = dbId;
|
||||
setParameter("DbId", std::to_string(dbId));
|
||||
}
|
||||
|
||||
long GetPhysicalDatabaseRequest::getTid()const
|
||||
{
|
||||
return tid_;
|
||||
}
|
||||
|
||||
void GetPhysicalDatabaseRequest::setTid(long tid)
|
||||
{
|
||||
tid_ = tid;
|
||||
setParameter("Tid", std::to_string(tid));
|
||||
}
|
||||
|
||||
105
dms-enterprise/src/model/GetPhysicalDatabaseResult.cc
Normal file
105
dms-enterprise/src/model/GetPhysicalDatabaseResult.cc
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dms-enterprise/model/GetPhysicalDatabaseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dms_enterprise;
|
||||
using namespace AlibabaCloud::Dms_enterprise::Model;
|
||||
|
||||
GetPhysicalDatabaseResult::GetPhysicalDatabaseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetPhysicalDatabaseResult::GetPhysicalDatabaseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetPhysicalDatabaseResult::~GetPhysicalDatabaseResult()
|
||||
{}
|
||||
|
||||
void GetPhysicalDatabaseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto databaseNode = value["Database"];
|
||||
if(!databaseNode["SearchName"].isNull())
|
||||
database_.searchName = databaseNode["SearchName"].asString();
|
||||
if(!databaseNode["InstanceId"].isNull())
|
||||
database_.instanceId = databaseNode["InstanceId"].asString();
|
||||
if(!databaseNode["Port"].isNull())
|
||||
database_.port = std::stoi(databaseNode["Port"].asString());
|
||||
if(!databaseNode["Encoding"].isNull())
|
||||
database_.encoding = databaseNode["Encoding"].asString();
|
||||
if(!databaseNode["Host"].isNull())
|
||||
database_.host = databaseNode["Host"].asString();
|
||||
if(!databaseNode["DatabaseId"].isNull())
|
||||
database_.databaseId = databaseNode["DatabaseId"].asString();
|
||||
if(!databaseNode["DbType"].isNull())
|
||||
database_.dbType = databaseNode["DbType"].asString();
|
||||
if(!databaseNode["EnvType"].isNull())
|
||||
database_.envType = databaseNode["EnvType"].asString();
|
||||
if(!databaseNode["Sid"].isNull())
|
||||
database_.sid = databaseNode["Sid"].asString();
|
||||
if(!databaseNode["DbaName"].isNull())
|
||||
database_.dbaName = databaseNode["DbaName"].asString();
|
||||
if(!databaseNode["DbaId"].isNull())
|
||||
database_.dbaId = databaseNode["DbaId"].asString();
|
||||
if(!databaseNode["State"].isNull())
|
||||
database_.state = databaseNode["State"].asString();
|
||||
if(!databaseNode["CatalogName"].isNull())
|
||||
database_.catalogName = databaseNode["CatalogName"].asString();
|
||||
if(!databaseNode["SchemaName"].isNull())
|
||||
database_.schemaName = databaseNode["SchemaName"].asString();
|
||||
auto allOwnerNameList = databaseNode["OwnerNameList"]["OwnerNames"];
|
||||
for (auto value : allOwnerNameList)
|
||||
database_.ownerNameList.push_back(value.asString());
|
||||
auto allOwnerIdList = databaseNode["OwnerIdList"]["OwnerIds"];
|
||||
for (auto value : allOwnerIdList)
|
||||
database_.ownerIdList.push_back(value.asString());
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
GetPhysicalDatabaseResult::Database GetPhysicalDatabaseResult::getDatabase()const
|
||||
{
|
||||
return database_;
|
||||
}
|
||||
|
||||
std::string GetPhysicalDatabaseResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::string GetPhysicalDatabaseResult::getErrorMessage()const
|
||||
{
|
||||
return errorMessage_;
|
||||
}
|
||||
|
||||
bool GetPhysicalDatabaseResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Version name="2018-11-01" product="dms-enterprise" apiStyle="RPC" isolationType="outer"><Parameters/><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"><ErrorCodes><ErrorCode errorCode="InstanceExisted" errorMessage="The specified instance already exists." code="InstanceExisted" type="user" httpCode="403"/><ErrorCode errorCode="InstanceNoEnoughNumber" errorMessage="The maximum number of instances allowed for the enterprise is exceeded." code="InstanceNoEnoughNumber" type="user" httpCode="403"/><ErrorCode errorCode="InternalError" errorMessage="Internal server error." code="InternalError" type="user" httpCode="500"/><ErrorCode errorCode="NoPermission" errorMessage="You are not authorized to perform this operation." code="NoPermission" type="user" httpCode="403"/><ErrorCode errorCode="NotSupportYet" errorMessage="This feature is not supported." code="NotSupportYet" type="user" httpCode="403"/><ErrorCode errorCode="SecurityRuleNotExist" errorMessage="The specified security rule does not exist." code="SecurityRuleNotExist" type="user" httpCode="404"/><ErrorCode errorCode="TenantExpired" errorMessage="The tenant has expired." code="TenantExpired" type="user" httpCode="404"/><ErrorCode errorCode="TenantNotExist" errorMessage="The specified tenant does not exist." code="TenantNotExist" type="user" httpCode="404"/><ErrorCode errorCode="TenantStatusIllegal" errorMessage="The tenant status is invalid." code="TenantStatusIllegal" type="user" httpCode="404"/><ErrorCode errorCode="UserExisted" errorMessage="The specified user already exists." code="UserExisted" type="user" httpCode="403"/><ErrorCode errorCode="UserNoEnoughNumber" errorMessage="The maximum number of users allowed for the enterprise is exceeded." code="UserNoEnoughNumber" type="user" httpCode="403"/><ErrorCode errorCode="UserNotExist" errorMessage="The specified user does not exist." code="UserNotExist" type="user" httpCode="404"/><ErrorCode errorCode="UserStatusIllegal" errorMessage="The user status is invalid." code="UserStatusIllegal" type="user" httpCode="404"/></ErrorCodes></ErrorMapping><Apis><Api name="SubmitStructSyncOrderApproval"/><Api name="ListDatabaseUserPermssions"/><Api name="ListSensitiveColumns"/><Api name="ListUsers"/><Api name="SubmitOrderApproval"/><Api name="GrantUserPermission"/><Api name="GetMetaTableDetailInfo"/><Api name="GetDataCorrectSQLFile"/><Api name="CreateFreeLockCorrectOrder"/><Api name="CreateOrder"/><Api name="ListDatabases"/><Api name="ListUserPermissions"/><Api name="ListWorkFlowTemplates"/><Api name="GetDataExportOrderDetail"/><Api name="ListInstances"/><Api name="GetUserUploadFileJob"/><Api name="ListDDLPublishRecords"/><Api name="GetStructSyncJobDetail"/><Api name="CreateUploadOSSFileJob"/><Api name="SearchDatabase"/><Api name="GetDBTopology"/><Api name="SyncDatabaseMeta"/><Api name="GetUser"/><Api name="ExecuteStructSync"/><Api name="GetDataCorrectOrderDetail"/><Api name="ListColumns"/><Api name="RevokeUserPermission"/><Api name="GetMetaTableColumn"/><Api name="EnableUser"/><Api name="UpdateInstance"/><Api name="ExecuteScript"/><Api name="ListDBTaskSQLJobDetail"/><Api name="DisableUser"/><Api name="GetApprovalDetail"/><Api name="GetUserActiveTenant"/><Api name="RegisterUser"/><Api name="GetInstance"/><Api name="GetPermApplyOrderDetail"/><Api name="ListIndexes"/><Api name="ListLogicTables"/><Api name="GetTableTopology"/><Api name="GetDataExportDownloadURL"/><Api name="CreateDataCronClearOrder"/><Api name="CreatePublishGroupTask"/><Api name="GetDatabase"/><Api name="GetOwnerApplyOrderDetail"/><Api name="GetOpLog"/><Api name="SearchTable"/><Api name="ListDBTaskSQLJob"/><Api name="DeleteUser"/><Api name="GetDataCronClearTaskDetailList"/><Api name="GetStructSyncJobAnalyzeResult"/><Api name="ApproveOrder"/><Api name="GetDataCorrectTaskDetail"/><Api name="CreateUploadFileJob"/><Api name="ListLogicDatabases"/><Api name="CreateDataImportOrder"/><Api name="CloseOrder"/><Api name="SyncInstanceMeta"/><Api name="ListOrders"/><Api name="GetOrderBaseInfo"/><Api name="ListUserTenants"/><Api name="SetOwners"/><Api name="CreateDataCorrectOrder"/><Api name="GetLogicDatabase"/><Api name="GetDataCorrectBackupFiles"/><Api name="RegisterInstance"/><Api name="CreateStructSyncOrder"/><Api name="ExecuteDataExport"/><Api name="ExecuteDataCorrect"/><Api name="ListTables"/><Api name="ListWorkFlowNodes"/><Api name="GetStructSyncOrderDetail"/><Api name="ListSensitiveColumnsDetail"/><Api name="UpdateUser"/><Api name="GetStructSyncExecSqlDetail"/><Api name="CheckFinishMission"/><Api name="DeleteInstance"/><Api name="GetTableDBTopology"/></Apis></Version>
|
||||
<Version name="2018-11-01" product="dms-enterprise" apiStyle="RPC" isolationType="outer"><Parameters/><ErrorMapping exceptionExpress="success=false,errorCode,message,httpStatusCode"><ErrorCodes><ErrorCode errorCode="InstanceExisted" errorMessage="The specified instance already exists." code="InstanceExisted" type="user" httpCode="403"/><ErrorCode errorCode="InstanceNoEnoughNumber" errorMessage="The maximum number of instances allowed for the enterprise is exceeded." code="InstanceNoEnoughNumber" type="user" httpCode="403"/><ErrorCode errorCode="InternalError" errorMessage="Internal server error." code="InternalError" type="user" httpCode="500"/><ErrorCode errorCode="NoPermission" errorMessage="You are not authorized to perform this operation." code="NoPermission" type="user" httpCode="403"/><ErrorCode errorCode="NotSupportYet" errorMessage="This feature is not supported." code="NotSupportYet" type="user" httpCode="403"/><ErrorCode errorCode="SecurityRuleNotExist" errorMessage="The specified security rule does not exist." code="SecurityRuleNotExist" type="user" httpCode="404"/><ErrorCode errorCode="TenantExpired" errorMessage="The tenant has expired." code="TenantExpired" type="user" httpCode="404"/><ErrorCode errorCode="TenantNotExist" errorMessage="The specified tenant does not exist." code="TenantNotExist" type="user" httpCode="404"/><ErrorCode errorCode="TenantStatusIllegal" errorMessage="The tenant status is invalid." code="TenantStatusIllegal" type="user" httpCode="404"/><ErrorCode errorCode="UserExisted" errorMessage="The specified user already exists." code="UserExisted" type="user" httpCode="403"/><ErrorCode errorCode="UserNoEnoughNumber" errorMessage="The maximum number of users allowed for the enterprise is exceeded." code="UserNoEnoughNumber" type="user" httpCode="403"/><ErrorCode errorCode="UserNotExist" errorMessage="The specified user does not exist." code="UserNotExist" type="user" httpCode="404"/><ErrorCode errorCode="UserStatusIllegal" errorMessage="The user status is invalid." code="UserStatusIllegal" type="user" httpCode="404"/></ErrorCodes></ErrorMapping><Apis><Api name="SubmitStructSyncOrderApproval"/><Api name="ListDatabaseUserPermssions"/><Api name="ListSensitiveColumns"/><Api name="ListUsers"/><Api name="SubmitOrderApproval"/><Api name="GrantUserPermission"/><Api name="GetMetaTableDetailInfo"/><Api name="GetDataCorrectSQLFile"/><Api name="CreateFreeLockCorrectOrder"/><Api name="CreateOrder"/><Api name="ListDatabases"/><Api name="ListUserPermissions"/><Api name="ListWorkFlowTemplates"/><Api name="GetDataExportOrderDetail"/><Api name="ListInstances"/><Api name="GetUserUploadFileJob"/><Api name="ListDDLPublishRecords"/><Api name="GetStructSyncJobDetail"/><Api name="CreateUploadOSSFileJob"/><Api name="SearchDatabase"/><Api name="GetDBTopology"/><Api name="SyncDatabaseMeta"/><Api name="GetUser"/><Api name="ExecuteStructSync"/><Api name="GetDataCorrectOrderDetail"/><Api name="ListColumns"/><Api name="RevokeUserPermission"/><Api name="GetMetaTableColumn"/><Api name="EnableUser"/><Api name="UpdateInstance"/><Api name="ExecuteScript"/><Api name="ListDBTaskSQLJobDetail"/><Api name="DisableUser"/><Api name="GetApprovalDetail"/><Api name="GetUserActiveTenant"/><Api name="RegisterUser"/><Api name="GetInstance"/><Api name="GetPermApplyOrderDetail"/><Api name="ListIndexes"/><Api name="ListLogicTables"/><Api name="GetTableTopology"/><Api name="GetDataExportDownloadURL"/><Api name="CreateDataCronClearOrder"/><Api name="CreatePublishGroupTask"/><Api name="GetDatabase"/><Api name="GetOwnerApplyOrderDetail"/><Api name="GetOpLog"/><Api name="SearchTable"/><Api name="ListDBTaskSQLJob"/><Api name="DeleteUser"/><Api name="GetDataCronClearTaskDetailList"/><Api name="GetStructSyncJobAnalyzeResult"/><Api name="ApproveOrder"/><Api name="GetDataCorrectTaskDetail"/><Api name="CreateUploadFileJob"/><Api name="ListLogicDatabases"/><Api name="CreateDataImportOrder"/><Api name="CloseOrder"/><Api name="SyncInstanceMeta"/><Api name="ListOrders"/><Api name="GetOrderBaseInfo"/><Api name="ListUserTenants"/><Api name="SetOwners"/><Api name="CreateDataCorrectOrder"/><Api name="GetLogicDatabase"/><Api name="GetDataCorrectBackupFiles"/><Api name="RegisterInstance"/><Api name="CreateStructSyncOrder"/><Api name="ExecuteDataExport"/><Api name="ExecuteDataCorrect"/><Api name="ListTables"/><Api name="ListWorkFlowNodes"/><Api name="GetStructSyncOrderDetail"/><Api name="ListSensitiveColumnsDetail"/><Api name="UpdateUser"/><Api name="GetPhysicalDatabase"/><Api name="GetStructSyncExecSqlDetail"/><Api name="CheckFinishMission"/><Api name="DeleteInstance"/><Api name="GetTableDBTopology"/></Apis></Version>
|
||||
@@ -89,6 +89,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/CreateCapacityReservationResult.h
|
||||
include/alibabacloud/ecs/model/CreateCommandRequest.h
|
||||
include/alibabacloud/ecs/model/CreateCommandResult.h
|
||||
include/alibabacloud/ecs/model/CreateDedicatedBlockStorageClusterRequest.h
|
||||
include/alibabacloud/ecs/model/CreateDedicatedBlockStorageClusterResult.h
|
||||
include/alibabacloud/ecs/model/CreateDedicatedHostClusterRequest.h
|
||||
include/alibabacloud/ecs/model/CreateDedicatedHostClusterResult.h
|
||||
include/alibabacloud/ecs/model/CreateDemandRequest.h
|
||||
@@ -97,6 +99,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/CreateDeploymentSetResult.h
|
||||
include/alibabacloud/ecs/model/CreateDiskRequest.h
|
||||
include/alibabacloud/ecs/model/CreateDiskResult.h
|
||||
include/alibabacloud/ecs/model/CreateDiskReplicaPairRequest.h
|
||||
include/alibabacloud/ecs/model/CreateDiskReplicaPairResult.h
|
||||
include/alibabacloud/ecs/model/CreateElasticityAssuranceRequest.h
|
||||
include/alibabacloud/ecs/model/CreateElasticityAssuranceResult.h
|
||||
include/alibabacloud/ecs/model/CreateForwardEntryRequest.h
|
||||
@@ -167,6 +171,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/DeleteDeploymentSetResult.h
|
||||
include/alibabacloud/ecs/model/DeleteDiskRequest.h
|
||||
include/alibabacloud/ecs/model/DeleteDiskResult.h
|
||||
include/alibabacloud/ecs/model/DeleteDiskReplicaPairRequest.h
|
||||
include/alibabacloud/ecs/model/DeleteDiskReplicaPairResult.h
|
||||
include/alibabacloud/ecs/model/DeleteForwardEntryRequest.h
|
||||
include/alibabacloud/ecs/model/DeleteForwardEntryResult.h
|
||||
include/alibabacloud/ecs/model/DeleteHaVipRequest.h
|
||||
@@ -249,6 +255,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/DescribeClustersResult.h
|
||||
include/alibabacloud/ecs/model/DescribeCommandsRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeCommandsResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDedicatedBlockStorageClustersRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeDedicatedBlockStorageClustersResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeDedicatedHostAutoRenewResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDedicatedHostClustersRequest.h
|
||||
@@ -265,6 +273,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/DescribeDeploymentSetsResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDiskMonitorDataRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeDiskMonitorDataResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDiskReplicaPairsRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeDiskReplicaPairsResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDisksRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeDisksResult.h
|
||||
include/alibabacloud/ecs/model/DescribeDisksFullStatusRequest.h
|
||||
@@ -643,6 +653,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/RunInstancesResult.h
|
||||
include/alibabacloud/ecs/model/SendFileRequest.h
|
||||
include/alibabacloud/ecs/model/SendFileResult.h
|
||||
include/alibabacloud/ecs/model/StartDiskReplicaPairRequest.h
|
||||
include/alibabacloud/ecs/model/StartDiskReplicaPairResult.h
|
||||
include/alibabacloud/ecs/model/StartElasticityAssuranceRequest.h
|
||||
include/alibabacloud/ecs/model/StartElasticityAssuranceResult.h
|
||||
include/alibabacloud/ecs/model/StartImagePipelineExecutionRequest.h
|
||||
@@ -651,6 +663,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/StartInstanceResult.h
|
||||
include/alibabacloud/ecs/model/StartInstancesRequest.h
|
||||
include/alibabacloud/ecs/model/StartInstancesResult.h
|
||||
include/alibabacloud/ecs/model/StopDiskReplicaPairRequest.h
|
||||
include/alibabacloud/ecs/model/StopDiskReplicaPairResult.h
|
||||
include/alibabacloud/ecs/model/StopInstanceRequest.h
|
||||
include/alibabacloud/ecs/model/StopInstanceResult.h
|
||||
include/alibabacloud/ecs/model/StopInstancesRequest.h
|
||||
@@ -744,6 +758,8 @@ set(ecs_src
|
||||
src/model/CreateCapacityReservationResult.cc
|
||||
src/model/CreateCommandRequest.cc
|
||||
src/model/CreateCommandResult.cc
|
||||
src/model/CreateDedicatedBlockStorageClusterRequest.cc
|
||||
src/model/CreateDedicatedBlockStorageClusterResult.cc
|
||||
src/model/CreateDedicatedHostClusterRequest.cc
|
||||
src/model/CreateDedicatedHostClusterResult.cc
|
||||
src/model/CreateDemandRequest.cc
|
||||
@@ -752,6 +768,8 @@ set(ecs_src
|
||||
src/model/CreateDeploymentSetResult.cc
|
||||
src/model/CreateDiskRequest.cc
|
||||
src/model/CreateDiskResult.cc
|
||||
src/model/CreateDiskReplicaPairRequest.cc
|
||||
src/model/CreateDiskReplicaPairResult.cc
|
||||
src/model/CreateElasticityAssuranceRequest.cc
|
||||
src/model/CreateElasticityAssuranceResult.cc
|
||||
src/model/CreateForwardEntryRequest.cc
|
||||
@@ -822,6 +840,8 @@ set(ecs_src
|
||||
src/model/DeleteDeploymentSetResult.cc
|
||||
src/model/DeleteDiskRequest.cc
|
||||
src/model/DeleteDiskResult.cc
|
||||
src/model/DeleteDiskReplicaPairRequest.cc
|
||||
src/model/DeleteDiskReplicaPairResult.cc
|
||||
src/model/DeleteForwardEntryRequest.cc
|
||||
src/model/DeleteForwardEntryResult.cc
|
||||
src/model/DeleteHaVipRequest.cc
|
||||
@@ -904,6 +924,8 @@ set(ecs_src
|
||||
src/model/DescribeClustersResult.cc
|
||||
src/model/DescribeCommandsRequest.cc
|
||||
src/model/DescribeCommandsResult.cc
|
||||
src/model/DescribeDedicatedBlockStorageClustersRequest.cc
|
||||
src/model/DescribeDedicatedBlockStorageClustersResult.cc
|
||||
src/model/DescribeDedicatedHostAutoRenewRequest.cc
|
||||
src/model/DescribeDedicatedHostAutoRenewResult.cc
|
||||
src/model/DescribeDedicatedHostClustersRequest.cc
|
||||
@@ -920,6 +942,8 @@ set(ecs_src
|
||||
src/model/DescribeDeploymentSetsResult.cc
|
||||
src/model/DescribeDiskMonitorDataRequest.cc
|
||||
src/model/DescribeDiskMonitorDataResult.cc
|
||||
src/model/DescribeDiskReplicaPairsRequest.cc
|
||||
src/model/DescribeDiskReplicaPairsResult.cc
|
||||
src/model/DescribeDisksRequest.cc
|
||||
src/model/DescribeDisksResult.cc
|
||||
src/model/DescribeDisksFullStatusRequest.cc
|
||||
@@ -1298,6 +1322,8 @@ set(ecs_src
|
||||
src/model/RunInstancesResult.cc
|
||||
src/model/SendFileRequest.cc
|
||||
src/model/SendFileResult.cc
|
||||
src/model/StartDiskReplicaPairRequest.cc
|
||||
src/model/StartDiskReplicaPairResult.cc
|
||||
src/model/StartElasticityAssuranceRequest.cc
|
||||
src/model/StartElasticityAssuranceResult.cc
|
||||
src/model/StartImagePipelineExecutionRequest.cc
|
||||
@@ -1306,6 +1332,8 @@ set(ecs_src
|
||||
src/model/StartInstanceResult.cc
|
||||
src/model/StartInstancesRequest.cc
|
||||
src/model/StartInstancesResult.cc
|
||||
src/model/StopDiskReplicaPairRequest.cc
|
||||
src/model/StopDiskReplicaPairResult.cc
|
||||
src/model/StopInstanceRequest.cc
|
||||
src/model/StopInstanceResult.cc
|
||||
src/model/StopInstancesRequest.cc
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
||||
std::string oSType;
|
||||
long invocationCount;
|
||||
std::string cloudAssistantStatus;
|
||||
std::string lastHeartbeatTime;
|
||||
std::string lastInvokedTime;
|
||||
long activeTaskCount;
|
||||
};
|
||||
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -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_
|
||||
@@ -54,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string category;
|
||||
std::string kMSKeyId;
|
||||
std::string resourceGroupId;
|
||||
std::string dedicatedBlockStorageClusterId;
|
||||
int size;
|
||||
bool encrypted;
|
||||
bool deleteAutoSnapshot;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user