Compare commits

...

17 Commits
1.3.1 ... 1.7.0

Author SHA1 Message Date
haowei.yao
6ecfd8332a 由洛衡发起的DOMAIN SDK自动发布, 版本号:1.7.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-26 19:31:18 +08:00
haowei.yao
1c441b53f5 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-24 11:21:28 +08:00
haowei.yao
482abf2f25 由柏霜发起的ECS SDK自动发布, 版本号:1.6.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-23 20:36:09 +08:00
haowei.yao
8968d04f56 由武进发起的ESS SDK自动发布, 版本号:1.6.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-23 11:56:04 +08:00
haowei.yao
a28f39fd8c 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-17 14:55:21 +08:00
haowei.yao
ff129e3660 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.6.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-11 14:12:59 +08:00
haowei.yao
3ea4f50703 由楚俊发起的ECS SDK自动发布, 版本号:1.6.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-10 17:18:16 +08:00
haowei.yao
7f8b47c92f 由颍川发起的CSB SDK自动发布, 版本号:1.5.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-10 15:07:36 +08:00
haowei.yao
4fa1912a54 由尛宏发起的GREEN SDK自动发布, 版本号:1.5.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-08 16:20:52 +08:00
haowei.yao
c3794202f0 由洛衡发起的DOMAIN SDK自动发布, 版本号:1.4.0
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-04-03 14:43:49 +08:00
haowei.yao
442f784284 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, 版本号:1.3.8
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-30 19:17:39 +08:00
haowei.yao
9c389f5683 由廷诚发起的CLOUDPHOTO SDK自动发布, 版本号:1.3.7
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-29 22:29:52 +08:00
haowei.yao
a1ba8b4381 由荣旸发起的TESLAMAXCOMPUTE SDK自动发布, BUILD_ID=338, 版本号:1.3.6
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 17:49:21 +08:00
haowei.yao
74bebe2a77 由颍川发起的CSB SDK自动发布, BUILD_ID=503, 版本号:1.3.5
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 12:55:15 +08:00
haowei.yao
d27410f202 由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=502, 版本号:1.3.4
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-27 10:29:39 +08:00
haowei.yao
3b1093ffe3 由楚俊发起的ECS SDK自动发布, BUILD_ID=499, 版本号:1.3.3
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 21:40:22 +08:00
haowei.yao
f2c01c7abe 由楚俊发起的ECS SDK自动发布, BUILD_ID=498, 版本号:1.3.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2018-03-23 21:01:01 +08:00
798 changed files with 59140 additions and 2149 deletions

View File

@@ -1,3 +1,72 @@
2018-04-26 Version: 1.7.0
1, Add apis for domain group.
3, Add fields for QueryDomainList.
2018-04-24 Version: 1.6.5
1, add interface FetchPhotos
2, add xflush log param unixTimestamp
2018-04-23 Version: 1.6.4
1, DescribeInstanceHistoryEvents adds parameter instanceEventTypes and instanceEventCycleStatuss.
2, InstanceId parameter is not necessary for DescribeInstanceHistoryEvents now.
3, DescribeInstancesFullStatus adds parameter instanceEventTypes.
2018-04-23 Version: 1.6.3
1, Add notificationConfiguration.
2, Add standby status.
2018-04-17 Version: 1.6.2
1, EditPhotos add input param TakenAt
2, add FetchMomentPhotos
3, ListAlbums add return param Remark
2018-04-11 Version: 1.6.1
1, GetLibrary/FetchLibraries add return ctime
2, Editphotos add input param takenAt
2018-04-10 Version: 1.6.0
1, Add three interfaces CreateNetworkInterfacePermission DeleteNetworkInterfacePermission DescribeNetworkInterfacePermissions.
2018-04-10 Version: 1.5.1
1, publish Project API.
2, publish Service API.
3, publish Service order API.
4, publish Credential API.
5, publish CAS API.
2018-04-08 Version: 1.5.0
1, Add voice asynchronous scan interface.
2018-04-03 Version: 1.4.0
1, Add APIs for domain transfer in and transfer out.
2, Add APIs for poll and acknowledge domain task.
3, Add API for query domain group list.
2018-03-30 Version: 1.3.8
1, API QueryCustomerSaleInfo arguments update.
2018-03-29 Version: 1.3.7
1, edit FetchLibraries return param format
2018-03-27 Version: 1.3.6
1, Rename QueryCustomerSaleInfo to RegionName.
2018-03-27 Version: 1.3.5
1, publish Project API.
2, publish Service API.
3, publish Service order API.
4, publish Credential API.
5, publish CAS API.
2018-03-27 Version: 1.3.4
1, add interface FetchLibraries
2018-03-23 Version: 1.3.3
1, interface DescribeInstanceTypes output InstancePpsRx InstancePpsTx
2018-03-23 Version: 1.3.2
1, interface DescribeInstanceTypes output InstancePpsRx InstancePpsTx
2018-03-23 Version: 1.3.1
1, ModifyPrepayInstanceSpec support migrateAcrossZone.

View File

@@ -65,4 +65,7 @@ add_subdirectory(ehpc)
add_subdirectory(cs)
add_subdirectory(ccc)
add_subdirectory(teslamaxcompute)
add_subdirectory(push)
add_subdirectory(push)
add_subdirectory(csb)
add_subdirectory(domain)
add_subdirectory(green)

View File

@@ -1 +1 @@
1.3.1
1.7.0

View File

