Add service label api.
This commit is contained in:
@@ -21,6 +21,8 @@ set(eas_public_header
|
|||||||
include/alibabacloud/eas/EasExport.h )
|
include/alibabacloud/eas/EasExport.h )
|
||||||
|
|
||||||
set(eas_public_header_model
|
set(eas_public_header_model
|
||||||
|
include/alibabacloud/eas/model/CommitServiceRequest.h
|
||||||
|
include/alibabacloud/eas/model/CommitServiceResult.h
|
||||||
include/alibabacloud/eas/model/CreateBenchmarkTaskRequest.h
|
include/alibabacloud/eas/model/CreateBenchmarkTaskRequest.h
|
||||||
include/alibabacloud/eas/model/CreateBenchmarkTaskResult.h
|
include/alibabacloud/eas/model/CreateBenchmarkTaskResult.h
|
||||||
include/alibabacloud/eas/model/CreateResourceRequest.h
|
include/alibabacloud/eas/model/CreateResourceRequest.h
|
||||||
@@ -55,12 +57,16 @@ set(eas_public_header_model
|
|||||||
include/alibabacloud/eas/model/DeleteServiceCronScalerResult.h
|
include/alibabacloud/eas/model/DeleteServiceCronScalerResult.h
|
||||||
include/alibabacloud/eas/model/DeleteServiceInstancesRequest.h
|
include/alibabacloud/eas/model/DeleteServiceInstancesRequest.h
|
||||||
include/alibabacloud/eas/model/DeleteServiceInstancesResult.h
|
include/alibabacloud/eas/model/DeleteServiceInstancesResult.h
|
||||||
|
include/alibabacloud/eas/model/DeleteServiceLabelRequest.h
|
||||||
|
include/alibabacloud/eas/model/DeleteServiceLabelResult.h
|
||||||
include/alibabacloud/eas/model/DeleteServiceMirrorRequest.h
|
include/alibabacloud/eas/model/DeleteServiceMirrorRequest.h
|
||||||
include/alibabacloud/eas/model/DeleteServiceMirrorResult.h
|
include/alibabacloud/eas/model/DeleteServiceMirrorResult.h
|
||||||
include/alibabacloud/eas/model/DescribeBenchmarkTaskRequest.h
|
include/alibabacloud/eas/model/DescribeBenchmarkTaskRequest.h
|
||||||
include/alibabacloud/eas/model/DescribeBenchmarkTaskResult.h
|
include/alibabacloud/eas/model/DescribeBenchmarkTaskResult.h
|
||||||
include/alibabacloud/eas/model/DescribeBenchmarkTaskReportRequest.h
|
include/alibabacloud/eas/model/DescribeBenchmarkTaskReportRequest.h
|
||||||
include/alibabacloud/eas/model/DescribeBenchmarkTaskReportResult.h
|
include/alibabacloud/eas/model/DescribeBenchmarkTaskReportResult.h
|
||||||
|
include/alibabacloud/eas/model/DescribeGroupRequest.h
|
||||||
|
include/alibabacloud/eas/model/DescribeGroupResult.h
|
||||||
include/alibabacloud/eas/model/DescribeResourceRequest.h
|
include/alibabacloud/eas/model/DescribeResourceRequest.h
|
||||||
include/alibabacloud/eas/model/DescribeResourceResult.h
|
include/alibabacloud/eas/model/DescribeResourceResult.h
|
||||||
include/alibabacloud/eas/model/DescribeResourceDLinkRequest.h
|
include/alibabacloud/eas/model/DescribeResourceDLinkRequest.h
|
||||||
@@ -73,12 +79,18 @@ set(eas_public_header_model
|
|||||||
include/alibabacloud/eas/model/DescribeServiceAutoScalerResult.h
|
include/alibabacloud/eas/model/DescribeServiceAutoScalerResult.h
|
||||||
include/alibabacloud/eas/model/DescribeServiceCronScalerRequest.h
|
include/alibabacloud/eas/model/DescribeServiceCronScalerRequest.h
|
||||||
include/alibabacloud/eas/model/DescribeServiceCronScalerResult.h
|
include/alibabacloud/eas/model/DescribeServiceCronScalerResult.h
|
||||||
|
include/alibabacloud/eas/model/DescribeServiceEventRequest.h
|
||||||
|
include/alibabacloud/eas/model/DescribeServiceEventResult.h
|
||||||
include/alibabacloud/eas/model/DescribeServiceLogRequest.h
|
include/alibabacloud/eas/model/DescribeServiceLogRequest.h
|
||||||
include/alibabacloud/eas/model/DescribeServiceLogResult.h
|
include/alibabacloud/eas/model/DescribeServiceLogResult.h
|
||||||
include/alibabacloud/eas/model/DescribeServiceMirrorRequest.h
|
include/alibabacloud/eas/model/DescribeServiceMirrorRequest.h
|
||||||
include/alibabacloud/eas/model/DescribeServiceMirrorResult.h
|
include/alibabacloud/eas/model/DescribeServiceMirrorResult.h
|
||||||
|
include/alibabacloud/eas/model/DevelopServiceRequest.h
|
||||||
|
include/alibabacloud/eas/model/DevelopServiceResult.h
|
||||||
include/alibabacloud/eas/model/ListBenchmarkTaskRequest.h
|
include/alibabacloud/eas/model/ListBenchmarkTaskRequest.h
|
||||||
include/alibabacloud/eas/model/ListBenchmarkTaskResult.h
|
include/alibabacloud/eas/model/ListBenchmarkTaskResult.h
|
||||||
|
include/alibabacloud/eas/model/ListGroupsRequest.h
|
||||||
|
include/alibabacloud/eas/model/ListGroupsResult.h
|
||||||
include/alibabacloud/eas/model/ListResourceInstanceWorkerRequest.h
|
include/alibabacloud/eas/model/ListResourceInstanceWorkerRequest.h
|
||||||
include/alibabacloud/eas/model/ListResourceInstanceWorkerResult.h
|
include/alibabacloud/eas/model/ListResourceInstanceWorkerResult.h
|
||||||
include/alibabacloud/eas/model/ListResourceInstancesRequest.h
|
include/alibabacloud/eas/model/ListResourceInstancesRequest.h
|
||||||
@@ -89,6 +101,8 @@ set(eas_public_header_model
|
|||||||
include/alibabacloud/eas/model/ListResourcesResult.h
|
include/alibabacloud/eas/model/ListResourcesResult.h
|
||||||
include/alibabacloud/eas/model/ListServiceInstancesRequest.h
|
include/alibabacloud/eas/model/ListServiceInstancesRequest.h
|
||||||
include/alibabacloud/eas/model/ListServiceInstancesResult.h
|
include/alibabacloud/eas/model/ListServiceInstancesResult.h
|
||||||
|
include/alibabacloud/eas/model/ListServiceVersionsRequest.h
|
||||||
|
include/alibabacloud/eas/model/ListServiceVersionsResult.h
|
||||||
include/alibabacloud/eas/model/ListServicesRequest.h
|
include/alibabacloud/eas/model/ListServicesRequest.h
|
||||||
include/alibabacloud/eas/model/ListServicesResult.h
|
include/alibabacloud/eas/model/ListServicesResult.h
|
||||||
include/alibabacloud/eas/model/ReleaseServiceRequest.h
|
include/alibabacloud/eas/model/ReleaseServiceRequest.h
|
||||||
@@ -107,19 +121,27 @@ set(eas_public_header_model
|
|||||||
include/alibabacloud/eas/model/UpdateResourceResult.h
|
include/alibabacloud/eas/model/UpdateResourceResult.h
|
||||||
include/alibabacloud/eas/model/UpdateResourceDLinkRequest.h
|
include/alibabacloud/eas/model/UpdateResourceDLinkRequest.h
|
||||||
include/alibabacloud/eas/model/UpdateResourceDLinkResult.h
|
include/alibabacloud/eas/model/UpdateResourceDLinkResult.h
|
||||||
|
include/alibabacloud/eas/model/UpdateResourceInstanceRequest.h
|
||||||
|
include/alibabacloud/eas/model/UpdateResourceInstanceResult.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceRequest.h
|
include/alibabacloud/eas/model/UpdateServiceRequest.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceResult.h
|
include/alibabacloud/eas/model/UpdateServiceResult.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceAutoScalerRequest.h
|
include/alibabacloud/eas/model/UpdateServiceAutoScalerRequest.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceAutoScalerResult.h
|
include/alibabacloud/eas/model/UpdateServiceAutoScalerResult.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceCronScalerRequest.h
|
include/alibabacloud/eas/model/UpdateServiceCronScalerRequest.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceCronScalerResult.h
|
include/alibabacloud/eas/model/UpdateServiceCronScalerResult.h
|
||||||
|
include/alibabacloud/eas/model/UpdateServiceLabelRequest.h
|
||||||
|
include/alibabacloud/eas/model/UpdateServiceLabelResult.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceMirrorRequest.h
|
include/alibabacloud/eas/model/UpdateServiceMirrorRequest.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceMirrorResult.h
|
include/alibabacloud/eas/model/UpdateServiceMirrorResult.h
|
||||||
|
include/alibabacloud/eas/model/UpdateServiceSafetyLockRequest.h
|
||||||
|
include/alibabacloud/eas/model/UpdateServiceSafetyLockResult.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceVersionRequest.h
|
include/alibabacloud/eas/model/UpdateServiceVersionRequest.h
|
||||||
include/alibabacloud/eas/model/UpdateServiceVersionResult.h )
|
include/alibabacloud/eas/model/UpdateServiceVersionResult.h )
|
||||||
|
|
||||||
set(eas_src
|
set(eas_src
|
||||||
src/EasClient.cc
|
src/EasClient.cc
|
||||||
|
src/model/CommitServiceRequest.cc
|
||||||
|
src/model/CommitServiceResult.cc
|
||||||
src/model/CreateBenchmarkTaskRequest.cc
|
src/model/CreateBenchmarkTaskRequest.cc
|
||||||
src/model/CreateBenchmarkTaskResult.cc
|
src/model/CreateBenchmarkTaskResult.cc
|
||||||
src/model/CreateResourceRequest.cc
|
src/model/CreateResourceRequest.cc
|
||||||
@@ -154,12 +176,16 @@ set(eas_src
|
|||||||
src/model/DeleteServiceCronScalerResult.cc
|
src/model/DeleteServiceCronScalerResult.cc
|
||||||
src/model/DeleteServiceInstancesRequest.cc
|
src/model/DeleteServiceInstancesRequest.cc
|
||||||
src/model/DeleteServiceInstancesResult.cc
|
src/model/DeleteServiceInstancesResult.cc
|
||||||
|
src/model/DeleteServiceLabelRequest.cc
|
||||||
|
src/model/DeleteServiceLabelResult.cc
|
||||||
src/model/DeleteServiceMirrorRequest.cc
|
src/model/DeleteServiceMirrorRequest.cc
|
||||||
src/model/DeleteServiceMirrorResult.cc
|
src/model/DeleteServiceMirrorResult.cc
|
||||||
src/model/DescribeBenchmarkTaskRequest.cc
|
src/model/DescribeBenchmarkTaskRequest.cc
|
||||||
src/model/DescribeBenchmarkTaskResult.cc
|
src/model/DescribeBenchmarkTaskResult.cc
|
||||||
src/model/DescribeBenchmarkTaskReportRequest.cc
|
src/model/DescribeBenchmarkTaskReportRequest.cc
|
||||||
src/model/DescribeBenchmarkTaskReportResult.cc
|
src/model/DescribeBenchmarkTaskReportResult.cc
|
||||||
|
src/model/DescribeGroupRequest.cc
|
||||||
|
src/model/DescribeGroupResult.cc
|
||||||
src/model/DescribeResourceRequest.cc
|
src/model/DescribeResourceRequest.cc
|
||||||
src/model/DescribeResourceResult.cc
|
src/model/DescribeResourceResult.cc
|
||||||
src/model/DescribeResourceDLinkRequest.cc
|
src/model/DescribeResourceDLinkRequest.cc
|
||||||
@@ -172,12 +198,18 @@ set(eas_src
|
|||||||
src/model/DescribeServiceAutoScalerResult.cc
|
src/model/DescribeServiceAutoScalerResult.cc
|
||||||
src/model/DescribeServiceCronScalerRequest.cc
|
src/model/DescribeServiceCronScalerRequest.cc
|
||||||
src/model/DescribeServiceCronScalerResult.cc
|
src/model/DescribeServiceCronScalerResult.cc
|
||||||
|
src/model/DescribeServiceEventRequest.cc
|
||||||
|
src/model/DescribeServiceEventResult.cc
|
||||||
src/model/DescribeServiceLogRequest.cc
|
src/model/DescribeServiceLogRequest.cc
|
||||||
src/model/DescribeServiceLogResult.cc
|
src/model/DescribeServiceLogResult.cc
|
||||||
src/model/DescribeServiceMirrorRequest.cc
|
src/model/DescribeServiceMirrorRequest.cc
|
||||||
src/model/DescribeServiceMirrorResult.cc
|
src/model/DescribeServiceMirrorResult.cc
|
||||||
|
src/model/DevelopServiceRequest.cc
|
||||||
|
src/model/DevelopServiceResult.cc
|
||||||
src/model/ListBenchmarkTaskRequest.cc
|
src/model/ListBenchmarkTaskRequest.cc
|
||||||
src/model/ListBenchmarkTaskResult.cc
|
src/model/ListBenchmarkTaskResult.cc
|
||||||
|
src/model/ListGroupsRequest.cc
|
||||||
|
src/model/ListGroupsResult.cc
|
||||||
src/model/ListResourceInstanceWorkerRequest.cc
|
src/model/ListResourceInstanceWorkerRequest.cc
|
||||||
src/model/ListResourceInstanceWorkerResult.cc
|
src/model/ListResourceInstanceWorkerResult.cc
|
||||||
src/model/ListResourceInstancesRequest.cc
|
src/model/ListResourceInstancesRequest.cc
|
||||||
@@ -188,6 +220,8 @@ set(eas_src
|
|||||||
src/model/ListResourcesResult.cc
|
src/model/ListResourcesResult.cc
|
||||||
src/model/ListServiceInstancesRequest.cc
|
src/model/ListServiceInstancesRequest.cc
|
||||||
src/model/ListServiceInstancesResult.cc
|
src/model/ListServiceInstancesResult.cc
|
||||||
|
src/model/ListServiceVersionsRequest.cc
|
||||||
|
src/model/ListServiceVersionsResult.cc
|
||||||
src/model/ListServicesRequest.cc
|
src/model/ListServicesRequest.cc
|
||||||
src/model/ListServicesResult.cc
|
src/model/ListServicesResult.cc
|
||||||
src/model/ReleaseServiceRequest.cc
|
src/model/ReleaseServiceRequest.cc
|
||||||
@@ -206,14 +240,20 @@ set(eas_src
|
|||||||
src/model/UpdateResourceResult.cc
|
src/model/UpdateResourceResult.cc
|
||||||
src/model/UpdateResourceDLinkRequest.cc
|
src/model/UpdateResourceDLinkRequest.cc
|
||||||
src/model/UpdateResourceDLinkResult.cc
|
src/model/UpdateResourceDLinkResult.cc
|
||||||
|
src/model/UpdateResourceInstanceRequest.cc
|
||||||
|
src/model/UpdateResourceInstanceResult.cc
|
||||||
src/model/UpdateServiceRequest.cc
|
src/model/UpdateServiceRequest.cc
|
||||||
src/model/UpdateServiceResult.cc
|
src/model/UpdateServiceResult.cc
|
||||||
src/model/UpdateServiceAutoScalerRequest.cc
|
src/model/UpdateServiceAutoScalerRequest.cc
|
||||||
src/model/UpdateServiceAutoScalerResult.cc
|
src/model/UpdateServiceAutoScalerResult.cc
|
||||||
src/model/UpdateServiceCronScalerRequest.cc
|
src/model/UpdateServiceCronScalerRequest.cc
|
||||||
src/model/UpdateServiceCronScalerResult.cc
|
src/model/UpdateServiceCronScalerResult.cc
|
||||||
|
src/model/UpdateServiceLabelRequest.cc
|
||||||
|
src/model/UpdateServiceLabelResult.cc
|
||||||
src/model/UpdateServiceMirrorRequest.cc
|
src/model/UpdateServiceMirrorRequest.cc
|
||||||
src/model/UpdateServiceMirrorResult.cc
|
src/model/UpdateServiceMirrorResult.cc
|
||||||
|
src/model/UpdateServiceSafetyLockRequest.cc
|
||||||
|
src/model/UpdateServiceSafetyLockResult.cc
|
||||||
src/model/UpdateServiceVersionRequest.cc
|
src/model/UpdateServiceVersionRequest.cc
|
||||||
src/model/UpdateServiceVersionResult.cc )
|
src/model/UpdateServiceVersionResult.cc )
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#include <alibabacloud/core/EndpointProvider.h>
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
#include <alibabacloud/core/RoaServiceClient.h>
|
#include <alibabacloud/core/RoaServiceClient.h>
|
||||||
#include "EasExport.h"
|
#include "EasExport.h"
|
||||||
|
#include "model/CommitServiceRequest.h"
|
||||||
|
#include "model/CommitServiceResult.h"
|
||||||
#include "model/CreateBenchmarkTaskRequest.h"
|
#include "model/CreateBenchmarkTaskRequest.h"
|
||||||
#include "model/CreateBenchmarkTaskResult.h"
|
#include "model/CreateBenchmarkTaskResult.h"
|
||||||
#include "model/CreateResourceRequest.h"
|
#include "model/CreateResourceRequest.h"
|
||||||
@@ -56,12 +58,16 @@
|
|||||||
#include "model/DeleteServiceCronScalerResult.h"
|
#include "model/DeleteServiceCronScalerResult.h"
|
||||||
#include "model/DeleteServiceInstancesRequest.h"
|
#include "model/DeleteServiceInstancesRequest.h"
|
||||||
#include "model/DeleteServiceInstancesResult.h"
|
#include "model/DeleteServiceInstancesResult.h"
|
||||||
|
#include "model/DeleteServiceLabelRequest.h"
|
||||||
|
#include "model/DeleteServiceLabelResult.h"
|
||||||
#include "model/DeleteServiceMirrorRequest.h"
|
#include "model/DeleteServiceMirrorRequest.h"
|
||||||
#include "model/DeleteServiceMirrorResult.h"
|
#include "model/DeleteServiceMirrorResult.h"
|
||||||
#include "model/DescribeBenchmarkTaskRequest.h"
|
#include "model/DescribeBenchmarkTaskRequest.h"
|
||||||
#include "model/DescribeBenchmarkTaskResult.h"
|
#include "model/DescribeBenchmarkTaskResult.h"
|
||||||
#include "model/DescribeBenchmarkTaskReportRequest.h"
|
#include "model/DescribeBenchmarkTaskReportRequest.h"
|
||||||
#include "model/DescribeBenchmarkTaskReportResult.h"
|
#include "model/DescribeBenchmarkTaskReportResult.h"
|
||||||
|
#include "model/DescribeGroupRequest.h"
|
||||||
|
#include "model/DescribeGroupResult.h"
|
||||||
#include "model/DescribeResourceRequest.h"
|
#include "model/DescribeResourceRequest.h"
|
||||||
#include "model/DescribeResourceResult.h"
|
#include "model/DescribeResourceResult.h"
|
||||||
#include "model/DescribeResourceDLinkRequest.h"
|
#include "model/DescribeResourceDLinkRequest.h"
|
||||||
@@ -74,12 +80,18 @@
|
|||||||
#include "model/DescribeServiceAutoScalerResult.h"
|
#include "model/DescribeServiceAutoScalerResult.h"
|
||||||
#include "model/DescribeServiceCronScalerRequest.h"
|
#include "model/DescribeServiceCronScalerRequest.h"
|
||||||
#include "model/DescribeServiceCronScalerResult.h"
|
#include "model/DescribeServiceCronScalerResult.h"
|
||||||
|
#include "model/DescribeServiceEventRequest.h"
|
||||||
|
#include "model/DescribeServiceEventResult.h"
|
||||||
#include "model/DescribeServiceLogRequest.h"
|
#include "model/DescribeServiceLogRequest.h"
|
||||||
#include "model/DescribeServiceLogResult.h"
|
#include "model/DescribeServiceLogResult.h"
|
||||||
#include "model/DescribeServiceMirrorRequest.h"
|
#include "model/DescribeServiceMirrorRequest.h"
|
||||||
#include "model/DescribeServiceMirrorResult.h"
|
#include "model/DescribeServiceMirrorResult.h"
|
||||||
|
#include "model/DevelopServiceRequest.h"
|
||||||
|
#include "model/DevelopServiceResult.h"
|
||||||
#include "model/ListBenchmarkTaskRequest.h"
|
#include "model/ListBenchmarkTaskRequest.h"
|
||||||
#include "model/ListBenchmarkTaskResult.h"
|
#include "model/ListBenchmarkTaskResult.h"
|
||||||
|
#include "model/ListGroupsRequest.h"
|
||||||
|
#include "model/ListGroupsResult.h"
|
||||||
#include "model/ListResourceInstanceWorkerRequest.h"
|
#include "model/ListResourceInstanceWorkerRequest.h"
|
||||||
#include "model/ListResourceInstanceWorkerResult.h"
|
#include "model/ListResourceInstanceWorkerResult.h"
|
||||||
#include "model/ListResourceInstancesRequest.h"
|
#include "model/ListResourceInstancesRequest.h"
|
||||||
@@ -90,6 +102,8 @@
|
|||||||
#include "model/ListResourcesResult.h"
|
#include "model/ListResourcesResult.h"
|
||||||
#include "model/ListServiceInstancesRequest.h"
|
#include "model/ListServiceInstancesRequest.h"
|
||||||
#include "model/ListServiceInstancesResult.h"
|
#include "model/ListServiceInstancesResult.h"
|
||||||
|
#include "model/ListServiceVersionsRequest.h"
|
||||||
|
#include "model/ListServiceVersionsResult.h"
|
||||||
#include "model/ListServicesRequest.h"
|
#include "model/ListServicesRequest.h"
|
||||||
#include "model/ListServicesResult.h"
|
#include "model/ListServicesResult.h"
|
||||||
#include "model/ReleaseServiceRequest.h"
|
#include "model/ReleaseServiceRequest.h"
|
||||||
@@ -108,14 +122,20 @@
|
|||||||
#include "model/UpdateResourceResult.h"
|
#include "model/UpdateResourceResult.h"
|
||||||
#include "model/UpdateResourceDLinkRequest.h"
|
#include "model/UpdateResourceDLinkRequest.h"
|
||||||
#include "model/UpdateResourceDLinkResult.h"
|
#include "model/UpdateResourceDLinkResult.h"
|
||||||
|
#include "model/UpdateResourceInstanceRequest.h"
|
||||||
|
#include "model/UpdateResourceInstanceResult.h"
|
||||||
#include "model/UpdateServiceRequest.h"
|
#include "model/UpdateServiceRequest.h"
|
||||||
#include "model/UpdateServiceResult.h"
|
#include "model/UpdateServiceResult.h"
|
||||||
#include "model/UpdateServiceAutoScalerRequest.h"
|
#include "model/UpdateServiceAutoScalerRequest.h"
|
||||||
#include "model/UpdateServiceAutoScalerResult.h"
|
#include "model/UpdateServiceAutoScalerResult.h"
|
||||||
#include "model/UpdateServiceCronScalerRequest.h"
|
#include "model/UpdateServiceCronScalerRequest.h"
|
||||||
#include "model/UpdateServiceCronScalerResult.h"
|
#include "model/UpdateServiceCronScalerResult.h"
|
||||||
|
#include "model/UpdateServiceLabelRequest.h"
|
||||||
|
#include "model/UpdateServiceLabelResult.h"
|
||||||
#include "model/UpdateServiceMirrorRequest.h"
|
#include "model/UpdateServiceMirrorRequest.h"
|
||||||
#include "model/UpdateServiceMirrorResult.h"
|
#include "model/UpdateServiceMirrorResult.h"
|
||||||
|
#include "model/UpdateServiceSafetyLockRequest.h"
|
||||||
|
#include "model/UpdateServiceSafetyLockResult.h"
|
||||||
#include "model/UpdateServiceVersionRequest.h"
|
#include "model/UpdateServiceVersionRequest.h"
|
||||||
#include "model/UpdateServiceVersionResult.h"
|
#include "model/UpdateServiceVersionResult.h"
|
||||||
|
|
||||||
@@ -127,6 +147,9 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_EAS_EXPORT EasClient : public RoaServiceClient
|
class ALIBABACLOUD_EAS_EXPORT EasClient : public RoaServiceClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef Outcome<Error, Model::CommitServiceResult> CommitServiceOutcome;
|
||||||
|
typedef std::future<CommitServiceOutcome> CommitServiceOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::CommitServiceRequest&, const CommitServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CommitServiceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateBenchmarkTaskResult> CreateBenchmarkTaskOutcome;
|
typedef Outcome<Error, Model::CreateBenchmarkTaskResult> CreateBenchmarkTaskOutcome;
|
||||||
typedef std::future<CreateBenchmarkTaskOutcome> CreateBenchmarkTaskOutcomeCallable;
|
typedef std::future<CreateBenchmarkTaskOutcome> CreateBenchmarkTaskOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::CreateBenchmarkTaskRequest&, const CreateBenchmarkTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBenchmarkTaskAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::CreateBenchmarkTaskRequest&, const CreateBenchmarkTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBenchmarkTaskAsyncHandler;
|
||||||
@@ -178,6 +201,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteServiceInstancesResult> DeleteServiceInstancesOutcome;
|
typedef Outcome<Error, Model::DeleteServiceInstancesResult> DeleteServiceInstancesOutcome;
|
||||||
typedef std::future<DeleteServiceInstancesOutcome> DeleteServiceInstancesOutcomeCallable;
|
typedef std::future<DeleteServiceInstancesOutcome> DeleteServiceInstancesOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DeleteServiceInstancesRequest&, const DeleteServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceInstancesAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DeleteServiceInstancesRequest&, const DeleteServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteServiceLabelResult> DeleteServiceLabelOutcome;
|
||||||
|
typedef std::future<DeleteServiceLabelOutcome> DeleteServiceLabelOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::DeleteServiceLabelRequest&, const DeleteServiceLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceLabelAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteServiceMirrorResult> DeleteServiceMirrorOutcome;
|
typedef Outcome<Error, Model::DeleteServiceMirrorResult> DeleteServiceMirrorOutcome;
|
||||||
typedef std::future<DeleteServiceMirrorOutcome> DeleteServiceMirrorOutcomeCallable;
|
typedef std::future<DeleteServiceMirrorOutcome> DeleteServiceMirrorOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DeleteServiceMirrorRequest&, const DeleteServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceMirrorAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DeleteServiceMirrorRequest&, const DeleteServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServiceMirrorAsyncHandler;
|
||||||
@@ -187,6 +213,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeBenchmarkTaskReportResult> DescribeBenchmarkTaskReportOutcome;
|
typedef Outcome<Error, Model::DescribeBenchmarkTaskReportResult> DescribeBenchmarkTaskReportOutcome;
|
||||||
typedef std::future<DescribeBenchmarkTaskReportOutcome> DescribeBenchmarkTaskReportOutcomeCallable;
|
typedef std::future<DescribeBenchmarkTaskReportOutcome> DescribeBenchmarkTaskReportOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DescribeBenchmarkTaskReportRequest&, const DescribeBenchmarkTaskReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBenchmarkTaskReportAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DescribeBenchmarkTaskReportRequest&, const DescribeBenchmarkTaskReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBenchmarkTaskReportAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeGroupResult> DescribeGroupOutcome;
|
||||||
|
typedef std::future<DescribeGroupOutcome> DescribeGroupOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::DescribeGroupRequest&, const DescribeGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeResourceResult> DescribeResourceOutcome;
|
typedef Outcome<Error, Model::DescribeResourceResult> DescribeResourceOutcome;
|
||||||
typedef std::future<DescribeResourceOutcome> DescribeResourceOutcomeCallable;
|
typedef std::future<DescribeResourceOutcome> DescribeResourceOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DescribeResourceRequest&, const DescribeResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DescribeResourceRequest&, const DescribeResourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeResourceAsyncHandler;
|
||||||
@@ -205,15 +234,24 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeServiceCronScalerResult> DescribeServiceCronScalerOutcome;
|
typedef Outcome<Error, Model::DescribeServiceCronScalerResult> DescribeServiceCronScalerOutcome;
|
||||||
typedef std::future<DescribeServiceCronScalerOutcome> DescribeServiceCronScalerOutcomeCallable;
|
typedef std::future<DescribeServiceCronScalerOutcome> DescribeServiceCronScalerOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceCronScalerRequest&, const DescribeServiceCronScalerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceCronScalerAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DescribeServiceCronScalerRequest&, const DescribeServiceCronScalerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceCronScalerAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeServiceEventResult> DescribeServiceEventOutcome;
|
||||||
|
typedef std::future<DescribeServiceEventOutcome> DescribeServiceEventOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::DescribeServiceEventRequest&, const DescribeServiceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceEventAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeServiceLogResult> DescribeServiceLogOutcome;
|
typedef Outcome<Error, Model::DescribeServiceLogResult> DescribeServiceLogOutcome;
|
||||||
typedef std::future<DescribeServiceLogOutcome> DescribeServiceLogOutcomeCallable;
|
typedef std::future<DescribeServiceLogOutcome> DescribeServiceLogOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceLogRequest&, const DescribeServiceLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceLogAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DescribeServiceLogRequest&, const DescribeServiceLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceLogAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeServiceMirrorResult> DescribeServiceMirrorOutcome;
|
typedef Outcome<Error, Model::DescribeServiceMirrorResult> DescribeServiceMirrorOutcome;
|
||||||
typedef std::future<DescribeServiceMirrorOutcome> DescribeServiceMirrorOutcomeCallable;
|
typedef std::future<DescribeServiceMirrorOutcome> DescribeServiceMirrorOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::DescribeServiceMirrorRequest&, const DescribeServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceMirrorAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::DescribeServiceMirrorRequest&, const DescribeServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeServiceMirrorAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DevelopServiceResult> DevelopServiceOutcome;
|
||||||
|
typedef std::future<DevelopServiceOutcome> DevelopServiceOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::DevelopServiceRequest&, const DevelopServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DevelopServiceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListBenchmarkTaskResult> ListBenchmarkTaskOutcome;
|
typedef Outcome<Error, Model::ListBenchmarkTaskResult> ListBenchmarkTaskOutcome;
|
||||||
typedef std::future<ListBenchmarkTaskOutcome> ListBenchmarkTaskOutcomeCallable;
|
typedef std::future<ListBenchmarkTaskOutcome> ListBenchmarkTaskOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::ListBenchmarkTaskRequest&, const ListBenchmarkTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBenchmarkTaskAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::ListBenchmarkTaskRequest&, const ListBenchmarkTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBenchmarkTaskAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListGroupsResult> ListGroupsOutcome;
|
||||||
|
typedef std::future<ListGroupsOutcome> ListGroupsOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::ListGroupsRequest&, const ListGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListResourceInstanceWorkerResult> ListResourceInstanceWorkerOutcome;
|
typedef Outcome<Error, Model::ListResourceInstanceWorkerResult> ListResourceInstanceWorkerOutcome;
|
||||||
typedef std::future<ListResourceInstanceWorkerOutcome> ListResourceInstanceWorkerOutcomeCallable;
|
typedef std::future<ListResourceInstanceWorkerOutcome> ListResourceInstanceWorkerOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::ListResourceInstanceWorkerRequest&, const ListResourceInstanceWorkerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceInstanceWorkerAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::ListResourceInstanceWorkerRequest&, const ListResourceInstanceWorkerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListResourceInstanceWorkerAsyncHandler;
|
||||||
@@ -229,6 +267,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListServiceInstancesResult> ListServiceInstancesOutcome;
|
typedef Outcome<Error, Model::ListServiceInstancesResult> ListServiceInstancesOutcome;
|
||||||
typedef std::future<ListServiceInstancesOutcome> ListServiceInstancesOutcomeCallable;
|
typedef std::future<ListServiceInstancesOutcome> ListServiceInstancesOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::ListServiceInstancesRequest&, const ListServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceInstancesAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::ListServiceInstancesRequest&, const ListServiceInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceInstancesAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListServiceVersionsResult> ListServiceVersionsOutcome;
|
||||||
|
typedef std::future<ListServiceVersionsOutcome> ListServiceVersionsOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::ListServiceVersionsRequest&, const ListServiceVersionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServiceVersionsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListServicesResult> ListServicesOutcome;
|
typedef Outcome<Error, Model::ListServicesResult> ListServicesOutcome;
|
||||||
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
|
typedef std::future<ListServicesOutcome> ListServicesOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::ListServicesRequest&, const ListServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServicesAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::ListServicesRequest&, const ListServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListServicesAsyncHandler;
|
||||||
@@ -256,6 +297,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UpdateResourceDLinkResult> UpdateResourceDLinkOutcome;
|
typedef Outcome<Error, Model::UpdateResourceDLinkResult> UpdateResourceDLinkOutcome;
|
||||||
typedef std::future<UpdateResourceDLinkOutcome> UpdateResourceDLinkOutcomeCallable;
|
typedef std::future<UpdateResourceDLinkOutcome> UpdateResourceDLinkOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::UpdateResourceDLinkRequest&, const UpdateResourceDLinkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateResourceDLinkAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::UpdateResourceDLinkRequest&, const UpdateResourceDLinkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateResourceDLinkAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateResourceInstanceResult> UpdateResourceInstanceOutcome;
|
||||||
|
typedef std::future<UpdateResourceInstanceOutcome> UpdateResourceInstanceOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::UpdateResourceInstanceRequest&, const UpdateResourceInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateResourceInstanceAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateServiceResult> UpdateServiceOutcome;
|
typedef Outcome<Error, Model::UpdateServiceResult> UpdateServiceOutcome;
|
||||||
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
|
typedef std::future<UpdateServiceOutcome> UpdateServiceOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceRequest&, const UpdateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::UpdateServiceRequest&, const UpdateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceAsyncHandler;
|
||||||
@@ -265,9 +309,15 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::UpdateServiceCronScalerResult> UpdateServiceCronScalerOutcome;
|
typedef Outcome<Error, Model::UpdateServiceCronScalerResult> UpdateServiceCronScalerOutcome;
|
||||||
typedef std::future<UpdateServiceCronScalerOutcome> UpdateServiceCronScalerOutcomeCallable;
|
typedef std::future<UpdateServiceCronScalerOutcome> UpdateServiceCronScalerOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceCronScalerRequest&, const UpdateServiceCronScalerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceCronScalerAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::UpdateServiceCronScalerRequest&, const UpdateServiceCronScalerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceCronScalerAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateServiceLabelResult> UpdateServiceLabelOutcome;
|
||||||
|
typedef std::future<UpdateServiceLabelOutcome> UpdateServiceLabelOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::UpdateServiceLabelRequest&, const UpdateServiceLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceLabelAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateServiceMirrorResult> UpdateServiceMirrorOutcome;
|
typedef Outcome<Error, Model::UpdateServiceMirrorResult> UpdateServiceMirrorOutcome;
|
||||||
typedef std::future<UpdateServiceMirrorOutcome> UpdateServiceMirrorOutcomeCallable;
|
typedef std::future<UpdateServiceMirrorOutcome> UpdateServiceMirrorOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceMirrorRequest&, const UpdateServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceMirrorAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::UpdateServiceMirrorRequest&, const UpdateServiceMirrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceMirrorAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateServiceSafetyLockResult> UpdateServiceSafetyLockOutcome;
|
||||||
|
typedef std::future<UpdateServiceSafetyLockOutcome> UpdateServiceSafetyLockOutcomeCallable;
|
||||||
|
typedef std::function<void(const EasClient*, const Model::UpdateServiceSafetyLockRequest&, const UpdateServiceSafetyLockOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceSafetyLockAsyncHandler;
|
||||||
typedef Outcome<Error, Model::UpdateServiceVersionResult> UpdateServiceVersionOutcome;
|
typedef Outcome<Error, Model::UpdateServiceVersionResult> UpdateServiceVersionOutcome;
|
||||||
typedef std::future<UpdateServiceVersionOutcome> UpdateServiceVersionOutcomeCallable;
|
typedef std::future<UpdateServiceVersionOutcome> UpdateServiceVersionOutcomeCallable;
|
||||||
typedef std::function<void(const EasClient*, const Model::UpdateServiceVersionRequest&, const UpdateServiceVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceVersionAsyncHandler;
|
typedef std::function<void(const EasClient*, const Model::UpdateServiceVersionRequest&, const UpdateServiceVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateServiceVersionAsyncHandler;
|
||||||
@@ -276,6 +326,9 @@ namespace AlibabaCloud
|
|||||||
EasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
EasClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
EasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
EasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
~EasClient();
|
~EasClient();
|
||||||
|
CommitServiceOutcome commitService(const Model::CommitServiceRequest &request)const;
|
||||||
|
void commitServiceAsync(const Model::CommitServiceRequest& request, const CommitServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CommitServiceOutcomeCallable commitServiceCallable(const Model::CommitServiceRequest& request) const;
|
||||||
CreateBenchmarkTaskOutcome createBenchmarkTask(const Model::CreateBenchmarkTaskRequest &request)const;
|
CreateBenchmarkTaskOutcome createBenchmarkTask(const Model::CreateBenchmarkTaskRequest &request)const;
|
||||||
void createBenchmarkTaskAsync(const Model::CreateBenchmarkTaskRequest& request, const CreateBenchmarkTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createBenchmarkTaskAsync(const Model::CreateBenchmarkTaskRequest& request, const CreateBenchmarkTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateBenchmarkTaskOutcomeCallable createBenchmarkTaskCallable(const Model::CreateBenchmarkTaskRequest& request) const;
|
CreateBenchmarkTaskOutcomeCallable createBenchmarkTaskCallable(const Model::CreateBenchmarkTaskRequest& request) const;
|
||||||
@@ -327,6 +380,9 @@ namespace AlibabaCloud
|
|||||||
DeleteServiceInstancesOutcome deleteServiceInstances(const Model::DeleteServiceInstancesRequest &request)const;
|
DeleteServiceInstancesOutcome deleteServiceInstances(const Model::DeleteServiceInstancesRequest &request)const;
|
||||||
void deleteServiceInstancesAsync(const Model::DeleteServiceInstancesRequest& request, const DeleteServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteServiceInstancesAsync(const Model::DeleteServiceInstancesRequest& request, const DeleteServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteServiceInstancesOutcomeCallable deleteServiceInstancesCallable(const Model::DeleteServiceInstancesRequest& request) const;
|
DeleteServiceInstancesOutcomeCallable deleteServiceInstancesCallable(const Model::DeleteServiceInstancesRequest& request) const;
|
||||||
|
DeleteServiceLabelOutcome deleteServiceLabel(const Model::DeleteServiceLabelRequest &request)const;
|
||||||
|
void deleteServiceLabelAsync(const Model::DeleteServiceLabelRequest& request, const DeleteServiceLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteServiceLabelOutcomeCallable deleteServiceLabelCallable(const Model::DeleteServiceLabelRequest& request) const;
|
||||||
DeleteServiceMirrorOutcome deleteServiceMirror(const Model::DeleteServiceMirrorRequest &request)const;
|
DeleteServiceMirrorOutcome deleteServiceMirror(const Model::DeleteServiceMirrorRequest &request)const;
|
||||||
void deleteServiceMirrorAsync(const Model::DeleteServiceMirrorRequest& request, const DeleteServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteServiceMirrorAsync(const Model::DeleteServiceMirrorRequest& request, const DeleteServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteServiceMirrorOutcomeCallable deleteServiceMirrorCallable(const Model::DeleteServiceMirrorRequest& request) const;
|
DeleteServiceMirrorOutcomeCallable deleteServiceMirrorCallable(const Model::DeleteServiceMirrorRequest& request) const;
|
||||||
@@ -336,6 +392,9 @@ namespace AlibabaCloud
|
|||||||
DescribeBenchmarkTaskReportOutcome describeBenchmarkTaskReport(const Model::DescribeBenchmarkTaskReportRequest &request)const;
|
DescribeBenchmarkTaskReportOutcome describeBenchmarkTaskReport(const Model::DescribeBenchmarkTaskReportRequest &request)const;
|
||||||
void describeBenchmarkTaskReportAsync(const Model::DescribeBenchmarkTaskReportRequest& request, const DescribeBenchmarkTaskReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeBenchmarkTaskReportAsync(const Model::DescribeBenchmarkTaskReportRequest& request, const DescribeBenchmarkTaskReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeBenchmarkTaskReportOutcomeCallable describeBenchmarkTaskReportCallable(const Model::DescribeBenchmarkTaskReportRequest& request) const;
|
DescribeBenchmarkTaskReportOutcomeCallable describeBenchmarkTaskReportCallable(const Model::DescribeBenchmarkTaskReportRequest& request) const;
|
||||||
|
DescribeGroupOutcome describeGroup(const Model::DescribeGroupRequest &request)const;
|
||||||
|
void describeGroupAsync(const Model::DescribeGroupRequest& request, const DescribeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeGroupOutcomeCallable describeGroupCallable(const Model::DescribeGroupRequest& request) const;
|
||||||
DescribeResourceOutcome describeResource(const Model::DescribeResourceRequest &request)const;
|
DescribeResourceOutcome describeResource(const Model::DescribeResourceRequest &request)const;
|
||||||
void describeResourceAsync(const Model::DescribeResourceRequest& request, const DescribeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeResourceAsync(const Model::DescribeResourceRequest& request, const DescribeResourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeResourceOutcomeCallable describeResourceCallable(const Model::DescribeResourceRequest& request) const;
|
DescribeResourceOutcomeCallable describeResourceCallable(const Model::DescribeResourceRequest& request) const;
|
||||||
@@ -354,15 +413,24 @@ namespace AlibabaCloud
|
|||||||
DescribeServiceCronScalerOutcome describeServiceCronScaler(const Model::DescribeServiceCronScalerRequest &request)const;
|
DescribeServiceCronScalerOutcome describeServiceCronScaler(const Model::DescribeServiceCronScalerRequest &request)const;
|
||||||
void describeServiceCronScalerAsync(const Model::DescribeServiceCronScalerRequest& request, const DescribeServiceCronScalerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeServiceCronScalerAsync(const Model::DescribeServiceCronScalerRequest& request, const DescribeServiceCronScalerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeServiceCronScalerOutcomeCallable describeServiceCronScalerCallable(const Model::DescribeServiceCronScalerRequest& request) const;
|
DescribeServiceCronScalerOutcomeCallable describeServiceCronScalerCallable(const Model::DescribeServiceCronScalerRequest& request) const;
|
||||||
|
DescribeServiceEventOutcome describeServiceEvent(const Model::DescribeServiceEventRequest &request)const;
|
||||||
|
void describeServiceEventAsync(const Model::DescribeServiceEventRequest& request, const DescribeServiceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeServiceEventOutcomeCallable describeServiceEventCallable(const Model::DescribeServiceEventRequest& request) const;
|
||||||
DescribeServiceLogOutcome describeServiceLog(const Model::DescribeServiceLogRequest &request)const;
|
DescribeServiceLogOutcome describeServiceLog(const Model::DescribeServiceLogRequest &request)const;
|
||||||
void describeServiceLogAsync(const Model::DescribeServiceLogRequest& request, const DescribeServiceLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeServiceLogAsync(const Model::DescribeServiceLogRequest& request, const DescribeServiceLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeServiceLogOutcomeCallable describeServiceLogCallable(const Model::DescribeServiceLogRequest& request) const;
|
DescribeServiceLogOutcomeCallable describeServiceLogCallable(const Model::DescribeServiceLogRequest& request) const;
|
||||||
DescribeServiceMirrorOutcome describeServiceMirror(const Model::DescribeServiceMirrorRequest &request)const;
|
DescribeServiceMirrorOutcome describeServiceMirror(const Model::DescribeServiceMirrorRequest &request)const;
|
||||||
void describeServiceMirrorAsync(const Model::DescribeServiceMirrorRequest& request, const DescribeServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeServiceMirrorAsync(const Model::DescribeServiceMirrorRequest& request, const DescribeServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeServiceMirrorOutcomeCallable describeServiceMirrorCallable(const Model::DescribeServiceMirrorRequest& request) const;
|
DescribeServiceMirrorOutcomeCallable describeServiceMirrorCallable(const Model::DescribeServiceMirrorRequest& request) const;
|
||||||
|
DevelopServiceOutcome developService(const Model::DevelopServiceRequest &request)const;
|
||||||
|
void developServiceAsync(const Model::DevelopServiceRequest& request, const DevelopServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DevelopServiceOutcomeCallable developServiceCallable(const Model::DevelopServiceRequest& request) const;
|
||||||
ListBenchmarkTaskOutcome listBenchmarkTask(const Model::ListBenchmarkTaskRequest &request)const;
|
ListBenchmarkTaskOutcome listBenchmarkTask(const Model::ListBenchmarkTaskRequest &request)const;
|
||||||
void listBenchmarkTaskAsync(const Model::ListBenchmarkTaskRequest& request, const ListBenchmarkTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listBenchmarkTaskAsync(const Model::ListBenchmarkTaskRequest& request, const ListBenchmarkTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListBenchmarkTaskOutcomeCallable listBenchmarkTaskCallable(const Model::ListBenchmarkTaskRequest& request) const;
|
ListBenchmarkTaskOutcomeCallable listBenchmarkTaskCallable(const Model::ListBenchmarkTaskRequest& request) const;
|
||||||
|
ListGroupsOutcome listGroups(const Model::ListGroupsRequest &request)const;
|
||||||
|
void listGroupsAsync(const Model::ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListGroupsOutcomeCallable listGroupsCallable(const Model::ListGroupsRequest& request) const;
|
||||||
ListResourceInstanceWorkerOutcome listResourceInstanceWorker(const Model::ListResourceInstanceWorkerRequest &request)const;
|
ListResourceInstanceWorkerOutcome listResourceInstanceWorker(const Model::ListResourceInstanceWorkerRequest &request)const;
|
||||||
void listResourceInstanceWorkerAsync(const Model::ListResourceInstanceWorkerRequest& request, const ListResourceInstanceWorkerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listResourceInstanceWorkerAsync(const Model::ListResourceInstanceWorkerRequest& request, const ListResourceInstanceWorkerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListResourceInstanceWorkerOutcomeCallable listResourceInstanceWorkerCallable(const Model::ListResourceInstanceWorkerRequest& request) const;
|
ListResourceInstanceWorkerOutcomeCallable listResourceInstanceWorkerCallable(const Model::ListResourceInstanceWorkerRequest& request) const;
|
||||||
@@ -378,6 +446,9 @@ namespace AlibabaCloud
|
|||||||
ListServiceInstancesOutcome listServiceInstances(const Model::ListServiceInstancesRequest &request)const;
|
ListServiceInstancesOutcome listServiceInstances(const Model::ListServiceInstancesRequest &request)const;
|
||||||
void listServiceInstancesAsync(const Model::ListServiceInstancesRequest& request, const ListServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listServiceInstancesAsync(const Model::ListServiceInstancesRequest& request, const ListServiceInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListServiceInstancesOutcomeCallable listServiceInstancesCallable(const Model::ListServiceInstancesRequest& request) const;
|
ListServiceInstancesOutcomeCallable listServiceInstancesCallable(const Model::ListServiceInstancesRequest& request) const;
|
||||||
|
ListServiceVersionsOutcome listServiceVersions(const Model::ListServiceVersionsRequest &request)const;
|
||||||
|
void listServiceVersionsAsync(const Model::ListServiceVersionsRequest& request, const ListServiceVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListServiceVersionsOutcomeCallable listServiceVersionsCallable(const Model::ListServiceVersionsRequest& request) const;
|
||||||
ListServicesOutcome listServices(const Model::ListServicesRequest &request)const;
|
ListServicesOutcome listServices(const Model::ListServicesRequest &request)const;
|
||||||
void listServicesAsync(const Model::ListServicesRequest& request, const ListServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listServicesAsync(const Model::ListServicesRequest& request, const ListServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListServicesOutcomeCallable listServicesCallable(const Model::ListServicesRequest& request) const;
|
ListServicesOutcomeCallable listServicesCallable(const Model::ListServicesRequest& request) const;
|
||||||
@@ -405,6 +476,9 @@ namespace AlibabaCloud
|
|||||||
UpdateResourceDLinkOutcome updateResourceDLink(const Model::UpdateResourceDLinkRequest &request)const;
|
UpdateResourceDLinkOutcome updateResourceDLink(const Model::UpdateResourceDLinkRequest &request)const;
|
||||||
void updateResourceDLinkAsync(const Model::UpdateResourceDLinkRequest& request, const UpdateResourceDLinkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateResourceDLinkAsync(const Model::UpdateResourceDLinkRequest& request, const UpdateResourceDLinkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateResourceDLinkOutcomeCallable updateResourceDLinkCallable(const Model::UpdateResourceDLinkRequest& request) const;
|
UpdateResourceDLinkOutcomeCallable updateResourceDLinkCallable(const Model::UpdateResourceDLinkRequest& request) const;
|
||||||
|
UpdateResourceInstanceOutcome updateResourceInstance(const Model::UpdateResourceInstanceRequest &request)const;
|
||||||
|
void updateResourceInstanceAsync(const Model::UpdateResourceInstanceRequest& request, const UpdateResourceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateResourceInstanceOutcomeCallable updateResourceInstanceCallable(const Model::UpdateResourceInstanceRequest& request) const;
|
||||||
UpdateServiceOutcome updateService(const Model::UpdateServiceRequest &request)const;
|
UpdateServiceOutcome updateService(const Model::UpdateServiceRequest &request)const;
|
||||||
void updateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateServiceAsync(const Model::UpdateServiceRequest& request, const UpdateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateServiceOutcomeCallable updateServiceCallable(const Model::UpdateServiceRequest& request) const;
|
UpdateServiceOutcomeCallable updateServiceCallable(const Model::UpdateServiceRequest& request) const;
|
||||||
@@ -414,9 +488,15 @@ namespace AlibabaCloud
|
|||||||
UpdateServiceCronScalerOutcome updateServiceCronScaler(const Model::UpdateServiceCronScalerRequest &request)const;
|
UpdateServiceCronScalerOutcome updateServiceCronScaler(const Model::UpdateServiceCronScalerRequest &request)const;
|
||||||
void updateServiceCronScalerAsync(const Model::UpdateServiceCronScalerRequest& request, const UpdateServiceCronScalerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateServiceCronScalerAsync(const Model::UpdateServiceCronScalerRequest& request, const UpdateServiceCronScalerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateServiceCronScalerOutcomeCallable updateServiceCronScalerCallable(const Model::UpdateServiceCronScalerRequest& request) const;
|
UpdateServiceCronScalerOutcomeCallable updateServiceCronScalerCallable(const Model::UpdateServiceCronScalerRequest& request) const;
|
||||||
|
UpdateServiceLabelOutcome updateServiceLabel(const Model::UpdateServiceLabelRequest &request)const;
|
||||||
|
void updateServiceLabelAsync(const Model::UpdateServiceLabelRequest& request, const UpdateServiceLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateServiceLabelOutcomeCallable updateServiceLabelCallable(const Model::UpdateServiceLabelRequest& request) const;
|
||||||
UpdateServiceMirrorOutcome updateServiceMirror(const Model::UpdateServiceMirrorRequest &request)const;
|
UpdateServiceMirrorOutcome updateServiceMirror(const Model::UpdateServiceMirrorRequest &request)const;
|
||||||
void updateServiceMirrorAsync(const Model::UpdateServiceMirrorRequest& request, const UpdateServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateServiceMirrorAsync(const Model::UpdateServiceMirrorRequest& request, const UpdateServiceMirrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateServiceMirrorOutcomeCallable updateServiceMirrorCallable(const Model::UpdateServiceMirrorRequest& request) const;
|
UpdateServiceMirrorOutcomeCallable updateServiceMirrorCallable(const Model::UpdateServiceMirrorRequest& request) const;
|
||||||
|
UpdateServiceSafetyLockOutcome updateServiceSafetyLock(const Model::UpdateServiceSafetyLockRequest &request)const;
|
||||||
|
void updateServiceSafetyLockAsync(const Model::UpdateServiceSafetyLockRequest& request, const UpdateServiceSafetyLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateServiceSafetyLockOutcomeCallable updateServiceSafetyLockCallable(const Model::UpdateServiceSafetyLockRequest& request) const;
|
||||||
UpdateServiceVersionOutcome updateServiceVersion(const Model::UpdateServiceVersionRequest &request)const;
|
UpdateServiceVersionOutcome updateServiceVersion(const Model::UpdateServiceVersionRequest &request)const;
|
||||||
void updateServiceVersionAsync(const Model::UpdateServiceVersionRequest& request, const UpdateServiceVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void updateServiceVersionAsync(const Model::UpdateServiceVersionRequest& request, const UpdateServiceVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
UpdateServiceVersionOutcomeCallable updateServiceVersionCallable(const Model::UpdateServiceVersionRequest& request) const;
|
UpdateServiceVersionOutcomeCallable updateServiceVersionCallable(const Model::UpdateServiceVersionRequest& request) const;
|
||||||
|
|||||||
45
eas/include/alibabacloud/eas/model/CommitServiceRequest.h
Normal file
45
eas/include/alibabacloud/eas/model/CommitServiceRequest.h
Normal 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_EAS_MODEL_COMMITSERVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_COMMITSERVICEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT CommitServiceRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
CommitServiceRequest();
|
||||||
|
~CommitServiceRequest();
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_COMMITSERVICEREQUEST_H_
|
||||||
51
eas/include/alibabacloud/eas/model/CommitServiceResult.h
Normal file
51
eas/include/alibabacloud/eas/model/CommitServiceResult.h
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_COMMITSERVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_COMMITSERVICERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT CommitServiceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CommitServiceResult();
|
||||||
|
explicit CommitServiceResult(const std::string &payload);
|
||||||
|
~CommitServiceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_COMMITSERVICERESULT_H_
|
||||||
@@ -30,11 +30,11 @@ class ALIBABACLOUD_EAS_EXPORT CreateBenchmarkTaskRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
CreateBenchmarkTaskRequest();
|
CreateBenchmarkTaskRequest();
|
||||||
~CreateBenchmarkTaskRequest();
|
~CreateBenchmarkTaskRequest();
|
||||||
string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(string body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -38,15 +38,15 @@ namespace AlibabaCloud
|
|||||||
explicit CreateBenchmarkTaskResult(const std::string &payload);
|
explicit CreateBenchmarkTaskResult(const std::string &payload);
|
||||||
~CreateBenchmarkTaskResult();
|
~CreateBenchmarkTaskResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
|
std::string getTaskName()const;
|
||||||
std::string getRegion()const;
|
std::string getRegion()const;
|
||||||
std::string getName()const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
|
std::string taskName_;
|
||||||
std::string region_;
|
std::string region_;
|
||||||
std::string name_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateResourceInstancesRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
CreateResourceInstancesRequest();
|
CreateResourceInstancesRequest();
|
||||||
~CreateResourceInstancesRequest();
|
~CreateResourceInstancesRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateResourceLogRequest : public RoaServiceReques
|
|||||||
public:
|
public:
|
||||||
CreateResourceLogRequest();
|
CreateResourceLogRequest();
|
||||||
~CreateResourceLogRequest();
|
~CreateResourceLogRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceAutoScalerRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
CreateServiceAutoScalerRequest();
|
CreateServiceAutoScalerRequest();
|
||||||
~CreateServiceAutoScalerRequest();
|
~CreateServiceAutoScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceCronScalerRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
CreateServiceCronScalerRequest();
|
CreateServiceCronScalerRequest();
|
||||||
~CreateServiceCronScalerRequest();
|
~CreateServiceCronScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceMirrorRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
CreateServiceMirrorRequest();
|
CreateServiceMirrorRequest();
|
||||||
~CreateServiceMirrorRequest();
|
~CreateServiceMirrorRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,11 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT CreateServiceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
CreateServiceRequest();
|
CreateServiceRequest();
|
||||||
~CreateServiceRequest();
|
~CreateServiceRequest();
|
||||||
string getBody() const;
|
std::string getDevelop() const;
|
||||||
void setBody(string body);
|
void setDevelop(const std::string &develop);
|
||||||
|
std::string getBody() const;
|
||||||
|
void setBody(const std::string &body);
|
||||||
|
std::string getLabels() const;
|
||||||
|
void setLabels(const std::string &labels);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string body_;
|
std::string develop_;
|
||||||
|
std::string body_;
|
||||||
|
std::string labels_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteBenchmarkTaskRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
DeleteBenchmarkTaskRequest();
|
DeleteBenchmarkTaskRequest();
|
||||||
~DeleteBenchmarkTaskRequest();
|
~DeleteBenchmarkTaskRequest();
|
||||||
string getTaskName() const;
|
std::string getTaskName() const;
|
||||||
void setTaskName(string taskName);
|
void setTaskName(const std::string &taskName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string taskName_;
|
std::string taskName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceDLinkRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
DeleteResourceDLinkRequest();
|
DeleteResourceDLinkRequest();
|
||||||
~DeleteResourceDLinkRequest();
|
~DeleteResourceDLinkRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceInstancesRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
DeleteResourceInstancesRequest();
|
DeleteResourceInstancesRequest();
|
||||||
~DeleteResourceInstancesRequest();
|
~DeleteResourceInstancesRequest();
|
||||||
string getInstanceList() const;
|
std::string getInstanceList() const;
|
||||||
void setInstanceList(string instanceList);
|
void setInstanceList(const std::string &instanceList);
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
boolean getAllFailed() const;
|
bool getAllFailed() const;
|
||||||
void setAllFailed(boolean allFailed);
|
void setAllFailed(bool allFailed);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string instanceList_;
|
std::string instanceList_;
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
boolean allFailed_;
|
bool allFailed_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceLogRequest : public RoaServiceReques
|
|||||||
public:
|
public:
|
||||||
DeleteResourceLogRequest();
|
DeleteResourceLogRequest();
|
||||||
~DeleteResourceLogRequest();
|
~DeleteResourceLogRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteResourceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
DeleteResourceRequest();
|
DeleteResourceRequest();
|
||||||
~DeleteResourceRequest();
|
~DeleteResourceRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceAutoScalerRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
DeleteServiceAutoScalerRequest();
|
DeleteServiceAutoScalerRequest();
|
||||||
~DeleteServiceAutoScalerRequest();
|
~DeleteServiceAutoScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceCronScalerRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
DeleteServiceCronScalerRequest();
|
DeleteServiceCronScalerRequest();
|
||||||
~DeleteServiceCronScalerRequest();
|
~DeleteServiceCronScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceInstancesRequest : public RoaServiceR
|
|||||||
public:
|
public:
|
||||||
DeleteServiceInstancesRequest();
|
DeleteServiceInstancesRequest();
|
||||||
~DeleteServiceInstancesRequest();
|
~DeleteServiceInstancesRequest();
|
||||||
string getInstanceList() const;
|
std::string getInstanceList() const;
|
||||||
void setInstanceList(string instanceList);
|
void setInstanceList(const std::string &instanceList);
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string instanceList_;
|
std::string instanceList_;
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -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_EAS_MODEL_DELETESERVICELABELREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DeleteServiceLabelRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
DeleteServiceLabelRequest();
|
||||||
|
~DeleteServiceLabelRequest();
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DeleteServiceLabelResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteServiceLabelResult();
|
||||||
|
explicit DeleteServiceLabelResult(const std::string &payload);
|
||||||
|
~DeleteServiceLabelResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DELETESERVICELABELRESULT_H_
|
||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceMirrorRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
DeleteServiceMirrorRequest();
|
DeleteServiceMirrorRequest();
|
||||||
~DeleteServiceMirrorRequest();
|
~DeleteServiceMirrorRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DeleteServiceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
DeleteServiceRequest();
|
DeleteServiceRequest();
|
||||||
~DeleteServiceRequest();
|
~DeleteServiceRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT DescribeBenchmarkTaskReportRequest : public RoaSer
|
|||||||
public:
|
public:
|
||||||
DescribeBenchmarkTaskReportRequest();
|
DescribeBenchmarkTaskReportRequest();
|
||||||
~DescribeBenchmarkTaskReportRequest();
|
~DescribeBenchmarkTaskReportRequest();
|
||||||
string getTaskName() const;
|
std::string getReportType() const;
|
||||||
void setTaskName(string taskName);
|
void setReportType(const std::string &reportType);
|
||||||
string getClusterId() const;
|
std::string getTaskName() const;
|
||||||
void setClusterId(string clusterId);
|
void setTaskName(const std::string &taskName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string taskName_;
|
std::string reportType_;
|
||||||
string clusterId_;
|
std::string taskName_;
|
||||||
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -38,11 +38,13 @@ namespace AlibabaCloud
|
|||||||
explicit DescribeBenchmarkTaskReportResult(const std::string &payload);
|
explicit DescribeBenchmarkTaskReportResult(const std::string &payload);
|
||||||
~DescribeBenchmarkTaskReportResult();
|
~DescribeBenchmarkTaskReportResult();
|
||||||
std::string getReportUrl()const;
|
std::string getReportUrl()const;
|
||||||
|
ObjectOfAny getData()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string reportUrl_;
|
std::string reportUrl_;
|
||||||
|
ObjectOfAny data_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeBenchmarkTaskRequest : public RoaServiceRe
|
|||||||
public:
|
public:
|
||||||
DescribeBenchmarkTaskRequest();
|
DescribeBenchmarkTaskRequest();
|
||||||
~DescribeBenchmarkTaskRequest();
|
~DescribeBenchmarkTaskRequest();
|
||||||
string getTaskName() const;
|
std::string getTaskName() const;
|
||||||
void setTaskName(string taskName);
|
void setTaskName(const std::string &taskName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string taskName_;
|
std::string taskName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
|||||||
long getAvailableAgent()const;
|
long getAvailableAgent()const;
|
||||||
std::string getTaskId()const;
|
std::string getTaskId()const;
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
|
std::string getEndpoint()const;
|
||||||
std::string getTaskName()const;
|
std::string getTaskName()const;
|
||||||
std::string getServiceName()const;
|
std::string getServiceName()const;
|
||||||
long getDesiredAgent()const;
|
long getDesiredAgent()const;
|
||||||
@@ -56,6 +57,7 @@ namespace AlibabaCloud
|
|||||||
long availableAgent_;
|
long availableAgent_;
|
||||||
std::string taskId_;
|
std::string taskId_;
|
||||||
std::string message_;
|
std::string message_;
|
||||||
|
std::string endpoint_;
|
||||||
std::string taskName_;
|
std::string taskName_;
|
||||||
std::string serviceName_;
|
std::string serviceName_;
|
||||||
long desiredAgent_;
|
long desiredAgent_;
|
||||||
|
|||||||
45
eas/include/alibabacloud/eas/model/DescribeGroupRequest.h
Normal file
45
eas/include/alibabacloud/eas/model/DescribeGroupRequest.h
Normal 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_EAS_MODEL_DESCRIBEGROUPREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DescribeGroupRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeGroupRequest();
|
||||||
|
~DescribeGroupRequest();
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
std::string getGroupName() const;
|
||||||
|
void setGroupName(const std::string &groupName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string groupName_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPREQUEST_H_
|
||||||
65
eas/include/alibabacloud/eas/model/DescribeGroupResult.h
Normal file
65
eas/include/alibabacloud/eas/model/DescribeGroupResult.h
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
* 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_EAS_MODEL_DESCRIBEGROUPRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DescribeGroupResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeGroupResult();
|
||||||
|
explicit DescribeGroupResult(const std::string &payload);
|
||||||
|
~DescribeGroupResult();
|
||||||
|
std::string getClusterId()const;
|
||||||
|
std::string getAccessToken()const;
|
||||||
|
std::string getCreateTime()const;
|
||||||
|
std::string getUpdateTime()const;
|
||||||
|
std::string getInternetEndpoint()const;
|
||||||
|
std::string getQueueService()const;
|
||||||
|
std::string getIntranetEndpoint()const;
|
||||||
|
std::string getName()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string accessToken_;
|
||||||
|
std::string createTime_;
|
||||||
|
std::string updateTime_;
|
||||||
|
std::string internetEndpoint_;
|
||||||
|
std::string queueService_;
|
||||||
|
std::string intranetEndpoint_;
|
||||||
|
std::string name_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBEGROUPRESULT_H_
|
||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeResourceDLinkRequest : public RoaServiceRe
|
|||||||
public:
|
public:
|
||||||
DescribeResourceDLinkRequest();
|
DescribeResourceDLinkRequest();
|
||||||
~DescribeResourceDLinkRequest();
|
~DescribeResourceDLinkRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeResourceLogRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
DescribeResourceLogRequest();
|
DescribeResourceLogRequest();
|
||||||
~DescribeResourceLogRequest();
|
~DescribeResourceLogRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeResourceRequest : public RoaServiceRequest
|
|||||||
public:
|
public:
|
||||||
DescribeResourceRequest();
|
DescribeResourceRequest();
|
||||||
~DescribeResourceRequest();
|
~DescribeResourceRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceAutoScalerRequest : public RoaServi
|
|||||||
public:
|
public:
|
||||||
DescribeServiceAutoScalerRequest();
|
DescribeServiceAutoScalerRequest();
|
||||||
~DescribeServiceAutoScalerRequest();
|
~DescribeServiceAutoScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -32,25 +32,39 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_EAS_EXPORT DescribeServiceAutoScalerResult : public ServiceResult
|
class ALIBABACLOUD_EAS_EXPORT DescribeServiceAutoScalerResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct ScaleStrategy
|
||||||
|
{
|
||||||
|
std::string metricName;
|
||||||
|
std::string service;
|
||||||
|
float threshold;
|
||||||
|
};
|
||||||
|
struct CurrentMetric
|
||||||
|
{
|
||||||
|
std::string metricName;
|
||||||
|
float value;
|
||||||
|
std::string service;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
DescribeServiceAutoScalerResult();
|
DescribeServiceAutoScalerResult();
|
||||||
explicit DescribeServiceAutoScalerResult(const std::string &payload);
|
explicit DescribeServiceAutoScalerResult(const std::string &payload);
|
||||||
~DescribeServiceAutoScalerResult();
|
~DescribeServiceAutoScalerResult();
|
||||||
|
std::vector<CurrentMetric> getCurrentMetrics()const;
|
||||||
int getMaxReplica()const;
|
int getMaxReplica()const;
|
||||||
std::string getServiceName()const;
|
std::string getServiceName()const;
|
||||||
std::string getStrategies()const;
|
|
||||||
int getMinReplica()const;
|
int getMinReplica()const;
|
||||||
std::string getCurrentValues()const;
|
std::vector<ScaleStrategy> getScaleStrategies()const;
|
||||||
|
std::string getBehavior()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::vector<CurrentMetric> currentMetrics_;
|
||||||
int maxReplica_;
|
int maxReplica_;
|
||||||
std::string serviceName_;
|
std::string serviceName_;
|
||||||
std::string strategies_;
|
|
||||||
int minReplica_;
|
int minReplica_;
|
||||||
std::string currentValues_;
|
std::vector<ScaleStrategy> scaleStrategies_;
|
||||||
|
std::string behavior_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceCronScalerRequest : public RoaServi
|
|||||||
public:
|
public:
|
||||||
DescribeServiceCronScalerRequest();
|
DescribeServiceCronScalerRequest();
|
||||||
~DescribeServiceCronScalerRequest();
|
~DescribeServiceCronScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DescribeServiceEventRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeServiceEventRequest();
|
||||||
|
~DescribeServiceEventRequest();
|
||||||
|
std::string getPageSize() const;
|
||||||
|
void setPageSize(const std::string &pageSize);
|
||||||
|
std::string getEndTime() const;
|
||||||
|
void setEndTime(const std::string &endTime);
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
std::string getStartTime() const;
|
||||||
|
void setStartTime(const std::string &startTime);
|
||||||
|
std::string getPageNum() const;
|
||||||
|
void setPageNum(const std::string &pageNum);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string pageSize_;
|
||||||
|
std::string endTime_;
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string startTime_;
|
||||||
|
std::string pageNum_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTREQUEST_H_
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DescribeServiceEventResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct EventsItem
|
||||||
|
{
|
||||||
|
std::string type;
|
||||||
|
std::string message;
|
||||||
|
std::string time;
|
||||||
|
std::string reason;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeServiceEventResult();
|
||||||
|
explicit DescribeServiceEventResult(const std::string &payload);
|
||||||
|
~DescribeServiceEventResult();
|
||||||
|
long getTotalCount()const;
|
||||||
|
long getPageNum()const;
|
||||||
|
std::vector<EventsItem> getEvents()const;
|
||||||
|
long getTotalPageNum()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long totalCount_;
|
||||||
|
long pageNum_;
|
||||||
|
std::vector<EventsItem> events_;
|
||||||
|
long totalPageNum_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DESCRIBESERVICEEVENTRESULT_H_
|
||||||
@@ -30,32 +30,32 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceLogRequest : public RoaServiceReque
|
|||||||
public:
|
public:
|
||||||
DescribeServiceLogRequest();
|
DescribeServiceLogRequest();
|
||||||
~DescribeServiceLogRequest();
|
~DescribeServiceLogRequest();
|
||||||
string getIp() const;
|
std::string getIp() const;
|
||||||
void setIp(string ip);
|
void setIp(const std::string &ip);
|
||||||
integer getPageSize() const;
|
long getPageSize() const;
|
||||||
void setPageSize(integer pageSize);
|
void setPageSize(long pageSize);
|
||||||
string getEndTime() const;
|
std::string getEndTime() const;
|
||||||
void setEndTime(string endTime);
|
void setEndTime(const std::string &endTime);
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getStartTime() const;
|
std::string getStartTime() const;
|
||||||
void setStartTime(string startTime);
|
void setStartTime(const std::string &startTime);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
integer getPageNum() const;
|
long getPageNum() const;
|
||||||
void setPageNum(integer pageNum);
|
void setPageNum(long pageNum);
|
||||||
string getKeyword() const;
|
std::string getKeyword() const;
|
||||||
void setKeyword(string keyword);
|
void setKeyword(const std::string &keyword);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string ip_;
|
std::string ip_;
|
||||||
integer pageSize_;
|
long pageSize_;
|
||||||
string endTime_;
|
std::string endTime_;
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string startTime_;
|
std::string startTime_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
integer pageNum_;
|
long pageNum_;
|
||||||
string keyword_;
|
std::string keyword_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceMirrorRequest : public RoaServiceRe
|
|||||||
public:
|
public:
|
||||||
DescribeServiceMirrorRequest();
|
DescribeServiceMirrorRequest();
|
||||||
~DescribeServiceMirrorRequest();
|
~DescribeServiceMirrorRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT DescribeServiceRequest : public RoaServiceRequest
|
|||||||
public:
|
public:
|
||||||
DescribeServiceRequest();
|
DescribeServiceRequest();
|
||||||
~DescribeServiceRequest();
|
~DescribeServiceRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -32,12 +32,18 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_EAS_EXPORT DescribeServiceResult : public ServiceResult
|
class ALIBABACLOUD_EAS_EXPORT DescribeServiceResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct LabelsItem
|
||||||
|
{
|
||||||
|
std::string labelValue;
|
||||||
|
std::string labelKey;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
DescribeServiceResult();
|
DescribeServiceResult();
|
||||||
explicit DescribeServiceResult(const std::string &payload);
|
explicit DescribeServiceResult(const std::string &payload);
|
||||||
~DescribeServiceResult();
|
~DescribeServiceResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
|
std::string getServiceGroup()const;
|
||||||
int getMemory()const;
|
int getMemory()const;
|
||||||
int getCurrentVersion()const;
|
int getCurrentVersion()const;
|
||||||
int getRunningInstance()const;
|
int getRunningInstance()const;
|
||||||
@@ -52,23 +58,31 @@ namespace AlibabaCloud
|
|||||||
std::string getServiceConfig()const;
|
std::string getServiceConfig()const;
|
||||||
std::string getAccessToken()const;
|
std::string getAccessToken()const;
|
||||||
std::string getInternetEndpoint()const;
|
std::string getInternetEndpoint()const;
|
||||||
|
std::string getResourceAlias()const;
|
||||||
std::string getStatus()const;
|
std::string getStatus()const;
|
||||||
std::string getCreateTime()const;
|
std::string getCreateTime()const;
|
||||||
std::string getResource()const;
|
std::string getResource()const;
|
||||||
|
std::vector<LabelsItem> getLabels()const;
|
||||||
std::string get_Namespace()const;
|
std::string get_Namespace()const;
|
||||||
|
std::string getExtraData()const;
|
||||||
int getWeight()const;
|
int getWeight()const;
|
||||||
|
std::string getRole()const;
|
||||||
int getPendingInstance()const;
|
int getPendingInstance()const;
|
||||||
int getLatestVersion()const;
|
int getLatestVersion()const;
|
||||||
std::string getServiceName()const;
|
std::string getServiceName()const;
|
||||||
|
std::string getSafetyLock()const;
|
||||||
std::string getUpdateTime()const;
|
std::string getUpdateTime()const;
|
||||||
|
std::string getServiceUid()const;
|
||||||
std::string getRegion()const;
|
std::string getRegion()const;
|
||||||
std::string getParentUid()const;
|
std::string getParentUid()const;
|
||||||
std::string getIntranetEndpoint()const;
|
std::string getIntranetEndpoint()const;
|
||||||
|
std::string getRoleAttrs()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
|
std::string serviceGroup_;
|
||||||
int memory_;
|
int memory_;
|
||||||
int currentVersion_;
|
int currentVersion_;
|
||||||
int runningInstance_;
|
int runningInstance_;
|
||||||
@@ -83,18 +97,25 @@ namespace AlibabaCloud
|
|||||||
std::string serviceConfig_;
|
std::string serviceConfig_;
|
||||||
std::string accessToken_;
|
std::string accessToken_;
|
||||||
std::string internetEndpoint_;
|
std::string internetEndpoint_;
|
||||||
|
std::string resourceAlias_;
|
||||||
std::string status_;
|
std::string status_;
|
||||||
std::string createTime_;
|
std::string createTime_;
|
||||||
std::string resource_;
|
std::string resource_;
|
||||||
|
std::vector<LabelsItem> labels_;
|
||||||
std::string _namespace_;
|
std::string _namespace_;
|
||||||
|
std::string extraData_;
|
||||||
int weight_;
|
int weight_;
|
||||||
|
std::string role_;
|
||||||
int pendingInstance_;
|
int pendingInstance_;
|
||||||
int latestVersion_;
|
int latestVersion_;
|
||||||
std::string serviceName_;
|
std::string serviceName_;
|
||||||
|
std::string safetyLock_;
|
||||||
std::string updateTime_;
|
std::string updateTime_;
|
||||||
|
std::string serviceUid_;
|
||||||
std::string region_;
|
std::string region_;
|
||||||
std::string parentUid_;
|
std::string parentUid_;
|
||||||
std::string intranetEndpoint_;
|
std::string intranetEndpoint_;
|
||||||
|
std::string roleAttrs_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
48
eas/include/alibabacloud/eas/model/DevelopServiceRequest.h
Normal file
48
eas/include/alibabacloud/eas/model/DevelopServiceRequest.h
Normal 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_EAS_MODEL_DEVELOPSERVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DevelopServiceRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
DevelopServiceRequest();
|
||||||
|
~DevelopServiceRequest();
|
||||||
|
std::string getExit() const;
|
||||||
|
void setExit(const std::string &exit);
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string exit_;
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICEREQUEST_H_
|
||||||
51
eas/include/alibabacloud/eas/model/DevelopServiceResult.h
Normal file
51
eas/include/alibabacloud/eas/model/DevelopServiceResult.h
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT DevelopServiceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DevelopServiceResult();
|
||||||
|
explicit DevelopServiceResult(const std::string &payload);
|
||||||
|
~DevelopServiceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_DEVELOPSERVICERESULT_H_
|
||||||
@@ -30,8 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListBenchmarkTaskRequest : public RoaServiceReques
|
|||||||
public:
|
public:
|
||||||
ListBenchmarkTaskRequest();
|
ListBenchmarkTaskRequest();
|
||||||
~ListBenchmarkTaskRequest();
|
~ListBenchmarkTaskRequest();
|
||||||
|
std::string getFilter() const;
|
||||||
|
void setFilter(const std::string &filter);
|
||||||
|
std::string getPageSize() const;
|
||||||
|
void setPageSize(const std::string &pageSize);
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getPageNumber() const;
|
||||||
|
void setPageNumber(const std::string &pageNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string filter_;
|
||||||
|
std::string pageSize_;
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string pageNumber_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -49,12 +49,18 @@ namespace AlibabaCloud
|
|||||||
ListBenchmarkTaskResult();
|
ListBenchmarkTaskResult();
|
||||||
explicit ListBenchmarkTaskResult(const std::string &payload);
|
explicit ListBenchmarkTaskResult(const std::string &payload);
|
||||||
~ListBenchmarkTaskResult();
|
~ListBenchmarkTaskResult();
|
||||||
|
int getTotalCount()const;
|
||||||
std::vector<Task> getTasks()const;
|
std::vector<Task> getTasks()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
int totalCount_;
|
||||||
std::vector<Task> tasks_;
|
std::vector<Task> tasks_;
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
48
eas/include/alibabacloud/eas/model/ListGroupsRequest.h
Normal file
48
eas/include/alibabacloud/eas/model/ListGroupsRequest.h
Normal 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_EAS_MODEL_LISTGROUPSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_LISTGROUPSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT ListGroupsRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
ListGroupsRequest();
|
||||||
|
~ListGroupsRequest();
|
||||||
|
std::string getFilter() const;
|
||||||
|
void setFilter(const std::string &filter);
|
||||||
|
std::string getPageSize() const;
|
||||||
|
void setPageSize(const std::string &pageSize);
|
||||||
|
std::string getPageNumber() const;
|
||||||
|
void setPageNumber(const std::string &pageNumber);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string filter_;
|
||||||
|
std::string pageSize_;
|
||||||
|
std::string pageNumber_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_LISTGROUPSREQUEST_H_
|
||||||
68
eas/include/alibabacloud/eas/model/ListGroupsResult.h
Normal file
68
eas/include/alibabacloud/eas/model/ListGroupsResult.h
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* 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_EAS_MODEL_LISTGROUPSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_LISTGROUPSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT ListGroupsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct 服务组列表
|
||||||
|
{
|
||||||
|
std::string clusterId;
|
||||||
|
std::string accessToken;
|
||||||
|
std::string createTime;
|
||||||
|
std::string updateTime;
|
||||||
|
std::string internetEndpoint;
|
||||||
|
std::string queueService;
|
||||||
|
std::string intranetEndpoint;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListGroupsResult();
|
||||||
|
explicit ListGroupsResult(const std::string &payload);
|
||||||
|
~ListGroupsResult();
|
||||||
|
long getTotalCount()const;
|
||||||
|
long getPageSize()const;
|
||||||
|
long getPageNumber()const;
|
||||||
|
std::vector<服务组列表> getGroups()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long totalCount_;
|
||||||
|
long pageSize_;
|
||||||
|
long pageNumber_;
|
||||||
|
std::vector<服务组列表> groups_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_LISTGROUPSRESULT_H_
|
||||||
@@ -30,23 +30,23 @@ class ALIBABACLOUD_EAS_EXPORT ListResourceInstanceWorkerRequest : public RoaServ
|
|||||||
public:
|
public:
|
||||||
ListResourceInstanceWorkerRequest();
|
ListResourceInstanceWorkerRequest();
|
||||||
~ListResourceInstanceWorkerRequest();
|
~ListResourceInstanceWorkerRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getInstanceName() const;
|
std::string getInstanceName() const;
|
||||||
void setInstanceName(string instanceName);
|
void setInstanceName(const std::string &instanceName);
|
||||||
integer getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(integer pageSize);
|
void setPageSize(int pageSize);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
integer getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(integer pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string instanceName_;
|
std::string instanceName_;
|
||||||
integer pageSize_;
|
int pageSize_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
integer pageNumber_;
|
int pageNumber_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,23 +30,29 @@ class ALIBABACLOUD_EAS_EXPORT ListResourceInstancesRequest : public RoaServiceRe
|
|||||||
public:
|
public:
|
||||||
ListResourceInstancesRequest();
|
ListResourceInstancesRequest();
|
||||||
~ListResourceInstancesRequest();
|
~ListResourceInstancesRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
integer getPageSize() const;
|
std::string getInstanceName() const;
|
||||||
void setPageSize(integer pageSize);
|
void setInstanceName(const std::string &instanceName);
|
||||||
string getClusterId() const;
|
std::string getInstanceId() const;
|
||||||
void setClusterId(string clusterId);
|
void setInstanceId(const std::string &instanceId);
|
||||||
string getChargeType() const;
|
int getPageSize() const;
|
||||||
void setChargeType(string chargeType);
|
void setPageSize(int pageSize);
|
||||||
integer getPageNumber() const;
|
std::string getClusterId() const;
|
||||||
void setPageNumber(integer pageNumber);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
std::string getChargeType() const;
|
||||||
|
void setChargeType(const std::string &chargeType);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
integer pageSize_;
|
std::string instanceName_;
|
||||||
string clusterId_;
|
std::string instanceId_;
|
||||||
string chargeType_;
|
int pageSize_;
|
||||||
integer pageNumber_;
|
std::string clusterId_;
|
||||||
|
std::string chargeType_;
|
||||||
|
int pageNumber_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -35,18 +35,24 @@ namespace AlibabaCloud
|
|||||||
struct InstancesItem
|
struct InstancesItem
|
||||||
{
|
{
|
||||||
std::string instanceId;
|
std::string instanceId;
|
||||||
|
std::string zone;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string instanceUsedMemory;
|
std::string instanceUsedMemory;
|
||||||
std::string instanceIp;
|
std::string instanceIp;
|
||||||
|
std::string arch;
|
||||||
|
std::string instanceGpuMemory;
|
||||||
int instanceGpuCount;
|
int instanceGpuCount;
|
||||||
std::string instanceName;
|
std::string instanceName;
|
||||||
std::string instanceMemory;
|
std::string instanceMemory;
|
||||||
|
std::string instanceUsedGpuMemory;
|
||||||
int instanceCpuCount;
|
int instanceCpuCount;
|
||||||
int instanceUsedGpu;
|
float instanceUsedGpu;
|
||||||
bool autoRenewal;
|
bool autoRenewal;
|
||||||
|
std::string instanceTenantIp;
|
||||||
std::string instanceStatus;
|
std::string instanceStatus;
|
||||||
std::string chargeType;
|
std::string chargeType;
|
||||||
std::string expiredTime;
|
std::string expiredTime;
|
||||||
|
std::string region;
|
||||||
std::string instanceType;
|
std::string instanceType;
|
||||||
float instanceUsedCpu;
|
float instanceUsedCpu;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListResourceServicesRequest : public RoaServiceReq
|
|||||||
public:
|
public:
|
||||||
ListResourceServicesRequest();
|
ListResourceServicesRequest();
|
||||||
~ListResourceServicesRequest();
|
~ListResourceServicesRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
integer getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(integer pageSize);
|
void setPageSize(int pageSize);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
integer getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(integer pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
integer pageSize_;
|
int pageSize_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
integer pageNumber_;
|
int pageNumber_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -34,7 +34,13 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct ServicesItem
|
struct ServicesItem
|
||||||
{
|
{
|
||||||
|
struct LabelsItem
|
||||||
|
{
|
||||||
|
std::string labelValue;
|
||||||
|
std::string labelKey;
|
||||||
|
};
|
||||||
std::string message;
|
std::string message;
|
||||||
|
std::string serviceGroup;
|
||||||
int memory;
|
int memory;
|
||||||
int currentVersion;
|
int currentVersion;
|
||||||
int runningInstance;
|
int runningInstance;
|
||||||
@@ -49,19 +55,26 @@ namespace AlibabaCloud
|
|||||||
std::string serviceConfig;
|
std::string serviceConfig;
|
||||||
std::string accessToken;
|
std::string accessToken;
|
||||||
std::string internetEndpoint;
|
std::string internetEndpoint;
|
||||||
|
std::string resourceAlias;
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string requestId;
|
std::string requestId;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string resource;
|
std::string resource;
|
||||||
|
std::vector<ServicesItem::LabelsItem> labels;
|
||||||
std::string _namespace;
|
std::string _namespace;
|
||||||
|
std::string extraData;
|
||||||
int weight;
|
int weight;
|
||||||
|
std::string role;
|
||||||
int pendingInstance;
|
int pendingInstance;
|
||||||
int latestVersion;
|
int latestVersion;
|
||||||
std::string serviceName;
|
std::string serviceName;
|
||||||
|
std::string safetyLock;
|
||||||
std::string updateTime;
|
std::string updateTime;
|
||||||
|
std::string serviceUid;
|
||||||
std::string region;
|
std::string region;
|
||||||
std::string parentUid;
|
std::string parentUid;
|
||||||
std::string intranetEndpoint;
|
std::string intranetEndpoint;
|
||||||
|
std::string roleAttrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,14 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListResourcesRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
ListResourcesRequest();
|
ListResourcesRequest();
|
||||||
~ListResourcesRequest();
|
~ListResourcesRequest();
|
||||||
integer getPageSize() const;
|
std::string getResourceId() const;
|
||||||
void setPageSize(integer pageSize);
|
void setResourceId(const std::string &resourceId);
|
||||||
integer getPageNumber() const;
|
int getPageSize() const;
|
||||||
void setPageNumber(integer pageNumber);
|
void setPageSize(int pageSize);
|
||||||
|
std::string getResourceName() const;
|
||||||
|
void setResourceName(const std::string &resourceName);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
integer pageSize_;
|
std::string resourceId_;
|
||||||
integer pageNumber_;
|
int pageSize_;
|
||||||
|
std::string resourceName_;
|
||||||
|
int pageNumber_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,20 +30,20 @@ class ALIBABACLOUD_EAS_EXPORT ListServiceInstancesRequest : public RoaServiceReq
|
|||||||
public:
|
public:
|
||||||
ListServiceInstancesRequest();
|
ListServiceInstancesRequest();
|
||||||
~ListServiceInstancesRequest();
|
~ListServiceInstancesRequest();
|
||||||
integer getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(integer pageSize);
|
void setPageSize(int pageSize);
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
integer getPageNumber() const;
|
int getPageNumber() const;
|
||||||
void setPageNumber(integer pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
integer pageSize_;
|
int pageSize_;
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
integer pageNumber_;
|
int pageNumber_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -39,13 +39,17 @@ namespace AlibabaCloud
|
|||||||
std::string innerIP;
|
std::string innerIP;
|
||||||
int instancePort;
|
int instancePort;
|
||||||
std::string _namespace;
|
std::string _namespace;
|
||||||
|
std::string resourceType;
|
||||||
|
std::string tenantInstanceIP;
|
||||||
std::string reason;
|
std::string reason;
|
||||||
std::string instanceName;
|
std::string instanceName;
|
||||||
int restartCount;
|
int restartCount;
|
||||||
int totalProcesses;
|
int totalProcesses;
|
||||||
|
std::string role;
|
||||||
std::vector<std::string> lastState;
|
std::vector<std::string> lastState;
|
||||||
int readyProcesses;
|
int readyProcesses;
|
||||||
std::string startAt;
|
std::string startAt;
|
||||||
|
std::string tenantHostIP;
|
||||||
std::string hostName;
|
std::string hostName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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_EAS_MODEL_LISTSERVICEVERSIONSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT ListServiceVersionsRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
ListServiceVersionsRequest();
|
||||||
|
~ListServiceVersionsRequest();
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int pageSize_;
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
int pageNumber_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSREQUEST_H_
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
* 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_EAS_MODEL_LISTSERVICEVERSIONSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT ListServiceVersionsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct VersionsItem
|
||||||
|
{
|
||||||
|
std::string message;
|
||||||
|
std::string imageAvailable;
|
||||||
|
int imageId;
|
||||||
|
std::string buildTime;
|
||||||
|
std::string serviceRunnable;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListServiceVersionsResult();
|
||||||
|
explicit ListServiceVersionsResult(const std::string &payload);
|
||||||
|
~ListServiceVersionsResult();
|
||||||
|
long getTotalCount()const;
|
||||||
|
std::vector<VersionsItem> getVersions()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long totalCount_;
|
||||||
|
std::vector<VersionsItem> versions_;
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_LISTSERVICEVERSIONSRESULT_H_
|
||||||
@@ -30,23 +30,35 @@ class ALIBABACLOUD_EAS_EXPORT ListServicesRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
ListServicesRequest();
|
ListServicesRequest();
|
||||||
~ListServicesRequest();
|
~ListServicesRequest();
|
||||||
string getFilter() const;
|
std::string getFilter() const;
|
||||||
void setFilter(string filter);
|
void setFilter(const std::string &filter);
|
||||||
integer getPageSize() const;
|
std::string getServiceType() const;
|
||||||
void setPageSize(integer pageSize);
|
void setServiceType(const std::string &serviceType);
|
||||||
string getSort() const;
|
std::string getParentServiceUid() const;
|
||||||
void setSort(string sort);
|
void setParentServiceUid(const std::string &parentServiceUid);
|
||||||
integer getPageNumber() const;
|
int getPageSize() const;
|
||||||
void setPageNumber(integer pageNumber);
|
void setPageSize(int pageSize);
|
||||||
string getOrder() const;
|
std::string getSort() const;
|
||||||
void setOrder(string order);
|
void setSort(const std::string &sort);
|
||||||
|
std::string getLabel() const;
|
||||||
|
void setLabel(const std::string &label);
|
||||||
|
std::string getGroupName() const;
|
||||||
|
void setGroupName(const std::string &groupName);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getOrder() const;
|
||||||
|
void setOrder(const std::string &order);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string filter_;
|
std::string filter_;
|
||||||
integer pageSize_;
|
std::string serviceType_;
|
||||||
string sort_;
|
std::string parentServiceUid_;
|
||||||
integer pageNumber_;
|
int pageSize_;
|
||||||
string order_;
|
std::string sort_;
|
||||||
|
std::string label_;
|
||||||
|
std::string groupName_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::string order_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -34,7 +34,13 @@ namespace AlibabaCloud
|
|||||||
public:
|
public:
|
||||||
struct ServicesItem
|
struct ServicesItem
|
||||||
{
|
{
|
||||||
|
struct LabelsItem
|
||||||
|
{
|
||||||
|
std::string labelValue;
|
||||||
|
std::string labelKey;
|
||||||
|
};
|
||||||
std::string message;
|
std::string message;
|
||||||
|
std::string serviceGroup;
|
||||||
int memory;
|
int memory;
|
||||||
int currentVersion;
|
int currentVersion;
|
||||||
int runningInstance;
|
int runningInstance;
|
||||||
@@ -49,19 +55,26 @@ namespace AlibabaCloud
|
|||||||
std::string serviceConfig;
|
std::string serviceConfig;
|
||||||
std::string accessToken;
|
std::string accessToken;
|
||||||
std::string internetEndpoint;
|
std::string internetEndpoint;
|
||||||
|
std::string resourceAlias;
|
||||||
std::string status;
|
std::string status;
|
||||||
std::string requestId;
|
std::string requestId;
|
||||||
std::string createTime;
|
std::string createTime;
|
||||||
std::string resource;
|
std::string resource;
|
||||||
|
std::vector<ServicesItem::LabelsItem> labels;
|
||||||
std::string _namespace;
|
std::string _namespace;
|
||||||
|
std::string extraData;
|
||||||
int weight;
|
int weight;
|
||||||
|
std::string role;
|
||||||
int pendingInstance;
|
int pendingInstance;
|
||||||
int latestVersion;
|
int latestVersion;
|
||||||
std::string serviceName;
|
std::string serviceName;
|
||||||
|
std::string safetyLock;
|
||||||
std::string updateTime;
|
std::string updateTime;
|
||||||
|
std::string serviceUid;
|
||||||
std::string region;
|
std::string region;
|
||||||
std::string parentUid;
|
std::string parentUid;
|
||||||
std::string intranetEndpoint;
|
std::string intranetEndpoint;
|
||||||
|
std::string roleAttrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT ReleaseServiceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
ReleaseServiceRequest();
|
ReleaseServiceRequest();
|
||||||
~ReleaseServiceRequest();
|
~ReleaseServiceRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StartBenchmarkTaskRequest : public RoaServiceReque
|
|||||||
public:
|
public:
|
||||||
StartBenchmarkTaskRequest();
|
StartBenchmarkTaskRequest();
|
||||||
~StartBenchmarkTaskRequest();
|
~StartBenchmarkTaskRequest();
|
||||||
string getTaskName() const;
|
std::string getTaskName() const;
|
||||||
void setTaskName(string taskName);
|
void setTaskName(const std::string &taskName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string taskName_;
|
std::string taskName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StartServiceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
StartServiceRequest();
|
StartServiceRequest();
|
||||||
~StartServiceRequest();
|
~StartServiceRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StopBenchmarkTaskRequest : public RoaServiceReques
|
|||||||
public:
|
public:
|
||||||
StopBenchmarkTaskRequest();
|
StopBenchmarkTaskRequest();
|
||||||
~StopBenchmarkTaskRequest();
|
~StopBenchmarkTaskRequest();
|
||||||
string getTaskName() const;
|
std::string getTaskName() const;
|
||||||
void setTaskName(string taskName);
|
void setTaskName(const std::string &taskName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string taskName_;
|
std::string taskName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,14 +30,14 @@ class ALIBABACLOUD_EAS_EXPORT StopServiceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
StopServiceRequest();
|
StopServiceRequest();
|
||||||
~StopServiceRequest();
|
~StopServiceRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT UpdateBenchmarkTaskRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
UpdateBenchmarkTaskRequest();
|
UpdateBenchmarkTaskRequest();
|
||||||
~UpdateBenchmarkTaskRequest();
|
~UpdateBenchmarkTaskRequest();
|
||||||
string getTaskName() const;
|
std::string getTaskName() const;
|
||||||
void setTaskName(string taskName);
|
void setTaskName(const std::string &taskName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(string body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string taskName_;
|
std::string taskName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateResourceDLinkRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
UpdateResourceDLinkRequest();
|
UpdateResourceDLinkRequest();
|
||||||
~UpdateResourceDLinkRequest();
|
~UpdateResourceDLinkRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -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_EAS_MODEL_UPDATERESOURCEINSTANCEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT UpdateResourceInstanceRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
UpdateResourceInstanceRequest();
|
||||||
|
~UpdateResourceInstanceRequest();
|
||||||
|
std::string getResourceId() const;
|
||||||
|
void setResourceId(const std::string &resourceId);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
std::string getBody() const;
|
||||||
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceId_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string body_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCEREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCERESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT UpdateResourceInstanceResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateResourceInstanceResult();
|
||||||
|
explicit UpdateResourceInstanceResult(const std::string &payload);
|
||||||
|
~UpdateResourceInstanceResult();
|
||||||
|
std::string getResourceId()const;
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string resourceId_;
|
||||||
|
std::string instanceId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATERESOURCEINSTANCERESULT_H_
|
||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateResourceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
UpdateResourceRequest();
|
UpdateResourceRequest();
|
||||||
~UpdateResourceRequest();
|
~UpdateResourceRequest();
|
||||||
string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(string resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string resourceId_;
|
std::string resourceId_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceAutoScalerRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
UpdateServiceAutoScalerRequest();
|
UpdateServiceAutoScalerRequest();
|
||||||
~UpdateServiceAutoScalerRequest();
|
~UpdateServiceAutoScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceCronScalerRequest : public RoaService
|
|||||||
public:
|
public:
|
||||||
UpdateServiceCronScalerRequest();
|
UpdateServiceCronScalerRequest();
|
||||||
~UpdateServiceCronScalerRequest();
|
~UpdateServiceCronScalerRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -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_EAS_MODEL_UPDATESERVICELABELREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT UpdateServiceLabelRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
UpdateServiceLabelRequest();
|
||||||
|
~UpdateServiceLabelRequest();
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
std::string getBody() const;
|
||||||
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string body_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT UpdateServiceLabelResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateServiceLabelResult();
|
||||||
|
explicit UpdateServiceLabelResult(const std::string &payload);
|
||||||
|
~UpdateServiceLabelResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICELABELRESULT_H_
|
||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceMirrorRequest : public RoaServiceRequ
|
|||||||
public:
|
public:
|
||||||
UpdateServiceMirrorRequest();
|
UpdateServiceMirrorRequest();
|
||||||
~UpdateServiceMirrorRequest();
|
~UpdateServiceMirrorRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,17 +30,17 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceRequest : public RoaServiceRequest {
|
|||||||
public:
|
public:
|
||||||
UpdateServiceRequest();
|
UpdateServiceRequest();
|
||||||
~UpdateServiceRequest();
|
~UpdateServiceRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(string body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Eas
|
} // namespace Eas
|
||||||
|
|||||||
@@ -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_EAS_MODEL_UPDATESERVICESAFETYLOCKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Eas {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT UpdateServiceSafetyLockRequest : public RoaServiceRequest {
|
||||||
|
public:
|
||||||
|
UpdateServiceSafetyLockRequest();
|
||||||
|
~UpdateServiceSafetyLockRequest();
|
||||||
|
std::string getServiceName() const;
|
||||||
|
void setServiceName(const std::string &serviceName);
|
||||||
|
std::string getClusterId() const;
|
||||||
|
void setClusterId(const std::string &clusterId);
|
||||||
|
std::string getBody() const;
|
||||||
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string serviceName_;
|
||||||
|
std::string clusterId_;
|
||||||
|
std::string body_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Eas
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/eas/EasExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Eas
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_EAS_EXPORT UpdateServiceSafetyLockResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
UpdateServiceSafetyLockResult();
|
||||||
|
explicit UpdateServiceSafetyLockResult(const std::string &payload);
|
||||||
|
~UpdateServiceSafetyLockResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string message_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_EAS_MODEL_UPDATESERVICESAFETYLOCKRESULT_H_
|
||||||
@@ -30,16 +30,16 @@ class ALIBABACLOUD_EAS_EXPORT UpdateServiceVersionRequest : public RoaServiceReq
|
|||||||
public:
|
public:
|
||||||
UpdateServiceVersionRequest();
|
UpdateServiceVersionRequest();
|
||||||
~UpdateServiceVersionRequest();
|
~UpdateServiceVersionRequest();
|
||||||
string getServiceName() const;
|
std::string getServiceName() const;
|
||||||
void setServiceName(string serviceName);
|
void setServiceName(const std::string &serviceName);
|
||||||
string getClusterId() const;
|
std::string getClusterId() const;
|
||||||
void setClusterId(string clusterId);
|
void setClusterId(const std::string &clusterId);
|
||||||
std::string getBody() const;
|
std::string getBody() const;
|
||||||
void setBody(const std::string &body);
|
void setBody(const std::string &body);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string serviceName_;
|
std::string serviceName_;
|
||||||
string clusterId_;
|
std::string clusterId_;
|
||||||
std::string body_;
|
std::string body_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -51,6 +51,42 @@ EasClient::EasClient(const std::string & accessKeyId, const std::string & access
|
|||||||
EasClient::~EasClient()
|
EasClient::~EasClient()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
EasClient::CommitServiceOutcome EasClient::commitService(const CommitServiceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CommitServiceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CommitServiceOutcome(CommitServiceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CommitServiceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::commitServiceAsync(const CommitServiceRequest& request, const CommitServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, commitService(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::CommitServiceOutcomeCallable EasClient::commitServiceCallable(const CommitServiceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CommitServiceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->commitService(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::CreateBenchmarkTaskOutcome EasClient::createBenchmarkTask(const CreateBenchmarkTaskRequest &request) const
|
EasClient::CreateBenchmarkTaskOutcome EasClient::createBenchmarkTask(const CreateBenchmarkTaskRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -663,6 +699,42 @@ EasClient::DeleteServiceInstancesOutcomeCallable EasClient::deleteServiceInstanc
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::DeleteServiceLabelOutcome EasClient::deleteServiceLabel(const DeleteServiceLabelRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteServiceLabelOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteServiceLabelOutcome(DeleteServiceLabelResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteServiceLabelOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::deleteServiceLabelAsync(const DeleteServiceLabelRequest& request, const DeleteServiceLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteServiceLabel(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::DeleteServiceLabelOutcomeCallable EasClient::deleteServiceLabelCallable(const DeleteServiceLabelRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteServiceLabelOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteServiceLabel(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::DeleteServiceMirrorOutcome EasClient::deleteServiceMirror(const DeleteServiceMirrorRequest &request) const
|
EasClient::DeleteServiceMirrorOutcome EasClient::deleteServiceMirror(const DeleteServiceMirrorRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -771,6 +843,42 @@ EasClient::DescribeBenchmarkTaskReportOutcomeCallable EasClient::describeBenchma
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::DescribeGroupOutcome EasClient::describeGroup(const DescribeGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeGroupOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeGroupOutcome(DescribeGroupResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeGroupOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::describeGroupAsync(const DescribeGroupRequest& request, const DescribeGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeGroup(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::DescribeGroupOutcomeCallable EasClient::describeGroupCallable(const DescribeGroupRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeGroupOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeGroup(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::DescribeResourceOutcome EasClient::describeResource(const DescribeResourceRequest &request) const
|
EasClient::DescribeResourceOutcome EasClient::describeResource(const DescribeResourceRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -987,6 +1095,42 @@ EasClient::DescribeServiceCronScalerOutcomeCallable EasClient::describeServiceCr
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::DescribeServiceEventOutcome EasClient::describeServiceEvent(const DescribeServiceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeServiceEventOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeServiceEventOutcome(DescribeServiceEventResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeServiceEventOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::describeServiceEventAsync(const DescribeServiceEventRequest& request, const DescribeServiceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeServiceEvent(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::DescribeServiceEventOutcomeCallable EasClient::describeServiceEventCallable(const DescribeServiceEventRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeServiceEventOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeServiceEvent(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::DescribeServiceLogOutcome EasClient::describeServiceLog(const DescribeServiceLogRequest &request) const
|
EasClient::DescribeServiceLogOutcome EasClient::describeServiceLog(const DescribeServiceLogRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1059,6 +1203,42 @@ EasClient::DescribeServiceMirrorOutcomeCallable EasClient::describeServiceMirror
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::DevelopServiceOutcome EasClient::developService(const DevelopServiceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DevelopServiceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DevelopServiceOutcome(DevelopServiceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DevelopServiceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::developServiceAsync(const DevelopServiceRequest& request, const DevelopServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, developService(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::DevelopServiceOutcomeCallable EasClient::developServiceCallable(const DevelopServiceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DevelopServiceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->developService(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::ListBenchmarkTaskOutcome EasClient::listBenchmarkTask(const ListBenchmarkTaskRequest &request) const
|
EasClient::ListBenchmarkTaskOutcome EasClient::listBenchmarkTask(const ListBenchmarkTaskRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1095,6 +1275,42 @@ EasClient::ListBenchmarkTaskOutcomeCallable EasClient::listBenchmarkTaskCallable
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::ListGroupsOutcome EasClient::listGroups(const ListGroupsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListGroupsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListGroupsOutcome(ListGroupsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListGroupsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::listGroupsAsync(const ListGroupsRequest& request, const ListGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listGroups(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::ListGroupsOutcomeCallable EasClient::listGroupsCallable(const ListGroupsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListGroupsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listGroups(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::ListResourceInstanceWorkerOutcome EasClient::listResourceInstanceWorker(const ListResourceInstanceWorkerRequest &request) const
|
EasClient::ListResourceInstanceWorkerOutcome EasClient::listResourceInstanceWorker(const ListResourceInstanceWorkerRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1275,6 +1491,42 @@ EasClient::ListServiceInstancesOutcomeCallable EasClient::listServiceInstancesCa
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::ListServiceVersionsOutcome EasClient::listServiceVersions(const ListServiceVersionsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListServiceVersionsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListServiceVersionsOutcome(ListServiceVersionsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListServiceVersionsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::listServiceVersionsAsync(const ListServiceVersionsRequest& request, const ListServiceVersionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listServiceVersions(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::ListServiceVersionsOutcomeCallable EasClient::listServiceVersionsCallable(const ListServiceVersionsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListServiceVersionsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listServiceVersions(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::ListServicesOutcome EasClient::listServices(const ListServicesRequest &request) const
|
EasClient::ListServicesOutcome EasClient::listServices(const ListServicesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1599,6 +1851,42 @@ EasClient::UpdateResourceDLinkOutcomeCallable EasClient::updateResourceDLinkCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::UpdateResourceInstanceOutcome EasClient::updateResourceInstance(const UpdateResourceInstanceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateResourceInstanceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateResourceInstanceOutcome(UpdateResourceInstanceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateResourceInstanceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::updateResourceInstanceAsync(const UpdateResourceInstanceRequest& request, const UpdateResourceInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateResourceInstance(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::UpdateResourceInstanceOutcomeCallable EasClient::updateResourceInstanceCallable(const UpdateResourceInstanceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateResourceInstanceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateResourceInstance(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::UpdateServiceOutcome EasClient::updateService(const UpdateServiceRequest &request) const
|
EasClient::UpdateServiceOutcome EasClient::updateService(const UpdateServiceRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1707,6 +1995,42 @@ EasClient::UpdateServiceCronScalerOutcomeCallable EasClient::updateServiceCronSc
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::UpdateServiceLabelOutcome EasClient::updateServiceLabel(const UpdateServiceLabelRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateServiceLabelOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateServiceLabelOutcome(UpdateServiceLabelResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateServiceLabelOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::updateServiceLabelAsync(const UpdateServiceLabelRequest& request, const UpdateServiceLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateServiceLabel(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::UpdateServiceLabelOutcomeCallable EasClient::updateServiceLabelCallable(const UpdateServiceLabelRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateServiceLabelOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateServiceLabel(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::UpdateServiceMirrorOutcome EasClient::updateServiceMirror(const UpdateServiceMirrorRequest &request) const
|
EasClient::UpdateServiceMirrorOutcome EasClient::updateServiceMirror(const UpdateServiceMirrorRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1743,6 +2067,42 @@ EasClient::UpdateServiceMirrorOutcomeCallable EasClient::updateServiceMirrorCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EasClient::UpdateServiceSafetyLockOutcome EasClient::updateServiceSafetyLock(const UpdateServiceSafetyLockRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateServiceSafetyLockOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateServiceSafetyLockOutcome(UpdateServiceSafetyLockResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateServiceSafetyLockOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void EasClient::updateServiceSafetyLockAsync(const UpdateServiceSafetyLockRequest& request, const UpdateServiceSafetyLockAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateServiceSafetyLock(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
EasClient::UpdateServiceSafetyLockOutcomeCallable EasClient::updateServiceSafetyLockCallable(const UpdateServiceSafetyLockRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateServiceSafetyLockOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateServiceSafetyLock(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
EasClient::UpdateServiceVersionOutcome EasClient::updateServiceVersion(const UpdateServiceVersionRequest &request) const
|
EasClient::UpdateServiceVersionOutcome EasClient::updateServiceVersion(const UpdateServiceVersionRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
46
eas/src/model/CommitServiceRequest.cc
Normal file
46
eas/src/model/CommitServiceRequest.cc
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* 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/eas/model/CommitServiceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eas::Model::CommitServiceRequest;
|
||||||
|
|
||||||
|
CommitServiceRequest::CommitServiceRequest()
|
||||||
|
: RoaServiceRequest("eas", "2021-07-01") {
|
||||||
|
setResourcePath("/api/v2/services/[ClusterId]/[ServiceName]/commit"};
|
||||||
|
setMethod(HttpRequest::Method::Put);
|
||||||
|
}
|
||||||
|
|
||||||
|
CommitServiceRequest::~CommitServiceRequest() {}
|
||||||
|
|
||||||
|
std::string CommitServiceRequest::getServiceName() const {
|
||||||
|
return serviceName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CommitServiceRequest::setServiceName(const std::string &serviceName) {
|
||||||
|
serviceName_ = serviceName;
|
||||||
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CommitServiceRequest::getClusterId() const {
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CommitServiceRequest::setClusterId(const std::string &clusterId) {
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
51
eas/src/model/CommitServiceResult.cc
Normal file
51
eas/src/model/CommitServiceResult.cc
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/eas/model/CommitServiceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Eas;
|
||||||
|
using namespace AlibabaCloud::Eas::Model;
|
||||||
|
|
||||||
|
CommitServiceResult::CommitServiceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CommitServiceResult::CommitServiceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CommitServiceResult::~CommitServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CommitServiceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CommitServiceResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -26,12 +26,12 @@ CreateBenchmarkTaskRequest::CreateBenchmarkTaskRequest()
|
|||||||
|
|
||||||
CreateBenchmarkTaskRequest::~CreateBenchmarkTaskRequest() {}
|
CreateBenchmarkTaskRequest::~CreateBenchmarkTaskRequest() {}
|
||||||
|
|
||||||
string CreateBenchmarkTaskRequest::getBody() const {
|
std::string CreateBenchmarkTaskRequest::getBody() const {
|
||||||
return body_;
|
return body_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateBenchmarkTaskRequest::setBody(string body) {
|
void CreateBenchmarkTaskRequest::setBody(const std::string &body) {
|
||||||
body_ = body;
|
body_ = body;
|
||||||
setBodyParameter(std::string("body"), std::to_string(body));
|
setBodyParameter(std::string("body"), body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ void CreateBenchmarkTaskResult::parse(const std::string &payload)
|
|||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
if(!value["Name"].isNull())
|
if(!value["TaskName"].isNull())
|
||||||
name_ = value["Name"].asString();
|
taskName_ = value["TaskName"].asString();
|
||||||
if(!value["Region"].isNull())
|
if(!value["Region"].isNull())
|
||||||
region_ = value["Region"].asString();
|
region_ = value["Region"].asString();
|
||||||
if(!value["Message"].isNull())
|
if(!value["Message"].isNull())
|
||||||
@@ -53,13 +53,13 @@ std::string CreateBenchmarkTaskResult::getMessage()const
|
|||||||
return message_;
|
return message_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateBenchmarkTaskResult::getTaskName()const
|
||||||
|
{
|
||||||
|
return taskName_;
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateBenchmarkTaskResult::getRegion()const
|
std::string CreateBenchmarkTaskResult::getRegion()const
|
||||||
{
|
{
|
||||||
return region_;
|
return region_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateBenchmarkTaskResult::getName()const
|
|
||||||
{
|
|
||||||
return name_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -26,22 +26,22 @@ CreateResourceInstancesRequest::CreateResourceInstancesRequest()
|
|||||||
|
|
||||||
CreateResourceInstancesRequest::~CreateResourceInstancesRequest() {}
|
CreateResourceInstancesRequest::~CreateResourceInstancesRequest() {}
|
||||||
|
|
||||||
string CreateResourceInstancesRequest::getResourceId() const {
|
std::string CreateResourceInstancesRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateResourceInstancesRequest::setResourceId(string resourceId) {
|
void CreateResourceInstancesRequest::setResourceId(const std::string &resourceId) {
|
||||||
resourceId_ = resourceId;
|
resourceId_ = resourceId;
|
||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
string CreateResourceInstancesRequest::getClusterId() const {
|
std::string CreateResourceInstancesRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateResourceInstancesRequest::setClusterId(string clusterId) {
|
void CreateResourceInstancesRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateResourceInstancesRequest::getBody() const {
|
std::string CreateResourceInstancesRequest::getBody() const {
|
||||||
|
|||||||
@@ -26,22 +26,22 @@ CreateResourceLogRequest::CreateResourceLogRequest()
|
|||||||
|
|
||||||
CreateResourceLogRequest::~CreateResourceLogRequest() {}
|
CreateResourceLogRequest::~CreateResourceLogRequest() {}
|
||||||
|
|
||||||
string CreateResourceLogRequest::getResourceId() const {
|
std::string CreateResourceLogRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateResourceLogRequest::setResourceId(string resourceId) {
|
void CreateResourceLogRequest::setResourceId(const std::string &resourceId) {
|
||||||
resourceId_ = resourceId;
|
resourceId_ = resourceId;
|
||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
string CreateResourceLogRequest::getClusterId() const {
|
std::string CreateResourceLogRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateResourceLogRequest::setClusterId(string clusterId) {
|
void CreateResourceLogRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateResourceLogRequest::getBody() const {
|
std::string CreateResourceLogRequest::getBody() const {
|
||||||
|
|||||||
@@ -26,22 +26,22 @@ CreateServiceAutoScalerRequest::CreateServiceAutoScalerRequest()
|
|||||||
|
|
||||||
CreateServiceAutoScalerRequest::~CreateServiceAutoScalerRequest() {}
|
CreateServiceAutoScalerRequest::~CreateServiceAutoScalerRequest() {}
|
||||||
|
|
||||||
string CreateServiceAutoScalerRequest::getServiceName() const {
|
std::string CreateServiceAutoScalerRequest::getServiceName() const {
|
||||||
return serviceName_;
|
return serviceName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceAutoScalerRequest::setServiceName(string serviceName) {
|
void CreateServiceAutoScalerRequest::setServiceName(const std::string &serviceName) {
|
||||||
serviceName_ = serviceName;
|
serviceName_ = serviceName;
|
||||||
setParameter(std::string("ServiceName"), std::to_string(serviceName));
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string CreateServiceAutoScalerRequest::getClusterId() const {
|
std::string CreateServiceAutoScalerRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceAutoScalerRequest::setClusterId(string clusterId) {
|
void CreateServiceAutoScalerRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateServiceAutoScalerRequest::getBody() const {
|
std::string CreateServiceAutoScalerRequest::getBody() const {
|
||||||
|
|||||||
@@ -26,22 +26,22 @@ CreateServiceCronScalerRequest::CreateServiceCronScalerRequest()
|
|||||||
|
|
||||||
CreateServiceCronScalerRequest::~CreateServiceCronScalerRequest() {}
|
CreateServiceCronScalerRequest::~CreateServiceCronScalerRequest() {}
|
||||||
|
|
||||||
string CreateServiceCronScalerRequest::getServiceName() const {
|
std::string CreateServiceCronScalerRequest::getServiceName() const {
|
||||||
return serviceName_;
|
return serviceName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceCronScalerRequest::setServiceName(string serviceName) {
|
void CreateServiceCronScalerRequest::setServiceName(const std::string &serviceName) {
|
||||||
serviceName_ = serviceName;
|
serviceName_ = serviceName;
|
||||||
setParameter(std::string("ServiceName"), std::to_string(serviceName));
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string CreateServiceCronScalerRequest::getClusterId() const {
|
std::string CreateServiceCronScalerRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceCronScalerRequest::setClusterId(string clusterId) {
|
void CreateServiceCronScalerRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateServiceCronScalerRequest::getBody() const {
|
std::string CreateServiceCronScalerRequest::getBody() const {
|
||||||
|
|||||||
@@ -26,22 +26,22 @@ CreateServiceMirrorRequest::CreateServiceMirrorRequest()
|
|||||||
|
|
||||||
CreateServiceMirrorRequest::~CreateServiceMirrorRequest() {}
|
CreateServiceMirrorRequest::~CreateServiceMirrorRequest() {}
|
||||||
|
|
||||||
string CreateServiceMirrorRequest::getServiceName() const {
|
std::string CreateServiceMirrorRequest::getServiceName() const {
|
||||||
return serviceName_;
|
return serviceName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceMirrorRequest::setServiceName(string serviceName) {
|
void CreateServiceMirrorRequest::setServiceName(const std::string &serviceName) {
|
||||||
serviceName_ = serviceName;
|
serviceName_ = serviceName;
|
||||||
setParameter(std::string("ServiceName"), std::to_string(serviceName));
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string CreateServiceMirrorRequest::getClusterId() const {
|
std::string CreateServiceMirrorRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceMirrorRequest::setClusterId(string clusterId) {
|
void CreateServiceMirrorRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateServiceMirrorRequest::getBody() const {
|
std::string CreateServiceMirrorRequest::getBody() const {
|
||||||
|
|||||||
@@ -26,12 +26,30 @@ CreateServiceRequest::CreateServiceRequest()
|
|||||||
|
|
||||||
CreateServiceRequest::~CreateServiceRequest() {}
|
CreateServiceRequest::~CreateServiceRequest() {}
|
||||||
|
|
||||||
string CreateServiceRequest::getBody() const {
|
std::string CreateServiceRequest::getDevelop() const {
|
||||||
|
return develop_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateServiceRequest::setDevelop(const std::string &develop) {
|
||||||
|
develop_ = develop;
|
||||||
|
setParameter(std::string("Develop"), develop);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateServiceRequest::getBody() const {
|
||||||
return body_;
|
return body_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateServiceRequest::setBody(string body) {
|
void CreateServiceRequest::setBody(const std::string &body) {
|
||||||
body_ = body;
|
body_ = body;
|
||||||
setBodyParameter(std::string("body"), std::to_string(body));
|
setBodyParameter(std::string("body"), body);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateServiceRequest::getLabels() const {
|
||||||
|
return labels_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateServiceRequest::setLabels(const std::string &labels) {
|
||||||
|
labels_ = labels;
|
||||||
|
setParameter(std::string("Labels"), labels);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ DeleteBenchmarkTaskRequest::DeleteBenchmarkTaskRequest()
|
|||||||
|
|
||||||
DeleteBenchmarkTaskRequest::~DeleteBenchmarkTaskRequest() {}
|
DeleteBenchmarkTaskRequest::~DeleteBenchmarkTaskRequest() {}
|
||||||
|
|
||||||
string DeleteBenchmarkTaskRequest::getTaskName() const {
|
std::string DeleteBenchmarkTaskRequest::getTaskName() const {
|
||||||
return taskName_;
|
return taskName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteBenchmarkTaskRequest::setTaskName(string taskName) {
|
void DeleteBenchmarkTaskRequest::setTaskName(const std::string &taskName) {
|
||||||
taskName_ = taskName;
|
taskName_ = taskName;
|
||||||
setParameter(std::string("TaskName"), std::to_string(taskName));
|
setParameter(std::string("TaskName"), taskName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteBenchmarkTaskRequest::getClusterId() const {
|
std::string DeleteBenchmarkTaskRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteBenchmarkTaskRequest::setClusterId(string clusterId) {
|
void DeleteBenchmarkTaskRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ DeleteResourceDLinkRequest::DeleteResourceDLinkRequest()
|
|||||||
|
|
||||||
DeleteResourceDLinkRequest::~DeleteResourceDLinkRequest() {}
|
DeleteResourceDLinkRequest::~DeleteResourceDLinkRequest() {}
|
||||||
|
|
||||||
string DeleteResourceDLinkRequest::getResourceId() const {
|
std::string DeleteResourceDLinkRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceDLinkRequest::setResourceId(string resourceId) {
|
void DeleteResourceDLinkRequest::setResourceId(const std::string &resourceId) {
|
||||||
resourceId_ = resourceId;
|
resourceId_ = resourceId;
|
||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteResourceDLinkRequest::getClusterId() const {
|
std::string DeleteResourceDLinkRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceDLinkRequest::setClusterId(string clusterId) {
|
void DeleteResourceDLinkRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,39 +26,39 @@ DeleteResourceInstancesRequest::DeleteResourceInstancesRequest()
|
|||||||
|
|
||||||
DeleteResourceInstancesRequest::~DeleteResourceInstancesRequest() {}
|
DeleteResourceInstancesRequest::~DeleteResourceInstancesRequest() {}
|
||||||
|
|
||||||
string DeleteResourceInstancesRequest::getInstanceList() const {
|
std::string DeleteResourceInstancesRequest::getInstanceList() const {
|
||||||
return instanceList_;
|
return instanceList_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceInstancesRequest::setInstanceList(string instanceList) {
|
void DeleteResourceInstancesRequest::setInstanceList(const std::string &instanceList) {
|
||||||
instanceList_ = instanceList;
|
instanceList_ = instanceList;
|
||||||
setParameter(std::string("InstanceList"), std::to_string(instanceList));
|
setParameter(std::string("InstanceList"), instanceList);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteResourceInstancesRequest::getResourceId() const {
|
std::string DeleteResourceInstancesRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceInstancesRequest::setResourceId(string resourceId) {
|
void DeleteResourceInstancesRequest::setResourceId(const std::string &resourceId) {
|
||||||
resourceId_ = resourceId;
|
resourceId_ = resourceId;
|
||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean DeleteResourceInstancesRequest::getAllFailed() const {
|
bool DeleteResourceInstancesRequest::getAllFailed() const {
|
||||||
return allFailed_;
|
return allFailed_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceInstancesRequest::setAllFailed(boolean allFailed) {
|
void DeleteResourceInstancesRequest::setAllFailed(bool allFailed) {
|
||||||
allFailed_ = allFailed;
|
allFailed_ = allFailed;
|
||||||
setParameter(std::string("AllFailed"), std::to_string(allFailed));
|
setParameter(std::string("AllFailed"), allFailed ? "true" : "false");
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteResourceInstancesRequest::getClusterId() const {
|
std::string DeleteResourceInstancesRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceInstancesRequest::setClusterId(string clusterId) {
|
void DeleteResourceInstancesRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ DeleteResourceLogRequest::DeleteResourceLogRequest()
|
|||||||
|
|
||||||
DeleteResourceLogRequest::~DeleteResourceLogRequest() {}
|
DeleteResourceLogRequest::~DeleteResourceLogRequest() {}
|
||||||
|
|
||||||
string DeleteResourceLogRequest::getResourceId() const {
|
std::string DeleteResourceLogRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceLogRequest::setResourceId(string resourceId) {
|
void DeleteResourceLogRequest::setResourceId(const std::string &resourceId) {
|
||||||
resourceId_ = resourceId;
|
resourceId_ = resourceId;
|
||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteResourceLogRequest::getClusterId() const {
|
std::string DeleteResourceLogRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceLogRequest::setClusterId(string clusterId) {
|
void DeleteResourceLogRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ DeleteResourceRequest::DeleteResourceRequest()
|
|||||||
|
|
||||||
DeleteResourceRequest::~DeleteResourceRequest() {}
|
DeleteResourceRequest::~DeleteResourceRequest() {}
|
||||||
|
|
||||||
string DeleteResourceRequest::getResourceId() const {
|
std::string DeleteResourceRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceRequest::setResourceId(string resourceId) {
|
void DeleteResourceRequest::setResourceId(const std::string &resourceId) {
|
||||||
resourceId_ = resourceId;
|
resourceId_ = resourceId;
|
||||||
setParameter(std::string("ResourceId"), std::to_string(resourceId));
|
setParameter(std::string("ResourceId"), resourceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteResourceRequest::getClusterId() const {
|
std::string DeleteResourceRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteResourceRequest::setClusterId(string clusterId) {
|
void DeleteResourceRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ DeleteServiceAutoScalerRequest::DeleteServiceAutoScalerRequest()
|
|||||||
|
|
||||||
DeleteServiceAutoScalerRequest::~DeleteServiceAutoScalerRequest() {}
|
DeleteServiceAutoScalerRequest::~DeleteServiceAutoScalerRequest() {}
|
||||||
|
|
||||||
string DeleteServiceAutoScalerRequest::getServiceName() const {
|
std::string DeleteServiceAutoScalerRequest::getServiceName() const {
|
||||||
return serviceName_;
|
return serviceName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceAutoScalerRequest::setServiceName(string serviceName) {
|
void DeleteServiceAutoScalerRequest::setServiceName(const std::string &serviceName) {
|
||||||
serviceName_ = serviceName;
|
serviceName_ = serviceName;
|
||||||
setParameter(std::string("ServiceName"), std::to_string(serviceName));
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteServiceAutoScalerRequest::getClusterId() const {
|
std::string DeleteServiceAutoScalerRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceAutoScalerRequest::setClusterId(string clusterId) {
|
void DeleteServiceAutoScalerRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ DeleteServiceCronScalerRequest::DeleteServiceCronScalerRequest()
|
|||||||
|
|
||||||
DeleteServiceCronScalerRequest::~DeleteServiceCronScalerRequest() {}
|
DeleteServiceCronScalerRequest::~DeleteServiceCronScalerRequest() {}
|
||||||
|
|
||||||
string DeleteServiceCronScalerRequest::getServiceName() const {
|
std::string DeleteServiceCronScalerRequest::getServiceName() const {
|
||||||
return serviceName_;
|
return serviceName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceCronScalerRequest::setServiceName(string serviceName) {
|
void DeleteServiceCronScalerRequest::setServiceName(const std::string &serviceName) {
|
||||||
serviceName_ = serviceName;
|
serviceName_ = serviceName;
|
||||||
setParameter(std::string("ServiceName"), std::to_string(serviceName));
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteServiceCronScalerRequest::getClusterId() const {
|
std::string DeleteServiceCronScalerRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceCronScalerRequest::setClusterId(string clusterId) {
|
void DeleteServiceCronScalerRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,30 +26,30 @@ DeleteServiceInstancesRequest::DeleteServiceInstancesRequest()
|
|||||||
|
|
||||||
DeleteServiceInstancesRequest::~DeleteServiceInstancesRequest() {}
|
DeleteServiceInstancesRequest::~DeleteServiceInstancesRequest() {}
|
||||||
|
|
||||||
string DeleteServiceInstancesRequest::getInstanceList() const {
|
std::string DeleteServiceInstancesRequest::getInstanceList() const {
|
||||||
return instanceList_;
|
return instanceList_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceInstancesRequest::setInstanceList(string instanceList) {
|
void DeleteServiceInstancesRequest::setInstanceList(const std::string &instanceList) {
|
||||||
instanceList_ = instanceList;
|
instanceList_ = instanceList;
|
||||||
setParameter(std::string("InstanceList"), std::to_string(instanceList));
|
setParameter(std::string("InstanceList"), instanceList);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteServiceInstancesRequest::getServiceName() const {
|
std::string DeleteServiceInstancesRequest::getServiceName() const {
|
||||||
return serviceName_;
|
return serviceName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceInstancesRequest::setServiceName(string serviceName) {
|
void DeleteServiceInstancesRequest::setServiceName(const std::string &serviceName) {
|
||||||
serviceName_ = serviceName;
|
serviceName_ = serviceName;
|
||||||
setParameter(std::string("ServiceName"), std::to_string(serviceName));
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
string DeleteServiceInstancesRequest::getClusterId() const {
|
std::string DeleteServiceInstancesRequest::getClusterId() const {
|
||||||
return clusterId_;
|
return clusterId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteServiceInstancesRequest::setClusterId(string clusterId) {
|
void DeleteServiceInstancesRequest::setClusterId(const std::string &clusterId) {
|
||||||
clusterId_ = clusterId;
|
clusterId_ = clusterId;
|
||||||
setParameter(std::string("ClusterId"), std::to_string(clusterId));
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
46
eas/src/model/DeleteServiceLabelRequest.cc
Normal file
46
eas/src/model/DeleteServiceLabelRequest.cc
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* 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/eas/model/DeleteServiceLabelRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Eas::Model::DeleteServiceLabelRequest;
|
||||||
|
|
||||||
|
DeleteServiceLabelRequest::DeleteServiceLabelRequest()
|
||||||
|
: RoaServiceRequest("eas", "2021-07-01") {
|
||||||
|
setResourcePath("/api/v2/services/[ClusterId]/[ServiceName]/label"};
|
||||||
|
setMethod(HttpRequest::Method::Delete);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteServiceLabelRequest::~DeleteServiceLabelRequest() {}
|
||||||
|
|
||||||
|
std::string DeleteServiceLabelRequest::getServiceName() const {
|
||||||
|
return serviceName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteServiceLabelRequest::setServiceName(const std::string &serviceName) {
|
||||||
|
serviceName_ = serviceName;
|
||||||
|
setParameter(std::string("ServiceName"), serviceName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteServiceLabelRequest::getClusterId() const {
|
||||||
|
return clusterId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteServiceLabelRequest::setClusterId(const std::string &clusterId) {
|
||||||
|
clusterId_ = clusterId;
|
||||||
|
setParameter(std::string("ClusterId"), clusterId);
|
||||||
|
}
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user