regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -52,6 +52,8 @@
#include "model/DeleteServiceListResult.h"
#include "model/DeleteUnionCasServiceRequest.h"
#include "model/DeleteUnionCasServiceResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/FindApprovalOrderListRequest.h"
#include "model/FindApprovalOrderListResult.h"
#include "model/FindApproveServiceListRequest.h"
@@ -158,6 +160,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteUnionCasServiceResult> DeleteUnionCasServiceOutcome;
typedef std::future<DeleteUnionCasServiceOutcome> DeleteUnionCasServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteUnionCasServiceRequest&, const DeleteUnionCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUnionCasServiceAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::FindApprovalOrderListResult> FindApprovalOrderListOutcome;
typedef std::future<FindApprovalOrderListOutcome> FindApprovalOrderListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindApprovalOrderListRequest&, const FindApprovalOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindApprovalOrderListAsyncHandler;
@@ -286,6 +291,9 @@ namespace AlibabaCloud
DeleteUnionCasServiceOutcome deleteUnionCasService(const Model::DeleteUnionCasServiceRequest &request)const;
void deleteUnionCasServiceAsync(const Model::DeleteUnionCasServiceRequest& request, const DeleteUnionCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteUnionCasServiceOutcomeCallable deleteUnionCasServiceCallable(const Model::DeleteUnionCasServiceRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
FindApprovalOrderListOutcome findApprovalOrderList(const Model::FindApprovalOrderListRequest &request)const;
void findApprovalOrderListAsync(const Model::FindApprovalOrderListRequest& request, const FindApprovalOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindApprovalOrderListOutcomeCallable findApprovalOrderListCallable(const Model::FindApprovalOrderListRequest& request) const;

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/csb/CSBExport.h>
namespace AlibabaCloud
{
namespace CSB
{
namespace Model
{
class ALIBABACLOUD_CSB_EXPORT DescribeRegionsRequest : public RpcServiceRequest
{
public:
DescribeRegionsRequest();
~DescribeRegionsRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DESCRIBEREGIONSREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* 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_CSB_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/csb/CSBExport.h>
namespace AlibabaCloud
{
namespace CSB
{
namespace Model
{
class ALIBABACLOUD_CSB_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Data
{
struct Region
{
struct PhysicalLocation
{
struct Attribute
{
std::string value;
std::string name;
};
std::string status;
std::string no;
std::string type;
std::string serviceCode;
std::vector<PhysicalLocation::Attribute> attributes;
std::string name;
};
std::string regionName;
bool isdefault;
std::string regionId;
std::string regionUrl;
std::vector<Region::PhysicalLocation> physicalLocations;
};
std::vector<Region> regionList;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DESCRIBEREGIONSRESULT_H_

View File

@@ -53,6 +53,7 @@ namespace AlibabaCloud
bool skipAuth;
std::string alias;
std::string userId;
std::string routeConfJson;
std::string serviceVersion;
std::string interfaceName;
long id;

View File

@@ -36,74 +36,6 @@ namespace AlibabaCloud
{
struct Service
{
struct RouteConf
{
struct ImportConf
{
struct InputParameter
{
int catType;
bool optional;
int extType;
int mapStyle;
std::string originalName;
std::string targetName;
std::string passMethod;
int depth;
std::string paramType;
};
struct OutputParameter
{
int catType;
bool optional;
int extType;
int mapStyle;
std::string originalName;
std::string targetName;
std::string passMethod;
int depth;
std::string paramType;
};
std::vector<OutputParameter> outputParameterMap;
std::string accessEndpointJSON;
std::string provideType;
std::vector<InputParameter> inputParameterMap;
};
struct ImportConfs
{
struct InputParameter3
{
int catType;
bool optional;
int extType;
int mapStyle;
std::string originalName;
std::string targetName;
std::string passMethod;
int depth;
std::string paramType;
};
struct OutputParameter4
{
int catType;
bool optional;
int extType;
int mapStyle;
std::string originalName;
std::string targetName;
std::string passMethod;
int depth;
std::string paramType;
};
std::vector<OutputParameter4> outputParameterMap2;
std::string accessEndpointJSON;
std::string provideType;
std::vector<InputParameter3> inputParameterMap1;
};
ImportConfs importConfs;
ImportConf importConf;
std::string serviceRouteStrategy;
};
struct ServiceVersion
{
int status;
@@ -131,7 +63,6 @@ namespace AlibabaCloud
long serviceId;
};
std::string ipWhiteStr;
RouteConf routeConf;
std::string projectName;
std::string approveUserId;
std::string serviceOpenRestfulPath;

View File

@@ -35,14 +35,14 @@ namespace AlibabaCloud
ImportCredentialsRequest();
~ImportCredentialsRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
long csbId_;
std::string data_;
long csbId_;
};
}