@@ -45,12 +45,16 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/RegisterTagResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosResult.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchMomentPhotosResult.h
include/alibabacloud/cloudphoto/model/DeletePhotosRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotosResult.h
include/alibabacloud/cloudphoto/model/MergeFacesRequest.h
include/alibabacloud/cloudphoto/model/MergeFacesResult.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sResult.h
include/alibabacloud/cloudphoto/model/FetchLibrariesRequest.h
include/alibabacloud/cloudphoto/model/FetchLibrariesResult.h
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosResult.h
include/alibabacloud/cloudphoto/model/CreateTransactionRequest.h
@@ -71,6 +75,8 @@ set(cloudphoto_public_header_model
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListAlbumsRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumsResult.h
include/alibabacloud/cloudphoto/model/FetchPhotosRequest.h
include/alibabacloud/cloudphoto/model/FetchPhotosResult.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesResult.h
include/alibabacloud/cloudphoto/model/RenameAlbumRequest.h
@@ -182,12 +188,16 @@ set(cloudphoto_src
src/model/RegisterTagResult.cc
src/model/ListTimeLinePhotosRequest.cc
src/model/ListTimeLinePhotosResult.cc
src/model/FetchMomentPhotosRequest.cc
src/model/FetchMomentPhotosResult.cc
src/model/DeletePhotosRequest.cc
src/model/DeletePhotosResult.cc
src/model/MergeFacesRequest.cc
src/model/MergeFacesResult.cc
src/model/GetPhotosByMd5sRequest.cc
src/model/GetPhotosByMd5sResult.cc
src/model/FetchLibrariesRequest.cc
src/model/FetchLibrariesResult.cc
src/model/FetchAlbumTagPhotosRequest.cc
src/model/FetchAlbumTagPhotosResult.cc
src/model/CreateTransactionRequest.cc
@@ -208,6 +218,8 @@ set(cloudphoto_src
src/model/RemoveAlbumPhotosResult.cc
src/model/ListAlbumsRequest.cc
src/model/ListAlbumsResult.cc
src/model/FetchPhotosRequest.cc
src/model/FetchPhotosResult.cc
src/model/ListPhotoFacesRequest.cc
src/model/ListPhotoFacesResult.cc
src/model/RenameAlbumRequest.cc

View File

@@ -46,12 +46,16 @@
#include "model/RegisterTagResult.h"
#include "model/ListTimeLinePhotosRequest.h"
#include "model/ListTimeLinePhotosResult.h"
#include "model/FetchMomentPhotosRequest.h"
#include "model/FetchMomentPhotosResult.h"
#include "model/DeletePhotosRequest.h"
#include "model/DeletePhotosResult.h"
#include "model/MergeFacesRequest.h"
#include "model/MergeFacesResult.h"
#include "model/GetPhotosByMd5sRequest.h"
#include "model/GetPhotosByMd5sResult.h"
#include "model/FetchLibrariesRequest.h"
#include "model/FetchLibrariesResult.h"
#include "model/FetchAlbumTagPhotosRequest.h"
#include "model/FetchAlbumTagPhotosResult.h"
#include "model/CreateTransactionRequest.h"
@@ -72,6 +76,8 @@
#include "model/RemoveAlbumPhotosResult.h"
#include "model/ListAlbumsRequest.h"
#include "model/ListAlbumsResult.h"
#include "model/FetchPhotosRequest.h"
#include "model/FetchPhotosResult.h"
#include "model/ListPhotoFacesRequest.h"
#include "model/ListPhotoFacesResult.h"
#include "model/RenameAlbumRequest.h"
@@ -201,6 +207,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinePhotosRequest&, const ListTimeLinePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinePhotosAsyncHandler;
typedef Outcome<Error, Model::FetchMomentPhotosResult> FetchMomentPhotosOutcome;
typedef std::future<FetchMomentPhotosOutcome> FetchMomentPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchMomentPhotosRequest&, const FetchMomentPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchMomentPhotosAsyncHandler;
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotosRequest&, const DeletePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotosAsyncHandler;
@@ -210,6 +219,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPhotosByMd5sResult> GetPhotosByMd5sOutcome;
typedef std::future<GetPhotosByMd5sOutcome> GetPhotosByMd5sOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosByMd5sRequest&, const GetPhotosByMd5sOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosByMd5sAsyncHandler;
typedef Outcome<Error, Model::FetchLibrariesResult> FetchLibrariesOutcome;
typedef std::future<FetchLibrariesOutcome> FetchLibrariesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchLibrariesRequest&, const FetchLibrariesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchLibrariesAsyncHandler;
typedef Outcome<Error, Model::FetchAlbumTagPhotosResult> FetchAlbumTagPhotosOutcome;
typedef std::future<FetchAlbumTagPhotosOutcome> FetchAlbumTagPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchAlbumTagPhotosRequest&, const FetchAlbumTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchAlbumTagPhotosAsyncHandler;
@@ -240,6 +252,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumsRequest&, const ListAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumsAsyncHandler;
typedef Outcome<Error, Model::FetchPhotosResult> FetchPhotosOutcome;
typedef std::future<FetchPhotosOutcome> FetchPhotosOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::FetchPhotosRequest&, const FetchPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchPhotosAsyncHandler;
typedef Outcome<Error, Model::ListPhotoFacesResult> ListPhotoFacesOutcome;
typedef std::future<ListPhotoFacesOutcome> ListPhotoFacesOutcomeCallable;
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoFacesRequest&, const ListPhotoFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoFacesAsyncHandler;
@@ -407,6 +422,9 @@ namespace AlibabaCloud
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
FetchMomentPhotosOutcome fetchMomentPhotos(const Model::FetchMomentPhotosRequest &request)const;
void fetchMomentPhotosAsync(const Model::FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchMomentPhotosOutcomeCallable fetchMomentPhotosCallable(const Model::FetchMomentPhotosRequest& request) const;
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
@@ -416,6 +434,9 @@ namespace AlibabaCloud
GetPhotosByMd5sOutcome getPhotosByMd5s(const Model::GetPhotosByMd5sRequest &request)const;
void getPhotosByMd5sAsync(const Model::GetPhotosByMd5sRequest& request, const GetPhotosByMd5sAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhotosByMd5sOutcomeCallable getPhotosByMd5sCallable(const Model::GetPhotosByMd5sRequest& request) const;
FetchLibrariesOutcome fetchLibraries(const Model::FetchLibrariesRequest &request)const;
void fetchLibrariesAsync(const Model::FetchLibrariesRequest& request, const FetchLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchLibrariesOutcomeCallable fetchLibrariesCallable(const Model::FetchLibrariesRequest& request) const;
FetchAlbumTagPhotosOutcome fetchAlbumTagPhotos(const Model::FetchAlbumTagPhotosRequest &request)const;
void fetchAlbumTagPhotosAsync(const Model::FetchAlbumTagPhotosRequest& request, const FetchAlbumTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchAlbumTagPhotosOutcomeCallable fetchAlbumTagPhotosCallable(const Model::FetchAlbumTagPhotosRequest& request) const;
@@ -446,6 +467,9 @@ namespace AlibabaCloud
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
FetchPhotosOutcome fetchPhotos(const Model::FetchPhotosRequest &request)const;
void fetchPhotosAsync(const Model::FetchPhotosRequest& request, const FetchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FetchPhotosOutcomeCallable fetchPhotosCallable(const Model::FetchPhotosRequest& request) const;
ListPhotoFacesOutcome listPhotoFaces(const Model::ListPhotoFacesRequest &request)const;
void listPhotoFacesAsync(const Model::ListPhotoFacesRequest& request, const ListPhotoFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhotoFacesOutcomeCallable listPhotoFacesCallable(const Model::ListPhotoFacesRequest& request) const;

View File

@@ -35,6 +35,8 @@ namespace AlibabaCloud
EditPhotosRequest();
~EditPhotosRequest();
long getTakenAt()const;
void setTakenAt(long takenAt);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getShareExpireTime()const;
@@ -49,6 +51,7 @@ namespace AlibabaCloud
void setTitle(const std::string& title);
private:
long takenAt_;
std::string libraryId_;
long shareExpireTime_;
std::vector<long> photoId_;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchLibrariesRequest : public RpcServiceRequest
{
public:
FetchLibrariesRequest();
~FetchLibrariesRequest();
int getSize()const;
void setSize(int size);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
private:
int size_;
std::string storeName_;
int page_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchLibrariesResult : public ServiceResult
{
public:
struct Library
{
std::string libraryId;
long ctime;
};
FetchLibrariesResult();
explicit FetchLibrariesResult(const std::string &payload);
~FetchLibrariesResult();
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::vector<Library> getLibraries()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string action_;
std::string message_;
std::vector<Library> libraries_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHLIBRARIESRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchMomentPhotosRequest : public RpcServiceRequest
{
public:
FetchMomentPhotosRequest();
~FetchMomentPhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
long getMomentId()const;
void setMomentId(long momentId);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
std::string orderBy_;
std::string storeName_;
int page_;
long momentId_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSREQUEST_H_

View File

@@ -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_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchMomentPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
FetchMomentPhotosResult();
explicit FetchMomentPhotosResult(const std::string &payload);
~FetchMomentPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHMOMENTPHOTOSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchPhotosRequest : public RpcServiceRequest
{
public:
FetchPhotosRequest();
~FetchPhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
int getPage()const;
void setPage(int page);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
std::string orderBy_;
std::string storeName_;
std::string state_;
int page_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSREQUEST_H_

View File

@@ -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_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
std::string idStr;
long size;
std::string title;
long mtime;
std::string remark;
std::string state;
long ctime;
long inactiveTime;
std::string fileId;
long height;
long id;
long width;
long takenAt;
std::string location;
std::string md5;
};
FetchPhotosResult();
explicit FetchPhotosResult(const std::string &payload);
~FetchPhotosResult();
std::vector<Photo> getPhotos()const;
int getTotalCount()const;
std::string getAction()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHPHOTOSRESULT_H_

View File

@@ -51,6 +51,7 @@ namespace AlibabaCloud
bool autoCleanEnabled;
};
Quota quota;
long ctime;
AutoCleanConfig autoCleanConfig;
};

View File

@@ -57,6 +57,7 @@ namespace AlibabaCloud
long mtime;
long id;
std::string name;
std::string remark;
};

View File

@@ -483,6 +483,42 @@ CloudPhotoClient::ListTimeLinePhotosOutcomeCallable CloudPhotoClient::listTimeLi
return task->get_future();
}
CloudPhotoClient::FetchMomentPhotosOutcome CloudPhotoClient::fetchMomentPhotos(const FetchMomentPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FetchMomentPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FetchMomentPhotosOutcome(FetchMomentPhotosResult(outcome.result()));
else
return FetchMomentPhotosOutcome(outcome.error());
}
void CloudPhotoClient::fetchMomentPhotosAsync(const FetchMomentPhotosRequest& request, const FetchMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, fetchMomentPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::FetchMomentPhotosOutcomeCallable CloudPhotoClient::fetchMomentPhotosCallable(const FetchMomentPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FetchMomentPhotosOutcome()>>(
[this, request]()
{
return this->fetchMomentPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::DeletePhotosOutcome CloudPhotoClient::deletePhotos(const DeletePhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -591,6 +627,42 @@ CloudPhotoClient::GetPhotosByMd5sOutcomeCallable CloudPhotoClient::getPhotosByMd
return task->get_future();
}
CloudPhotoClient::FetchLibrariesOutcome CloudPhotoClient::fetchLibraries(const FetchLibrariesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FetchLibrariesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FetchLibrariesOutcome(FetchLibrariesResult(outcome.result()));
else
return FetchLibrariesOutcome(outcome.error());
}
void CloudPhotoClient::fetchLibrariesAsync(const FetchLibrariesRequest& request, const FetchLibrariesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, fetchLibraries(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::FetchLibrariesOutcomeCallable CloudPhotoClient::fetchLibrariesCallable(const FetchLibrariesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FetchLibrariesOutcome()>>(
[this, request]()
{
return this->fetchLibraries(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::FetchAlbumTagPhotosOutcome CloudPhotoClient::fetchAlbumTagPhotos(const FetchAlbumTagPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,6 +1023,42 @@ CloudPhotoClient::ListAlbumsOutcomeCallable CloudPhotoClient::listAlbumsCallable
return task->get_future();
}
CloudPhotoClient::FetchPhotosOutcome CloudPhotoClient::fetchPhotos(const FetchPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return FetchPhotosOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return FetchPhotosOutcome(FetchPhotosResult(outcome.result()));
else
return FetchPhotosOutcome(outcome.error());
}
void CloudPhotoClient::fetchPhotosAsync(const FetchPhotosRequest& request, const FetchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, fetchPhotos(request), context);
};
asyncExecute(new Runnable(fn));
}
CloudPhotoClient::FetchPhotosOutcomeCallable CloudPhotoClient::fetchPhotosCallable(const FetchPhotosRequest &request) const
{
auto task = std::make_shared<std::packaged_task<FetchPhotosOutcome()>>(
[this, request]()
{
return this->fetchPhotos(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
CloudPhotoClient::ListPhotoFacesOutcome CloudPhotoClient::listPhotoFaces(const ListPhotoFacesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -25,6 +25,17 @@ EditPhotosRequest::EditPhotosRequest() :
EditPhotosRequest::~EditPhotosRequest()
{}
long EditPhotosRequest::getTakenAt()const
{
return takenAt_;
}
void EditPhotosRequest::setTakenAt(long takenAt)
{
takenAt_ = takenAt;
setParameter("TakenAt", std::to_string(takenAt));
}
std::string EditPhotosRequest::getLibraryId()const
{
return libraryId_;

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/cloudphoto/model/FetchLibrariesRequest.h>
using AlibabaCloud::CloudPhoto::Model::FetchLibrariesRequest;
FetchLibrariesRequest::FetchLibrariesRequest() :
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchLibraries")
{}
FetchLibrariesRequest::~FetchLibrariesRequest()
{}
int FetchLibrariesRequest::getSize()const
{
return size_;
}
void FetchLibrariesRequest::setSize(int size)
{
size_ = size;
setParameter("Size", std::to_string(size));
}
std::string FetchLibrariesRequest::getStoreName()const
{
return storeName_;
}
void FetchLibrariesRequest::setStoreName(const std::string& storeName)
{
storeName_ = storeName;
setParameter("StoreName", storeName);
}
int FetchLibrariesRequest::getPage()const
{
return page_;
}
void FetchLibrariesRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}

View File

@@ -0,0 +1,88 @@
/*
* 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/cloudphoto/model/FetchLibrariesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CloudPhoto;
using namespace AlibabaCloud::CloudPhoto::Model;
FetchLibrariesResult::FetchLibrariesResult() :
ServiceResult()
{}
FetchLibrariesResult::FetchLibrariesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FetchLibrariesResult::~FetchLibrariesResult()
{}
void FetchLibrariesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allLibraries = value["Libraries"]["Library"];
for (auto value : allLibraries)
{
Library librariesObject;
if(!value["LibraryId"].isNull())
librariesObject.libraryId = value["LibraryId"].asString();
if(!value["Ctime"].isNull())
librariesObject.ctime = std::stol(value["Ctime"].asString());
libraries_.push_back(librariesObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Action"].isNull())
action_ = value["Action"].asString();
}
int FetchLibrariesResult::getTotalCount()const
{
return totalCount_;
}
std::string FetchLibrariesResult::getAction()const
{
return action_;
}
std::string FetchLibrariesResult::getMessage()const
{
return message_;
}
std::vector<FetchLibrariesResult::Library> FetchLibrariesResult::getLibraries()const
{
return libraries_;
}
std::string FetchLibrariesResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,104 @@
/*
* 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/cloudphoto/model/FetchMomentPhotosRequest.h>
using AlibabaCloud::CloudPhoto::Model::FetchMomentPhotosRequest;
FetchMomentPhotosRequest::FetchMomentPhotosRequest() :
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchMomentPhotos")
{}
FetchMomentPhotosRequest::~FetchMomentPhotosRequest()
{}
int FetchMomentPhotosRequest::getSize()const
{
return size_;
}
void FetchMomentPhotosRequest::setSize(int size)
{
size_ = size;
setParameter("Size", std::to_string(size));
}
std::string FetchMomentPhotosRequest::getLibraryId()const
{
return libraryId_;
}
void FetchMomentPhotosRequest::setLibraryId(const std::string& libraryId)
{
libraryId_ = libraryId;
setParameter("LibraryId", libraryId);
}
std::string FetchMomentPhotosRequest::getOrderBy()const
{
return orderBy_;
}
void FetchMomentPhotosRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
std::string FetchMomentPhotosRequest::getStoreName()const
{
return storeName_;
}
void FetchMomentPhotosRequest::setStoreName(const std::string& storeName)
{
storeName_ = storeName;
setParameter("StoreName", storeName);
}
int FetchMomentPhotosRequest::getPage()const
{
return page_;
}
void FetchMomentPhotosRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
long FetchMomentPhotosRequest::getMomentId()const
{
return momentId_;
}
void FetchMomentPhotosRequest::setMomentId(long momentId)
{
momentId_ = momentId;
setParameter("MomentId", std::to_string(momentId));
}
std::string FetchMomentPhotosRequest::getOrder()const
{
return order_;
}
void FetchMomentPhotosRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}

View File

@@ -0,0 +1,118 @@
/*
* 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/cloudphoto/model/FetchMomentPhotosResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CloudPhoto;
using namespace AlibabaCloud::CloudPhoto::Model;
FetchMomentPhotosResult::FetchMomentPhotosResult() :
ServiceResult()
{}
FetchMomentPhotosResult::FetchMomentPhotosResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FetchMomentPhotosResult::~FetchMomentPhotosResult()
{}
void FetchMomentPhotosResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPhotos = value["Photos"]["Photo"];
for (auto value : allPhotos)
{
Photo photosObject;
if(!value["Id"].isNull())
photosObject.id = std::stol(value["Id"].asString());
if(!value["IdStr"].isNull())
photosObject.idStr = value["IdStr"].asString();
if(!value["Title"].isNull())
photosObject.title = value["Title"].asString();
if(!value["FileId"].isNull())
photosObject.fileId = value["FileId"].asString();
if(!value["Location"].isNull())
photosObject.location = value["Location"].asString();
if(!value["State"].isNull())
photosObject.state = value["State"].asString();
if(!value["Md5"].isNull())
photosObject.md5 = value["Md5"].asString();
if(!value["IsVideo"].isNull())
photosObject.isVideo = value["IsVideo"].asString() == "true";
if(!value["Remark"].isNull())
photosObject.remark = value["Remark"].asString();
if(!value["Size"].isNull())
photosObject.size = std::stol(value["Size"].asString());
if(!value["Width"].isNull())
photosObject.width = std::stol(value["Width"].asString());
if(!value["Height"].isNull())
photosObject.height = std::stol(value["Height"].asString());
if(!value["Ctime"].isNull())
photosObject.ctime = std::stol(value["Ctime"].asString());
if(!value["Mtime"].isNull())
photosObject.mtime = std::stol(value["Mtime"].asString());
if(!value["TakenAt"].isNull())
photosObject.takenAt = std::stol(value["TakenAt"].asString());
if(!value["InactiveTime"].isNull())
photosObject.inactiveTime = std::stol(value["InactiveTime"].asString());
if(!value["ShareExpireTime"].isNull())
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
photos_.push_back(photosObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Action"].isNull())
action_ = value["Action"].asString();
}
std::vector<FetchMomentPhotosResult::Photo> FetchMomentPhotosResult::getPhotos()const
{
return photos_;
}
int FetchMomentPhotosResult::getTotalCount()const
{
return totalCount_;
}
std::string FetchMomentPhotosResult::getAction()const
{
return action_;
}
std::string FetchMomentPhotosResult::getMessage()const
{
return message_;
}
std::string FetchMomentPhotosResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,104 @@
/*
* 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/cloudphoto/model/FetchPhotosRequest.h>
using AlibabaCloud::CloudPhoto::Model::FetchPhotosRequest;
FetchPhotosRequest::FetchPhotosRequest() :
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchPhotos")
{}
FetchPhotosRequest::~FetchPhotosRequest()
{}
int FetchPhotosRequest::getSize()const
{
return size_;
}
void FetchPhotosRequest::setSize(int size)
{
size_ = size;
setParameter("Size", std::to_string(size));
}
std::string FetchPhotosRequest::getLibraryId()const
{
return libraryId_;
}
void FetchPhotosRequest::setLibraryId(const std::string& libraryId)
{
libraryId_ = libraryId;
setParameter("LibraryId", libraryId);
}
std::string FetchPhotosRequest::getOrderBy()const
{
return orderBy_;
}
void FetchPhotosRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
std::string FetchPhotosRequest::getStoreName()const
{
return storeName_;
}
void FetchPhotosRequest::setStoreName(const std::string& storeName)
{
storeName_ = storeName;
setParameter("StoreName", storeName);
}
std::string FetchPhotosRequest::getState()const
{
return state_;
}
void FetchPhotosRequest::setState(const std::string& state)
{
state_ = state;
setParameter("State", state);
}
int FetchPhotosRequest::getPage()const
{
return page_;
}
void FetchPhotosRequest::setPage(int page)
{
page_ = page;
setParameter("Page", std::to_string(page));
}
std::string FetchPhotosRequest::getOrder()const
{
return order_;
}
void FetchPhotosRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}

View File

@@ -0,0 +1,118 @@
/*
* 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/cloudphoto/model/FetchPhotosResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CloudPhoto;
using namespace AlibabaCloud::CloudPhoto::Model;
FetchPhotosResult::FetchPhotosResult() :
ServiceResult()
{}
FetchPhotosResult::FetchPhotosResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
FetchPhotosResult::~FetchPhotosResult()
{}
void FetchPhotosResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPhotos = value["Photos"]["Photo"];
for (auto value : allPhotos)
{
Photo photosObject;
if(!value["Id"].isNull())
photosObject.id = std::stol(value["Id"].asString());
if(!value["IdStr"].isNull())
photosObject.idStr = value["IdStr"].asString();
if(!value["Title"].isNull())
photosObject.title = value["Title"].asString();
if(!value["FileId"].isNull())
photosObject.fileId = value["FileId"].asString();
if(!value["Location"].isNull())
photosObject.location = value["Location"].asString();
if(!value["State"].isNull())
photosObject.state = value["State"].asString();
if(!value["Md5"].isNull())
photosObject.md5 = value["Md5"].asString();
if(!value["IsVideo"].isNull())
photosObject.isVideo = value["IsVideo"].asString() == "true";
if(!value["Remark"].isNull())
photosObject.remark = value["Remark"].asString();
if(!value["Size"].isNull())
photosObject.size = std::stol(value["Size"].asString());
if(!value["Width"].isNull())
photosObject.width = std::stol(value["Width"].asString());
if(!value["Height"].isNull())
photosObject.height = std::stol(value["Height"].asString());
if(!value["Ctime"].isNull())
photosObject.ctime = std::stol(value["Ctime"].asString());
if(!value["Mtime"].isNull())
photosObject.mtime = std::stol(value["Mtime"].asString());
if(!value["TakenAt"].isNull())
photosObject.takenAt = std::stol(value["TakenAt"].asString());
if(!value["InactiveTime"].isNull())
photosObject.inactiveTime = std::stol(value["InactiveTime"].asString());
if(!value["ShareExpireTime"].isNull())
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
photos_.push_back(photosObject);
}
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stoi(value["TotalCount"].asString());
if(!value["Action"].isNull())
action_ = value["Action"].asString();
}
std::vector<FetchPhotosResult::Photo> FetchPhotosResult::getPhotos()const
{
return photos_;
}
int FetchPhotosResult::getTotalCount()const
{
return totalCount_;
}
std::string FetchPhotosResult::getAction()const
{
return action_;
}
std::string FetchPhotosResult::getMessage()const
{
return message_;
}
std::string FetchPhotosResult::getCode()const
{
return code_;
}

View File

@@ -41,6 +41,8 @@ void GetLibraryResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
auto libraryNode = value["Library"];
if(!libraryNode["Ctime"].isNull())
library_.ctime = std::stol(libraryNode["Ctime"].asString());
auto quotaNode = libraryNode["Quota"];
if(!quotaNode["TotalQuota"].isNull())
library_.quota.totalQuota = std::stol(quotaNode["TotalQuota"].asString());

View File

@@ -52,6 +52,8 @@ void ListAlbumsResult::parse(const std::string &payload)
albumsObject.name = value["Name"].asString();
if(!value["State"].isNull())
albumsObject.state = value["State"].asString();
if(!value["Remark"].isNull())
albumsObject.remark = value["Remark"].asString();
if(!value["PhotosCount"].isNull())
albumsObject.photosCount = std::stol(value["PhotosCount"].asString());
if(!value["Ctime"].isNull())

238
csb/CMakeLists.txt Normal file
View File

@@ -0,0 +1,238 @@
#
# 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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(csb_public_header
include/alibabacloud/csb/CSBClient.h
include/alibabacloud/csb/CSBExport.h )
set(csb_public_header_model
include/alibabacloud/csb/model/DeleteServiceRequest.h
include/alibabacloud/csb/model/DeleteServiceResult.h
include/alibabacloud/csb/model/FindServiceListRequest.h
include/alibabacloud/csb/model/FindServiceListResult.h
include/alibabacloud/csb/model/PublishUnionCasServiceRequest.h
include/alibabacloud/csb/model/PublishUnionCasServiceResult.h
include/alibabacloud/csb/model/UpdateServiceListStatusRequest.h
include/alibabacloud/csb/model/UpdateServiceListStatusResult.h
include/alibabacloud/csb/model/CreateOrderRequest.h
include/alibabacloud/csb/model/CreateOrderResult.h
include/alibabacloud/csb/model/CreateProjectRequest.h
include/alibabacloud/csb/model/CreateProjectResult.h
include/alibabacloud/csb/model/DeleteServiceListRequest.h
include/alibabacloud/csb/model/DeleteServiceListResult.h
include/alibabacloud/csb/model/CommitSuccessedServicesRequest.h
include/alibabacloud/csb/model/CommitSuccessedServicesResult.h
include/alibabacloud/csb/model/FindOrderedListRequest.h
include/alibabacloud/csb/model/FindOrderedListResult.h
include/alibabacloud/csb/model/DeleteOrderListRequest.h
include/alibabacloud/csb/model/DeleteOrderListResult.h
include/alibabacloud/csb/model/CreateCredentialsRequest.h
include/alibabacloud/csb/model/CreateCredentialsResult.h
include/alibabacloud/csb/model/DeleteCasServiceRequest.h
include/alibabacloud/csb/model/DeleteCasServiceResult.h
include/alibabacloud/csb/model/DeleteProjectListRequest.h
include/alibabacloud/csb/model/DeleteProjectListResult.h
include/alibabacloud/csb/model/FindInstanceListRequest.h
include/alibabacloud/csb/model/FindInstanceListResult.h
include/alibabacloud/csb/model/PublishCasServiceRequest.h
include/alibabacloud/csb/model/PublishCasServiceResult.h
include/alibabacloud/csb/model/UpdateProjectListStatusRequest.h
include/alibabacloud/csb/model/UpdateProjectListStatusResult.h
include/alibabacloud/csb/model/FindProjectsNameListRequest.h
include/alibabacloud/csb/model/FindProjectsNameListResult.h
include/alibabacloud/csb/model/ReplaceCredentialRequest.h
include/alibabacloud/csb/model/ReplaceCredentialResult.h
include/alibabacloud/csb/model/GetProjectRequest.h
include/alibabacloud/csb/model/GetProjectResult.h
include/alibabacloud/csb/model/DeleteUnionCasServiceRequest.h
include/alibabacloud/csb/model/DeleteUnionCasServiceResult.h
include/alibabacloud/csb/model/CheckServiceExistRequest.h
include/alibabacloud/csb/model/CheckServiceExistResult.h
include/alibabacloud/csb/model/GetInstanceRequest.h
include/alibabacloud/csb/model/GetInstanceResult.h
include/alibabacloud/csb/model/RenewCredentialsRequest.h
include/alibabacloud/csb/model/RenewCredentialsResult.h
include/alibabacloud/csb/model/GetOrderRequest.h
include/alibabacloud/csb/model/GetOrderResult.h
include/alibabacloud/csb/model/UpdateOrderListRequest.h
include/alibabacloud/csb/model/UpdateOrderListResult.h
include/alibabacloud/csb/model/DeleteCredentialsListRequest.h
include/alibabacloud/csb/model/DeleteCredentialsListResult.h
include/alibabacloud/csb/model/CreateServiceRequest.h
include/alibabacloud/csb/model/CreateServiceResult.h
include/alibabacloud/csb/model/FindCredentialsListRequest.h
include/alibabacloud/csb/model/FindCredentialsListResult.h
include/alibabacloud/csb/model/ApproveOrderListRequest.h
include/alibabacloud/csb/model/ApproveOrderListResult.h
include/alibabacloud/csb/model/UpdateServiceRequest.h
include/alibabacloud/csb/model/UpdateServiceResult.h
include/alibabacloud/csb/model/DeleteProjectRequest.h
include/alibabacloud/csb/model/DeleteProjectResult.h
include/alibabacloud/csb/model/UpdateProjectRequest.h
include/alibabacloud/csb/model/UpdateProjectResult.h
include/alibabacloud/csb/model/FindOrderableListRequest.h
include/alibabacloud/csb/model/FindOrderableListResult.h
include/alibabacloud/csb/model/FindProjectListRequest.h
include/alibabacloud/csb/model/FindProjectListResult.h
include/alibabacloud/csb/model/FindApprovalOrderListRequest.h
include/alibabacloud/csb/model/FindApprovalOrderListResult.h
include/alibabacloud/csb/model/UpdateServiceQPSRequest.h
include/alibabacloud/csb/model/UpdateServiceQPSResult.h
include/alibabacloud/csb/model/UpdateOrderRequest.h
include/alibabacloud/csb/model/UpdateOrderResult.h
include/alibabacloud/csb/model/FindApproveServiceListRequest.h
include/alibabacloud/csb/model/FindApproveServiceListResult.h
include/alibabacloud/csb/model/GetServiceRequest.h
include/alibabacloud/csb/model/GetServiceResult.h )
set(csb_src
src/CSBClient.cc
src/model/DeleteServiceRequest.cc
src/model/DeleteServiceResult.cc
src/model/FindServiceListRequest.cc
src/model/FindServiceListResult.cc
src/model/PublishUnionCasServiceRequest.cc
src/model/PublishUnionCasServiceResult.cc
src/model/UpdateServiceListStatusRequest.cc
src/model/UpdateServiceListStatusResult.cc
src/model/CreateOrderRequest.cc
src/model/CreateOrderResult.cc
src/model/CreateProjectRequest.cc
src/model/CreateProjectResult.cc
src/model/DeleteServiceListRequest.cc
src/model/DeleteServiceListResult.cc
src/model/CommitSuccessedServicesRequest.cc
src/model/CommitSuccessedServicesResult.cc
src/model/FindOrderedListRequest.cc
src/model/FindOrderedListResult.cc
src/model/DeleteOrderListRequest.cc
src/model/DeleteOrderListResult.cc
src/model/CreateCredentialsRequest.cc
src/model/CreateCredentialsResult.cc
src/model/DeleteCasServiceRequest.cc
src/model/DeleteCasServiceResult.cc
src/model/DeleteProjectListRequest.cc
src/model/DeleteProjectListResult.cc
src/model/FindInstanceListRequest.cc
src/model/FindInstanceListResult.cc
src/model/PublishCasServiceRequest.cc
src/model/PublishCasServiceResult.cc
src/model/UpdateProjectListStatusRequest.cc
src/model/UpdateProjectListStatusResult.cc
src/model/FindProjectsNameListRequest.cc
src/model/FindProjectsNameListResult.cc
src/model/ReplaceCredentialRequest.cc
src/model/ReplaceCredentialResult.cc
src/model/GetProjectRequest.cc
src/model/GetProjectResult.cc
src/model/DeleteUnionCasServiceRequest.cc
src/model/DeleteUnionCasServiceResult.cc
src/model/CheckServiceExistRequest.cc
src/model/CheckServiceExistResult.cc
src/model/GetInstanceRequest.cc
src/model/GetInstanceResult.cc
src/model/RenewCredentialsRequest.cc
src/model/RenewCredentialsResult.cc
src/model/GetOrderRequest.cc
src/model/GetOrderResult.cc
src/model/UpdateOrderListRequest.cc
src/model/UpdateOrderListResult.cc
src/model/DeleteCredentialsListRequest.cc
src/model/DeleteCredentialsListResult.cc
src/model/CreateServiceRequest.cc
src/model/CreateServiceResult.cc
src/model/FindCredentialsListRequest.cc
src/model/FindCredentialsListResult.cc
src/model/ApproveOrderListRequest.cc
src/model/ApproveOrderListResult.cc
src/model/UpdateServiceRequest.cc
src/model/UpdateServiceResult.cc
src/model/DeleteProjectRequest.cc
src/model/DeleteProjectResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.cc
src/model/FindOrderableListRequest.cc
src/model/FindOrderableListResult.cc
src/model/FindProjectListRequest.cc
src/model/FindProjectListResult.cc
src/model/FindApprovalOrderListRequest.cc
src/model/FindApprovalOrderListResult.cc
src/model/UpdateServiceQPSRequest.cc
src/model/UpdateServiceQPSResult.cc
src/model/UpdateOrderRequest.cc
src/model/UpdateOrderResult.cc
src/model/FindApproveServiceListRequest.cc
src/model/FindApproveServiceListResult.cc
src/model/GetServiceRequest.cc
src/model/GetServiceResult.cc )
add_library(csb ${LIB_TYPE}
${csb_public_header}
${csb_public_header_model}
${csb_src})
set_target_properties(csb
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}csb
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(csb
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_CSB_LIBRARY)
endif()
target_include_directories(csb
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(csb
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(csb
jsoncpp)
target_include_directories(csb
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(csb
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(csb
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(csb
PRIVATE /usr/include/jsoncpp)
target_link_libraries(csb
jsoncpp)
endif()
install(FILES ${csb_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/csb)
install(FILES ${csb_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/csb/model)
install(TARGETS csb
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,358 @@
/*
* 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_CSBCLIENT_H_
#define ALIBABACLOUD_CSB_CSBCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CSBExport.h"
#include "model/DeleteServiceRequest.h"
#include "model/DeleteServiceResult.h"
#include "model/FindServiceListRequest.h"
#include "model/FindServiceListResult.h"
#include "model/PublishUnionCasServiceRequest.h"
#include "model/PublishUnionCasServiceResult.h"
#include "model/UpdateServiceListStatusRequest.h"
#include "model/UpdateServiceListStatusResult.h"
#include "model/CreateOrderRequest.h"
#include "model/CreateOrderResult.h"
#include "model/CreateProjectRequest.h"
#include "model/CreateProjectResult.h"
#include "model/DeleteServiceListRequest.h"
#include "model/DeleteServiceListResult.h"
#include "model/CommitSuccessedServicesRequest.h"
#include "model/CommitSuccessedServicesResult.h"
#include "model/FindOrderedListRequest.h"
#include "model/FindOrderedListResult.h"
#include "model/DeleteOrderListRequest.h"
#include "model/DeleteOrderListResult.h"
#include "model/CreateCredentialsRequest.h"
#include "model/CreateCredentialsResult.h"
#include "model/DeleteCasServiceRequest.h"
#include "model/DeleteCasServiceResult.h"
#include "model/DeleteProjectListRequest.h"
#include "model/DeleteProjectListResult.h"
#include "model/FindInstanceListRequest.h"
#include "model/FindInstanceListResult.h"
#include "model/PublishCasServiceRequest.h"
#include "model/PublishCasServiceResult.h"
#include "model/UpdateProjectListStatusRequest.h"
#include "model/UpdateProjectListStatusResult.h"
#include "model/FindProjectsNameListRequest.h"
#include "model/FindProjectsNameListResult.h"
#include "model/ReplaceCredentialRequest.h"
#include "model/ReplaceCredentialResult.h"
#include "model/GetProjectRequest.h"
#include "model/GetProjectResult.h"
#include "model/DeleteUnionCasServiceRequest.h"
#include "model/DeleteUnionCasServiceResult.h"
#include "model/CheckServiceExistRequest.h"
#include "model/CheckServiceExistResult.h"
#include "model/GetInstanceRequest.h"
#include "model/GetInstanceResult.h"
#include "model/RenewCredentialsRequest.h"
#include "model/RenewCredentialsResult.h"
#include "model/GetOrderRequest.h"
#include "model/GetOrderResult.h"
#include "model/UpdateOrderListRequest.h"
#include "model/UpdateOrderListResult.h"
#include "model/DeleteCredentialsListRequest.h"
#include "model/DeleteCredentialsListResult.h"
#include "model/CreateServiceRequest.h"
#include "model/CreateServiceResult.h"
#include "model/FindCredentialsListRequest.h"
#include "model/FindCredentialsListResult.h"
#include "model/ApproveOrderListRequest.h"
#include "model/ApproveOrderListResult.h"
#include "model/UpdateServiceRequest.h"
#include "model/UpdateServiceResult.h"
#include "model/DeleteProjectRequest.h"
#include "model/DeleteProjectResult.h"
#include "model/UpdateProjectRequest.h"
#include "model/UpdateProjectResult.h"
#include "model/FindOrderableListRequest.h"
#include "model/FindOrderableListResult.h"
#include "model/FindProjectListRequest.h"
#include "model/FindProjectListResult.h"
#include "model/FindApprovalOrderListRequest.h"
#include "model/FindApprovalOrderListResult.h"
#include "model/UpdateServiceQPSRequest.h"
#include "model/UpdateServiceQPSResult.h"
#include "model/UpdateOrderRequest.h"
#include "model/UpdateOrderResult.h"
#include "model/FindApproveServiceListRequest.h"
#include "model/FindApproveServiceListResult.h"
#include "model/GetServiceRequest.h"
#include "model/GetServiceResult.h"
namespace AlibabaCloud
{
namespace CSB
{
class ALIBABACLOUD_CSB_EXPORT CSBClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DeleteServiceResult> DeleteServiceOutcome;
typedef std::future<DeleteServiceOutcome> DeleteServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteServiceRequest&, const DeleteServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceAsyncHandler;
typedef Outcome<Error, Model::FindServiceListResult> FindServiceListOutcome;
typedef std::future<FindServiceListOutcome> FindServiceListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindServiceListRequest&, const FindServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceListAsyncHandler;
typedef Outcome<Error, Model::PublishUnionCasServiceResult> PublishUnionCasServiceOutcome;
typedef std::future<PublishUnionCasServiceOutcome> PublishUnionCasServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::PublishUnionCasServiceRequest&, const PublishUnionCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishUnionCasServiceAsyncHandler;
typedef Outcome<Error, Model::UpdateServiceListStatusResult> UpdateServiceListStatusOutcome;
typedef std::future<UpdateServiceListStatusOutcome> UpdateServiceListStatusOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateServiceListStatusRequest&, const UpdateServiceListStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceListStatusAsyncHandler;
typedef Outcome<Error, Model::CreateOrderResult> CreateOrderOutcome;
typedef std::future<CreateOrderOutcome> CreateOrderOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CreateOrderRequest&, const CreateOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrderAsyncHandler;
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
typedef Outcome<Error, Model::DeleteServiceListResult> DeleteServiceListOutcome;
typedef std::future<DeleteServiceListOutcome> DeleteServiceListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteServiceListRequest&, const DeleteServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceListAsyncHandler;
typedef Outcome<Error, Model::CommitSuccessedServicesResult> CommitSuccessedServicesOutcome;
typedef std::future<CommitSuccessedServicesOutcome> CommitSuccessedServicesOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CommitSuccessedServicesRequest&, const CommitSuccessedServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CommitSuccessedServicesAsyncHandler;
typedef Outcome<Error, Model::FindOrderedListResult> FindOrderedListOutcome;
typedef std::future<FindOrderedListOutcome> FindOrderedListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindOrderedListRequest&, const FindOrderedListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindOrderedListAsyncHandler;
typedef Outcome<Error, Model::DeleteOrderListResult> DeleteOrderListOutcome;
typedef std::future<DeleteOrderListOutcome> DeleteOrderListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteOrderListRequest&, const DeleteOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteOrderListAsyncHandler;
typedef Outcome<Error, Model::CreateCredentialsResult> CreateCredentialsOutcome;
typedef std::future<CreateCredentialsOutcome> CreateCredentialsOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CreateCredentialsRequest&, const CreateCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCredentialsAsyncHandler;
typedef Outcome<Error, Model::DeleteCasServiceResult> DeleteCasServiceOutcome;
typedef std::future<DeleteCasServiceOutcome> DeleteCasServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteCasServiceRequest&, const DeleteCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCasServiceAsyncHandler;
typedef Outcome<Error, Model::DeleteProjectListResult> DeleteProjectListOutcome;
typedef std::future<DeleteProjectListOutcome> DeleteProjectListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteProjectListRequest&, const DeleteProjectListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectListAsyncHandler;
typedef Outcome<Error, Model::FindInstanceListResult> FindInstanceListOutcome;
typedef std::future<FindInstanceListOutcome> FindInstanceListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindInstanceListRequest&, const FindInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindInstanceListAsyncHandler;
typedef Outcome<Error, Model::PublishCasServiceResult> PublishCasServiceOutcome;
typedef std::future<PublishCasServiceOutcome> PublishCasServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::PublishCasServiceRequest&, const PublishCasServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishCasServiceAsyncHandler;
typedef Outcome<Error, Model::UpdateProjectListStatusResult> UpdateProjectListStatusOutcome;
typedef std::future<UpdateProjectListStatusOutcome> UpdateProjectListStatusOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateProjectListStatusRequest&, const UpdateProjectListStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectListStatusAsyncHandler;
typedef Outcome<Error, Model::FindProjectsNameListResult> FindProjectsNameListOutcome;
typedef std::future<FindProjectsNameListOutcome> FindProjectsNameListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindProjectsNameListRequest&, const FindProjectsNameListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectsNameListAsyncHandler;
typedef Outcome<Error, Model::ReplaceCredentialResult> ReplaceCredentialOutcome;
typedef std::future<ReplaceCredentialOutcome> ReplaceCredentialOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::ReplaceCredentialRequest&, const ReplaceCredentialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceCredentialAsyncHandler;
typedef Outcome<Error, Model::GetProjectResult> GetProjectOutcome;
typedef std::future<GetProjectOutcome> GetProjectOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::GetProjectRequest&, const GetProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectAsyncHandler;
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::CheckServiceExistResult> CheckServiceExistOutcome;
typedef std::future<CheckServiceExistOutcome> CheckServiceExistOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CheckServiceExistRequest&, const CheckServiceExistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceExistAsyncHandler;
typedef Outcome<Error, Model::GetInstanceResult> GetInstanceOutcome;
typedef std::future<GetInstanceOutcome> GetInstanceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::GetInstanceRequest&, const GetInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceAsyncHandler;
typedef Outcome<Error, Model::RenewCredentialsResult> RenewCredentialsOutcome;
typedef std::future<RenewCredentialsOutcome> RenewCredentialsOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::RenewCredentialsRequest&, const RenewCredentialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewCredentialsAsyncHandler;
typedef Outcome<Error, Model::GetOrderResult> GetOrderOutcome;
typedef std::future<GetOrderOutcome> GetOrderOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::GetOrderRequest&, const GetOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOrderAsyncHandler;
typedef Outcome<Error, Model::UpdateOrderListResult> UpdateOrderListOutcome;
typedef std::future<UpdateOrderListOutcome> UpdateOrderListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateOrderListRequest&, const UpdateOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOrderListAsyncHandler;
typedef Outcome<Error, Model::DeleteCredentialsListResult> DeleteCredentialsListOutcome;
typedef std::future<DeleteCredentialsListOutcome> DeleteCredentialsListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteCredentialsListRequest&, const DeleteCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCredentialsListAsyncHandler;
typedef Outcome<Error, Model::CreateServiceResult> CreateServiceOutcome;
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::CreateServiceRequest&, const CreateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceAsyncHandler;
typedef Outcome<Error, Model::FindCredentialsListResult> FindCredentialsListOutcome;
typedef std::future<FindCredentialsListOutcome> FindCredentialsListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindCredentialsListRequest&, const FindCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindCredentialsListAsyncHandler;
typedef Outcome<Error, Model::ApproveOrderListResult> ApproveOrderListOutcome;
typedef std::future<ApproveOrderListOutcome> ApproveOrderListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::ApproveOrderListRequest&, const ApproveOrderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ApproveOrderListAsyncHandler;
typedef Outcome<Error, Model::UpdateServiceResult> UpdateServiceOutcome;
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateServiceRequest&, const UpdateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceAsyncHandler;
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
typedef Outcome<Error, Model::FindOrderableListResult> FindOrderableListOutcome;
typedef std::future<FindOrderableListOutcome> FindOrderableListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindOrderableListRequest&, const FindOrderableListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindOrderableListAsyncHandler;
typedef Outcome<Error, Model::FindProjectListResult> FindProjectListOutcome;
typedef std::future<FindProjectListOutcome> FindProjectListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindProjectListRequest&, const FindProjectListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindProjectListAsyncHandler;
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;
typedef Outcome<Error, Model::UpdateServiceQPSResult> UpdateServiceQPSOutcome;
typedef std::future<UpdateServiceQPSOutcome> UpdateServiceQPSOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateServiceQPSRequest&, const UpdateServiceQPSOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceQPSAsyncHandler;
typedef Outcome<Error, Model::UpdateOrderResult> UpdateOrderOutcome;
typedef std::future<UpdateOrderOutcome> UpdateOrderOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::UpdateOrderRequest&, const UpdateOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateOrderAsyncHandler;
typedef Outcome<Error, Model::FindApproveServiceListResult> FindApproveServiceListOutcome;
typedef std::future<FindApproveServiceListOutcome> FindApproveServiceListOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::FindApproveServiceListRequest&, const FindApproveServiceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindApproveServiceListAsyncHandler;
typedef Outcome<Error, Model::GetServiceResult> GetServiceOutcome;
typedef std::future<GetServiceOutcome> GetServiceOutcomeCallable;
typedef std::function<void(const CSBClient*, const Model::GetServiceRequest&, const GetServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceAsyncHandler;
CSBClient(const Credentials &credentials, const ClientConfiguration &configuration);
CSBClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
CSBClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~CSBClient();
DeleteServiceOutcome deleteService(const Model::DeleteServiceRequest &request)const;
void deleteServiceAsync(const Model::DeleteServiceRequest& request, const DeleteServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteServiceOutcomeCallable deleteServiceCallable(const Model::DeleteServiceRequest& request) const;
FindServiceListOutcome findServiceList(const Model::FindServiceListRequest &request)const;
void findServiceListAsync(const Model::FindServiceListRequest& request, const FindServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindServiceListOutcomeCallable findServiceListCallable(const Model::FindServiceListRequest& request) const;
PublishUnionCasServiceOutcome publishUnionCasService(const Model::PublishUnionCasServiceRequest &request)const;
void publishUnionCasServiceAsync(const Model::PublishUnionCasServiceRequest& request, const PublishUnionCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishUnionCasServiceOutcomeCallable publishUnionCasServiceCallable(const Model::PublishUnionCasServiceRequest& request) const;
UpdateServiceListStatusOutcome updateServiceListStatus(const Model::UpdateServiceListStatusRequest &request)const;
void updateServiceListStatusAsync(const Model::UpdateServiceListStatusRequest& request, const UpdateServiceListStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateServiceListStatusOutcomeCallable updateServiceListStatusCallable(const Model::UpdateServiceListStatusRequest& request) const;
CreateOrderOutcome createOrder(const Model::CreateOrderRequest &request)const;
void createOrderAsync(const Model::CreateOrderRequest& request, const CreateOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateOrderOutcomeCallable createOrderCallable(const Model::CreateOrderRequest& request) const;
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
DeleteServiceListOutcome deleteServiceList(const Model::DeleteServiceListRequest &request)const;
void deleteServiceListAsync(const Model::DeleteServiceListRequest& request, const DeleteServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteServiceListOutcomeCallable deleteServiceListCallable(const Model::DeleteServiceListRequest& request) const;
CommitSuccessedServicesOutcome commitSuccessedServices(const Model::CommitSuccessedServicesRequest &request)const;
void commitSuccessedServicesAsync(const Model::CommitSuccessedServicesRequest& request, const CommitSuccessedServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CommitSuccessedServicesOutcomeCallable commitSuccessedServicesCallable(const Model::CommitSuccessedServicesRequest& request) const;
FindOrderedListOutcome findOrderedList(const Model::FindOrderedListRequest &request)const;
void findOrderedListAsync(const Model::FindOrderedListRequest& request, const FindOrderedListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindOrderedListOutcomeCallable findOrderedListCallable(const Model::FindOrderedListRequest& request) const;
DeleteOrderListOutcome deleteOrderList(const Model::DeleteOrderListRequest &request)const;
void deleteOrderListAsync(const Model::DeleteOrderListRequest& request, const DeleteOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteOrderListOutcomeCallable deleteOrderListCallable(const Model::DeleteOrderListRequest& request) const;
CreateCredentialsOutcome createCredentials(const Model::CreateCredentialsRequest &request)const;
void createCredentialsAsync(const Model::CreateCredentialsRequest& request, const CreateCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCredentialsOutcomeCallable createCredentialsCallable(const Model::CreateCredentialsRequest& request) const;
DeleteCasServiceOutcome deleteCasService(const Model::DeleteCasServiceRequest &request)const;
void deleteCasServiceAsync(const Model::DeleteCasServiceRequest& request, const DeleteCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCasServiceOutcomeCallable deleteCasServiceCallable(const Model::DeleteCasServiceRequest& request) const;
DeleteProjectListOutcome deleteProjectList(const Model::DeleteProjectListRequest &request)const;
void deleteProjectListAsync(const Model::DeleteProjectListRequest& request, const DeleteProjectListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteProjectListOutcomeCallable deleteProjectListCallable(const Model::DeleteProjectListRequest& request) const;
FindInstanceListOutcome findInstanceList(const Model::FindInstanceListRequest &request)const;
void findInstanceListAsync(const Model::FindInstanceListRequest& request, const FindInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindInstanceListOutcomeCallable findInstanceListCallable(const Model::FindInstanceListRequest& request) const;
PublishCasServiceOutcome publishCasService(const Model::PublishCasServiceRequest &request)const;
void publishCasServiceAsync(const Model::PublishCasServiceRequest& request, const PublishCasServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishCasServiceOutcomeCallable publishCasServiceCallable(const Model::PublishCasServiceRequest& request) const;
UpdateProjectListStatusOutcome updateProjectListStatus(const Model::UpdateProjectListStatusRequest &request)const;
void updateProjectListStatusAsync(const Model::UpdateProjectListStatusRequest& request, const UpdateProjectListStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateProjectListStatusOutcomeCallable updateProjectListStatusCallable(const Model::UpdateProjectListStatusRequest& request) const;
FindProjectsNameListOutcome findProjectsNameList(const Model::FindProjectsNameListRequest &request)const;
void findProjectsNameListAsync(const Model::FindProjectsNameListRequest& request, const FindProjectsNameListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindProjectsNameListOutcomeCallable findProjectsNameListCallable(const Model::FindProjectsNameListRequest& request) const;
ReplaceCredentialOutcome replaceCredential(const Model::ReplaceCredentialRequest &request)const;
void replaceCredentialAsync(const Model::ReplaceCredentialRequest& request, const ReplaceCredentialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReplaceCredentialOutcomeCallable replaceCredentialCallable(const Model::ReplaceCredentialRequest& request) const;
GetProjectOutcome getProject(const Model::GetProjectRequest &request)const;
void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const;
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;
CheckServiceExistOutcome checkServiceExist(const Model::CheckServiceExistRequest &request)const;
void checkServiceExistAsync(const Model::CheckServiceExistRequest& request, const CheckServiceExistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckServiceExistOutcomeCallable checkServiceExistCallable(const Model::CheckServiceExistRequest& request) const;
GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const;
void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const;
RenewCredentialsOutcome renewCredentials(const Model::RenewCredentialsRequest &request)const;
void renewCredentialsAsync(const Model::RenewCredentialsRequest& request, const RenewCredentialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewCredentialsOutcomeCallable renewCredentialsCallable(const Model::RenewCredentialsRequest& request) const;
GetOrderOutcome getOrder(const Model::GetOrderRequest &request)const;
void getOrderAsync(const Model::GetOrderRequest& request, const GetOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOrderOutcomeCallable getOrderCallable(const Model::GetOrderRequest& request) const;
UpdateOrderListOutcome updateOrderList(const Model::UpdateOrderListRequest &request)const;
void updateOrderListAsync(const Model::UpdateOrderListRequest& request, const UpdateOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateOrderListOutcomeCallable updateOrderListCallable(const Model::UpdateOrderListRequest& request) const;
DeleteCredentialsListOutcome deleteCredentialsList(const Model::DeleteCredentialsListRequest &request)const;
void deleteCredentialsListAsync(const Model::DeleteCredentialsListRequest& request, const DeleteCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteCredentialsListOutcomeCallable deleteCredentialsListCallable(const Model::DeleteCredentialsListRequest& request) const;
CreateServiceOutcome createService(const Model::CreateServiceRequest &request)const;
void createServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateServiceOutcomeCallable createServiceCallable(const Model::CreateServiceRequest& request) const;
FindCredentialsListOutcome findCredentialsList(const Model::FindCredentialsListRequest &request)const;
void findCredentialsListAsync(const Model::FindCredentialsListRequest& request, const FindCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindCredentialsListOutcomeCallable findCredentialsListCallable(const Model::FindCredentialsListRequest& request) const;
ApproveOrderListOutcome approveOrderList(const Model::ApproveOrderListRequest &request)const;
void approveOrderListAsync(const Model::ApproveOrderListRequest& request, const ApproveOrderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ApproveOrderListOutcomeCallable approveOrderListCallable(const Model::ApproveOrderListRequest& request) const;
UpdateServiceOutcome updateService(const Model::UpdateServiceRequest &request)const;
void updateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateServiceOutcomeCallable updateServiceCallable(const Model::UpdateServiceRequest& request) const;
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const;
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
FindOrderableListOutcome findOrderableList(const Model::FindOrderableListRequest &request)const;
void findOrderableListAsync(const Model::FindOrderableListRequest& request, const FindOrderableListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindOrderableListOutcomeCallable findOrderableListCallable(const Model::FindOrderableListRequest& request) const;
FindProjectListOutcome findProjectList(const Model::FindProjectListRequest &request)const;
void findProjectListAsync(const Model::FindProjectListRequest& request, const FindProjectListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindProjectListOutcomeCallable findProjectListCallable(const Model::FindProjectListRequest& 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;
UpdateServiceQPSOutcome updateServiceQPS(const Model::UpdateServiceQPSRequest &request)const;
void updateServiceQPSAsync(const Model::UpdateServiceQPSRequest& request, const UpdateServiceQPSAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateServiceQPSOutcomeCallable updateServiceQPSCallable(const Model::UpdateServiceQPSRequest& request) const;
UpdateOrderOutcome updateOrder(const Model::UpdateOrderRequest &request)const;
void updateOrderAsync(const Model::UpdateOrderRequest& request, const UpdateOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateOrderOutcomeCallable updateOrderCallable(const Model::UpdateOrderRequest& request) const;
FindApproveServiceListOutcome findApproveServiceList(const Model::FindApproveServiceListRequest &request)const;
void findApproveServiceListAsync(const Model::FindApproveServiceListRequest& request, const FindApproveServiceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindApproveServiceListOutcomeCallable findApproveServiceListCallable(const Model::FindApproveServiceListRequest& request) const;
GetServiceOutcome getService(const Model::GetServiceRequest &request)const;
void getServiceAsync(const Model::GetServiceRequest& request, const GetServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServiceOutcomeCallable getServiceCallable(const Model::GetServiceRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CSB_CSBCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* 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_CSBEXPORT_H_
#define ALIBABACLOUD_CSB_CSBEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_CSB_LIBRARY)
# define ALIBABACLOUD_CSB_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_CSB_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_CSB_EXPORT
#endif
#endif // !ALIBABACLOUD_CSB_CSBEXPORT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTREQUEST_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 ApproveOrderListRequest : public RpcServiceRequest
{
public:
ApproveOrderListRequest();
~ApproveOrderListRequest();
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTRESULT_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 ApproveOrderListResult : public ServiceResult
{
public:
ApproveOrderListResult();
explicit ApproveOrderListResult(const std::string &payload);
~ApproveOrderListResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_APPROVEORDERLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTREQUEST_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 CheckServiceExistRequest : public RpcServiceRequest
{
public:
CheckServiceExistRequest();
~CheckServiceExistRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long csbId_;
std::string regionId_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CHECKSERVICEEXISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_CHECKSERVICEEXISTRESULT_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 CheckServiceExistResult : public ServiceResult
{
public:
struct Data
{
bool exist;
};
CheckServiceExistResult();
explicit CheckServiceExistResult(const std::string &payload);
~CheckServiceExistResult();
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_CHECKSERVICEEXISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESREQUEST_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 CommitSuccessedServicesRequest : public RpcServiceRequest
{
public:
CommitSuccessedServicesRequest();
~CommitSuccessedServicesRequest();
std::string getCsbName()const;
void setCsbName(const std::string& csbName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServices()const;
void setServices(const std::string& services);
private:
std::string csbName_;
std::string regionId_;
std::string services_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESRESULT_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 CommitSuccessedServicesResult : public ServiceResult
{
public:
CommitSuccessedServicesResult();
explicit CommitSuccessedServicesResult(const std::string &payload);
~CommitSuccessedServicesResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_COMMITSUCCESSEDSERVICESRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSREQUEST_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 CreateCredentialsRequest : public RpcServiceRequest
{
public:
CreateCredentialsRequest();
~CreateCredentialsRequest();
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string data_;
std::string regionId_;
long csbId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_CREATECREDENTIALSRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_CREATECREDENTIALSRESULT_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 CreateCredentialsResult : public ServiceResult
{
public:
struct Data
{
struct Credentials
{
struct CurrentCredential
{
std::string secretKey;
std::string accessKey;
};
CurrentCredential currentCredential;
long id;
};
Credentials credentials;
};
CreateCredentialsResult();
explicit CreateCredentialsResult(const std::string &payload);
~CreateCredentialsResult();
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_CREATECREDENTIALSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_CREATEORDERREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_CREATEORDERREQUEST_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 CreateOrderRequest : public RpcServiceRequest
{
public:
CreateOrderRequest();
~CreateOrderRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_CREATEORDERREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CREATEORDERRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_CREATEORDERRESULT_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 CreateOrderResult : public ServiceResult
{
public:
struct Data
{
long id;
};
CreateOrderResult();
explicit CreateOrderResult(const std::string &payload);
~CreateOrderResult();
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_CREATEORDERRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_CREATEPROJECTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_CREATEPROJECTREQUEST_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 CreateProjectRequest : public RpcServiceRequest
{
public:
CreateProjectRequest();
~CreateProjectRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_CREATEPROJECTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CREATEPROJECTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_CREATEPROJECTRESULT_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 CreateProjectResult : public ServiceResult
{
public:
struct Data
{
long id;
};
CreateProjectResult();
explicit CreateProjectResult(const std::string &payload);
~CreateProjectResult();
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_CREATEPROJECTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_CREATESERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_CREATESERVICEREQUEST_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 CreateServiceRequest : public RpcServiceRequest
{
public:
CreateServiceRequest();
~CreateServiceRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_CREATESERVICEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_CREATESERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_CREATESERVICERESULT_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 CreateServiceResult : public ServiceResult
{
public:
struct Data
{
long id;
};
CreateServiceResult();
explicit CreateServiceResult(const std::string &payload);
~CreateServiceResult();
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_CREATESERVICERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECASSERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETECASSERVICEREQUEST_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 DeleteCasServiceRequest : public RpcServiceRequest
{
public:
DeleteCasServiceRequest();
~DeleteCasServiceRequest();
bool getLeafOnly()const;
void setLeafOnly(bool leafOnly);
std::string getCasCsbName()const;
void setCasCsbName(const std::string& casCsbName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getSrcUserId()const;
void setSrcUserId(const std::string& srcUserId);
std::string getCasServiceId()const;
void setCasServiceId(const std::string& casServiceId);
private:
bool leafOnly_;
std::string casCsbName_;
std::string regionId_;
std::string srcUserId_;
std::string casServiceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECASSERVICEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECASSERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETECASSERVICERESULT_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 DeleteCasServiceResult : public ServiceResult
{
public:
DeleteCasServiceResult();
explicit DeleteCasServiceResult(const std::string &payload);
~DeleteCasServiceResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECASSERVICERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTREQUEST_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 DeleteCredentialsListRequest : public RpcServiceRequest
{
public:
DeleteCredentialsListRequest();
~DeleteCredentialsListRequest();
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getIgnoreDauth()const;
void setIgnoreDauth(bool ignoreDauth);
bool getForce()const;
void setForce(bool force);
private:
std::string data_;
std::string regionId_;
bool ignoreDauth_;
bool force_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTRESULT_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 DeleteCredentialsListResult : public ServiceResult
{
public:
DeleteCredentialsListResult();
explicit DeleteCredentialsListResult(const std::string &payload);
~DeleteCredentialsListResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETECREDENTIALSLISTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTREQUEST_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 DeleteOrderListRequest : public RpcServiceRequest
{
public:
DeleteOrderListRequest();
~DeleteOrderListRequest();
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTRESULT_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 DeleteOrderListResult : public ServiceResult
{
public:
DeleteOrderListResult();
explicit DeleteOrderListResult(const std::string &payload);
~DeleteOrderListResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEORDERLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTREQUEST_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 DeleteProjectListRequest : public RpcServiceRequest
{
public:
DeleteProjectListRequest();
~DeleteProjectListRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTRESULT_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 DeleteProjectListResult : public ServiceResult
{
public:
DeleteProjectListResult();
explicit DeleteProjectListResult(const std::string &payload);
~DeleteProjectListResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTREQUEST_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 DeleteProjectRequest : public RpcServiceRequest
{
public:
DeleteProjectRequest();
~DeleteProjectRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getProjectId()const;
void setProjectId(long projectId);
private:
long csbId_;
std::string regionId_;
long projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEPROJECTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEPROJECTRESULT_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 DeleteProjectResult : public ServiceResult
{
public:
DeleteProjectResult();
explicit DeleteProjectResult(const std::string &payload);
~DeleteProjectResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEPROJECTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTREQUEST_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 DeleteServiceListRequest : public RpcServiceRequest
{
public:
DeleteServiceListRequest();
~DeleteServiceListRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTRESULT_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 DeleteServiceListResult : public ServiceResult
{
public:
DeleteServiceListResult();
explicit DeleteServiceListResult(const std::string &payload);
~DeleteServiceListResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICELISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICEREQUEST_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 DeleteServiceRequest : public RpcServiceRequest
{
public:
DeleteServiceRequest();
~DeleteServiceRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getServiceId()const;
void setServiceId(long serviceId);
private:
std::string regionId_;
std::string serviceName_;
long serviceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETESERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETESERVICERESULT_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 DeleteServiceResult : public ServiceResult
{
public:
DeleteServiceResult();
explicit DeleteServiceResult(const std::string &payload);
~DeleteServiceResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETESERVICERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICEREQUEST_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 DeleteUnionCasServiceRequest : public RpcServiceRequest
{
public:
DeleteUnionCasServiceRequest();
~DeleteUnionCasServiceRequest();
bool getLeafOnly()const;
void setLeafOnly(bool leafOnly);
std::string getCasCsbName()const;
void setCasCsbName(const std::string& casCsbName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getSrcUserId()const;
void setSrcUserId(const std::string& srcUserId);
std::string getCasServiceId()const;
void setCasServiceId(const std::string& casServiceId);
private:
bool leafOnly_;
std::string casCsbName_;
std::string regionId_;
std::string srcUserId_;
std::string casServiceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICERESULT_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 DeleteUnionCasServiceResult : public ServiceResult
{
public:
DeleteUnionCasServiceResult();
explicit DeleteUnionCasServiceResult(const std::string &payload);
~DeleteUnionCasServiceResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_DELETEUNIONCASSERVICERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTREQUEST_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 FindApprovalOrderListRequest : public RpcServiceRequest
{
public:
FindApprovalOrderListRequest();
~FindApprovalOrderListRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAlias()const;
void setAlias(const std::string& alias);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getServiceId()const;
void setServiceId(long serviceId);
int getPageNum()const;
void setPageNum(int pageNum);
bool getOnlyPending()const;
void setOnlyPending(bool onlyPending);
private:
std::string projectName_;
std::string regionId_;
std::string alias_;
std::string serviceName_;
long serviceId_;
int pageNum_;
bool onlyPending_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTREQUEST_H_

View File

@@ -0,0 +1,93 @@
/*
* 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_FINDAPPROVALORDERLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVALORDERLISTRESULT_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 FindApprovalOrderListResult : public ServiceResult
{
public:
struct Data
{
struct Order
{
struct SlaInfo
{
int qps;
int qph;
};
struct Total
{
int total;
int errorNum;
};
std::string groupName;
int status;
std::string statisticName;
std::string userName;
long credentialGroupId;
std::string projectName;
long csbId;
long gmtModified;
long serviceId;
long gmtCreate;
std::string serviceName;
std::string alias;
int serviceStatus;
std::string userId;
Total total;
std::string serviceVersion;
std::string strictWhiteListJson;
long id;
SlaInfo slaInfo;
};
int currentPage;
int pageNumber;
std::vector<Order> orderList;
};
FindApprovalOrderListResult();
explicit FindApprovalOrderListResult(const std::string &payload);
~FindApprovalOrderListResult();
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_FINDAPPROVALORDERLISTRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTREQUEST_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 FindApproveServiceListRequest : public RpcServiceRequest
{
public:
FindApproveServiceListRequest();
~FindApproveServiceListRequest();
std::string getApproveLevel()const;
void setApproveLevel(const std::string& approveLevel);
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
bool getShowDelService()const;
void setShowDelService(bool showDelService);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAlias()const;
void setAlias(const std::string& alias);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
std::string approveLevel_;
std::string projectName_;
bool showDelService_;
long csbId_;
std::string regionId_;
std::string alias_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTREQUEST_H_

View File

@@ -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_CSB_MODEL_FINDAPPROVESERVICELISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDAPPROVESERVICELISTRESULT_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 FindApproveServiceListResult : public ServiceResult
{
public:
struct Data
{
struct Service
{
int status;
std::string statisticName;
std::string projectName;
long createTime;
long csbId;
long projectId;
std::string principalName;
long modifiedTime;
std::string ownerId;
std::string scope;
bool allVisiable;
int qps;
std::string serviceName;
bool skipAuth;
std::string userId;
std::string serviceVersion;
std::string interfaceName;
std::string casTargets;
long id;
};
int pageNumber;
int currentPage;
std::vector<Service> serviceList;
int total;
};
FindApproveServiceListResult();
explicit FindApproveServiceListResult(const std::string &payload);
~FindApproveServiceListResult();
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_FINDAPPROVESERVICELISTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTREQUEST_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 FindCredentialsListRequest : public RpcServiceRequest
{
public:
FindCredentialsListRequest();
~FindCredentialsListRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
private:
long csbId_;
std::string regionId_;
int pageNum_;
std::string groupName_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTREQUEST_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_FINDCREDENTIALSLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDCREDENTIALSLISTRESULT_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 FindCredentialsListResult : public ServiceResult
{
public:
struct Data
{
struct Credential
{
struct CurrentCredential
{
std::string secretKey;
std::string accessKey;
};
struct NewCredential
{
std::string secretKey;
std::string accessKey;
};
NewCredential newCredential;
long gmtCreate;
std::string ownerAttr;
CurrentCredential currentCredential;
std::string userId;
long id;
std::string name;
};
std::vector<Credential> credentialList;
int currentPage;
int pageNumber;
};
FindCredentialsListResult();
explicit FindCredentialsListResult(const std::string &payload);
~FindCredentialsListResult();
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_FINDCREDENTIALSLISTRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTREQUEST_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 FindInstanceListRequest : public RpcServiceRequest
{
public:
FindInstanceListRequest();
~FindInstanceListRequest();
std::string getSearchTxt()const;
void setSearchTxt(const std::string& searchTxt);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
int getPageNum()const;
void setPageNum(int pageNum);
int getStatus()const;
void setStatus(int status);
private:
std::string searchTxt_;
std::string regionId_;
long csbId_;
int pageNum_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* 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_FINDINSTANCELISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDINSTANCELISTRESULT_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 FindInstanceListResult : public ServiceResult
{
public:
struct Data
{
struct Item
{
long gmtCreate;
std::string description;
long gmtModified;
bool visible;
std::string vpcName;
std::string frontStatus;
long id;
int instanceCategory;
int statusCode;
std::string name;
};
int currentPage;
int pageNumber;
std::vector<Item> itemList;
};
FindInstanceListResult();
explicit FindInstanceListResult(const std::string &payload);
~FindInstanceListResult();
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_FINDINSTANCELISTRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTREQUEST_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 FindOrderableListRequest : public RpcServiceRequest
{
public:
FindOrderableListRequest();
~FindOrderableListRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAlias()const;
void setAlias(const std::string& alias);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
int getPageNum()const;
void setPageNum(int pageNum);
private:
std::string projectName_;
long csbId_;
std::string regionId_;
std::string alias_;
std::string serviceName_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTREQUEST_H_

View File

@@ -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_CSB_MODEL_FINDORDERABLELISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDORDERABLELISTRESULT_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 FindOrderableListResult : public ServiceResult
{
public:
struct Data
{
struct Service
{
int status;
std::string statisticName;
std::string projectName;
long createTime;
std::string approveUserId;
long csbId;
std::string projectId;
std::string principalName;
long modifiedTime;
std::string ownerId;
std::string scope;
bool allVisiable;
std::string serviceName;
bool skipAuth;
std::string alias;
std::string userId;
std::string serviceVersion;
std::string interfaceName;
std::string casTargets;
long id;
};
int currentPage;
int pageNumber;
std::vector<Service> serviceList;
};
FindOrderableListResult();
explicit FindOrderableListResult(const std::string &payload);
~FindOrderableListResult();
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_FINDORDERABLELISTRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_FINDORDEREDLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTREQUEST_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 FindOrderedListRequest : public RpcServiceRequest
{
public:
FindOrderedListRequest();
~FindOrderedListRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
bool getShowDelOrder()const;
void setShowDelOrder(bool showDelOrder);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
std::string getAlias()const;
void setAlias(const std::string& alias);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
int getPageNum()const;
void setPageNum(int pageNum);
long getServiceId()const;
void setServiceId(long serviceId);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string projectName_;
bool showDelOrder_;
std::string regionId_;
long csbId_;
std::string alias_;
std::string serviceName_;
int pageNum_;
long serviceId_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTREQUEST_H_

View File

@@ -0,0 +1,119 @@
/*
* 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_FINDORDEREDLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDORDEREDLISTRESULT_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 FindOrderedListResult : public ServiceResult
{
public:
struct Data
{
struct Order
{
struct Total
{
int total;
int errorNum;
};
struct ErrorTypeCatagory
{
long total;
std::string name;
long errorNum;
};
struct Order1
{
struct SlaInfo
{
std::string qps;
std::string qph;
};
struct Total2
{
int total;
int errorNum;
};
std::string groupName;
int status;
std::string statisticName;
std::string approveComments;
std::string projectName;
Total2 total2;
long csbId;
long gmtModified;
long serviceId;
long gmtCreate;
std::string serviceName;
std::string alias;
int serviceStatus;
std::string userId;
std::string serviceVersion;
long id;
SlaInfo slaInfo;
};
std::vector<Order::ErrorTypeCatagory> errorTypeCatagoryList;
std::vector<Order::Order1> orders;
std::string projectName;
int maxRT;
std::string serviceId;
int orderStatus;
int aliveOrderCount;
long gmtCreate;
std::string serviceName;
std::string alias;
int serviceStatus;
Total total;
std::string serviceVersion;
int minRT;
};
int currentPage;
int pageNumber;
std::vector<Order> orderList;
};
FindOrderedListResult();
explicit FindOrderedListResult(const std::string &payload);
~FindOrderedListResult();
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_FINDORDEREDLISTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTREQUEST_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 FindProjectListRequest : public RpcServiceRequest
{
public:
FindProjectListRequest();
~FindProjectListRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageNum()const;
void setPageNum(int pageNum);
private:
std::string projectName_;
long csbId_;
std::string regionId_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* 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_FINDPROJECTLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTLISTRESULT_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 FindProjectListResult : public ServiceResult
{
public:
struct Data
{
struct Project
{
int status;
std::string projectOwnerEmail;
std::string description;
std::string projectName;
std::string projectOwnerName;
std::string projectOwnerPhoneNum;
std::string interfaceJarName;
long csbId;
long gmtModified;
int apiNum;
std::string interfaceJarLocation;
int deleteFlag;
long gmtCreate;
std::string ownerId;
std::string userId;
std::string jarFileKey;
long id;
};
int currentPage;
int pageNumber;
std::vector<Project> projectList;
int total;
};
FindProjectListResult();
explicit FindProjectListResult(const std::string &payload);
~FindProjectListResult();
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_FINDPROJECTLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTREQUEST_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 FindProjectsNameListRequest : public RpcServiceRequest
{
public:
FindProjectsNameListRequest();
~FindProjectsNameListRequest();
std::string getOperationFlag()const;
void setOperationFlag(const std::string& operationFlag);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string operationFlag_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_FINDPROJECTSNAMELISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDPROJECTSNAMELISTRESULT_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 FindProjectsNameListResult : public ServiceResult
{
public:
struct Data
{
std::vector<std::string> projectNameList;
};
FindProjectsNameListResult();
explicit FindProjectsNameListResult(const std::string &payload);
~FindProjectsNameListResult();
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_FINDPROJECTSNAMELISTRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_FINDSERVICELISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTREQUEST_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 FindServiceListRequest : public RpcServiceRequest
{
public:
FindServiceListRequest();
~FindServiceListRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
int getCasShowType()const;
void setCasShowType(int casShowType);
bool getShowDelService()const;
void setShowDelService(bool showDelService);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAlias()const;
void setAlias(const std::string& alias);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
int getPageNum()const;
void setPageNum(int pageNum);
private:
std::string projectName_;
int casShowType_;
bool showDelService_;
long csbId_;
std::string regionId_;
std::string alias_;
std::string serviceName_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTREQUEST_H_

View File

@@ -0,0 +1,86 @@
/*
* 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_FINDSERVICELISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICELISTRESULT_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 FindServiceListResult : public ServiceResult
{
public:
struct Data
{
struct Service
{
int status;
std::string statisticName;
std::string description;
std::string projectName;
long createTime;
long csbId;
long projectId;
std::string orderInfo;
std::string principalName;
long modifiedTime;
std::string ownerId;
std::string scope;
bool allVisiable;
std::string serviceName;
bool skipAuth;
std::string alias;
std::string userId;
std::string serviceVersion;
std::string interfaceName;
long id;
std::string casTargets;
};
int currentPage;
int pageNumber;
std::vector<Service> serviceList;
int total;
};
FindServiceListResult();
explicit FindServiceListResult(const std::string &payload);
~FindServiceListResult();
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_FINDSERVICELISTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_GETINSTANCEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_GETINSTANCEREQUEST_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 GetInstanceRequest : public RpcServiceRequest
{
public:
GetInstanceRequest();
~GetInstanceRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCsbId()const;
void setCsbId(long csbId);
private:
std::string regionId_;
long csbId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_GETINSTANCEREQUEST_H_

View File

@@ -0,0 +1,97 @@
/*
* 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_GETINSTANCERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_GETINSTANCERESULT_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 GetInstanceResult : public ServiceResult
{
public:
struct Data
{
struct Instance
{
std::string sentinelCtlStr;
int sentinelGridInterval;
std::string description;
std::string brokerVpcName;
long gmtModified;
bool testable;
int clusterMembers;
int statusCode;
std::string name;
std::string ownerId;
std::string csbAccountId;
int dbStatus;
bool isPublic;
long sentinelCtrl;
bool visible;
long credentialGroup;
int instanceType;
std::string status;
long sentinelQps;
std::string ipList;
long csbId;
std::string brokerVpcId;
std::string clientVpcName;
std::string frontStatus;
int instanceCategory;
long gmtCreate;
bool isImported;
std::string tenantId;
std::string userId;
int apprLevel;
std::string clientVpcId;
std::string vpcName;
long id;
std::string apprUser1;
std::string apprUser2;
};
Instance instance;
};
GetInstanceResult();
explicit GetInstanceResult(const std::string &payload);
~GetInstanceResult();
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_GETINSTANCERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_GETORDERREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_GETORDERREQUEST_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 GetOrderRequest : public RpcServiceRequest
{
public:
GetOrderRequest();
~GetOrderRequest();
long getOrderId()const;
void setOrderId(long orderId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
private:
long orderId_;
std::string regionId_;
std::string serviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_GETORDERREQUEST_H_

View File

@@ -0,0 +1,131 @@
/*
* 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_GETORDERRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_GETORDERRESULT_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 GetOrderResult : public ServiceResult
{
public:
struct Data
{
struct Order
{
struct Service
{
std::string projectName;
std::string ownerId;
std::string consumeTypesJSON;
bool skipAuth;
bool ottFlag;
std::string interfaceName;
int status;
std::string statisticName;
std::string errDefJSON;
long createTime;
long csbId;
std::string projectId;
std::string principalName;
std::string accessParamsJSON;
bool sSL;
bool active;
std::string serviceProviderType;
std::string scope;
bool allVisiable;
std::string serviceName;
std::string alias;
std::string provideType;
long userId;
std::string serviceVersion;
std::string oldVersion;
bool validConsumeTypes;
long id;
bool validProvideType;
};
struct SlaInfo
{
std::string qps;
std::string qph;
};
struct Total
{
int total;
int errorNum;
};
struct ErrorTypeCatagory
{
int total;
int errorNum;
std::string name;
};
std::vector<ErrorTypeCatagory> errorTypeCatagoryList;
std::string groupName;
int status;
std::string statisticName;
long credentialGroupId;
std::string projectName;
long csbId;
long gmtModified;
Service service;
long serviceId;
long gmtCreate;
std::string serviceName;
std::string alias;
int serviceStatus;
std::string userId;
Total total;
std::string serviceVersion;
std::string strictWhiteListJson;
long id;
SlaInfo slaInfo;
std::vector<std::string> strictWhiteList;
std::string dauthGroupName;
};
Order order;
};
GetOrderResult();
explicit GetOrderResult(const std::string &payload);
~GetOrderResult();
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_GETORDERRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_GETPROJECTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_GETPROJECTREQUEST_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 GetProjectRequest : public RpcServiceRequest
{
public:
GetProjectRequest();
~GetProjectRequest();
std::string getProjectName()const;
void setProjectName(const std::string& projectName);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string projectName_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_GETPROJECTREQUEST_H_

View File

@@ -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_CSB_MODEL_GETPROJECTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_GETPROJECTRESULT_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 GetProjectResult : public ServiceResult
{
public:
struct Data
{
struct Project
{
int status;
std::string projectOwnerEmail;
std::string description;
std::string projectName;
std::string projectOwnerName;
std::string projectOwnerPhoneNum;
std::string interfaceJarName;
long csbId;
long gmtModified;
int apiNum;
std::string interfaceJarLocation;
int deleteFlag;
long gmtCreate;
std::string ownerId;
std::string userId;
std::string jarFileKey;
long id;
};
std::vector<Project> projectList;
};
GetProjectResult();
explicit GetProjectResult(const std::string &payload);
~GetProjectResult();
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_GETPROJECTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_GETSERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_GETSERVICEREQUEST_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 GetServiceRequest : public RpcServiceRequest
{
public:
GetServiceRequest();
~GetServiceRequest();
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getServiceId()const;
void setServiceId(long serviceId);
private:
long csbId_;
std::string regionId_;
long serviceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_GETSERVICEREQUEST_H_

View File

@@ -0,0 +1,199 @@
/*
* 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_GETSERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_GETSERVICERESULT_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 GetServiceResult : public ServiceResult
{
public:
struct Data
{
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;
std::string statisticName;
bool sSL;
bool active;
std::string scope;
bool allVisiable;
bool skipAuth;
bool ottFlag;
std::string serviceVersion;
std::string oldVersion;
bool validConsumeTypes;
long id;
bool validProvideType;
};
struct VisiableGroup
{
int status;
long modifiedTime;
std::string userId;
long createTime;
long id;
long groupId;
long serviceId;
};
std::string ipWhiteStr;
RouteConf routeConf;
std::string projectName;
std::string approveUserId;
std::string serviceOpenRestfulPath;
long modifiedTime;
std::string ownerId;
std::string consumeTypesJSON;
bool skipAuth;
std::vector<ServiceVersion> serviceVersionsList;
bool ottFlag;
std::string interfaceName;
std::string casTargets;
int status;
std::string ipBlackStr;
std::string statisticName;
std::string errDefJSON;
std::string openRestfulPath;
std::string policyHandler;
long createTime;
std::vector<VisiableGroup> visiableGroupList;
long csbId;
long projectId;
std::string principalName;
std::vector<std::string> consumeTypes;
std::string accessParamsJSON;
bool sSL;
bool active;
std::string serviceProviderType;
std::string scope;
bool allVisiable;
std::string serviceName;
std::string alias;
std::string provideType;
std::string routeConfJson;
std::string userId;
std::string serviceVersion;
std::string oldVersion;
bool validConsumeTypes;
long id;
std::string modelVersion;
bool validProvideType;
std::vector<std::string> casServTargets;
};
Service service;
};
GetServiceResult();
explicit GetServiceResult(const std::string &payload);
~GetServiceResult();
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_GETSERVICERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICEREQUEST_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 PublishCasServiceRequest : public RpcServiceRequest
{
public:
PublishCasServiceRequest();
~PublishCasServiceRequest();
std::string getCasCsbName()const;
void setCasCsbName(const std::string& casCsbName);
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string casCsbName_;
std::string data_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICERESULT_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 PublishCasServiceResult : public ServiceResult
{
public:
PublishCasServiceResult();
explicit PublishCasServiceResult(const std::string &payload);
~PublishCasServiceResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHCASSERVICERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICEREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICEREQUEST_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 PublishUnionCasServiceRequest : public RpcServiceRequest
{
public:
PublishUnionCasServiceRequest();
~PublishUnionCasServiceRequest();
std::string getCasCsbName()const;
void setCasCsbName(const std::string& casCsbName);
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string casCsbName_;
std::string data_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICERESULT_H_
#define ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICERESULT_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 PublishUnionCasServiceResult : public ServiceResult
{
public:
PublishUnionCasServiceResult();
explicit PublishUnionCasServiceResult(const std::string &payload);
~PublishUnionCasServiceResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_PUBLISHUNIONCASSERVICERESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSREQUEST_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 RenewCredentialsRequest : public RpcServiceRequest
{
public:
RenewCredentialsRequest();
~RenewCredentialsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCredentialId()const;
void setCredentialId(long credentialId);
private:
std::string regionId_;
long credentialId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_RENEWCREDENTIALSRESULT_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 RenewCredentialsResult : public ServiceResult
{
public:
struct Data
{
struct Credentials
{
struct CurrentCredential
{
std::string secretKey;
std::string accessKey;
};
struct NewCredential
{
std::string secretKey;
std::string accessKey;
};
NewCredential newCredential;
long gmtCreate;
CurrentCredential currentCredential;
std::string userId;
long id;
std::string name;
};
Credentials credentials;
};
RenewCredentialsResult();
explicit RenewCredentialsResult(const std::string &payload);
~RenewCredentialsResult();
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_RENEWCREDENTIALSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALREQUEST_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 ReplaceCredentialRequest : public RpcServiceRequest
{
public:
ReplaceCredentialRequest();
~ReplaceCredentialRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getCredentialId()const;
void setCredentialId(long credentialId);
private:
std::string regionId_;
long credentialId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALREQUEST_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_REPLACECREDENTIALRESULT_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 ReplaceCredentialResult : public ServiceResult
{
public:
struct Data
{
struct Credentials
{
struct CurrentCredential
{
std::string secretKey;
std::string accessKey;
};
struct NewCredential
{
std::string secretKey;
std::string accessKey;
};
NewCredential newCredential;
long gmtCreate;
CurrentCredential currentCredential;
std::string userId;
long id;
std::string name;
};
Credentials credentials;
};
ReplaceCredentialResult();
explicit ReplaceCredentialResult(const std::string &payload);
~ReplaceCredentialResult();
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_REPLACECREDENTIALRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTREQUEST_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 UpdateOrderListRequest : public RpcServiceRequest
{
public:
UpdateOrderListRequest();
~UpdateOrderListRequest();
std::string getData()const;
void setData(const std::string& data);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_UPDATEORDERLISTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERLISTRESULT_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 UpdateOrderListResult : public ServiceResult
{
public:
struct Data
{
int updateCount;
};
UpdateOrderListResult();
explicit UpdateOrderListResult(const std::string &payload);
~UpdateOrderListResult();
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_UPDATEORDERLISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERREQUEST_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 UpdateOrderRequest : public RpcServiceRequest
{
public:
UpdateOrderRequest();
~UpdateOrderRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEORDERRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEORDERRESULT_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 UpdateOrderResult : public ServiceResult
{
public:
UpdateOrderResult();
explicit UpdateOrderResult(const std::string &payload);
~UpdateOrderResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEORDERRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSREQUEST_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 UpdateProjectListStatusRequest : public RpcServiceRequest
{
public:
UpdateProjectListStatusRequest();
~UpdateProjectListStatusRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSRESULT_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 UpdateProjectListStatusResult : public ServiceResult
{
public:
UpdateProjectListStatusResult();
explicit UpdateProjectListStatusResult(const std::string &payload);
~UpdateProjectListStatusResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTLISTSTATUSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTREQUEST_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 UpdateProjectRequest : public RpcServiceRequest
{
public:
UpdateProjectRequest();
~UpdateProjectRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTRESULT_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTRESULT_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 UpdateProjectResult : public ServiceResult
{
public:
UpdateProjectResult();
explicit UpdateProjectResult(const std::string &payload);
~UpdateProjectResult();
std::string getMessage()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATEPROJECTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CSB_MODEL_UPDATESERVICELISTSTATUSREQUEST_H_
#define ALIBABACLOUD_CSB_MODEL_UPDATESERVICELISTSTATUSREQUEST_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 UpdateServiceListStatusRequest : public RpcServiceRequest
{
public:
UpdateServiceListStatusRequest();
~UpdateServiceListStatusRequest();
std::string getData()const;
void setData(const std::string& data);
long getCsbId()const;
void setCsbId(long csbId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
std::string data_;
long csbId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_CSB_MODEL_UPDATESERVICELISTSTATUSREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More