Compare commits

..

5 Commits

Author SHA1 Message Date
sdk-team
ea79682ddf Revert to 2015-09-01. 2019-08-30 15:07:15 +08:00
sdk-team
695aa4ad06 Release Apis of Version 2019-09-10. 2019-08-30 14:14:51 +08:00
sdk-team
586250dbe5 Supported Meida complex for IMM. 2019-08-30 12:46:32 +08:00
sdk-team
51b76b4599 Add api for getTrace and searchTracelist. 2019-08-30 11:03:04 +08:00
sdk-team
ff63a49df8 Move StopExecution params to body. 2019-08-29 14:26:47 +08:00
160 changed files with 9672 additions and 289 deletions

View File

@@ -1,3 +1,18 @@
2019-08-30 Version 1.36.103
- Revert to 2015-09-01.
2019-08-30 Version 1.36.102
- Release Apis of Version 2019-09-10.
2019-08-30 Version 1.36.101
- Supported Meida complex for IMM.
2019-08-30 Version 1.36.100
- Add api for getTrace and searchTracelist.
2019-08-29 Version 1.36.99
- Move StopExecution params to body.
2019-08-29 Version 1.36.98
- For publish.

View File

@@ -1 +1 @@
1.36.98
1.36.103

View File

@@ -23,12 +23,22 @@ set(fnf_public_header
set(fnf_public_header_model
include/alibabacloud/fnf/model/UpdateFlowRequest.h
include/alibabacloud/fnf/model/UpdateFlowResult.h
include/alibabacloud/fnf/model/DeleteFlowRequest.h
include/alibabacloud/fnf/model/DeleteFlowResult.h
include/alibabacloud/fnf/model/CreateFlowRequest.h
include/alibabacloud/fnf/model/CreateFlowResult.h
include/alibabacloud/fnf/model/DescribeExecutionRequest.h
include/alibabacloud/fnf/model/DescribeExecutionResult.h
include/alibabacloud/fnf/model/ReportTaskFailedRequest.h
include/alibabacloud/fnf/model/ReportTaskFailedResult.h
include/alibabacloud/fnf/model/DescribeFlowRequest.h
include/alibabacloud/fnf/model/DescribeFlowResult.h
include/alibabacloud/fnf/model/StopExecutionRequest.h
include/alibabacloud/fnf/model/StopExecutionResult.h
include/alibabacloud/fnf/model/StartExecutionRequest.h
include/alibabacloud/fnf/model/StartExecutionResult.h
include/alibabacloud/fnf/model/GetExecutionHistoryRequest.h
include/alibabacloud/fnf/model/GetExecutionHistoryResult.h
include/alibabacloud/fnf/model/ListExecutionsRequest.h
include/alibabacloud/fnf/model/ListExecutionsResult.h
include/alibabacloud/fnf/model/ReportTaskSucceededRequest.h
@@ -40,12 +50,22 @@ set(fnf_src
src/FnfClient.cc
src/model/UpdateFlowRequest.cc
src/model/UpdateFlowResult.cc
src/model/DeleteFlowRequest.cc
src/model/DeleteFlowResult.cc
src/model/CreateFlowRequest.cc
src/model/CreateFlowResult.cc
src/model/DescribeExecutionRequest.cc
src/model/DescribeExecutionResult.cc
src/model/ReportTaskFailedRequest.cc
src/model/ReportTaskFailedResult.cc
src/model/DescribeFlowRequest.cc
src/model/DescribeFlowResult.cc
src/model/StopExecutionRequest.cc
src/model/StopExecutionResult.cc
src/model/StartExecutionRequest.cc
src/model/StartExecutionResult.cc
src/model/GetExecutionHistoryRequest.cc
src/model/GetExecutionHistoryResult.cc
src/model/ListExecutionsRequest.cc
src/model/ListExecutionsResult.cc
src/model/ReportTaskSucceededRequest.cc

View File

@@ -39,10 +39,10 @@ set(imm_public_header_model
include/alibabacloud/imm/model/ListFaceSearchGroupUsersResult.h
include/alibabacloud/imm/model/ListFaceSearchGroupImagesRequest.h
include/alibabacloud/imm/model/ListFaceSearchGroupImagesResult.h
include/alibabacloud/imm/model/ListSetsRequest.h
include/alibabacloud/imm/model/ListSetsResult.h
include/alibabacloud/imm/model/PutProjectRequest.h
include/alibabacloud/imm/model/PutProjectResult.h
include/alibabacloud/imm/model/ListSetsRequest.h
include/alibabacloud/imm/model/ListSetsResult.h
include/alibabacloud/imm/model/FindImagesRequest.h
include/alibabacloud/imm/model/FindImagesResult.h
include/alibabacloud/imm/model/DetectImageLogosRequest.h
@@ -61,10 +61,10 @@ set(imm_public_header_model
include/alibabacloud/imm/model/DetectImageCelebrityResult.h
include/alibabacloud/imm/model/ListFaceSearchGroupsRequest.h
include/alibabacloud/imm/model/ListFaceSearchGroupsResult.h
include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h
include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h
include/alibabacloud/imm/model/GetTagSetRequest.h
include/alibabacloud/imm/model/GetTagSetResult.h
include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h
include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h
include/alibabacloud/imm/model/ListTagPhotosRequest.h
include/alibabacloud/imm/model/ListTagPhotosResult.h
include/alibabacloud/imm/model/DeleteFaceSearchImageByIdRequest.h
@@ -85,16 +85,18 @@ set(imm_public_header_model
include/alibabacloud/imm/model/CompareImageFacesResult.h
include/alibabacloud/imm/model/DeleteTagJobRequest.h
include/alibabacloud/imm/model/DeleteTagJobResult.h
include/alibabacloud/imm/model/CreateMediaComplexTaskRequest.h
include/alibabacloud/imm/model/CreateMediaComplexTaskResult.h
include/alibabacloud/imm/model/PhotoProcessRequest.h
include/alibabacloud/imm/model/PhotoProcessResult.h
include/alibabacloud/imm/model/DeleteFaceSearchUserRequest.h
include/alibabacloud/imm/model/DeleteFaceSearchUserResult.h
include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h
include/alibabacloud/imm/model/CreateTagSetRequest.h
include/alibabacloud/imm/model/CreateTagSetResult.h
include/alibabacloud/imm/model/RegistFaceRequest.h
include/alibabacloud/imm/model/RegistFaceResult.h
include/alibabacloud/imm/model/CreateTagSetRequest.h
include/alibabacloud/imm/model/CreateTagSetResult.h
include/alibabacloud/imm/model/GetFaceSearchUserRequest.h
include/alibabacloud/imm/model/GetFaceSearchUserResult.h
include/alibabacloud/imm/model/CreateFaceSetRequest.h
@@ -123,10 +125,10 @@ set(imm_public_header_model
include/alibabacloud/imm/model/DetectTagResult.h
include/alibabacloud/imm/model/CreateCADConversionTaskRequest.h
include/alibabacloud/imm/model/CreateCADConversionTaskResult.h
include/alibabacloud/imm/model/DeleteFaceJobRequest.h
include/alibabacloud/imm/model/DeleteFaceJobResult.h
include/alibabacloud/imm/model/GetTagJobRequest.h
include/alibabacloud/imm/model/GetTagJobResult.h
include/alibabacloud/imm/model/DeleteFaceJobRequest.h
include/alibabacloud/imm/model/DeleteFaceJobResult.h
include/alibabacloud/imm/model/CreateDocIndexTaskRequest.h
include/alibabacloud/imm/model/CreateDocIndexTaskResult.h
include/alibabacloud/imm/model/GetVideoTaskRequest.h
@@ -165,10 +167,10 @@ set(imm_public_header_model
include/alibabacloud/imm/model/DetectImageBodiesResult.h
include/alibabacloud/imm/model/DeleteDocIndexRequest.h
include/alibabacloud/imm/model/DeleteDocIndexResult.h
include/alibabacloud/imm/model/GetImageJobRequest.h
include/alibabacloud/imm/model/GetImageJobResult.h
include/alibabacloud/imm/model/GetDocIndexTaskRequest.h
include/alibabacloud/imm/model/GetDocIndexTaskResult.h
include/alibabacloud/imm/model/GetImageJobRequest.h
include/alibabacloud/imm/model/GetImageJobResult.h
include/alibabacloud/imm/model/DeleteTagByUrlRequest.h
include/alibabacloud/imm/model/DeleteTagByUrlResult.h
include/alibabacloud/imm/model/ListTagSetsRequest.h
@@ -187,10 +189,10 @@ set(imm_public_header_model
include/alibabacloud/imm/model/ListVideoFramesResult.h
include/alibabacloud/imm/model/GetPornBatchDetectJobRequest.h
include/alibabacloud/imm/model/GetPornBatchDetectJobResult.h
include/alibabacloud/imm/model/DetectClothesRequest.h
include/alibabacloud/imm/model/DetectClothesResult.h
include/alibabacloud/imm/model/ListTagJobsRequest.h
include/alibabacloud/imm/model/ListTagJobsResult.h
include/alibabacloud/imm/model/DetectClothesRequest.h
include/alibabacloud/imm/model/DetectClothesResult.h
include/alibabacloud/imm/model/DetectLogoRequest.h
include/alibabacloud/imm/model/DetectLogoResult.h
include/alibabacloud/imm/model/DescribeRegionsRequest.h
@@ -238,10 +240,10 @@ set(imm_src
src/model/ListFaceSearchGroupUsersResult.cc
src/model/ListFaceSearchGroupImagesRequest.cc
src/model/ListFaceSearchGroupImagesResult.cc
src/model/ListSetsRequest.cc
src/model/ListSetsResult.cc
src/model/PutProjectRequest.cc
src/model/PutProjectResult.cc
src/model/ListSetsRequest.cc
src/model/ListSetsResult.cc
src/model/FindImagesRequest.cc
src/model/FindImagesResult.cc
src/model/DetectImageLogosRequest.cc
@@ -260,10 +262,10 @@ set(imm_src
src/model/DetectImageCelebrityResult.cc
src/model/ListFaceSearchGroupsRequest.cc
src/model/ListFaceSearchGroupsResult.cc
src/model/DeletePornBatchDetectJobRequest.cc
src/model/DeletePornBatchDetectJobResult.cc
src/model/GetTagSetRequest.cc
src/model/GetTagSetResult.cc
src/model/DeletePornBatchDetectJobRequest.cc
src/model/DeletePornBatchDetectJobResult.cc
src/model/ListTagPhotosRequest.cc
src/model/ListTagPhotosResult.cc
src/model/DeleteFaceSearchImageByIdRequest.cc
@@ -284,16 +286,18 @@ set(imm_src
src/model/CompareImageFacesResult.cc
src/model/DeleteTagJobRequest.cc
src/model/DeleteTagJobResult.cc
src/model/CreateMediaComplexTaskRequest.cc
src/model/CreateMediaComplexTaskResult.cc
src/model/PhotoProcessRequest.cc
src/model/PhotoProcessResult.cc
src/model/DeleteFaceSearchUserRequest.cc
src/model/DeleteFaceSearchUserResult.cc
src/model/GetOfficeConversionTaskRequest.cc
src/model/GetOfficeConversionTaskResult.cc
src/model/CreateTagSetRequest.cc
src/model/CreateTagSetResult.cc
src/model/RegistFaceRequest.cc
src/model/RegistFaceResult.cc
src/model/CreateTagSetRequest.cc
src/model/CreateTagSetResult.cc
src/model/GetFaceSearchUserRequest.cc
src/model/GetFaceSearchUserResult.cc
src/model/CreateFaceSetRequest.cc
@@ -322,10 +326,10 @@ set(imm_src
src/model/DetectTagResult.cc
src/model/CreateCADConversionTaskRequest.cc
src/model/CreateCADConversionTaskResult.cc
src/model/DeleteFaceJobRequest.cc
src/model/DeleteFaceJobResult.cc
src/model/GetTagJobRequest.cc
src/model/GetTagJobResult.cc
src/model/DeleteFaceJobRequest.cc
src/model/DeleteFaceJobResult.cc
src/model/CreateDocIndexTaskRequest.cc
src/model/CreateDocIndexTaskResult.cc
src/model/GetVideoTaskRequest.cc
@@ -364,10 +368,10 @@ set(imm_src
src/model/DetectImageBodiesResult.cc
src/model/DeleteDocIndexRequest.cc
src/model/DeleteDocIndexResult.cc
src/model/GetImageJobRequest.cc
src/model/GetImageJobResult.cc
src/model/GetDocIndexTaskRequest.cc
src/model/GetDocIndexTaskResult.cc
src/model/GetImageJobRequest.cc
src/model/GetImageJobResult.cc
src/model/DeleteTagByUrlRequest.cc
src/model/DeleteTagByUrlResult.cc
src/model/ListTagSetsRequest.cc
@@ -386,10 +390,10 @@ set(imm_src
src/model/ListVideoFramesResult.cc
src/model/GetPornBatchDetectJobRequest.cc
src/model/GetPornBatchDetectJobResult.cc
src/model/DetectClothesRequest.cc
src/model/DetectClothesResult.cc
src/model/ListTagJobsRequest.cc
src/model/ListTagJobsResult.cc
src/model/DetectClothesRequest.cc
src/model/DetectClothesResult.cc
src/model/DetectLogoRequest.cc
src/model/DetectLogoResult.cc
src/model/DescribeRegionsRequest.cc

View File

@@ -40,10 +40,10 @@
#include "model/ListFaceSearchGroupUsersResult.h"
#include "model/ListFaceSearchGroupImagesRequest.h"
#include "model/ListFaceSearchGroupImagesResult.h"
#include "model/ListSetsRequest.h"
#include "model/ListSetsResult.h"
#include "model/PutProjectRequest.h"
#include "model/PutProjectResult.h"
#include "model/ListSetsRequest.h"
#include "model/ListSetsResult.h"
#include "model/FindImagesRequest.h"
#include "model/FindImagesResult.h"
#include "model/DetectImageLogosRequest.h"
@@ -62,10 +62,10 @@
#include "model/DetectImageCelebrityResult.h"
#include "model/ListFaceSearchGroupsRequest.h"
#include "model/ListFaceSearchGroupsResult.h"
#include "model/DeletePornBatchDetectJobRequest.h"
#include "model/DeletePornBatchDetectJobResult.h"
#include "model/GetTagSetRequest.h"
#include "model/GetTagSetResult.h"
#include "model/DeletePornBatchDetectJobRequest.h"
#include "model/DeletePornBatchDetectJobResult.h"
#include "model/ListTagPhotosRequest.h"
#include "model/ListTagPhotosResult.h"
#include "model/DeleteFaceSearchImageByIdRequest.h"
@@ -86,16 +86,18 @@
#include "model/CompareImageFacesResult.h"
#include "model/DeleteTagJobRequest.h"
#include "model/DeleteTagJobResult.h"
#include "model/CreateMediaComplexTaskRequest.h"
#include "model/CreateMediaComplexTaskResult.h"
#include "model/PhotoProcessRequest.h"
#include "model/PhotoProcessResult.h"
#include "model/DeleteFaceSearchUserRequest.h"
#include "model/DeleteFaceSearchUserResult.h"
#include "model/GetOfficeConversionTaskRequest.h"
#include "model/GetOfficeConversionTaskResult.h"
#include "model/CreateTagSetRequest.h"
#include "model/CreateTagSetResult.h"
#include "model/RegistFaceRequest.h"
#include "model/RegistFaceResult.h"
#include "model/CreateTagSetRequest.h"
#include "model/CreateTagSetResult.h"
#include "model/GetFaceSearchUserRequest.h"
#include "model/GetFaceSearchUserResult.h"
#include "model/CreateFaceSetRequest.h"
@@ -124,10 +126,10 @@
#include "model/DetectTagResult.h"
#include "model/CreateCADConversionTaskRequest.h"
#include "model/CreateCADConversionTaskResult.h"
#include "model/DeleteFaceJobRequest.h"
#include "model/DeleteFaceJobResult.h"
#include "model/GetTagJobRequest.h"
#include "model/GetTagJobResult.h"
#include "model/DeleteFaceJobRequest.h"
#include "model/DeleteFaceJobResult.h"
#include "model/CreateDocIndexTaskRequest.h"
#include "model/CreateDocIndexTaskResult.h"
#include "model/GetVideoTaskRequest.h"
@@ -166,10 +168,10 @@
#include "model/DetectImageBodiesResult.h"
#include "model/DeleteDocIndexRequest.h"
#include "model/DeleteDocIndexResult.h"
#include "model/GetImageJobRequest.h"
#include "model/GetImageJobResult.h"
#include "model/GetDocIndexTaskRequest.h"
#include "model/GetDocIndexTaskResult.h"
#include "model/GetImageJobRequest.h"
#include "model/GetImageJobResult.h"
#include "model/DeleteTagByUrlRequest.h"
#include "model/DeleteTagByUrlResult.h"
#include "model/ListTagSetsRequest.h"
@@ -188,10 +190,10 @@
#include "model/ListVideoFramesResult.h"
#include "model/GetPornBatchDetectJobRequest.h"
#include "model/GetPornBatchDetectJobResult.h"
#include "model/DetectClothesRequest.h"
#include "model/DetectClothesResult.h"
#include "model/ListTagJobsRequest.h"
#include "model/ListTagJobsResult.h"
#include "model/DetectClothesRequest.h"
#include "model/DetectClothesResult.h"
#include "model/DetectLogoRequest.h"
#include "model/DetectLogoResult.h"
#include "model/DescribeRegionsRequest.h"
@@ -254,12 +256,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListFaceSearchGroupImagesResult> ListFaceSearchGroupImagesOutcome;
typedef std::future<ListFaceSearchGroupImagesOutcome> ListFaceSearchGroupImagesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListFaceSearchGroupImagesRequest&, const ListFaceSearchGroupImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceSearchGroupImagesAsyncHandler;
typedef Outcome<Error, Model::ListSetsResult> ListSetsOutcome;
typedef std::future<ListSetsOutcome> ListSetsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListSetsRequest&, const ListSetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSetsAsyncHandler;
typedef Outcome<Error, Model::PutProjectResult> PutProjectOutcome;
typedef std::future<PutProjectOutcome> PutProjectOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::PutProjectRequest&, const PutProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutProjectAsyncHandler;
typedef Outcome<Error, Model::ListSetsResult> ListSetsOutcome;
typedef std::future<ListSetsOutcome> ListSetsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListSetsRequest&, const ListSetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSetsAsyncHandler;
typedef Outcome<Error, Model::FindImagesResult> FindImagesOutcome;
typedef std::future<FindImagesOutcome> FindImagesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::FindImagesRequest&, const FindImagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindImagesAsyncHandler;
@@ -287,12 +289,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListFaceSearchGroupsResult> ListFaceSearchGroupsOutcome;
typedef std::future<ListFaceSearchGroupsOutcome> ListFaceSearchGroupsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListFaceSearchGroupsRequest&, const ListFaceSearchGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFaceSearchGroupsAsyncHandler;
typedef Outcome<Error, Model::DeletePornBatchDetectJobResult> DeletePornBatchDetectJobOutcome;
typedef std::future<DeletePornBatchDetectJobOutcome> DeletePornBatchDetectJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeletePornBatchDetectJobRequest&, const DeletePornBatchDetectJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePornBatchDetectJobAsyncHandler;
typedef Outcome<Error, Model::GetTagSetResult> GetTagSetOutcome;
typedef std::future<GetTagSetOutcome> GetTagSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetTagSetRequest&, const GetTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagSetAsyncHandler;
typedef Outcome<Error, Model::DeletePornBatchDetectJobResult> DeletePornBatchDetectJobOutcome;
typedef std::future<DeletePornBatchDetectJobOutcome> DeletePornBatchDetectJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeletePornBatchDetectJobRequest&, const DeletePornBatchDetectJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePornBatchDetectJobAsyncHandler;
typedef Outcome<Error, Model::ListTagPhotosResult> ListTagPhotosOutcome;
typedef std::future<ListTagPhotosOutcome> ListTagPhotosOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListTagPhotosRequest&, const ListTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagPhotosAsyncHandler;
@@ -323,6 +325,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteTagJobResult> DeleteTagJobOutcome;
typedef std::future<DeleteTagJobOutcome> DeleteTagJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteTagJobRequest&, const DeleteTagJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagJobAsyncHandler;
typedef Outcome<Error, Model::CreateMediaComplexTaskResult> CreateMediaComplexTaskOutcome;
typedef std::future<CreateMediaComplexTaskOutcome> CreateMediaComplexTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateMediaComplexTaskRequest&, const CreateMediaComplexTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMediaComplexTaskAsyncHandler;
typedef Outcome<Error, Model::PhotoProcessResult> PhotoProcessOutcome;
typedef std::future<PhotoProcessOutcome> PhotoProcessOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::PhotoProcessRequest&, const PhotoProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PhotoProcessAsyncHandler;
@@ -332,12 +337,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetOfficeConversionTaskResult> GetOfficeConversionTaskOutcome;
typedef std::future<GetOfficeConversionTaskOutcome> GetOfficeConversionTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetOfficeConversionTaskRequest&, const GetOfficeConversionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetOfficeConversionTaskAsyncHandler;
typedef Outcome<Error, Model::CreateTagSetResult> CreateTagSetOutcome;
typedef std::future<CreateTagSetOutcome> CreateTagSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateTagSetRequest&, const CreateTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagSetAsyncHandler;
typedef Outcome<Error, Model::RegistFaceResult> RegistFaceOutcome;
typedef std::future<RegistFaceOutcome> RegistFaceOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::RegistFaceRequest&, const RegistFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegistFaceAsyncHandler;
typedef Outcome<Error, Model::CreateTagSetResult> CreateTagSetOutcome;
typedef std::future<CreateTagSetOutcome> CreateTagSetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateTagSetRequest&, const CreateTagSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTagSetAsyncHandler;
typedef Outcome<Error, Model::GetFaceSearchUserResult> GetFaceSearchUserOutcome;
typedef std::future<GetFaceSearchUserOutcome> GetFaceSearchUserOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetFaceSearchUserRequest&, const GetFaceSearchUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFaceSearchUserAsyncHandler;
@@ -380,12 +385,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateCADConversionTaskResult> CreateCADConversionTaskOutcome;
typedef std::future<CreateCADConversionTaskOutcome> CreateCADConversionTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateCADConversionTaskRequest&, const CreateCADConversionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCADConversionTaskAsyncHandler;
typedef Outcome<Error, Model::DeleteFaceJobResult> DeleteFaceJobOutcome;
typedef std::future<DeleteFaceJobOutcome> DeleteFaceJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteFaceJobRequest&, const DeleteFaceJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceJobAsyncHandler;
typedef Outcome<Error, Model::GetTagJobResult> GetTagJobOutcome;
typedef std::future<GetTagJobOutcome> GetTagJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetTagJobRequest&, const GetTagJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagJobAsyncHandler;
typedef Outcome<Error, Model::DeleteFaceJobResult> DeleteFaceJobOutcome;
typedef std::future<DeleteFaceJobOutcome> DeleteFaceJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteFaceJobRequest&, const DeleteFaceJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFaceJobAsyncHandler;
typedef Outcome<Error, Model::CreateDocIndexTaskResult> CreateDocIndexTaskOutcome;
typedef std::future<CreateDocIndexTaskOutcome> CreateDocIndexTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::CreateDocIndexTaskRequest&, const CreateDocIndexTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDocIndexTaskAsyncHandler;
@@ -443,12 +448,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteDocIndexResult> DeleteDocIndexOutcome;
typedef std::future<DeleteDocIndexOutcome> DeleteDocIndexOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteDocIndexRequest&, const DeleteDocIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDocIndexAsyncHandler;
typedef Outcome<Error, Model::GetImageJobResult> GetImageJobOutcome;
typedef std::future<GetImageJobOutcome> GetImageJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetImageJobRequest&, const GetImageJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageJobAsyncHandler;
typedef Outcome<Error, Model::GetDocIndexTaskResult> GetDocIndexTaskOutcome;
typedef std::future<GetDocIndexTaskOutcome> GetDocIndexTaskOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetDocIndexTaskRequest&, const GetDocIndexTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDocIndexTaskAsyncHandler;
typedef Outcome<Error, Model::GetImageJobResult> GetImageJobOutcome;
typedef std::future<GetImageJobOutcome> GetImageJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetImageJobRequest&, const GetImageJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetImageJobAsyncHandler;
typedef Outcome<Error, Model::DeleteTagByUrlResult> DeleteTagByUrlOutcome;
typedef std::future<DeleteTagByUrlOutcome> DeleteTagByUrlOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DeleteTagByUrlRequest&, const DeleteTagByUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTagByUrlAsyncHandler;
@@ -476,12 +481,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetPornBatchDetectJobResult> GetPornBatchDetectJobOutcome;
typedef std::future<GetPornBatchDetectJobOutcome> GetPornBatchDetectJobOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetPornBatchDetectJobRequest&, const GetPornBatchDetectJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPornBatchDetectJobAsyncHandler;
typedef Outcome<Error, Model::DetectClothesResult> DetectClothesOutcome;
typedef std::future<DetectClothesOutcome> DetectClothesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectClothesRequest&, const DetectClothesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectClothesAsyncHandler;
typedef Outcome<Error, Model::ListTagJobsResult> ListTagJobsOutcome;
typedef std::future<ListTagJobsOutcome> ListTagJobsOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ListTagJobsRequest&, const ListTagJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagJobsAsyncHandler;
typedef Outcome<Error, Model::DetectClothesResult> DetectClothesOutcome;
typedef std::future<DetectClothesOutcome> DetectClothesOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectClothesRequest&, const DetectClothesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectClothesAsyncHandler;
typedef Outcome<Error, Model::DetectLogoResult> DetectLogoOutcome;
typedef std::future<DetectLogoOutcome> DetectLogoOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::DetectLogoRequest&, const DetectLogoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectLogoAsyncHandler;
@@ -553,12 +558,12 @@ namespace AlibabaCloud
ListFaceSearchGroupImagesOutcome listFaceSearchGroupImages(const Model::ListFaceSearchGroupImagesRequest &request)const;
void listFaceSearchGroupImagesAsync(const Model::ListFaceSearchGroupImagesRequest& request, const ListFaceSearchGroupImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFaceSearchGroupImagesOutcomeCallable listFaceSearchGroupImagesCallable(const Model::ListFaceSearchGroupImagesRequest& request) const;
ListSetsOutcome listSets(const Model::ListSetsRequest &request)const;
void listSetsAsync(const Model::ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSetsOutcomeCallable listSetsCallable(const Model::ListSetsRequest& request) const;
PutProjectOutcome putProject(const Model::PutProjectRequest &request)const;
void putProjectAsync(const Model::PutProjectRequest& request, const PutProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PutProjectOutcomeCallable putProjectCallable(const Model::PutProjectRequest& request) const;
ListSetsOutcome listSets(const Model::ListSetsRequest &request)const;
void listSetsAsync(const Model::ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSetsOutcomeCallable listSetsCallable(const Model::ListSetsRequest& request) const;
FindImagesOutcome findImages(const Model::FindImagesRequest &request)const;
void findImagesAsync(const Model::FindImagesRequest& request, const FindImagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FindImagesOutcomeCallable findImagesCallable(const Model::FindImagesRequest& request) const;
@@ -586,12 +591,12 @@ namespace AlibabaCloud
ListFaceSearchGroupsOutcome listFaceSearchGroups(const Model::ListFaceSearchGroupsRequest &request)const;
void listFaceSearchGroupsAsync(const Model::ListFaceSearchGroupsRequest& request, const ListFaceSearchGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFaceSearchGroupsOutcomeCallable listFaceSearchGroupsCallable(const Model::ListFaceSearchGroupsRequest& request) const;
DeletePornBatchDetectJobOutcome deletePornBatchDetectJob(const Model::DeletePornBatchDetectJobRequest &request)const;
void deletePornBatchDetectJobAsync(const Model::DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePornBatchDetectJobOutcomeCallable deletePornBatchDetectJobCallable(const Model::DeletePornBatchDetectJobRequest& request) const;
GetTagSetOutcome getTagSet(const Model::GetTagSetRequest &request)const;
void getTagSetAsync(const Model::GetTagSetRequest& request, const GetTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTagSetOutcomeCallable getTagSetCallable(const Model::GetTagSetRequest& request) const;
DeletePornBatchDetectJobOutcome deletePornBatchDetectJob(const Model::DeletePornBatchDetectJobRequest &request)const;
void deletePornBatchDetectJobAsync(const Model::DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeletePornBatchDetectJobOutcomeCallable deletePornBatchDetectJobCallable(const Model::DeletePornBatchDetectJobRequest& request) const;
ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const;
void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const;
@@ -622,6 +627,9 @@ namespace AlibabaCloud
DeleteTagJobOutcome deleteTagJob(const Model::DeleteTagJobRequest &request)const;
void deleteTagJobAsync(const Model::DeleteTagJobRequest& request, const DeleteTagJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagJobOutcomeCallable deleteTagJobCallable(const Model::DeleteTagJobRequest& request) const;
CreateMediaComplexTaskOutcome createMediaComplexTask(const Model::CreateMediaComplexTaskRequest &request)const;
void createMediaComplexTaskAsync(const Model::CreateMediaComplexTaskRequest& request, const CreateMediaComplexTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMediaComplexTaskOutcomeCallable createMediaComplexTaskCallable(const Model::CreateMediaComplexTaskRequest& request) const;
PhotoProcessOutcome photoProcess(const Model::PhotoProcessRequest &request)const;
void photoProcessAsync(const Model::PhotoProcessRequest& request, const PhotoProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PhotoProcessOutcomeCallable photoProcessCallable(const Model::PhotoProcessRequest& request) const;
@@ -631,12 +639,12 @@ namespace AlibabaCloud
GetOfficeConversionTaskOutcome getOfficeConversionTask(const Model::GetOfficeConversionTaskRequest &request)const;
void getOfficeConversionTaskAsync(const Model::GetOfficeConversionTaskRequest& request, const GetOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetOfficeConversionTaskOutcomeCallable getOfficeConversionTaskCallable(const Model::GetOfficeConversionTaskRequest& request) const;
CreateTagSetOutcome createTagSet(const Model::CreateTagSetRequest &request)const;
void createTagSetAsync(const Model::CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagSetOutcomeCallable createTagSetCallable(const Model::CreateTagSetRequest& request) const;
RegistFaceOutcome registFace(const Model::RegistFaceRequest &request)const;
void registFaceAsync(const Model::RegistFaceRequest& request, const RegistFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RegistFaceOutcomeCallable registFaceCallable(const Model::RegistFaceRequest& request) const;
CreateTagSetOutcome createTagSet(const Model::CreateTagSetRequest &request)const;
void createTagSetAsync(const Model::CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTagSetOutcomeCallable createTagSetCallable(const Model::CreateTagSetRequest& request) const;
GetFaceSearchUserOutcome getFaceSearchUser(const Model::GetFaceSearchUserRequest &request)const;
void getFaceSearchUserAsync(const Model::GetFaceSearchUserRequest& request, const GetFaceSearchUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFaceSearchUserOutcomeCallable getFaceSearchUserCallable(const Model::GetFaceSearchUserRequest& request) const;
@@ -679,12 +687,12 @@ namespace AlibabaCloud
CreateCADConversionTaskOutcome createCADConversionTask(const Model::CreateCADConversionTaskRequest &request)const;
void createCADConversionTaskAsync(const Model::CreateCADConversionTaskRequest& request, const CreateCADConversionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCADConversionTaskOutcomeCallable createCADConversionTaskCallable(const Model::CreateCADConversionTaskRequest& request) const;
DeleteFaceJobOutcome deleteFaceJob(const Model::DeleteFaceJobRequest &request)const;
void deleteFaceJobAsync(const Model::DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceJobOutcomeCallable deleteFaceJobCallable(const Model::DeleteFaceJobRequest& request) const;
GetTagJobOutcome getTagJob(const Model::GetTagJobRequest &request)const;
void getTagJobAsync(const Model::GetTagJobRequest& request, const GetTagJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTagJobOutcomeCallable getTagJobCallable(const Model::GetTagJobRequest& request) const;
DeleteFaceJobOutcome deleteFaceJob(const Model::DeleteFaceJobRequest &request)const;
void deleteFaceJobAsync(const Model::DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFaceJobOutcomeCallable deleteFaceJobCallable(const Model::DeleteFaceJobRequest& request) const;
CreateDocIndexTaskOutcome createDocIndexTask(const Model::CreateDocIndexTaskRequest &request)const;
void createDocIndexTaskAsync(const Model::CreateDocIndexTaskRequest& request, const CreateDocIndexTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDocIndexTaskOutcomeCallable createDocIndexTaskCallable(const Model::CreateDocIndexTaskRequest& request) const;
@@ -742,12 +750,12 @@ namespace AlibabaCloud
DeleteDocIndexOutcome deleteDocIndex(const Model::DeleteDocIndexRequest &request)const;
void deleteDocIndexAsync(const Model::DeleteDocIndexRequest& request, const DeleteDocIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDocIndexOutcomeCallable deleteDocIndexCallable(const Model::DeleteDocIndexRequest& request) const;
GetImageJobOutcome getImageJob(const Model::GetImageJobRequest &request)const;
void getImageJobAsync(const Model::GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageJobOutcomeCallable getImageJobCallable(const Model::GetImageJobRequest& request) const;
GetDocIndexTaskOutcome getDocIndexTask(const Model::GetDocIndexTaskRequest &request)const;
void getDocIndexTaskAsync(const Model::GetDocIndexTaskRequest& request, const GetDocIndexTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDocIndexTaskOutcomeCallable getDocIndexTaskCallable(const Model::GetDocIndexTaskRequest& request) const;
GetImageJobOutcome getImageJob(const Model::GetImageJobRequest &request)const;
void getImageJobAsync(const Model::GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetImageJobOutcomeCallable getImageJobCallable(const Model::GetImageJobRequest& request) const;
DeleteTagByUrlOutcome deleteTagByUrl(const Model::DeleteTagByUrlRequest &request)const;
void deleteTagByUrlAsync(const Model::DeleteTagByUrlRequest& request, const DeleteTagByUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTagByUrlOutcomeCallable deleteTagByUrlCallable(const Model::DeleteTagByUrlRequest& request) const;
@@ -775,12 +783,12 @@ namespace AlibabaCloud
GetPornBatchDetectJobOutcome getPornBatchDetectJob(const Model::GetPornBatchDetectJobRequest &request)const;
void getPornBatchDetectJobAsync(const Model::GetPornBatchDetectJobRequest& request, const GetPornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPornBatchDetectJobOutcomeCallable getPornBatchDetectJobCallable(const Model::GetPornBatchDetectJobRequest& request) const;
DetectClothesOutcome detectClothes(const Model::DetectClothesRequest &request)const;
void detectClothesAsync(const Model::DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectClothesOutcomeCallable detectClothesCallable(const Model::DetectClothesRequest& request) const;
ListTagJobsOutcome listTagJobs(const Model::ListTagJobsRequest &request)const;
void listTagJobsAsync(const Model::ListTagJobsRequest& request, const ListTagJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagJobsOutcomeCallable listTagJobsCallable(const Model::ListTagJobsRequest& request) const;
DetectClothesOutcome detectClothes(const Model::DetectClothesRequest &request)const;
void detectClothesAsync(const Model::DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectClothesOutcomeCallable detectClothesCallable(const Model::DetectClothesRequest& request) const;
DetectLogoOutcome detectLogo(const Model::DetectLogoRequest &request)const;
void detectLogoAsync(const Model::DetectLogoRequest& request, const DetectLogoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DetectLogoOutcomeCallable detectLogoCallable(const Model::DetectLogoRequest& request) const;

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_IMM_MODEL_CREATEMEDIACOMPLEXTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEMEDIACOMPLEXTASKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateMediaComplexTaskRequest : public RpcServiceRequest
{
public:
CreateMediaComplexTaskRequest();
~CreateMediaComplexTaskRequest();
std::string getNotifyTopicName()const;
void setNotifyTopicName(const std::string& notifyTopicName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNotifyEndpoint()const;
void setNotifyEndpoint(const std::string& notifyEndpoint);
std::string getProject()const;
void setProject(const std::string& project);
std::string getParameters()const;
void setParameters(const std::string& parameters);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string notifyTopicName_;
std::string regionId_;
std::string notifyEndpoint_;
std::string project_;
std::string parameters_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEMEDIACOMPLEXTASKREQUEST_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_IMM_MODEL_CREATEMEDIACOMPLEXTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEMEDIACOMPLEXTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateMediaComplexTaskResult : public ServiceResult
{
public:
CreateMediaComplexTaskResult();
explicit CreateMediaComplexTaskResult(const std::string &payload);
~CreateMediaComplexTaskResult();
std::string getTaskId()const;
std::string getTaskType()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string taskType_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEMEDIACOMPLEXTASKRESULT_H_

View File

@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setProject(const std::string& project);
std::string getExternalId()const;
void setExternalId(const std::string& externalId);
std::string getFacesModifyTimeRange()const;
void setFacesModifyTimeRange(const std::string& facesModifyTimeRange);
std::string getImageSizeRange()const;
void setImageSizeRange(const std::string& imageSizeRange);
std::string getRemarksBPrefix()const;
@@ -59,6 +61,8 @@ namespace AlibabaCloud
void setLimit(int limit);
std::string getRemarksDPrefix()const;
void setRemarksDPrefix(const std::string& remarksDPrefix);
std::string getTagsModifyTimeRange()const;
void setTagsModifyTimeRange(const std::string& tagsModifyTimeRange);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
std::string getAgeRange()const;
@@ -92,6 +96,7 @@ namespace AlibabaCloud
std::string gender_;
std::string project_;
std::string externalId_;
std::string facesModifyTimeRange_;
std::string imageSizeRange_;
std::string remarksBPrefix_;
std::string accessKeyId_;
@@ -101,6 +106,7 @@ namespace AlibabaCloud
std::string oCRContentsMatch_;
int limit_;
std::string remarksDPrefix_;
std::string tagsModifyTimeRange_;
std::string sourceType_;
std::string ageRange_;
std::string order_;

View File

@@ -375,42 +375,6 @@ ImmClient::ListFaceSearchGroupImagesOutcomeCallable ImmClient::listFaceSearchGro
return task->get_future();
}
ImmClient::ListSetsOutcome ImmClient::listSets(const ListSetsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSetsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListSetsOutcome(ListSetsResult(outcome.result()));
else
return ListSetsOutcome(outcome.error());
}
void ImmClient::listSetsAsync(const ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listSets(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::ListSetsOutcomeCallable ImmClient::listSetsCallable(const ListSetsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListSetsOutcome()>>(
[this, request]()
{
return this->listSets(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::PutProjectOutcome ImmClient::putProject(const PutProjectRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -447,6 +411,42 @@ ImmClient::PutProjectOutcomeCallable ImmClient::putProjectCallable(const PutProj
return task->get_future();
}
ImmClient::ListSetsOutcome ImmClient::listSets(const ListSetsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListSetsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListSetsOutcome(ListSetsResult(outcome.result()));
else
return ListSetsOutcome(outcome.error());
}
void ImmClient::listSetsAsync(const ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listSets(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::ListSetsOutcomeCallable ImmClient::listSetsCallable(const ListSetsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListSetsOutcome()>>(
[this, request]()
{
return this->listSets(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::FindImagesOutcome ImmClient::findImages(const FindImagesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -771,42 +771,6 @@ ImmClient::ListFaceSearchGroupsOutcomeCallable ImmClient::listFaceSearchGroupsCa
return task->get_future();
}
ImmClient::DeletePornBatchDetectJobOutcome ImmClient::deletePornBatchDetectJob(const DeletePornBatchDetectJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeletePornBatchDetectJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeletePornBatchDetectJobOutcome(DeletePornBatchDetectJobResult(outcome.result()));
else
return DeletePornBatchDetectJobOutcome(outcome.error());
}
void ImmClient::deletePornBatchDetectJobAsync(const DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deletePornBatchDetectJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::DeletePornBatchDetectJobOutcomeCallable ImmClient::deletePornBatchDetectJobCallable(const DeletePornBatchDetectJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeletePornBatchDetectJobOutcome()>>(
[this, request]()
{
return this->deletePornBatchDetectJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::GetTagSetOutcome ImmClient::getTagSet(const GetTagSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -843,6 +807,42 @@ ImmClient::GetTagSetOutcomeCallable ImmClient::getTagSetCallable(const GetTagSet
return task->get_future();
}
ImmClient::DeletePornBatchDetectJobOutcome ImmClient::deletePornBatchDetectJob(const DeletePornBatchDetectJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeletePornBatchDetectJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeletePornBatchDetectJobOutcome(DeletePornBatchDetectJobResult(outcome.result()));
else
return DeletePornBatchDetectJobOutcome(outcome.error());
}
void ImmClient::deletePornBatchDetectJobAsync(const DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deletePornBatchDetectJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::DeletePornBatchDetectJobOutcomeCallable ImmClient::deletePornBatchDetectJobCallable(const DeletePornBatchDetectJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeletePornBatchDetectJobOutcome()>>(
[this, request]()
{
return this->deletePornBatchDetectJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::ListTagPhotosOutcome ImmClient::listTagPhotos(const ListTagPhotosRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1203,6 +1203,42 @@ ImmClient::DeleteTagJobOutcomeCallable ImmClient::deleteTagJobCallable(const Del
return task->get_future();
}
ImmClient::CreateMediaComplexTaskOutcome ImmClient::createMediaComplexTask(const CreateMediaComplexTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateMediaComplexTaskOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateMediaComplexTaskOutcome(CreateMediaComplexTaskResult(outcome.result()));
else
return CreateMediaComplexTaskOutcome(outcome.error());
}
void ImmClient::createMediaComplexTaskAsync(const CreateMediaComplexTaskRequest& request, const CreateMediaComplexTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createMediaComplexTask(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::CreateMediaComplexTaskOutcomeCallable ImmClient::createMediaComplexTaskCallable(const CreateMediaComplexTaskRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateMediaComplexTaskOutcome()>>(
[this, request]()
{
return this->createMediaComplexTask(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::PhotoProcessOutcome ImmClient::photoProcess(const PhotoProcessRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1311,42 +1347,6 @@ ImmClient::GetOfficeConversionTaskOutcomeCallable ImmClient::getOfficeConversion
return task->get_future();
}
ImmClient::CreateTagSetOutcome ImmClient::createTagSet(const CreateTagSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateTagSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateTagSetOutcome(CreateTagSetResult(outcome.result()));
else
return CreateTagSetOutcome(outcome.error());
}
void ImmClient::createTagSetAsync(const CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createTagSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::CreateTagSetOutcomeCallable ImmClient::createTagSetCallable(const CreateTagSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateTagSetOutcome()>>(
[this, request]()
{
return this->createTagSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::RegistFaceOutcome ImmClient::registFace(const RegistFaceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1383,6 +1383,42 @@ ImmClient::RegistFaceOutcomeCallable ImmClient::registFaceCallable(const RegistF
return task->get_future();
}
ImmClient::CreateTagSetOutcome ImmClient::createTagSet(const CreateTagSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateTagSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateTagSetOutcome(CreateTagSetResult(outcome.result()));
else
return CreateTagSetOutcome(outcome.error());
}
void ImmClient::createTagSetAsync(const CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createTagSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::CreateTagSetOutcomeCallable ImmClient::createTagSetCallable(const CreateTagSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateTagSetOutcome()>>(
[this, request]()
{
return this->createTagSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::GetFaceSearchUserOutcome ImmClient::getFaceSearchUser(const GetFaceSearchUserRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1887,42 +1923,6 @@ ImmClient::CreateCADConversionTaskOutcomeCallable ImmClient::createCADConversion
return task->get_future();
}
ImmClient::DeleteFaceJobOutcome ImmClient::deleteFaceJob(const DeleteFaceJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteFaceJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteFaceJobOutcome(DeleteFaceJobResult(outcome.result()));
else
return DeleteFaceJobOutcome(outcome.error());
}
void ImmClient::deleteFaceJobAsync(const DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteFaceJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::DeleteFaceJobOutcomeCallable ImmClient::deleteFaceJobCallable(const DeleteFaceJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteFaceJobOutcome()>>(
[this, request]()
{
return this->deleteFaceJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::GetTagJobOutcome ImmClient::getTagJob(const GetTagJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1959,6 +1959,42 @@ ImmClient::GetTagJobOutcomeCallable ImmClient::getTagJobCallable(const GetTagJob
return task->get_future();
}
ImmClient::DeleteFaceJobOutcome ImmClient::deleteFaceJob(const DeleteFaceJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteFaceJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteFaceJobOutcome(DeleteFaceJobResult(outcome.result()));
else
return DeleteFaceJobOutcome(outcome.error());
}
void ImmClient::deleteFaceJobAsync(const DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteFaceJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::DeleteFaceJobOutcomeCallable ImmClient::deleteFaceJobCallable(const DeleteFaceJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteFaceJobOutcome()>>(
[this, request]()
{
return this->deleteFaceJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::CreateDocIndexTaskOutcome ImmClient::createDocIndexTask(const CreateDocIndexTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2643,42 +2679,6 @@ ImmClient::DeleteDocIndexOutcomeCallable ImmClient::deleteDocIndexCallable(const
return task->get_future();
}
ImmClient::GetImageJobOutcome ImmClient::getImageJob(const GetImageJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetImageJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetImageJobOutcome(GetImageJobResult(outcome.result()));
else
return GetImageJobOutcome(outcome.error());
}
void ImmClient::getImageJobAsync(const GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getImageJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::GetImageJobOutcomeCallable ImmClient::getImageJobCallable(const GetImageJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetImageJobOutcome()>>(
[this, request]()
{
return this->getImageJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::GetDocIndexTaskOutcome ImmClient::getDocIndexTask(const GetDocIndexTaskRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2715,6 +2715,42 @@ ImmClient::GetDocIndexTaskOutcomeCallable ImmClient::getDocIndexTaskCallable(con
return task->get_future();
}
ImmClient::GetImageJobOutcome ImmClient::getImageJob(const GetImageJobRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetImageJobOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetImageJobOutcome(GetImageJobResult(outcome.result()));
else
return GetImageJobOutcome(outcome.error());
}
void ImmClient::getImageJobAsync(const GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getImageJob(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::GetImageJobOutcomeCallable ImmClient::getImageJobCallable(const GetImageJobRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetImageJobOutcome()>>(
[this, request]()
{
return this->getImageJob(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::DeleteTagByUrlOutcome ImmClient::deleteTagByUrl(const DeleteTagByUrlRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3039,42 +3075,6 @@ ImmClient::GetPornBatchDetectJobOutcomeCallable ImmClient::getPornBatchDetectJob
return task->get_future();
}
ImmClient::DetectClothesOutcome ImmClient::detectClothes(const DetectClothesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DetectClothesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DetectClothesOutcome(DetectClothesResult(outcome.result()));
else
return DetectClothesOutcome(outcome.error());
}
void ImmClient::detectClothesAsync(const DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, detectClothes(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::DetectClothesOutcomeCallable ImmClient::detectClothesCallable(const DetectClothesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DetectClothesOutcome()>>(
[this, request]()
{
return this->detectClothes(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::ListTagJobsOutcome ImmClient::listTagJobs(const ListTagJobsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3111,6 +3111,42 @@ ImmClient::ListTagJobsOutcomeCallable ImmClient::listTagJobsCallable(const ListT
return task->get_future();
}
ImmClient::DetectClothesOutcome ImmClient::detectClothes(const DetectClothesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DetectClothesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DetectClothesOutcome(DetectClothesResult(outcome.result()));
else
return DetectClothesOutcome(outcome.error());
}
void ImmClient::detectClothesAsync(const DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, detectClothes(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::DetectClothesOutcomeCallable ImmClient::detectClothesCallable(const DetectClothesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DetectClothesOutcome()>>(
[this, request]()
{
return this->detectClothes(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::DetectLogoOutcome ImmClient::detectLogo(const DetectLogoRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

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.
*/
#include <alibabacloud/imm/model/CreateMediaComplexTaskRequest.h>
using AlibabaCloud::Imm::Model::CreateMediaComplexTaskRequest;
CreateMediaComplexTaskRequest::CreateMediaComplexTaskRequest() :
RpcServiceRequest("imm", "2017-09-06", "CreateMediaComplexTask")
{}
CreateMediaComplexTaskRequest::~CreateMediaComplexTaskRequest()
{}
std::string CreateMediaComplexTaskRequest::getNotifyTopicName()const
{
return notifyTopicName_;
}
void CreateMediaComplexTaskRequest::setNotifyTopicName(const std::string& notifyTopicName)
{
notifyTopicName_ = notifyTopicName;
setCoreParameter("NotifyTopicName", notifyTopicName);
}
std::string CreateMediaComplexTaskRequest::getRegionId()const
{
return regionId_;
}
void CreateMediaComplexTaskRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string CreateMediaComplexTaskRequest::getNotifyEndpoint()const
{
return notifyEndpoint_;
}
void CreateMediaComplexTaskRequest::setNotifyEndpoint(const std::string& notifyEndpoint)
{
notifyEndpoint_ = notifyEndpoint;
setCoreParameter("NotifyEndpoint", notifyEndpoint);
}
std::string CreateMediaComplexTaskRequest::getProject()const
{
return project_;
}
void CreateMediaComplexTaskRequest::setProject(const std::string& project)
{
project_ = project;
setCoreParameter("Project", project);
}
std::string CreateMediaComplexTaskRequest::getParameters()const
{
return parameters_;
}
void CreateMediaComplexTaskRequest::setParameters(const std::string& parameters)
{
parameters_ = parameters;
setCoreParameter("Parameters", parameters);
}
std::string CreateMediaComplexTaskRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateMediaComplexTaskRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,62 @@
/*
* 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/imm/model/CreateMediaComplexTaskResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
CreateMediaComplexTaskResult::CreateMediaComplexTaskResult() :
ServiceResult()
{}
CreateMediaComplexTaskResult::CreateMediaComplexTaskResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMediaComplexTaskResult::~CreateMediaComplexTaskResult()
{}
void CreateMediaComplexTaskResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TaskType"].isNull())
taskType_ = value["TaskType"].asString();
}
std::string CreateMediaComplexTaskResult::getTaskId()const
{
return taskId_;
}
std::string CreateMediaComplexTaskResult::getTaskType()const
{
return taskType_;
}

View File

@@ -58,6 +58,17 @@ void FindImagesRequest::setExternalId(const std::string& externalId)
setCoreParameter("ExternalId", externalId);
}
std::string FindImagesRequest::getFacesModifyTimeRange()const
{
return facesModifyTimeRange_;
}
void FindImagesRequest::setFacesModifyTimeRange(const std::string& facesModifyTimeRange)
{
facesModifyTimeRange_ = facesModifyTimeRange;
setCoreParameter("FacesModifyTimeRange", facesModifyTimeRange);
}
std::string FindImagesRequest::getImageSizeRange()const
{
return imageSizeRange_;
@@ -157,6 +168,17 @@ void FindImagesRequest::setRemarksDPrefix(const std::string& remarksDPrefix)
setCoreParameter("RemarksDPrefix", remarksDPrefix);
}
std::string FindImagesRequest::getTagsModifyTimeRange()const
{
return tagsModifyTimeRange_;
}
void FindImagesRequest::setTagsModifyTimeRange(const std::string& tagsModifyTimeRange)
{
tagsModifyTimeRange_ = tagsModifyTimeRange;
setCoreParameter("TagsModifyTimeRange", tagsModifyTimeRange);
}
std::string FindImagesRequest::getSourceType()const
{
return sourceType_;

View File

@@ -0,0 +1,254 @@
/*
* 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_ROS_ROSCLIENT_H_
#define ALIBABACLOUD_ROS_ROSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ROSExport.h"
#include "model/ListStacksRequest.h"
#include "model/ListStacksResult.h"
#include "model/GetChangeSetRequest.h"
#include "model/GetChangeSetResult.h"
#include "model/ValidateTemplateRequest.h"
#include "model/ValidateTemplateResult.h"
#include "model/UpdateStackRequest.h"
#include "model/UpdateStackResult.h"
#include "model/GetStackResourceRequest.h"
#include "model/GetStackResourceResult.h"
#include "model/ListResourceTypesRequest.h"
#include "model/ListResourceTypesResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/GetResourceTypeTemplateRequest.h"
#include "model/GetResourceTypeTemplateResult.h"
#include "model/CreateStackRequest.h"
#include "model/CreateStackResult.h"
#include "model/DeleteStackRequest.h"
#include "model/DeleteStackResult.h"
#include "model/GetTemplateEstimateCostRequest.h"
#include "model/GetTemplateEstimateCostResult.h"
#include "model/ContinueCreateStackRequest.h"
#include "model/ContinueCreateStackResult.h"
#include "model/GetResourceTypeRequest.h"
#include "model/GetResourceTypeResult.h"
#include "model/DeleteChangeSetRequest.h"
#include "model/DeleteChangeSetResult.h"
#include "model/PreviewStackRequest.h"
#include "model/PreviewStackResult.h"
#include "model/SignalResourceRequest.h"
#include "model/SignalResourceResult.h"
#include "model/ExecuteChangeSetRequest.h"
#include "model/ExecuteChangeSetResult.h"
#include "model/SetStackPolicyRequest.h"
#include "model/SetStackPolicyResult.h"
#include "model/CreateChangeSetRequest.h"
#include "model/CreateChangeSetResult.h"
#include "model/GetTemplateRequest.h"
#include "model/GetTemplateResult.h"
#include "model/ListStackEventsRequest.h"
#include "model/ListStackEventsResult.h"
#include "model/GetStackRequest.h"
#include "model/GetStackResult.h"
#include "model/GetStackPolicyRequest.h"
#include "model/GetStackPolicyResult.h"
#include "model/CancelUpdateStackRequest.h"
#include "model/CancelUpdateStackResult.h"
#include "model/ListStackResourcesRequest.h"
#include "model/ListStackResourcesResult.h"
#include "model/ListChangeSetsRequest.h"
#include "model/ListChangeSetsResult.h"
namespace AlibabaCloud
{
namespace ROS
{
class ALIBABACLOUD_ROS_EXPORT ROSClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ListStacksResult> ListStacksOutcome;
typedef std::future<ListStacksOutcome> ListStacksOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ListStacksRequest&, const ListStacksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStacksAsyncHandler;
typedef Outcome<Error, Model::GetChangeSetResult> GetChangeSetOutcome;
typedef std::future<GetChangeSetOutcome> GetChangeSetOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetChangeSetRequest&, const GetChangeSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetChangeSetAsyncHandler;
typedef Outcome<Error, Model::ValidateTemplateResult> ValidateTemplateOutcome;
typedef std::future<ValidateTemplateOutcome> ValidateTemplateOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ValidateTemplateRequest&, const ValidateTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ValidateTemplateAsyncHandler;
typedef Outcome<Error, Model::UpdateStackResult> UpdateStackOutcome;
typedef std::future<UpdateStackOutcome> UpdateStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::UpdateStackRequest&, const UpdateStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateStackAsyncHandler;
typedef Outcome<Error, Model::GetStackResourceResult> GetStackResourceOutcome;
typedef std::future<GetStackResourceOutcome> GetStackResourceOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetStackResourceRequest&, const GetStackResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStackResourceAsyncHandler;
typedef Outcome<Error, Model::ListResourceTypesResult> ListResourceTypesOutcome;
typedef std::future<ListResourceTypesOutcome> ListResourceTypesOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ListResourceTypesRequest&, const ListResourceTypesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceTypesAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::GetResourceTypeTemplateResult> GetResourceTypeTemplateOutcome;
typedef std::future<GetResourceTypeTemplateOutcome> GetResourceTypeTemplateOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetResourceTypeTemplateRequest&, const GetResourceTypeTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceTypeTemplateAsyncHandler;
typedef Outcome<Error, Model::CreateStackResult> CreateStackOutcome;
typedef std::future<CreateStackOutcome> CreateStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::CreateStackRequest&, const CreateStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateStackAsyncHandler;
typedef Outcome<Error, Model::DeleteStackResult> DeleteStackOutcome;
typedef std::future<DeleteStackOutcome> DeleteStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::DeleteStackRequest&, const DeleteStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStackAsyncHandler;
typedef Outcome<Error, Model::GetTemplateEstimateCostResult> GetTemplateEstimateCostOutcome;
typedef std::future<GetTemplateEstimateCostOutcome> GetTemplateEstimateCostOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetTemplateEstimateCostRequest&, const GetTemplateEstimateCostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTemplateEstimateCostAsyncHandler;
typedef Outcome<Error, Model::ContinueCreateStackResult> ContinueCreateStackOutcome;
typedef std::future<ContinueCreateStackOutcome> ContinueCreateStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ContinueCreateStackRequest&, const ContinueCreateStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ContinueCreateStackAsyncHandler;
typedef Outcome<Error, Model::GetResourceTypeResult> GetResourceTypeOutcome;
typedef std::future<GetResourceTypeOutcome> GetResourceTypeOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetResourceTypeRequest&, const GetResourceTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetResourceTypeAsyncHandler;
typedef Outcome<Error, Model::DeleteChangeSetResult> DeleteChangeSetOutcome;
typedef std::future<DeleteChangeSetOutcome> DeleteChangeSetOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::DeleteChangeSetRequest&, const DeleteChangeSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteChangeSetAsyncHandler;
typedef Outcome<Error, Model::PreviewStackResult> PreviewStackOutcome;
typedef std::future<PreviewStackOutcome> PreviewStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::PreviewStackRequest&, const PreviewStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreviewStackAsyncHandler;
typedef Outcome<Error, Model::SignalResourceResult> SignalResourceOutcome;
typedef std::future<SignalResourceOutcome> SignalResourceOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::SignalResourceRequest&, const SignalResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SignalResourceAsyncHandler;
typedef Outcome<Error, Model::ExecuteChangeSetResult> ExecuteChangeSetOutcome;
typedef std::future<ExecuteChangeSetOutcome> ExecuteChangeSetOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ExecuteChangeSetRequest&, const ExecuteChangeSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExecuteChangeSetAsyncHandler;
typedef Outcome<Error, Model::SetStackPolicyResult> SetStackPolicyOutcome;
typedef std::future<SetStackPolicyOutcome> SetStackPolicyOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::SetStackPolicyRequest&, const SetStackPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetStackPolicyAsyncHandler;
typedef Outcome<Error, Model::CreateChangeSetResult> CreateChangeSetOutcome;
typedef std::future<CreateChangeSetOutcome> CreateChangeSetOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::CreateChangeSetRequest&, const CreateChangeSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateChangeSetAsyncHandler;
typedef Outcome<Error, Model::GetTemplateResult> GetTemplateOutcome;
typedef std::future<GetTemplateOutcome> GetTemplateOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetTemplateRequest&, const GetTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTemplateAsyncHandler;
typedef Outcome<Error, Model::ListStackEventsResult> ListStackEventsOutcome;
typedef std::future<ListStackEventsOutcome> ListStackEventsOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ListStackEventsRequest&, const ListStackEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStackEventsAsyncHandler;
typedef Outcome<Error, Model::GetStackResult> GetStackOutcome;
typedef std::future<GetStackOutcome> GetStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetStackRequest&, const GetStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStackAsyncHandler;
typedef Outcome<Error, Model::GetStackPolicyResult> GetStackPolicyOutcome;
typedef std::future<GetStackPolicyOutcome> GetStackPolicyOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::GetStackPolicyRequest&, const GetStackPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStackPolicyAsyncHandler;
typedef Outcome<Error, Model::CancelUpdateStackResult> CancelUpdateStackOutcome;
typedef std::future<CancelUpdateStackOutcome> CancelUpdateStackOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::CancelUpdateStackRequest&, const CancelUpdateStackOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelUpdateStackAsyncHandler;
typedef Outcome<Error, Model::ListStackResourcesResult> ListStackResourcesOutcome;
typedef std::future<ListStackResourcesOutcome> ListStackResourcesOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ListStackResourcesRequest&, const ListStackResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListStackResourcesAsyncHandler;
typedef Outcome<Error, Model::ListChangeSetsResult> ListChangeSetsOutcome;
typedef std::future<ListChangeSetsOutcome> ListChangeSetsOutcomeCallable;
typedef std::function<void(const ROSClient*, const Model::ListChangeSetsRequest&, const ListChangeSetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListChangeSetsAsyncHandler;
ROSClient(const Credentials &credentials, const ClientConfiguration &configuration);
ROSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ROSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ROSClient();
ListStacksOutcome listStacks(const Model::ListStacksRequest &request)const;
void listStacksAsync(const Model::ListStacksRequest& request, const ListStacksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListStacksOutcomeCallable listStacksCallable(const Model::ListStacksRequest& request) const;
GetChangeSetOutcome getChangeSet(const Model::GetChangeSetRequest &request)const;
void getChangeSetAsync(const Model::GetChangeSetRequest& request, const GetChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetChangeSetOutcomeCallable getChangeSetCallable(const Model::GetChangeSetRequest& request) const;
ValidateTemplateOutcome validateTemplate(const Model::ValidateTemplateRequest &request)const;
void validateTemplateAsync(const Model::ValidateTemplateRequest& request, const ValidateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ValidateTemplateOutcomeCallable validateTemplateCallable(const Model::ValidateTemplateRequest& request) const;
UpdateStackOutcome updateStack(const Model::UpdateStackRequest &request)const;
void updateStackAsync(const Model::UpdateStackRequest& request, const UpdateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateStackOutcomeCallable updateStackCallable(const Model::UpdateStackRequest& request) const;
GetStackResourceOutcome getStackResource(const Model::GetStackResourceRequest &request)const;
void getStackResourceAsync(const Model::GetStackResourceRequest& request, const GetStackResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStackResourceOutcomeCallable getStackResourceCallable(const Model::GetStackResourceRequest& request) const;
ListResourceTypesOutcome listResourceTypes(const Model::ListResourceTypesRequest &request)const;
void listResourceTypesAsync(const Model::ListResourceTypesRequest& request, const ListResourceTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListResourceTypesOutcomeCallable listResourceTypesCallable(const Model::ListResourceTypesRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
GetResourceTypeTemplateOutcome getResourceTypeTemplate(const Model::GetResourceTypeTemplateRequest &request)const;
void getResourceTypeTemplateAsync(const Model::GetResourceTypeTemplateRequest& request, const GetResourceTypeTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceTypeTemplateOutcomeCallable getResourceTypeTemplateCallable(const Model::GetResourceTypeTemplateRequest& request) const;
CreateStackOutcome createStack(const Model::CreateStackRequest &request)const;
void createStackAsync(const Model::CreateStackRequest& request, const CreateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateStackOutcomeCallable createStackCallable(const Model::CreateStackRequest& request) const;
DeleteStackOutcome deleteStack(const Model::DeleteStackRequest &request)const;
void deleteStackAsync(const Model::DeleteStackRequest& request, const DeleteStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStackOutcomeCallable deleteStackCallable(const Model::DeleteStackRequest& request) const;
GetTemplateEstimateCostOutcome getTemplateEstimateCost(const Model::GetTemplateEstimateCostRequest &request)const;
void getTemplateEstimateCostAsync(const Model::GetTemplateEstimateCostRequest& request, const GetTemplateEstimateCostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTemplateEstimateCostOutcomeCallable getTemplateEstimateCostCallable(const Model::GetTemplateEstimateCostRequest& request) const;
ContinueCreateStackOutcome continueCreateStack(const Model::ContinueCreateStackRequest &request)const;
void continueCreateStackAsync(const Model::ContinueCreateStackRequest& request, const ContinueCreateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ContinueCreateStackOutcomeCallable continueCreateStackCallable(const Model::ContinueCreateStackRequest& request) const;
GetResourceTypeOutcome getResourceType(const Model::GetResourceTypeRequest &request)const;
void getResourceTypeAsync(const Model::GetResourceTypeRequest& request, const GetResourceTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetResourceTypeOutcomeCallable getResourceTypeCallable(const Model::GetResourceTypeRequest& request) const;
DeleteChangeSetOutcome deleteChangeSet(const Model::DeleteChangeSetRequest &request)const;
void deleteChangeSetAsync(const Model::DeleteChangeSetRequest& request, const DeleteChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteChangeSetOutcomeCallable deleteChangeSetCallable(const Model::DeleteChangeSetRequest& request) const;
PreviewStackOutcome previewStack(const Model::PreviewStackRequest &request)const;
void previewStackAsync(const Model::PreviewStackRequest& request, const PreviewStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreviewStackOutcomeCallable previewStackCallable(const Model::PreviewStackRequest& request) const;
SignalResourceOutcome signalResource(const Model::SignalResourceRequest &request)const;
void signalResourceAsync(const Model::SignalResourceRequest& request, const SignalResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SignalResourceOutcomeCallable signalResourceCallable(const Model::SignalResourceRequest& request) const;
ExecuteChangeSetOutcome executeChangeSet(const Model::ExecuteChangeSetRequest &request)const;
void executeChangeSetAsync(const Model::ExecuteChangeSetRequest& request, const ExecuteChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ExecuteChangeSetOutcomeCallable executeChangeSetCallable(const Model::ExecuteChangeSetRequest& request) const;
SetStackPolicyOutcome setStackPolicy(const Model::SetStackPolicyRequest &request)const;
void setStackPolicyAsync(const Model::SetStackPolicyRequest& request, const SetStackPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetStackPolicyOutcomeCallable setStackPolicyCallable(const Model::SetStackPolicyRequest& request) const;
CreateChangeSetOutcome createChangeSet(const Model::CreateChangeSetRequest &request)const;
void createChangeSetAsync(const Model::CreateChangeSetRequest& request, const CreateChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateChangeSetOutcomeCallable createChangeSetCallable(const Model::CreateChangeSetRequest& request) const;
GetTemplateOutcome getTemplate(const Model::GetTemplateRequest &request)const;
void getTemplateAsync(const Model::GetTemplateRequest& request, const GetTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTemplateOutcomeCallable getTemplateCallable(const Model::GetTemplateRequest& request) const;
ListStackEventsOutcome listStackEvents(const Model::ListStackEventsRequest &request)const;
void listStackEventsAsync(const Model::ListStackEventsRequest& request, const ListStackEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListStackEventsOutcomeCallable listStackEventsCallable(const Model::ListStackEventsRequest& request) const;
GetStackOutcome getStack(const Model::GetStackRequest &request)const;
void getStackAsync(const Model::GetStackRequest& request, const GetStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStackOutcomeCallable getStackCallable(const Model::GetStackRequest& request) const;
GetStackPolicyOutcome getStackPolicy(const Model::GetStackPolicyRequest &request)const;
void getStackPolicyAsync(const Model::GetStackPolicyRequest& request, const GetStackPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStackPolicyOutcomeCallable getStackPolicyCallable(const Model::GetStackPolicyRequest& request) const;
CancelUpdateStackOutcome cancelUpdateStack(const Model::CancelUpdateStackRequest &request)const;
void cancelUpdateStackAsync(const Model::CancelUpdateStackRequest& request, const CancelUpdateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelUpdateStackOutcomeCallable cancelUpdateStackCallable(const Model::CancelUpdateStackRequest& request) const;
ListStackResourcesOutcome listStackResources(const Model::ListStackResourcesRequest &request)const;
void listStackResourcesAsync(const Model::ListStackResourcesRequest& request, const ListStackResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListStackResourcesOutcomeCallable listStackResourcesCallable(const Model::ListStackResourcesRequest& request) const;
ListChangeSetsOutcome listChangeSets(const Model::ListChangeSetsRequest &request)const;
void listChangeSetsAsync(const Model::ListChangeSetsRequest& request, const ListChangeSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListChangeSetsOutcomeCallable listChangeSetsCallable(const Model::ListChangeSetsRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ROS_ROSCLIENT_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_ROS_ROSEXPORT_H_
#define ALIBABACLOUD_ROS_ROSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ROS_LIBRARY)
# define ALIBABACLOUD_ROS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ROS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ROS_EXPORT
#endif
#endif // !ALIBABACLOUD_ROS_ROSEXPORT_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_ROS_MODEL_ABANDONSTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_ABANDONSTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT AbandonStackRequest : public RoaServiceRequest
{
public:
AbandonStackRequest();
~AbandonStackRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_ABANDONSTACKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT AbandonStackResult : public ServiceResult
{
public:
AbandonStackResult();
explicit AbandonStackResult(const std::string &payload);
~AbandonStackResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_ABANDONSTACKRESULT_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_ROS_MODEL_CANCELUPDATESTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_CANCELUPDATESTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CancelUpdateStackRequest : public RoaServiceRequest
{
public:
CancelUpdateStackRequest();
~CancelUpdateStackRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CANCELUPDATESTACKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_CANCELUPDATESTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_CANCELUPDATESTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CancelUpdateStackResult : public ServiceResult
{
public:
CancelUpdateStackResult();
explicit CancelUpdateStackResult(const std::string &payload);
~CancelUpdateStackResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CANCELUPDATESTACKRESULT_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_ROS_MODEL_CONTINUECREATESTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_CONTINUECREATESTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ContinueCreateStackRequest : public RoaServiceRequest
{
public:
ContinueCreateStackRequest();
~ContinueCreateStackRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CONTINUECREATESTACKREQUEST_H_

View File

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

View File

@@ -0,0 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_CREATECHANGESETREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_CREATECHANGESETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CreateChangeSetRequest : public RoaServiceRequest
{
public:
CreateChangeSetRequest();
~CreateChangeSetRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CREATECHANGESETREQUEST_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_ROS_MODEL_CREATECHANGESETRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_CREATECHANGESETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CreateChangeSetResult : public ServiceResult
{
public:
CreateChangeSetResult();
explicit CreateChangeSetResult(const std::string &payload);
~CreateChangeSetResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CREATECHANGESETRESULT_H_

View File

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

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT CreateStacksResult : public ServiceResult
{
public:
CreateStacksResult();
explicit CreateStacksResult(const std::string &payload);
~CreateStacksResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_CREATESTACKSRESULT_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_ROS_MODEL_DELETECHANGESETREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DELETECHANGESETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DeleteChangeSetRequest : public RoaServiceRequest
{
public:
DeleteChangeSetRequest();
~DeleteChangeSetRequest();
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string changeSetName_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DELETECHANGESETREQUEST_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_ROS_MODEL_DELETECHANGESETRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DELETECHANGESETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DeleteChangeSetResult : public ServiceResult
{
public:
DeleteChangeSetResult();
explicit DeleteChangeSetResult(const std::string &payload);
~DeleteChangeSetResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DELETECHANGESETRESULT_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_ROS_MODEL_DELETESTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DELETESTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DeleteStackRequest : public RoaServiceRequest
{
public:
DeleteStackRequest();
~DeleteStackRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string regionId_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DELETESTACKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DELETESTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DELETESTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DeleteStackResult : public ServiceResult
{
public:
DeleteStackResult();
explicit DeleteStackResult(const std::string &payload);
~DeleteStackResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DELETESTACKRESULT_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_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetDetailRequest : public RoaServiceRequest
{
public:
DescribeChangeSetDetailRequest();
~DescribeChangeSetDetailRequest();
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string changeSetName_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILREQUEST_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_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetDetailResult : public ServiceResult
{
public:
DescribeChangeSetDetailResult();
explicit DescribeChangeSetDetailResult(const std::string &payload);
~DescribeChangeSetDetailResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETDETAILRESULT_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_ROS_MODEL_DESCRIBECHANGESETSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetsRequest : public RoaServiceRequest
{
public:
DescribeChangeSetsRequest();
~DescribeChangeSetsRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSREQUEST_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_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeChangeSetsResult : public ServiceResult
{
public:
DescribeChangeSetsResult();
explicit DescribeChangeSetsResult(const std::string &payload);
~DescribeChangeSetsResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBECHANGESETSRESULT_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_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeEventsRequest : public RoaServiceRequest
{
public:
DescribeEventsRequest();
~DescribeEventsRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::string getResourceName()const;
void setResourceName(const std::string& resourceName);
std::string getResourceStatus()const;
void setResourceStatus(const std::string& resourceStatus);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string stackId_;
int pageSize_;
std::string stackName_;
std::string resourceName_;
std::string resourceStatus_;
std::string resourceType_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBEEVENTSREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBEREGIONSRESULT_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_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceDetailRequest : public RoaServiceRequest
{
public:
DescribeResourceDetailRequest();
~DescribeResourceDetailRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
std::string getResourceName()const;
void setResourceName(const std::string& resourceName);
private:
std::string stackId_;
std::string stackName_;
std::string resourceName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCEDETAILREQUEST_H_

View File

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

View File

@@ -0,0 +1,48 @@
/*
* 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_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypeDetailRequest : public RoaServiceRequest
{
public:
DescribeResourceTypeDetailRequest();
~DescribeResourceTypeDetailRequest();
std::string getTypeName()const;
void setTypeName(const std::string& typeName);
private:
std::string typeName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPEDETAILREQUEST_H_

View File

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

View File

@@ -0,0 +1,48 @@
/*
* 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_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypeTemplateRequest : public RoaServiceRequest
{
public:
DescribeResourceTypeTemplateRequest();
~DescribeResourceTypeTemplateRequest();
std::string getTypeName()const;
void setTypeName(const std::string& typeName);
private:
std::string typeName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPETEMPLATEREQUEST_H_

View File

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

View File

@@ -0,0 +1,48 @@
/*
* 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_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypesRequest : public RoaServiceRequest
{
public:
DescribeResourceTypesRequest();
~DescribeResourceTypesRequest();
std::string getSupportStatus()const;
void setSupportStatus(const std::string& supportStatus);
private:
std::string supportStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourceTypesResult : public ServiceResult
{
public:
DescribeResourceTypesResult();
explicit DescribeResourceTypesResult(const std::string &payload);
~DescribeResourceTypesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCETYPESRESULT_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_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourcesRequest : public RoaServiceRequest
{
public:
DescribeResourcesRequest();
~DescribeResourcesRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeResourcesResult : public ServiceResult
{
public:
DescribeResourcesResult();
explicit DescribeResourcesResult(const std::string &payload);
~DescribeResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBERESOURCESRESULT_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_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStackDetailRequest : public RoaServiceRequest
{
public:
DescribeStackDetailRequest();
~DescribeStackDetailRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStackDetailResult : public ServiceResult
{
public:
DescribeStackDetailResult();
explicit DescribeStackDetailResult(const std::string &payload);
~DescribeStackDetailResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKDETAILRESULT_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_ROS_MODEL_DESCRIBESTACKSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStacksRequest : public RoaServiceRequest
{
public:
DescribeStacksRequest();
~DescribeStacksRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getStatus()const;
void setStatus(const std::string& status);
private:
std::string stackId_;
std::string name_;
int pageSize_;
int pageNumber_;
std::string status_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeStacksResult : public ServiceResult
{
public:
DescribeStacksResult();
explicit DescribeStacksResult(const std::string &payload);
~DescribeStacksResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBESTACKSRESULT_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_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeTemplateRequest : public RoaServiceRequest
{
public:
DescribeTemplateRequest();
~DescribeTemplateRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DescribeTemplateResult : public ServiceResult
{
public:
DescribeTemplateResult();
explicit DescribeTemplateResult(const std::string &payload);
~DescribeTemplateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DESCRIBETEMPLATERESULT_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_ROS_MODEL_DOACTIONSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DoActionsRequest : public RoaServiceRequest
{
public:
DoActionsRequest();
~DoActionsRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DOACTIONSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT DoActionsResult : public ServiceResult
{
public:
DoActionsResult();
explicit DoActionsResult(const std::string &payload);
~DoActionsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_DOACTIONSRESULT_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_ROS_MODEL_EXECUTECHANGESETREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_EXECUTECHANGESETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ExecuteChangeSetRequest : public RoaServiceRequest
{
public:
ExecuteChangeSetRequest();
~ExecuteChangeSetRequest();
std::string getChangeSetName()const;
void setChangeSetName(const std::string& changeSetName);
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string changeSetName_;
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_EXECUTECHANGESETREQUEST_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_ROS_MODEL_EXECUTECHANGESETRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_EXECUTECHANGESETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ExecuteChangeSetResult : public ServiceResult
{
public:
ExecuteChangeSetResult();
explicit ExecuteChangeSetResult(const std::string &payload);
~ExecuteChangeSetResult();
std::string getDummy()const;
protected:
void parse(const std::string &payload);
private:
std::string dummy_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_EXECUTECHANGESETRESULT_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_ROS_MODEL_GETSTACKPOLICYREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_GETSTACKPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT GetStackPolicyRequest : public RoaServiceRequest
{
public:
GetStackPolicyRequest();
~GetStackPolicyRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_GETSTACKPOLICYREQUEST_H_

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_PREVIEWSTACKRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_PREVIEWSTACKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT PreviewStackResult : public ServiceResult
{
public:
PreviewStackResult();
explicit PreviewStackResult(const std::string &payload);
~PreviewStackResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_PREVIEWSTACKRESULT_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_ROS_MODEL_SETSTACKPOLICYREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_SETSTACKPOLICYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT SetStackPolicyRequest : public RoaServiceRequest
{
public:
SetStackPolicyRequest();
~SetStackPolicyRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_SETSTACKPOLICYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_SETSTACKPOLICYRESULT_H_
#define ALIBABACLOUD_ROS_MODEL_SETSTACKPOLICYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT SetStackPolicyResult : public ServiceResult
{
public:
SetStackPolicyResult();
explicit SetStackPolicyResult(const std::string &payload);
~SetStackPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_SETSTACKPOLICYRESULT_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_ROS_MODEL_UPDATESTACKREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_UPDATESTACKREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT UpdateStackRequest : public RoaServiceRequest
{
public:
UpdateStackRequest();
~UpdateStackRequest();
std::string getStackId()const;
void setStackId(const std::string& stackId);
std::string getStackName()const;
void setStackName(const std::string& stackName);
private:
std::string stackId_;
std::string stackName_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_UPDATESTACKREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ROS_MODEL_VALIDATETEMPLATERESULT_H_
#define ALIBABACLOUD_ROS_MODEL_VALIDATETEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT ValidateTemplateResult : public ServiceResult
{
public:
ValidateTemplateResult();
explicit ValidateTemplateResult(const std::string &payload);
~ValidateTemplateResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_VALIDATETEMPLATERESULT_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_ROS_MODEL_WAITCONDITIONSREQUEST_H_
#define ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/ros/ROSExport.h>
namespace AlibabaCloud
{
namespace ROS
{
namespace Model
{
class ALIBABACLOUD_ROS_EXPORT WaitConditionsRequest : public RoaServiceRequest
{
public:
WaitConditionsRequest();
~WaitConditionsRequest();
std::string getResource()const;
void setResource(const std::string& resource);
std::string getSignature()const;
void setSignature(const std::string& signature);
std::string getStackid()const;
void setStackid(const std::string& stackid);
std::string getExpire()const;
void setExpire(const std::string& expire);
std::string getStackname()const;
void setStackname(const std::string& stackname);
private:
std::string resource_;
std::string signature_;
std::string stackid_;
std::string expire_;
std::string stackname_;
};
}
}
}
#endif // !ALIBABACLOUD_ROS_MODEL_WAITCONDITIONSREQUEST_H_

View File

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

989
ros/src/ROSClient.cc Normal file
View File

@@ -0,0 +1,989 @@
/*
* 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/ros/ROSClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
namespace
{
const std::string SERVICE_NAME = "ROS";
}
ROSClient::ROSClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ROS");
}
ROSClient::ROSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ROS");
}
ROSClient::ROSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "ROS");
}
ROSClient::~ROSClient()
{}
ROSClient::ListStacksOutcome ROSClient::listStacks(const ListStacksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListStacksOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListStacksOutcome(ListStacksResult(outcome.result()));
else
return ListStacksOutcome(outcome.error());
}
void ROSClient::listStacksAsync(const ListStacksRequest& request, const ListStacksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listStacks(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ListStacksOutcomeCallable ROSClient::listStacksCallable(const ListStacksRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListStacksOutcome()>>(
[this, request]()
{
return this->listStacks(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetChangeSetOutcome ROSClient::getChangeSet(const GetChangeSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetChangeSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetChangeSetOutcome(GetChangeSetResult(outcome.result()));
else
return GetChangeSetOutcome(outcome.error());
}
void ROSClient::getChangeSetAsync(const GetChangeSetRequest& request, const GetChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getChangeSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetChangeSetOutcomeCallable ROSClient::getChangeSetCallable(const GetChangeSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetChangeSetOutcome()>>(
[this, request]()
{
return this->getChangeSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ValidateTemplateOutcome ROSClient::validateTemplate(const ValidateTemplateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ValidateTemplateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ValidateTemplateOutcome(ValidateTemplateResult(outcome.result()));
else
return ValidateTemplateOutcome(outcome.error());
}
void ROSClient::validateTemplateAsync(const ValidateTemplateRequest& request, const ValidateTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, validateTemplate(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ValidateTemplateOutcomeCallable ROSClient::validateTemplateCallable(const ValidateTemplateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ValidateTemplateOutcome()>>(
[this, request]()
{
return this->validateTemplate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::UpdateStackOutcome ROSClient::updateStack(const UpdateStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateStackOutcome(UpdateStackResult(outcome.result()));
else
return UpdateStackOutcome(outcome.error());
}
void ROSClient::updateStackAsync(const UpdateStackRequest& request, const UpdateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::UpdateStackOutcomeCallable ROSClient::updateStackCallable(const UpdateStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateStackOutcome()>>(
[this, request]()
{
return this->updateStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetStackResourceOutcome ROSClient::getStackResource(const GetStackResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStackResourceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStackResourceOutcome(GetStackResourceResult(outcome.result()));
else
return GetStackResourceOutcome(outcome.error());
}
void ROSClient::getStackResourceAsync(const GetStackResourceRequest& request, const GetStackResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStackResource(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetStackResourceOutcomeCallable ROSClient::getStackResourceCallable(const GetStackResourceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStackResourceOutcome()>>(
[this, request]()
{
return this->getStackResource(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ListResourceTypesOutcome ROSClient::listResourceTypes(const ListResourceTypesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListResourceTypesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListResourceTypesOutcome(ListResourceTypesResult(outcome.result()));
else
return ListResourceTypesOutcome(outcome.error());
}
void ROSClient::listResourceTypesAsync(const ListResourceTypesRequest& request, const ListResourceTypesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listResourceTypes(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ListResourceTypesOutcomeCallable ROSClient::listResourceTypesCallable(const ListResourceTypesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListResourceTypesOutcome()>>(
[this, request]()
{
return this->listResourceTypes(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::DescribeRegionsOutcome ROSClient::describeRegions(const DescribeRegionsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeRegionsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result()));
else
return DescribeRegionsOutcome(outcome.error());
}
void ROSClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeRegions(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::DescribeRegionsOutcomeCallable ROSClient::describeRegionsCallable(const DescribeRegionsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeRegionsOutcome()>>(
[this, request]()
{
return this->describeRegions(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetResourceTypeTemplateOutcome ROSClient::getResourceTypeTemplate(const GetResourceTypeTemplateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetResourceTypeTemplateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetResourceTypeTemplateOutcome(GetResourceTypeTemplateResult(outcome.result()));
else
return GetResourceTypeTemplateOutcome(outcome.error());
}
void ROSClient::getResourceTypeTemplateAsync(const GetResourceTypeTemplateRequest& request, const GetResourceTypeTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getResourceTypeTemplate(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetResourceTypeTemplateOutcomeCallable ROSClient::getResourceTypeTemplateCallable(const GetResourceTypeTemplateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetResourceTypeTemplateOutcome()>>(
[this, request]()
{
return this->getResourceTypeTemplate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::CreateStackOutcome ROSClient::createStack(const CreateStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateStackOutcome(CreateStackResult(outcome.result()));
else
return CreateStackOutcome(outcome.error());
}
void ROSClient::createStackAsync(const CreateStackRequest& request, const CreateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::CreateStackOutcomeCallable ROSClient::createStackCallable(const CreateStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateStackOutcome()>>(
[this, request]()
{
return this->createStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::DeleteStackOutcome ROSClient::deleteStack(const DeleteStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteStackOutcome(DeleteStackResult(outcome.result()));
else
return DeleteStackOutcome(outcome.error());
}
void ROSClient::deleteStackAsync(const DeleteStackRequest& request, const DeleteStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::DeleteStackOutcomeCallable ROSClient::deleteStackCallable(const DeleteStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteStackOutcome()>>(
[this, request]()
{
return this->deleteStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetTemplateEstimateCostOutcome ROSClient::getTemplateEstimateCost(const GetTemplateEstimateCostRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTemplateEstimateCostOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTemplateEstimateCostOutcome(GetTemplateEstimateCostResult(outcome.result()));
else
return GetTemplateEstimateCostOutcome(outcome.error());
}
void ROSClient::getTemplateEstimateCostAsync(const GetTemplateEstimateCostRequest& request, const GetTemplateEstimateCostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTemplateEstimateCost(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetTemplateEstimateCostOutcomeCallable ROSClient::getTemplateEstimateCostCallable(const GetTemplateEstimateCostRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTemplateEstimateCostOutcome()>>(
[this, request]()
{
return this->getTemplateEstimateCost(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ContinueCreateStackOutcome ROSClient::continueCreateStack(const ContinueCreateStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ContinueCreateStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ContinueCreateStackOutcome(ContinueCreateStackResult(outcome.result()));
else
return ContinueCreateStackOutcome(outcome.error());
}
void ROSClient::continueCreateStackAsync(const ContinueCreateStackRequest& request, const ContinueCreateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, continueCreateStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ContinueCreateStackOutcomeCallable ROSClient::continueCreateStackCallable(const ContinueCreateStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ContinueCreateStackOutcome()>>(
[this, request]()
{
return this->continueCreateStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetResourceTypeOutcome ROSClient::getResourceType(const GetResourceTypeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetResourceTypeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetResourceTypeOutcome(GetResourceTypeResult(outcome.result()));
else
return GetResourceTypeOutcome(outcome.error());
}
void ROSClient::getResourceTypeAsync(const GetResourceTypeRequest& request, const GetResourceTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getResourceType(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetResourceTypeOutcomeCallable ROSClient::getResourceTypeCallable(const GetResourceTypeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetResourceTypeOutcome()>>(
[this, request]()
{
return this->getResourceType(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::DeleteChangeSetOutcome ROSClient::deleteChangeSet(const DeleteChangeSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteChangeSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteChangeSetOutcome(DeleteChangeSetResult(outcome.result()));
else
return DeleteChangeSetOutcome(outcome.error());
}
void ROSClient::deleteChangeSetAsync(const DeleteChangeSetRequest& request, const DeleteChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteChangeSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::DeleteChangeSetOutcomeCallable ROSClient::deleteChangeSetCallable(const DeleteChangeSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteChangeSetOutcome()>>(
[this, request]()
{
return this->deleteChangeSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::PreviewStackOutcome ROSClient::previewStack(const PreviewStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return PreviewStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return PreviewStackOutcome(PreviewStackResult(outcome.result()));
else
return PreviewStackOutcome(outcome.error());
}
void ROSClient::previewStackAsync(const PreviewStackRequest& request, const PreviewStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, previewStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::PreviewStackOutcomeCallable ROSClient::previewStackCallable(const PreviewStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<PreviewStackOutcome()>>(
[this, request]()
{
return this->previewStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::SignalResourceOutcome ROSClient::signalResource(const SignalResourceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SignalResourceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SignalResourceOutcome(SignalResourceResult(outcome.result()));
else
return SignalResourceOutcome(outcome.error());
}
void ROSClient::signalResourceAsync(const SignalResourceRequest& request, const SignalResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, signalResource(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::SignalResourceOutcomeCallable ROSClient::signalResourceCallable(const SignalResourceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SignalResourceOutcome()>>(
[this, request]()
{
return this->signalResource(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ExecuteChangeSetOutcome ROSClient::executeChangeSet(const ExecuteChangeSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ExecuteChangeSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ExecuteChangeSetOutcome(ExecuteChangeSetResult(outcome.result()));
else
return ExecuteChangeSetOutcome(outcome.error());
}
void ROSClient::executeChangeSetAsync(const ExecuteChangeSetRequest& request, const ExecuteChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, executeChangeSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ExecuteChangeSetOutcomeCallable ROSClient::executeChangeSetCallable(const ExecuteChangeSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ExecuteChangeSetOutcome()>>(
[this, request]()
{
return this->executeChangeSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::SetStackPolicyOutcome ROSClient::setStackPolicy(const SetStackPolicyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SetStackPolicyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SetStackPolicyOutcome(SetStackPolicyResult(outcome.result()));
else
return SetStackPolicyOutcome(outcome.error());
}
void ROSClient::setStackPolicyAsync(const SetStackPolicyRequest& request, const SetStackPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, setStackPolicy(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::SetStackPolicyOutcomeCallable ROSClient::setStackPolicyCallable(const SetStackPolicyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SetStackPolicyOutcome()>>(
[this, request]()
{
return this->setStackPolicy(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::CreateChangeSetOutcome ROSClient::createChangeSet(const CreateChangeSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateChangeSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateChangeSetOutcome(CreateChangeSetResult(outcome.result()));
else
return CreateChangeSetOutcome(outcome.error());
}
void ROSClient::createChangeSetAsync(const CreateChangeSetRequest& request, const CreateChangeSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createChangeSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::CreateChangeSetOutcomeCallable ROSClient::createChangeSetCallable(const CreateChangeSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateChangeSetOutcome()>>(
[this, request]()
{
return this->createChangeSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetTemplateOutcome ROSClient::getTemplate(const GetTemplateRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTemplateOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTemplateOutcome(GetTemplateResult(outcome.result()));
else
return GetTemplateOutcome(outcome.error());
}
void ROSClient::getTemplateAsync(const GetTemplateRequest& request, const GetTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTemplate(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetTemplateOutcomeCallable ROSClient::getTemplateCallable(const GetTemplateRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTemplateOutcome()>>(
[this, request]()
{
return this->getTemplate(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ListStackEventsOutcome ROSClient::listStackEvents(const ListStackEventsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListStackEventsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListStackEventsOutcome(ListStackEventsResult(outcome.result()));
else
return ListStackEventsOutcome(outcome.error());
}
void ROSClient::listStackEventsAsync(const ListStackEventsRequest& request, const ListStackEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listStackEvents(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ListStackEventsOutcomeCallable ROSClient::listStackEventsCallable(const ListStackEventsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListStackEventsOutcome()>>(
[this, request]()
{
return this->listStackEvents(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetStackOutcome ROSClient::getStack(const GetStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStackOutcome(GetStackResult(outcome.result()));
else
return GetStackOutcome(outcome.error());
}
void ROSClient::getStackAsync(const GetStackRequest& request, const GetStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetStackOutcomeCallable ROSClient::getStackCallable(const GetStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStackOutcome()>>(
[this, request]()
{
return this->getStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::GetStackPolicyOutcome ROSClient::getStackPolicy(const GetStackPolicyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetStackPolicyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetStackPolicyOutcome(GetStackPolicyResult(outcome.result()));
else
return GetStackPolicyOutcome(outcome.error());
}
void ROSClient::getStackPolicyAsync(const GetStackPolicyRequest& request, const GetStackPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getStackPolicy(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::GetStackPolicyOutcomeCallable ROSClient::getStackPolicyCallable(const GetStackPolicyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetStackPolicyOutcome()>>(
[this, request]()
{
return this->getStackPolicy(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::CancelUpdateStackOutcome ROSClient::cancelUpdateStack(const CancelUpdateStackRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CancelUpdateStackOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CancelUpdateStackOutcome(CancelUpdateStackResult(outcome.result()));
else
return CancelUpdateStackOutcome(outcome.error());
}
void ROSClient::cancelUpdateStackAsync(const CancelUpdateStackRequest& request, const CancelUpdateStackAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, cancelUpdateStack(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::CancelUpdateStackOutcomeCallable ROSClient::cancelUpdateStackCallable(const CancelUpdateStackRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CancelUpdateStackOutcome()>>(
[this, request]()
{
return this->cancelUpdateStack(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ListStackResourcesOutcome ROSClient::listStackResources(const ListStackResourcesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListStackResourcesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListStackResourcesOutcome(ListStackResourcesResult(outcome.result()));
else
return ListStackResourcesOutcome(outcome.error());
}
void ROSClient::listStackResourcesAsync(const ListStackResourcesRequest& request, const ListStackResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listStackResources(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ListStackResourcesOutcomeCallable ROSClient::listStackResourcesCallable(const ListStackResourcesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListStackResourcesOutcome()>>(
[this, request]()
{
return this->listStackResources(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ROSClient::ListChangeSetsOutcome ROSClient::listChangeSets(const ListChangeSetsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListChangeSetsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListChangeSetsOutcome(ListChangeSetsResult(outcome.result()));
else
return ListChangeSetsOutcome(outcome.error());
}
void ROSClient::listChangeSetsAsync(const ListChangeSetsRequest& request, const ListChangeSetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listChangeSets(request), context);
};
asyncExecute(new Runnable(fn));
}
ROSClient::ListChangeSetsOutcomeCallable ROSClient::listChangeSetsCallable(const ListChangeSetsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListChangeSetsOutcome()>>(
[this, request]()
{
return this->listChangeSets(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/AbandonStackRequest.h>
using AlibabaCloud::ROS::Model::AbandonStackRequest;
AbandonStackRequest::AbandonStackRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
AbandonStackRequest::~AbandonStackRequest()
{}
std::string AbandonStackRequest::getStackId()const
{
return stackId_;
}
void AbandonStackRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string AbandonStackRequest::getStackName()const
{
return stackName_;
}
void AbandonStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/AbandonStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
AbandonStackResult::AbandonStackResult() :
ServiceResult()
{}
AbandonStackResult::AbandonStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AbandonStackResult::~AbandonStackResult()
{}
void AbandonStackResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/CancelUpdateStackRequest.h>
using AlibabaCloud::ROS::Model::CancelUpdateStackRequest;
CancelUpdateStackRequest::CancelUpdateStackRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
CancelUpdateStackRequest::~CancelUpdateStackRequest()
{}
std::string CancelUpdateStackRequest::getStackId()const
{
return stackId_;
}
void CancelUpdateStackRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string CancelUpdateStackRequest::getStackName()const
{
return stackName_;
}
void CancelUpdateStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/CancelUpdateStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
CancelUpdateStackResult::CancelUpdateStackResult() :
ServiceResult()
{}
CancelUpdateStackResult::CancelUpdateStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CancelUpdateStackResult::~CancelUpdateStackResult()
{}
void CancelUpdateStackResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/ContinueCreateStackRequest.h>
using AlibabaCloud::ROS::Model::ContinueCreateStackRequest;
ContinueCreateStackRequest::ContinueCreateStackRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
ContinueCreateStackRequest::~ContinueCreateStackRequest()
{}
std::string ContinueCreateStackRequest::getStackId()const
{
return stackId_;
}
void ContinueCreateStackRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string ContinueCreateStackRequest::getStackName()const
{
return stackName_;
}
void ContinueCreateStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/ContinueCreateStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
ContinueCreateStackResult::ContinueCreateStackResult() :
ServiceResult()
{}
ContinueCreateStackResult::ContinueCreateStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ContinueCreateStackResult::~ContinueCreateStackResult()
{}
void ContinueCreateStackResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,27 @@
/*
* 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/ros/model/CreateChangeSetRequest.h>
using AlibabaCloud::ROS::Model::CreateChangeSetRequest;
CreateChangeSetRequest::CreateChangeSetRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
CreateChangeSetRequest::~CreateChangeSetRequest()
{}

View File

@@ -0,0 +1,55 @@
/*
* 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/ros/model/CreateChangeSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
CreateChangeSetResult::CreateChangeSetResult() :
ServiceResult()
{}
CreateChangeSetResult::CreateChangeSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateChangeSetResult::~CreateChangeSetResult()
{}
void CreateChangeSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string CreateChangeSetResult::getDummy()const
{
return dummy_;
}

View File

@@ -0,0 +1,27 @@
/*
* 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/ros/model/CreateStacksRequest.h>
using AlibabaCloud::ROS::Model::CreateStacksRequest;
CreateStacksRequest::CreateStacksRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
CreateStacksRequest::~CreateStacksRequest()
{}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/CreateStacksResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
CreateStacksResult::CreateStacksResult() :
ServiceResult()
{}
CreateStacksResult::CreateStacksResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateStacksResult::~CreateStacksResult()
{}
void CreateStacksResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

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/ros/model/DeleteChangeSetRequest.h>
using AlibabaCloud::ROS::Model::DeleteChangeSetRequest;
DeleteChangeSetRequest::DeleteChangeSetRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DeleteChangeSetRequest::~DeleteChangeSetRequest()
{}
std::string DeleteChangeSetRequest::getChangeSetName()const
{
return changeSetName_;
}
void DeleteChangeSetRequest::setChangeSetName(const std::string& changeSetName)
{
changeSetName_ = changeSetName;
setCoreParameter("ChangeSetName", changeSetName);
}
std::string DeleteChangeSetRequest::getStackId()const
{
return stackId_;
}
void DeleteChangeSetRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DeleteChangeSetRequest::getStackName()const
{
return stackName_;
}
void DeleteChangeSetRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,55 @@
/*
* 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/ros/model/DeleteChangeSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DeleteChangeSetResult::DeleteChangeSetResult() :
ServiceResult()
{}
DeleteChangeSetResult::DeleteChangeSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteChangeSetResult::~DeleteChangeSetResult()
{}
void DeleteChangeSetResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string DeleteChangeSetResult::getDummy()const
{
return dummy_;
}

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/ros/model/DeleteStackRequest.h>
using AlibabaCloud::ROS::Model::DeleteStackRequest;
DeleteStackRequest::DeleteStackRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DeleteStackRequest::~DeleteStackRequest()
{}
std::string DeleteStackRequest::getRegionId()const
{
return regionId_;
}
void DeleteStackRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string DeleteStackRequest::getStackId()const
{
return stackId_;
}
void DeleteStackRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DeleteStackRequest::getStackName()const
{
return stackName_;
}
void DeleteStackRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/DeleteStackResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DeleteStackResult::DeleteStackResult() :
ServiceResult()
{}
DeleteStackResult::DeleteStackResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteStackResult::~DeleteStackResult()
{}
void DeleteStackResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

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/ros/model/DescribeChangeSetDetailRequest.h>
using AlibabaCloud::ROS::Model::DescribeChangeSetDetailRequest;
DescribeChangeSetDetailRequest::DescribeChangeSetDetailRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeChangeSetDetailRequest::~DescribeChangeSetDetailRequest()
{}
std::string DescribeChangeSetDetailRequest::getChangeSetName()const
{
return changeSetName_;
}
void DescribeChangeSetDetailRequest::setChangeSetName(const std::string& changeSetName)
{
changeSetName_ = changeSetName;
setCoreParameter("ChangeSetName", changeSetName);
}
std::string DescribeChangeSetDetailRequest::getStackId()const
{
return stackId_;
}
void DescribeChangeSetDetailRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeChangeSetDetailRequest::getStackName()const
{
return stackName_;
}
void DescribeChangeSetDetailRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,55 @@
/*
* 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/ros/model/DescribeChangeSetDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeChangeSetDetailResult::DescribeChangeSetDetailResult() :
ServiceResult()
{}
DescribeChangeSetDetailResult::DescribeChangeSetDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeChangeSetDetailResult::~DescribeChangeSetDetailResult()
{}
void DescribeChangeSetDetailResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string DescribeChangeSetDetailResult::getDummy()const
{
return dummy_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/ros/model/DescribeChangeSetsRequest.h>
using AlibabaCloud::ROS::Model::DescribeChangeSetsRequest;
DescribeChangeSetsRequest::DescribeChangeSetsRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeChangeSetsRequest::~DescribeChangeSetsRequest()
{}
std::string DescribeChangeSetsRequest::getStackId()const
{
return stackId_;
}
void DescribeChangeSetsRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeChangeSetsRequest::getStackName()const
{
return stackName_;
}
void DescribeChangeSetsRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}

View File

@@ -0,0 +1,55 @@
/*
* 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/ros/model/DescribeChangeSetsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeChangeSetsResult::DescribeChangeSetsResult() :
ServiceResult()
{}
DescribeChangeSetsResult::DescribeChangeSetsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeChangeSetsResult::~DescribeChangeSetsResult()
{}
void DescribeChangeSetsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["Dummy"].isNull())
dummy_ = value["Dummy"].asString();
}
std::string DescribeChangeSetsResult::getDummy()const
{
return dummy_;
}

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/ros/model/DescribeEventsRequest.h>
using AlibabaCloud::ROS::Model::DescribeEventsRequest;
DescribeEventsRequest::DescribeEventsRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeEventsRequest::~DescribeEventsRequest()
{}
std::string DescribeEventsRequest::getStackId()const
{
return stackId_;
}
void DescribeEventsRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
int DescribeEventsRequest::getPageSize()const
{
return pageSize_;
}
void DescribeEventsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeEventsRequest::getStackName()const
{
return stackName_;
}
void DescribeEventsRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}
std::string DescribeEventsRequest::getResourceName()const
{
return resourceName_;
}
void DescribeEventsRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setCoreParameter("ResourceName", resourceName);
}
std::string DescribeEventsRequest::getResourceStatus()const
{
return resourceStatus_;
}
void DescribeEventsRequest::setResourceStatus(const std::string& resourceStatus)
{
resourceStatus_ = resourceStatus;
setCoreParameter("ResourceStatus", resourceStatus);
}
std::string DescribeEventsRequest::getResourceType()const
{
return resourceType_;
}
void DescribeEventsRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setCoreParameter("ResourceType", resourceType);
}
int DescribeEventsRequest::getPageNumber()const
{
return pageNumber_;
}
void DescribeEventsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/DescribeEventsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeEventsResult::DescribeEventsResult() :
ServiceResult()
{}
DescribeEventsResult::DescribeEventsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeEventsResult::~DescribeEventsResult()
{}
void DescribeEventsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,27 @@
/*
* 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/ros/model/DescribeRegionsRequest.h>
using AlibabaCloud::ROS::Model::DescribeRegionsRequest;
DescribeRegionsRequest::DescribeRegionsRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeRegionsRequest::~DescribeRegionsRequest()
{}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/DescribeRegionsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeRegionsResult::DescribeRegionsResult() :
ServiceResult()
{}
DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeRegionsResult::~DescribeRegionsResult()
{}
void DescribeRegionsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

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/ros/model/DescribeResourceDetailRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceDetailRequest;
DescribeResourceDetailRequest::DescribeResourceDetailRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceDetailRequest::~DescribeResourceDetailRequest()
{}
std::string DescribeResourceDetailRequest::getStackId()const
{
return stackId_;
}
void DescribeResourceDetailRequest::setStackId(const std::string& stackId)
{
stackId_ = stackId;
setCoreParameter("StackId", stackId);
}
std::string DescribeResourceDetailRequest::getStackName()const
{
return stackName_;
}
void DescribeResourceDetailRequest::setStackName(const std::string& stackName)
{
stackName_ = stackName;
setCoreParameter("StackName", stackName);
}
std::string DescribeResourceDetailRequest::getResourceName()const
{
return resourceName_;
}
void DescribeResourceDetailRequest::setResourceName(const std::string& resourceName)
{
resourceName_ = resourceName;
setCoreParameter("ResourceName", resourceName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/DescribeResourceDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourceDetailResult::DescribeResourceDetailResult() :
ServiceResult()
{}
DescribeResourceDetailResult::DescribeResourceDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourceDetailResult::~DescribeResourceDetailResult()
{}
void DescribeResourceDetailResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/ros/model/DescribeResourceTypeDetailRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceTypeDetailRequest;
DescribeResourceTypeDetailRequest::DescribeResourceTypeDetailRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceTypeDetailRequest::~DescribeResourceTypeDetailRequest()
{}
std::string DescribeResourceTypeDetailRequest::getTypeName()const
{
return typeName_;
}
void DescribeResourceTypeDetailRequest::setTypeName(const std::string& typeName)
{
typeName_ = typeName;
setCoreParameter("TypeName", typeName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/DescribeResourceTypeDetailResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourceTypeDetailResult::DescribeResourceTypeDetailResult() :
ServiceResult()
{}
DescribeResourceTypeDetailResult::DescribeResourceTypeDetailResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourceTypeDetailResult::~DescribeResourceTypeDetailResult()
{}
void DescribeResourceTypeDetailResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/ros/model/DescribeResourceTypeTemplateRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceTypeTemplateRequest;
DescribeResourceTypeTemplateRequest::DescribeResourceTypeTemplateRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceTypeTemplateRequest::~DescribeResourceTypeTemplateRequest()
{}
std::string DescribeResourceTypeTemplateRequest::getTypeName()const
{
return typeName_;
}
void DescribeResourceTypeTemplateRequest::setTypeName(const std::string& typeName)
{
typeName_ = typeName;
setCoreParameter("TypeName", typeName);
}

View File

@@ -0,0 +1,48 @@
/*
* 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/ros/model/DescribeResourceTypeTemplateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ROS;
using namespace AlibabaCloud::ROS::Model;
DescribeResourceTypeTemplateResult::DescribeResourceTypeTemplateResult() :
ServiceResult()
{}
DescribeResourceTypeTemplateResult::DescribeResourceTypeTemplateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeResourceTypeTemplateResult::~DescribeResourceTypeTemplateResult()
{}
void DescribeResourceTypeTemplateResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
}

View File

@@ -0,0 +1,38 @@
/*
* 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/ros/model/DescribeResourceTypesRequest.h>
using AlibabaCloud::ROS::Model::DescribeResourceTypesRequest;
DescribeResourceTypesRequest::DescribeResourceTypesRequest() :
RoaServiceRequest("ros", "2015-09-01")
{}
DescribeResourceTypesRequest::~DescribeResourceTypesRequest()
{}
std::string DescribeResourceTypesRequest::getSupportStatus()const
{
return supportStatus_;
}
void DescribeResourceTypesRequest::setSupportStatus(const std::string& supportStatus)
{
supportStatus_ = supportStatus;
setCoreParameter("SupportStatus", supportStatus);
}

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