Generated 2018-03-13 for retailcloud.

This commit is contained in:
sdk-team
2021-07-28 06:09:56 +00:00
parent 6bcdd4b52e
commit c06886edcb
57 changed files with 3591 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/AllocatePodConfigResult.h
include/alibabacloud/retailcloud/model/BatchAddServersRequest.h
include/alibabacloud/retailcloud/model/BatchAddServersResult.h
include/alibabacloud/retailcloud/model/BindGroupRequest.h
include/alibabacloud/retailcloud/model/BindGroupResult.h
include/alibabacloud/retailcloud/model/BindNodeLabelRequest.h
include/alibabacloud/retailcloud/model/BindNodeLabelResult.h
include/alibabacloud/retailcloud/model/CloseDeployOrderRequest.h
@@ -35,6 +37,10 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/CreateAccountResult.h
include/alibabacloud/retailcloud/model/CreateAppRequest.h
include/alibabacloud/retailcloud/model/CreateAppResult.h
include/alibabacloud/retailcloud/model/CreateAppGroupRequest.h
include/alibabacloud/retailcloud/model/CreateAppGroupResult.h
include/alibabacloud/retailcloud/model/CreateAppMonitorsRequest.h
include/alibabacloud/retailcloud/model/CreateAppMonitorsResult.h
include/alibabacloud/retailcloud/model/CreateAppResourceAllocRequest.h
include/alibabacloud/retailcloud/model/CreateAppResourceAllocResult.h
include/alibabacloud/retailcloud/model/CreateClusterRequest.h
@@ -59,6 +65,8 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/DeleteAppDetailResult.h
include/alibabacloud/retailcloud/model/DeleteAppEnvironmentRequest.h
include/alibabacloud/retailcloud/model/DeleteAppEnvironmentResult.h
include/alibabacloud/retailcloud/model/DeleteAppGroupRequest.h
include/alibabacloud/retailcloud/model/DeleteAppGroupResult.h
include/alibabacloud/retailcloud/model/DeleteAppResourceAllocRequest.h
include/alibabacloud/retailcloud/model/DeleteAppResourceAllocResult.h
include/alibabacloud/retailcloud/model/DeleteClusterRequest.h
@@ -85,6 +93,8 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/DescribeAppDetailResult.h
include/alibabacloud/retailcloud/model/DescribeAppEnvironmentDetailRequest.h
include/alibabacloud/retailcloud/model/DescribeAppEnvironmentDetailResult.h
include/alibabacloud/retailcloud/model/DescribeAppMonitorMetricRequest.h
include/alibabacloud/retailcloud/model/DescribeAppMonitorMetricResult.h
include/alibabacloud/retailcloud/model/DescribeAppResourceAllocRequest.h
include/alibabacloud/retailcloud/model/DescribeAppResourceAllocResult.h
include/alibabacloud/retailcloud/model/DescribeClusterDetailRequest.h
@@ -93,8 +103,12 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/DescribeDatabasesResult.h
include/alibabacloud/retailcloud/model/DescribeDeployOrderDetailRequest.h
include/alibabacloud/retailcloud/model/DescribeDeployOrderDetailResult.h
include/alibabacloud/retailcloud/model/DescribeEventMonitorListRequest.h
include/alibabacloud/retailcloud/model/DescribeEventMonitorListResult.h
include/alibabacloud/retailcloud/model/DescribeJobLogRequest.h
include/alibabacloud/retailcloud/model/DescribeJobLogResult.h
include/alibabacloud/retailcloud/model/DescribePodContainerLogListRequest.h
include/alibabacloud/retailcloud/model/DescribePodContainerLogListResult.h
include/alibabacloud/retailcloud/model/DescribePodEventsRequest.h
include/alibabacloud/retailcloud/model/DescribePodEventsResult.h
include/alibabacloud/retailcloud/model/DescribePodLogRequest.h
@@ -117,6 +131,10 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/ListAppCmsGroupsResult.h
include/alibabacloud/retailcloud/model/ListAppEnvironmentRequest.h
include/alibabacloud/retailcloud/model/ListAppEnvironmentResult.h
include/alibabacloud/retailcloud/model/ListAppGroupRequest.h
include/alibabacloud/retailcloud/model/ListAppGroupResult.h
include/alibabacloud/retailcloud/model/ListAppGroupMappingRequest.h
include/alibabacloud/retailcloud/model/ListAppGroupMappingResult.h
include/alibabacloud/retailcloud/model/ListAppInstanceRequest.h
include/alibabacloud/retailcloud/model/ListAppInstanceResult.h
include/alibabacloud/retailcloud/model/ListAppResourceAllocsRequest.h
@@ -173,10 +191,14 @@ set(retailcloud_public_header_model
include/alibabacloud/retailcloud/model/SubmitInfoResult.h
include/alibabacloud/retailcloud/model/SyncPodInfoRequest.h
include/alibabacloud/retailcloud/model/SyncPodInfoResult.h
include/alibabacloud/retailcloud/model/UnbindGroupRequest.h
include/alibabacloud/retailcloud/model/UnbindGroupResult.h
include/alibabacloud/retailcloud/model/UnbindNodeLabelRequest.h
include/alibabacloud/retailcloud/model/UnbindNodeLabelResult.h
include/alibabacloud/retailcloud/model/UpdateAppRequest.h
include/alibabacloud/retailcloud/model/UpdateAppResult.h
include/alibabacloud/retailcloud/model/UpdateAppMonitorsRequest.h
include/alibabacloud/retailcloud/model/UpdateAppMonitorsResult.h
include/alibabacloud/retailcloud/model/UpdateDeployConfigRequest.h
include/alibabacloud/retailcloud/model/UpdateDeployConfigResult.h
include/alibabacloud/retailcloud/model/UpdateEnvironmentRequest.h
@@ -190,6 +212,8 @@ set(retailcloud_src
src/model/AllocatePodConfigResult.cc
src/model/BatchAddServersRequest.cc
src/model/BatchAddServersResult.cc
src/model/BindGroupRequest.cc
src/model/BindGroupResult.cc
src/model/BindNodeLabelRequest.cc
src/model/BindNodeLabelResult.cc
src/model/CloseDeployOrderRequest.cc
@@ -198,6 +222,10 @@ set(retailcloud_src
src/model/CreateAccountResult.cc
src/model/CreateAppRequest.cc
src/model/CreateAppResult.cc
src/model/CreateAppGroupRequest.cc
src/model/CreateAppGroupResult.cc
src/model/CreateAppMonitorsRequest.cc
src/model/CreateAppMonitorsResult.cc
src/model/CreateAppResourceAllocRequest.cc
src/model/CreateAppResourceAllocResult.cc
src/model/CreateClusterRequest.cc
@@ -222,6 +250,8 @@ set(retailcloud_src
src/model/DeleteAppDetailResult.cc
src/model/DeleteAppEnvironmentRequest.cc
src/model/DeleteAppEnvironmentResult.cc
src/model/DeleteAppGroupRequest.cc
src/model/DeleteAppGroupResult.cc
src/model/DeleteAppResourceAllocRequest.cc
src/model/DeleteAppResourceAllocResult.cc
src/model/DeleteClusterRequest.cc
@@ -248,6 +278,8 @@ set(retailcloud_src
src/model/DescribeAppDetailResult.cc
src/model/DescribeAppEnvironmentDetailRequest.cc
src/model/DescribeAppEnvironmentDetailResult.cc
src/model/DescribeAppMonitorMetricRequest.cc
src/model/DescribeAppMonitorMetricResult.cc
src/model/DescribeAppResourceAllocRequest.cc
src/model/DescribeAppResourceAllocResult.cc
src/model/DescribeClusterDetailRequest.cc
@@ -256,8 +288,12 @@ set(retailcloud_src
src/model/DescribeDatabasesResult.cc
src/model/DescribeDeployOrderDetailRequest.cc
src/model/DescribeDeployOrderDetailResult.cc
src/model/DescribeEventMonitorListRequest.cc
src/model/DescribeEventMonitorListResult.cc
src/model/DescribeJobLogRequest.cc
src/model/DescribeJobLogResult.cc
src/model/DescribePodContainerLogListRequest.cc
src/model/DescribePodContainerLogListResult.cc
src/model/DescribePodEventsRequest.cc
src/model/DescribePodEventsResult.cc
src/model/DescribePodLogRequest.cc
@@ -280,6 +316,10 @@ set(retailcloud_src
src/model/ListAppCmsGroupsResult.cc
src/model/ListAppEnvironmentRequest.cc
src/model/ListAppEnvironmentResult.cc
src/model/ListAppGroupRequest.cc
src/model/ListAppGroupResult.cc
src/model/ListAppGroupMappingRequest.cc
src/model/ListAppGroupMappingResult.cc
src/model/ListAppInstanceRequest.cc
src/model/ListAppInstanceResult.cc
src/model/ListAppResourceAllocsRequest.cc
@@ -336,10 +376,14 @@ set(retailcloud_src
src/model/SubmitInfoResult.cc
src/model/SyncPodInfoRequest.cc
src/model/SyncPodInfoResult.cc
src/model/UnbindGroupRequest.cc
src/model/UnbindGroupResult.cc
src/model/UnbindNodeLabelRequest.cc
src/model/UnbindNodeLabelResult.cc
src/model/UpdateAppRequest.cc
src/model/UpdateAppResult.cc
src/model/UpdateAppMonitorsRequest.cc
src/model/UpdateAppMonitorsResult.cc
src/model/UpdateDeployConfigRequest.cc
src/model/UpdateDeployConfigResult.cc
src/model/UpdateEnvironmentRequest.cc

View File

@@ -28,6 +28,8 @@
#include "model/AllocatePodConfigResult.h"
#include "model/BatchAddServersRequest.h"
#include "model/BatchAddServersResult.h"
#include "model/BindGroupRequest.h"
#include "model/BindGroupResult.h"
#include "model/BindNodeLabelRequest.h"
#include "model/BindNodeLabelResult.h"
#include "model/CloseDeployOrderRequest.h"
@@ -36,6 +38,10 @@
#include "model/CreateAccountResult.h"
#include "model/CreateAppRequest.h"
#include "model/CreateAppResult.h"
#include "model/CreateAppGroupRequest.h"
#include "model/CreateAppGroupResult.h"
#include "model/CreateAppMonitorsRequest.h"
#include "model/CreateAppMonitorsResult.h"
#include "model/CreateAppResourceAllocRequest.h"
#include "model/CreateAppResourceAllocResult.h"
#include "model/CreateClusterRequest.h"
@@ -60,6 +66,8 @@
#include "model/DeleteAppDetailResult.h"
#include "model/DeleteAppEnvironmentRequest.h"
#include "model/DeleteAppEnvironmentResult.h"
#include "model/DeleteAppGroupRequest.h"
#include "model/DeleteAppGroupResult.h"
#include "model/DeleteAppResourceAllocRequest.h"
#include "model/DeleteAppResourceAllocResult.h"
#include "model/DeleteClusterRequest.h"
@@ -86,6 +94,8 @@
#include "model/DescribeAppDetailResult.h"
#include "model/DescribeAppEnvironmentDetailRequest.h"
#include "model/DescribeAppEnvironmentDetailResult.h"
#include "model/DescribeAppMonitorMetricRequest.h"
#include "model/DescribeAppMonitorMetricResult.h"
#include "model/DescribeAppResourceAllocRequest.h"
#include "model/DescribeAppResourceAllocResult.h"
#include "model/DescribeClusterDetailRequest.h"
@@ -94,8 +104,12 @@
#include "model/DescribeDatabasesResult.h"
#include "model/DescribeDeployOrderDetailRequest.h"
#include "model/DescribeDeployOrderDetailResult.h"
#include "model/DescribeEventMonitorListRequest.h"
#include "model/DescribeEventMonitorListResult.h"
#include "model/DescribeJobLogRequest.h"
#include "model/DescribeJobLogResult.h"
#include "model/DescribePodContainerLogListRequest.h"
#include "model/DescribePodContainerLogListResult.h"
#include "model/DescribePodEventsRequest.h"
#include "model/DescribePodEventsResult.h"
#include "model/DescribePodLogRequest.h"
@@ -118,6 +132,10 @@
#include "model/ListAppCmsGroupsResult.h"
#include "model/ListAppEnvironmentRequest.h"
#include "model/ListAppEnvironmentResult.h"
#include "model/ListAppGroupRequest.h"
#include "model/ListAppGroupResult.h"
#include "model/ListAppGroupMappingRequest.h"
#include "model/ListAppGroupMappingResult.h"
#include "model/ListAppInstanceRequest.h"
#include "model/ListAppInstanceResult.h"
#include "model/ListAppResourceAllocsRequest.h"
@@ -174,10 +192,14 @@
#include "model/SubmitInfoResult.h"
#include "model/SyncPodInfoRequest.h"
#include "model/SyncPodInfoResult.h"
#include "model/UnbindGroupRequest.h"
#include "model/UnbindGroupResult.h"
#include "model/UnbindNodeLabelRequest.h"
#include "model/UnbindNodeLabelResult.h"
#include "model/UpdateAppRequest.h"
#include "model/UpdateAppResult.h"
#include "model/UpdateAppMonitorsRequest.h"
#include "model/UpdateAppMonitorsResult.h"
#include "model/UpdateDeployConfigRequest.h"
#include "model/UpdateDeployConfigResult.h"
#include "model/UpdateEnvironmentRequest.h"
@@ -200,6 +222,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::BatchAddServersResult> BatchAddServersOutcome;
typedef std::future<BatchAddServersOutcome> BatchAddServersOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::BatchAddServersRequest&, const BatchAddServersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAddServersAsyncHandler;
typedef Outcome<Error, Model::BindGroupResult> BindGroupOutcome;
typedef std::future<BindGroupOutcome> BindGroupOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::BindGroupRequest&, const BindGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindGroupAsyncHandler;
typedef Outcome<Error, Model::BindNodeLabelResult> BindNodeLabelOutcome;
typedef std::future<BindNodeLabelOutcome> BindNodeLabelOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::BindNodeLabelRequest&, const BindNodeLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindNodeLabelAsyncHandler;
@@ -212,6 +237,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateAppResult> CreateAppOutcome;
typedef std::future<CreateAppOutcome> CreateAppOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::CreateAppRequest&, const CreateAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppAsyncHandler;
typedef Outcome<Error, Model::CreateAppGroupResult> CreateAppGroupOutcome;
typedef std::future<CreateAppGroupOutcome> CreateAppGroupOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::CreateAppGroupRequest&, const CreateAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppGroupAsyncHandler;
typedef Outcome<Error, Model::CreateAppMonitorsResult> CreateAppMonitorsOutcome;
typedef std::future<CreateAppMonitorsOutcome> CreateAppMonitorsOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::CreateAppMonitorsRequest&, const CreateAppMonitorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppMonitorsAsyncHandler;
typedef Outcome<Error, Model::CreateAppResourceAllocResult> CreateAppResourceAllocOutcome;
typedef std::future<CreateAppResourceAllocOutcome> CreateAppResourceAllocOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::CreateAppResourceAllocRequest&, const CreateAppResourceAllocOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppResourceAllocAsyncHandler;
@@ -248,6 +279,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteAppEnvironmentResult> DeleteAppEnvironmentOutcome;
typedef std::future<DeleteAppEnvironmentOutcome> DeleteAppEnvironmentOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DeleteAppEnvironmentRequest&, const DeleteAppEnvironmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAppEnvironmentAsyncHandler;
typedef Outcome<Error, Model::DeleteAppGroupResult> DeleteAppGroupOutcome;
typedef std::future<DeleteAppGroupOutcome> DeleteAppGroupOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DeleteAppGroupRequest&, const DeleteAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAppGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteAppResourceAllocResult> DeleteAppResourceAllocOutcome;
typedef std::future<DeleteAppResourceAllocOutcome> DeleteAppResourceAllocOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DeleteAppResourceAllocRequest&, const DeleteAppResourceAllocOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAppResourceAllocAsyncHandler;
@@ -287,6 +321,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAppEnvironmentDetailResult> DescribeAppEnvironmentDetailOutcome;
typedef std::future<DescribeAppEnvironmentDetailOutcome> DescribeAppEnvironmentDetailOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribeAppEnvironmentDetailRequest&, const DescribeAppEnvironmentDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppEnvironmentDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeAppMonitorMetricResult> DescribeAppMonitorMetricOutcome;
typedef std::future<DescribeAppMonitorMetricOutcome> DescribeAppMonitorMetricOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribeAppMonitorMetricRequest&, const DescribeAppMonitorMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppMonitorMetricAsyncHandler;
typedef Outcome<Error, Model::DescribeAppResourceAllocResult> DescribeAppResourceAllocOutcome;
typedef std::future<DescribeAppResourceAllocOutcome> DescribeAppResourceAllocOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribeAppResourceAllocRequest&, const DescribeAppResourceAllocOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppResourceAllocAsyncHandler;
@@ -299,9 +336,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDeployOrderDetailResult> DescribeDeployOrderDetailOutcome;
typedef std::future<DescribeDeployOrderDetailOutcome> DescribeDeployOrderDetailOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribeDeployOrderDetailRequest&, const DescribeDeployOrderDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeployOrderDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeEventMonitorListResult> DescribeEventMonitorListOutcome;
typedef std::future<DescribeEventMonitorListOutcome> DescribeEventMonitorListOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribeEventMonitorListRequest&, const DescribeEventMonitorListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventMonitorListAsyncHandler;
typedef Outcome<Error, Model::DescribeJobLogResult> DescribeJobLogOutcome;
typedef std::future<DescribeJobLogOutcome> DescribeJobLogOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribeJobLogRequest&, const DescribeJobLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobLogAsyncHandler;
typedef Outcome<Error, Model::DescribePodContainerLogListResult> DescribePodContainerLogListOutcome;
typedef std::future<DescribePodContainerLogListOutcome> DescribePodContainerLogListOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribePodContainerLogListRequest&, const DescribePodContainerLogListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePodContainerLogListAsyncHandler;
typedef Outcome<Error, Model::DescribePodEventsResult> DescribePodEventsOutcome;
typedef std::future<DescribePodEventsOutcome> DescribePodEventsOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::DescribePodEventsRequest&, const DescribePodEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePodEventsAsyncHandler;
@@ -335,6 +378,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListAppEnvironmentResult> ListAppEnvironmentOutcome;
typedef std::future<ListAppEnvironmentOutcome> ListAppEnvironmentOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::ListAppEnvironmentRequest&, const ListAppEnvironmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppEnvironmentAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupResult> ListAppGroupOutcome;
typedef std::future<ListAppGroupOutcome> ListAppGroupOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::ListAppGroupRequest&, const ListAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupMappingResult> ListAppGroupMappingOutcome;
typedef std::future<ListAppGroupMappingOutcome> ListAppGroupMappingOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::ListAppGroupMappingRequest&, const ListAppGroupMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupMappingAsyncHandler;
typedef Outcome<Error, Model::ListAppInstanceResult> ListAppInstanceOutcome;
typedef std::future<ListAppInstanceOutcome> ListAppInstanceOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::ListAppInstanceRequest&, const ListAppInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppInstanceAsyncHandler;
@@ -419,12 +468,18 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SyncPodInfoResult> SyncPodInfoOutcome;
typedef std::future<SyncPodInfoOutcome> SyncPodInfoOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::SyncPodInfoRequest&, const SyncPodInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncPodInfoAsyncHandler;
typedef Outcome<Error, Model::UnbindGroupResult> UnbindGroupOutcome;
typedef std::future<UnbindGroupOutcome> UnbindGroupOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::UnbindGroupRequest&, const UnbindGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindGroupAsyncHandler;
typedef Outcome<Error, Model::UnbindNodeLabelResult> UnbindNodeLabelOutcome;
typedef std::future<UnbindNodeLabelOutcome> UnbindNodeLabelOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::UnbindNodeLabelRequest&, const UnbindNodeLabelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindNodeLabelAsyncHandler;
typedef Outcome<Error, Model::UpdateAppResult> UpdateAppOutcome;
typedef std::future<UpdateAppOutcome> UpdateAppOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::UpdateAppRequest&, const UpdateAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppAsyncHandler;
typedef Outcome<Error, Model::UpdateAppMonitorsResult> UpdateAppMonitorsOutcome;
typedef std::future<UpdateAppMonitorsOutcome> UpdateAppMonitorsOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::UpdateAppMonitorsRequest&, const UpdateAppMonitorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppMonitorsAsyncHandler;
typedef Outcome<Error, Model::UpdateDeployConfigResult> UpdateDeployConfigOutcome;
typedef std::future<UpdateDeployConfigOutcome> UpdateDeployConfigOutcomeCallable;
typedef std::function<void(const RetailcloudClient*, const Model::UpdateDeployConfigRequest&, const UpdateDeployConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeployConfigAsyncHandler;
@@ -445,6 +500,9 @@ namespace AlibabaCloud
BatchAddServersOutcome batchAddServers(const Model::BatchAddServersRequest &request)const;
void batchAddServersAsync(const Model::BatchAddServersRequest& request, const BatchAddServersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchAddServersOutcomeCallable batchAddServersCallable(const Model::BatchAddServersRequest& request) const;
BindGroupOutcome bindGroup(const Model::BindGroupRequest &request)const;
void bindGroupAsync(const Model::BindGroupRequest& request, const BindGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindGroupOutcomeCallable bindGroupCallable(const Model::BindGroupRequest& request) const;
BindNodeLabelOutcome bindNodeLabel(const Model::BindNodeLabelRequest &request)const;
void bindNodeLabelAsync(const Model::BindNodeLabelRequest& request, const BindNodeLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BindNodeLabelOutcomeCallable bindNodeLabelCallable(const Model::BindNodeLabelRequest& request) const;
@@ -457,6 +515,12 @@ namespace AlibabaCloud
CreateAppOutcome createApp(const Model::CreateAppRequest &request)const;
void createAppAsync(const Model::CreateAppRequest& request, const CreateAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppOutcomeCallable createAppCallable(const Model::CreateAppRequest& request) const;
CreateAppGroupOutcome createAppGroup(const Model::CreateAppGroupRequest &request)const;
void createAppGroupAsync(const Model::CreateAppGroupRequest& request, const CreateAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppGroupOutcomeCallable createAppGroupCallable(const Model::CreateAppGroupRequest& request) const;
CreateAppMonitorsOutcome createAppMonitors(const Model::CreateAppMonitorsRequest &request)const;
void createAppMonitorsAsync(const Model::CreateAppMonitorsRequest& request, const CreateAppMonitorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppMonitorsOutcomeCallable createAppMonitorsCallable(const Model::CreateAppMonitorsRequest& request) const;
CreateAppResourceAllocOutcome createAppResourceAlloc(const Model::CreateAppResourceAllocRequest &request)const;
void createAppResourceAllocAsync(const Model::CreateAppResourceAllocRequest& request, const CreateAppResourceAllocAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppResourceAllocOutcomeCallable createAppResourceAllocCallable(const Model::CreateAppResourceAllocRequest& request) const;
@@ -493,6 +557,9 @@ namespace AlibabaCloud
DeleteAppEnvironmentOutcome deleteAppEnvironment(const Model::DeleteAppEnvironmentRequest &request)const;
void deleteAppEnvironmentAsync(const Model::DeleteAppEnvironmentRequest& request, const DeleteAppEnvironmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAppEnvironmentOutcomeCallable deleteAppEnvironmentCallable(const Model::DeleteAppEnvironmentRequest& request) const;
DeleteAppGroupOutcome deleteAppGroup(const Model::DeleteAppGroupRequest &request)const;
void deleteAppGroupAsync(const Model::DeleteAppGroupRequest& request, const DeleteAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAppGroupOutcomeCallable deleteAppGroupCallable(const Model::DeleteAppGroupRequest& request) const;
DeleteAppResourceAllocOutcome deleteAppResourceAlloc(const Model::DeleteAppResourceAllocRequest &request)const;
void deleteAppResourceAllocAsync(const Model::DeleteAppResourceAllocRequest& request, const DeleteAppResourceAllocAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAppResourceAllocOutcomeCallable deleteAppResourceAllocCallable(const Model::DeleteAppResourceAllocRequest& request) const;
@@ -532,6 +599,9 @@ namespace AlibabaCloud
DescribeAppEnvironmentDetailOutcome describeAppEnvironmentDetail(const Model::DescribeAppEnvironmentDetailRequest &request)const;
void describeAppEnvironmentDetailAsync(const Model::DescribeAppEnvironmentDetailRequest& request, const DescribeAppEnvironmentDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppEnvironmentDetailOutcomeCallable describeAppEnvironmentDetailCallable(const Model::DescribeAppEnvironmentDetailRequest& request) const;
DescribeAppMonitorMetricOutcome describeAppMonitorMetric(const Model::DescribeAppMonitorMetricRequest &request)const;
void describeAppMonitorMetricAsync(const Model::DescribeAppMonitorMetricRequest& request, const DescribeAppMonitorMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppMonitorMetricOutcomeCallable describeAppMonitorMetricCallable(const Model::DescribeAppMonitorMetricRequest& request) const;
DescribeAppResourceAllocOutcome describeAppResourceAlloc(const Model::DescribeAppResourceAllocRequest &request)const;
void describeAppResourceAllocAsync(const Model::DescribeAppResourceAllocRequest& request, const DescribeAppResourceAllocAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppResourceAllocOutcomeCallable describeAppResourceAllocCallable(const Model::DescribeAppResourceAllocRequest& request) const;
@@ -544,9 +614,15 @@ namespace AlibabaCloud
DescribeDeployOrderDetailOutcome describeDeployOrderDetail(const Model::DescribeDeployOrderDetailRequest &request)const;
void describeDeployOrderDetailAsync(const Model::DescribeDeployOrderDetailRequest& request, const DescribeDeployOrderDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDeployOrderDetailOutcomeCallable describeDeployOrderDetailCallable(const Model::DescribeDeployOrderDetailRequest& request) const;
DescribeEventMonitorListOutcome describeEventMonitorList(const Model::DescribeEventMonitorListRequest &request)const;
void describeEventMonitorListAsync(const Model::DescribeEventMonitorListRequest& request, const DescribeEventMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeEventMonitorListOutcomeCallable describeEventMonitorListCallable(const Model::DescribeEventMonitorListRequest& request) const;
DescribeJobLogOutcome describeJobLog(const Model::DescribeJobLogRequest &request)const;
void describeJobLogAsync(const Model::DescribeJobLogRequest& request, const DescribeJobLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeJobLogOutcomeCallable describeJobLogCallable(const Model::DescribeJobLogRequest& request) const;
DescribePodContainerLogListOutcome describePodContainerLogList(const Model::DescribePodContainerLogListRequest &request)const;
void describePodContainerLogListAsync(const Model::DescribePodContainerLogListRequest& request, const DescribePodContainerLogListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePodContainerLogListOutcomeCallable describePodContainerLogListCallable(const Model::DescribePodContainerLogListRequest& request) const;
DescribePodEventsOutcome describePodEvents(const Model::DescribePodEventsRequest &request)const;
void describePodEventsAsync(const Model::DescribePodEventsRequest& request, const DescribePodEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePodEventsOutcomeCallable describePodEventsCallable(const Model::DescribePodEventsRequest& request) const;
@@ -580,6 +656,12 @@ namespace AlibabaCloud
ListAppEnvironmentOutcome listAppEnvironment(const Model::ListAppEnvironmentRequest &request)const;
void listAppEnvironmentAsync(const Model::ListAppEnvironmentRequest& request, const ListAppEnvironmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppEnvironmentOutcomeCallable listAppEnvironmentCallable(const Model::ListAppEnvironmentRequest& request) const;
ListAppGroupOutcome listAppGroup(const Model::ListAppGroupRequest &request)const;
void listAppGroupAsync(const Model::ListAppGroupRequest& request, const ListAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupOutcomeCallable listAppGroupCallable(const Model::ListAppGroupRequest& request) const;
ListAppGroupMappingOutcome listAppGroupMapping(const Model::ListAppGroupMappingRequest &request)const;
void listAppGroupMappingAsync(const Model::ListAppGroupMappingRequest& request, const ListAppGroupMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupMappingOutcomeCallable listAppGroupMappingCallable(const Model::ListAppGroupMappingRequest& request) const;
ListAppInstanceOutcome listAppInstance(const Model::ListAppInstanceRequest &request)const;
void listAppInstanceAsync(const Model::ListAppInstanceRequest& request, const ListAppInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppInstanceOutcomeCallable listAppInstanceCallable(const Model::ListAppInstanceRequest& request) const;
@@ -664,12 +746,18 @@ namespace AlibabaCloud
SyncPodInfoOutcome syncPodInfo(const Model::SyncPodInfoRequest &request)const;
void syncPodInfoAsync(const Model::SyncPodInfoRequest& request, const SyncPodInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SyncPodInfoOutcomeCallable syncPodInfoCallable(const Model::SyncPodInfoRequest& request) const;
UnbindGroupOutcome unbindGroup(const Model::UnbindGroupRequest &request)const;
void unbindGroupAsync(const Model::UnbindGroupRequest& request, const UnbindGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindGroupOutcomeCallable unbindGroupCallable(const Model::UnbindGroupRequest& request) const;
UnbindNodeLabelOutcome unbindNodeLabel(const Model::UnbindNodeLabelRequest &request)const;
void unbindNodeLabelAsync(const Model::UnbindNodeLabelRequest& request, const UnbindNodeLabelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindNodeLabelOutcomeCallable unbindNodeLabelCallable(const Model::UnbindNodeLabelRequest& request) const;
UpdateAppOutcome updateApp(const Model::UpdateAppRequest &request)const;
void updateAppAsync(const Model::UpdateAppRequest& request, const UpdateAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAppOutcomeCallable updateAppCallable(const Model::UpdateAppRequest& request) const;
UpdateAppMonitorsOutcome updateAppMonitors(const Model::UpdateAppMonitorsRequest &request)const;
void updateAppMonitorsAsync(const Model::UpdateAppMonitorsRequest& request, const UpdateAppMonitorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAppMonitorsOutcomeCallable updateAppMonitorsCallable(const Model::UpdateAppMonitorsRequest& request) const;
UpdateDeployConfigOutcome updateDeployConfig(const Model::UpdateDeployConfigRequest &request)const;
void updateDeployConfigAsync(const Model::UpdateDeployConfigRequest& request, const UpdateDeployConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeployConfigOutcomeCallable updateDeployConfigCallable(const Model::UpdateDeployConfigRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_BINDGROUPREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_BINDGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT BindGroupRequest : public RpcServiceRequest
{
public:
BindGroupRequest();
~BindGroupRequest();
std::string getBizCode()const;
void setBizCode(const std::string& bizCode);
long getAppId()const;
void setAppId(long appId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string bizCode_;
long appId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_BINDGROUPREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_CREATEAPPMONITORSREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_CREATEAPPMONITORSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT CreateAppMonitorsRequest : public RpcServiceRequest
{
public:
CreateAppMonitorsRequest();
~CreateAppMonitorsRequest();
std::vector<long> getAppIds()const;
void setAppIds(const std::vector<long>& appIds);
long getMainUserId()const;
void setMainUserId(long mainUserId);
int getEnvType()const;
void setEnvType(int envType);
long getAlarmTemplateId()const;
void setAlarmTemplateId(long alarmTemplateId);
std::string getSilenceTime()const;
void setSilenceTime(const std::string& silenceTime);
private:
std::vector<long> appIds_;
long mainUserId_;
int envType_;
long alarmTemplateId_;
std::string silenceTime_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_CREATEAPPMONITORSREQUEST_H_

View File

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

View File

@@ -52,6 +52,8 @@ namespace AlibabaCloud
void setLanguage(const std::string& language);
std::string getTitle()const;
void setTitle(const std::string& title);
std::string getGroupName()const;
void setGroupName(const std::string& groupName);
std::vector<int> getMiddleWareIdList()const;
void setMiddleWareIdList(const std::vector<int>& middleWareIdList);
int getStateType()const;
@@ -71,6 +73,7 @@ namespace AlibabaCloud
std::string description_;
std::string language_;
std::string title_;
std::string groupName_;
std::vector<int> middleWareIdList_;
int stateType_;
std::string serviceType_;

View File

@@ -45,6 +45,8 @@ namespace AlibabaCloud
void setEnvType(int envType);
long getAppSchemaId()const;
void setAppSchemaId(long appSchemaId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getRegion()const;
void setRegion(const std::string& region);
@@ -54,6 +56,7 @@ namespace AlibabaCloud
long appId_;
int envType_;
long appSchemaId_;
std::string clusterId_;
std::string region_;
};

View File

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

View File

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

View File

@@ -55,6 +55,8 @@ namespace AlibabaCloud
void setName(const std::string& name);
std::vector<std::string> getInitContainerImageList()const;
void setInitContainerImageList(const std::vector<std::string>& initContainerImageList);
std::string getDefaultPacketOfAppGroup()const;
void setDefaultPacketOfAppGroup(const std::string& defaultPacketOfAppGroup);
bool getArmsFlag()const;
void setArmsFlag(bool armsFlag);
@@ -69,6 +71,7 @@ namespace AlibabaCloud
std::vector<std::string> containerImageList_;
std::string name_;
std::vector<std::string> initContainerImageList_;
std::string defaultPacketOfAppGroup_;
bool armsFlag_;
};

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEAPPMONITORMETRICREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEAPPMONITORMETRICREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT DescribeAppMonitorMetricRequest : public RpcServiceRequest
{
public:
DescribeAppMonitorMetricRequest();
~DescribeAppMonitorMetricRequest();
std::string getDeployOrderId()const;
void setDeployOrderId(const std::string& deployOrderId);
std::string getMetric()const;
void setMetric(const std::string& metric);
long getAppId()const;
void setAppId(long appId);
std::string getPodName()const;
void setPodName(const std::string& podName);
long getEndTime()const;
void setEndTime(long endTime);
long getEnvId()const;
void setEnvId(long envId);
long getStartTime()const;
void setStartTime(long startTime);
std::string getType()const;
void setType(const std::string& type);
private:
std::string deployOrderId_;
std::string metric_;
long appId_;
std::string podName_;
long endTime_;
long envId_;
long startTime_;
std::string type_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEAPPMONITORMETRICREQUEST_H_

View File

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

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEEVENTMONITORLISTREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEEVENTMONITORLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT DescribeEventMonitorListRequest : public RpcServiceRequest
{
public:
DescribeEventMonitorListRequest();
~DescribeEventMonitorListRequest();
std::string getEventLevel()const;
void setEventLevel(const std::string& eventLevel);
long getAppId()const;
void setAppId(long appId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getPodName()const;
void setPodName(const std::string& podName);
long getEndTime()const;
void setEndTime(long endTime);
std::string getEventType()const;
void setEventType(const std::string& eventType);
long getEnvId()const;
void setEnvId(long envId);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNum()const;
void setPageNum(int pageNum);
private:
std::string eventLevel_;
long appId_;
int pageSize_;
std::string podName_;
long endTime_;
std::string eventType_;
long envId_;
long startTime_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEEVENTMONITORLISTREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* 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_RETAILCLOUD_MODEL_DESCRIBEEVENTMONITORLISTRESULT_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEEVENTMONITORLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT DescribeEventMonitorListResult : public ServiceResult
{
public:
struct EventInfo
{
std::string podName;
std::string message;
std::string eventTime;
std::string kind;
std::string level;
int count;
std::string hostName;
std::string reason;
std::string _nameSpace;
};
DescribeEventMonitorListResult();
explicit DescribeEventMonitorListResult(const std::string &payload);
~DescribeEventMonitorListResult();
long getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::string getErrorMsg()const;
std::vector<EventInfo> getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
int pageSize_;
int pageNumber_;
std::string errorMsg_;
std::vector<EventInfo> data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEEVENTMONITORLISTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEPODCONTAINERLOGLISTREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEPODCONTAINERLOGLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT DescribePodContainerLogListRequest : public RpcServiceRequest
{
public:
DescribePodContainerLogListRequest();
~DescribePodContainerLogListRequest();
int getLine()const;
void setLine(int line);
long getAppId()const;
void setAppId(long appId);
std::string getPodName()const;
void setPodName(const std::string& podName);
long getEnvId()const;
void setEnvId(long envId);
private:
int line_;
long appId_;
std::string podName_;
long envId_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEPODCONTAINERLOGLISTREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_RETAILCLOUD_MODEL_DESCRIBEPODCONTAINERLOGLISTRESULT_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEPODCONTAINERLOGLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT DescribePodContainerLogListResult : public ServiceResult
{
public:
struct Result
{
struct PodContainerLog
{
std::string podName;
std::string containerName;
std::string content;
};
std::vector<PodContainerLog> containerLogList;
};
DescribePodContainerLogListResult();
explicit DescribePodContainerLogListResult(const std::string &payload);
~DescribePodContainerLogListResult();
std::string getErrMsg()const;
int getCode()const;
bool getSuccess()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string errMsg_;
int code_;
bool success_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_DESCRIBEPODCONTAINERLOGLISTRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPMAPPINGREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPMAPPINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT ListAppGroupMappingRequest : public RpcServiceRequest
{
public:
ListAppGroupMappingRequest();
~ListAppGroupMappingRequest();
std::string getBizCode()const;
void setBizCode(const std::string& bizCode);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string bizCode_;
std::string name_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPMAPPINGREQUEST_H_

View 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_RETAILCLOUD_MODEL_LISTAPPGROUPMAPPINGRESULT_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPMAPPINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT ListAppGroupMappingResult : public ServiceResult
{
public:
struct AppGroupMappingDetail
{
long appId;
long id;
std::string name;
long groupId;
};
ListAppGroupMappingResult();
explicit ListAppGroupMappingResult(const std::string &payload);
~ListAppGroupMappingResult();
long getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::string getErrorMsg()const;
std::vector<AppGroupMappingDetail> getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
int pageSize_;
int pageNumber_;
std::string errorMsg_;
std::vector<AppGroupMappingDetail> data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPMAPPINGRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT ListAppGroupRequest : public RpcServiceRequest
{
public:
ListAppGroupRequest();
~ListAppGroupRequest();
std::string getBizCode()const;
void setBizCode(const std::string& bizCode);
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
private:
std::string bizCode_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_RETAILCLOUD_MODEL_LISTAPPGROUPRESULT_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT ListAppGroupResult : public ServiceResult
{
public:
struct AppGroupDetail
{
std::string bizName;
long id;
std::string name;
};
ListAppGroupResult();
explicit ListAppGroupResult(const std::string &payload);
~ListAppGroupResult();
long getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::string getErrorMsg()const;
std::vector<AppGroupDetail> getData()const;
int getCode()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
int pageSize_;
int pageNumber_;
std::string errorMsg_;
std::vector<AppGroupDetail> data_;
int code_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_LISTAPPGROUPRESULT_H_

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string appInstanceId;
std::string limits;
std::string health;
std::string version;
std::string createTime;
std::string podIp;
std::string spec;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_UNBINDGROUPREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_UNBINDGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT UnbindGroupRequest : public RpcServiceRequest
{
public:
UnbindGroupRequest();
~UnbindGroupRequest();
std::string getBizCode()const;
void setBizCode(const std::string& bizCode);
long getAppId()const;
void setAppId(long appId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string bizCode_;
long appId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_UNBINDGROUPREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RETAILCLOUD_MODEL_UPDATEAPPMONITORSREQUEST_H_
#define ALIBABACLOUD_RETAILCLOUD_MODEL_UPDATEAPPMONITORSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/retailcloud/RetailcloudExport.h>
namespace AlibabaCloud
{
namespace Retailcloud
{
namespace Model
{
class ALIBABACLOUD_RETAILCLOUD_EXPORT UpdateAppMonitorsRequest : public RpcServiceRequest
{
public:
UpdateAppMonitorsRequest();
~UpdateAppMonitorsRequest();
long getMainUserId()const;
void setMainUserId(long mainUserId);
std::string getSilenceTime()const;
void setSilenceTime(const std::string& silenceTime);
std::vector<long> getMonitorIds()const;
void setMonitorIds(const std::vector<long>& monitorIds);
long getTemplateId()const;
void setTemplateId(long templateId);
private:
long mainUserId_;
std::string silenceTime_;
std::vector<long> monitorIds_;
long templateId_;
};
}
}
}
#endif // !ALIBABACLOUD_RETAILCLOUD_MODEL_UPDATEAPPMONITORSREQUEST_H_

View File

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

View File

@@ -159,6 +159,42 @@ RetailcloudClient::BatchAddServersOutcomeCallable RetailcloudClient::batchAddSer
return task->get_future();
}
RetailcloudClient::BindGroupOutcome RetailcloudClient::bindGroup(const BindGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return BindGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return BindGroupOutcome(BindGroupResult(outcome.result()));
else
return BindGroupOutcome(outcome.error());
}
void RetailcloudClient::bindGroupAsync(const BindGroupRequest& request, const BindGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, bindGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::BindGroupOutcomeCallable RetailcloudClient::bindGroupCallable(const BindGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<BindGroupOutcome()>>(
[this, request]()
{
return this->bindGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::BindNodeLabelOutcome RetailcloudClient::bindNodeLabel(const BindNodeLabelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -303,6 +339,78 @@ RetailcloudClient::CreateAppOutcomeCallable RetailcloudClient::createAppCallable
return task->get_future();
}
RetailcloudClient::CreateAppGroupOutcome RetailcloudClient::createAppGroup(const CreateAppGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateAppGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateAppGroupOutcome(CreateAppGroupResult(outcome.result()));
else
return CreateAppGroupOutcome(outcome.error());
}
void RetailcloudClient::createAppGroupAsync(const CreateAppGroupRequest& request, const CreateAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createAppGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::CreateAppGroupOutcomeCallable RetailcloudClient::createAppGroupCallable(const CreateAppGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateAppGroupOutcome()>>(
[this, request]()
{
return this->createAppGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::CreateAppMonitorsOutcome RetailcloudClient::createAppMonitors(const CreateAppMonitorsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateAppMonitorsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateAppMonitorsOutcome(CreateAppMonitorsResult(outcome.result()));
else
return CreateAppMonitorsOutcome(outcome.error());
}
void RetailcloudClient::createAppMonitorsAsync(const CreateAppMonitorsRequest& request, const CreateAppMonitorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createAppMonitors(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::CreateAppMonitorsOutcomeCallable RetailcloudClient::createAppMonitorsCallable(const CreateAppMonitorsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateAppMonitorsOutcome()>>(
[this, request]()
{
return this->createAppMonitors(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::CreateAppResourceAllocOutcome RetailcloudClient::createAppResourceAlloc(const CreateAppResourceAllocRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -735,6 +843,42 @@ RetailcloudClient::DeleteAppEnvironmentOutcomeCallable RetailcloudClient::delete
return task->get_future();
}
RetailcloudClient::DeleteAppGroupOutcome RetailcloudClient::deleteAppGroup(const DeleteAppGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteAppGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteAppGroupOutcome(DeleteAppGroupResult(outcome.result()));
else
return DeleteAppGroupOutcome(outcome.error());
}
void RetailcloudClient::deleteAppGroupAsync(const DeleteAppGroupRequest& request, const DeleteAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteAppGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::DeleteAppGroupOutcomeCallable RetailcloudClient::deleteAppGroupCallable(const DeleteAppGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteAppGroupOutcome()>>(
[this, request]()
{
return this->deleteAppGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::DeleteAppResourceAllocOutcome RetailcloudClient::deleteAppResourceAlloc(const DeleteAppResourceAllocRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1203,6 +1347,42 @@ RetailcloudClient::DescribeAppEnvironmentDetailOutcomeCallable RetailcloudClient
return task->get_future();
}
RetailcloudClient::DescribeAppMonitorMetricOutcome RetailcloudClient::describeAppMonitorMetric(const DescribeAppMonitorMetricRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAppMonitorMetricOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAppMonitorMetricOutcome(DescribeAppMonitorMetricResult(outcome.result()));
else
return DescribeAppMonitorMetricOutcome(outcome.error());
}
void RetailcloudClient::describeAppMonitorMetricAsync(const DescribeAppMonitorMetricRequest& request, const DescribeAppMonitorMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAppMonitorMetric(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::DescribeAppMonitorMetricOutcomeCallable RetailcloudClient::describeAppMonitorMetricCallable(const DescribeAppMonitorMetricRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAppMonitorMetricOutcome()>>(
[this, request]()
{
return this->describeAppMonitorMetric(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::DescribeAppResourceAllocOutcome RetailcloudClient::describeAppResourceAlloc(const DescribeAppResourceAllocRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1347,6 +1527,42 @@ RetailcloudClient::DescribeDeployOrderDetailOutcomeCallable RetailcloudClient::d
return task->get_future();
}
RetailcloudClient::DescribeEventMonitorListOutcome RetailcloudClient::describeEventMonitorList(const DescribeEventMonitorListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeEventMonitorListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeEventMonitorListOutcome(DescribeEventMonitorListResult(outcome.result()));
else
return DescribeEventMonitorListOutcome(outcome.error());
}
void RetailcloudClient::describeEventMonitorListAsync(const DescribeEventMonitorListRequest& request, const DescribeEventMonitorListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeEventMonitorList(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::DescribeEventMonitorListOutcomeCallable RetailcloudClient::describeEventMonitorListCallable(const DescribeEventMonitorListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeEventMonitorListOutcome()>>(
[this, request]()
{
return this->describeEventMonitorList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::DescribeJobLogOutcome RetailcloudClient::describeJobLog(const DescribeJobLogRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1383,6 +1599,42 @@ RetailcloudClient::DescribeJobLogOutcomeCallable RetailcloudClient::describeJobL
return task->get_future();
}
RetailcloudClient::DescribePodContainerLogListOutcome RetailcloudClient::describePodContainerLogList(const DescribePodContainerLogListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribePodContainerLogListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribePodContainerLogListOutcome(DescribePodContainerLogListResult(outcome.result()));
else
return DescribePodContainerLogListOutcome(outcome.error());
}
void RetailcloudClient::describePodContainerLogListAsync(const DescribePodContainerLogListRequest& request, const DescribePodContainerLogListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describePodContainerLogList(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::DescribePodContainerLogListOutcomeCallable RetailcloudClient::describePodContainerLogListCallable(const DescribePodContainerLogListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribePodContainerLogListOutcome()>>(
[this, request]()
{
return this->describePodContainerLogList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::DescribePodEventsOutcome RetailcloudClient::describePodEvents(const DescribePodEventsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1779,6 +2031,78 @@ RetailcloudClient::ListAppEnvironmentOutcomeCallable RetailcloudClient::listAppE
return task->get_future();
}
RetailcloudClient::ListAppGroupOutcome RetailcloudClient::listAppGroup(const ListAppGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAppGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAppGroupOutcome(ListAppGroupResult(outcome.result()));
else
return ListAppGroupOutcome(outcome.error());
}
void RetailcloudClient::listAppGroupAsync(const ListAppGroupRequest& request, const ListAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAppGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::ListAppGroupOutcomeCallable RetailcloudClient::listAppGroupCallable(const ListAppGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAppGroupOutcome()>>(
[this, request]()
{
return this->listAppGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::ListAppGroupMappingOutcome RetailcloudClient::listAppGroupMapping(const ListAppGroupMappingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAppGroupMappingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAppGroupMappingOutcome(ListAppGroupMappingResult(outcome.result()));
else
return ListAppGroupMappingOutcome(outcome.error());
}
void RetailcloudClient::listAppGroupMappingAsync(const ListAppGroupMappingRequest& request, const ListAppGroupMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAppGroupMapping(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::ListAppGroupMappingOutcomeCallable RetailcloudClient::listAppGroupMappingCallable(const ListAppGroupMappingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAppGroupMappingOutcome()>>(
[this, request]()
{
return this->listAppGroupMapping(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::ListAppInstanceOutcome RetailcloudClient::listAppInstance(const ListAppInstanceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2787,6 +3111,42 @@ RetailcloudClient::SyncPodInfoOutcomeCallable RetailcloudClient::syncPodInfoCall
return task->get_future();
}
RetailcloudClient::UnbindGroupOutcome RetailcloudClient::unbindGroup(const UnbindGroupRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UnbindGroupOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UnbindGroupOutcome(UnbindGroupResult(outcome.result()));
else
return UnbindGroupOutcome(outcome.error());
}
void RetailcloudClient::unbindGroupAsync(const UnbindGroupRequest& request, const UnbindGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, unbindGroup(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::UnbindGroupOutcomeCallable RetailcloudClient::unbindGroupCallable(const UnbindGroupRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UnbindGroupOutcome()>>(
[this, request]()
{
return this->unbindGroup(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::UnbindNodeLabelOutcome RetailcloudClient::unbindNodeLabel(const UnbindNodeLabelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2859,6 +3219,42 @@ RetailcloudClient::UpdateAppOutcomeCallable RetailcloudClient::updateAppCallable
return task->get_future();
}
RetailcloudClient::UpdateAppMonitorsOutcome RetailcloudClient::updateAppMonitors(const UpdateAppMonitorsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return UpdateAppMonitorsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return UpdateAppMonitorsOutcome(UpdateAppMonitorsResult(outcome.result()));
else
return UpdateAppMonitorsOutcome(outcome.error());
}
void RetailcloudClient::updateAppMonitorsAsync(const UpdateAppMonitorsRequest& request, const UpdateAppMonitorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, updateAppMonitors(request), context);
};
asyncExecute(new Runnable(fn));
}
RetailcloudClient::UpdateAppMonitorsOutcomeCallable RetailcloudClient::updateAppMonitorsCallable(const UpdateAppMonitorsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<UpdateAppMonitorsOutcome()>>(
[this, request]()
{
return this->updateAppMonitors(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
RetailcloudClient::UpdateDeployConfigOutcome RetailcloudClient::updateDeployConfig(const UpdateDeployConfigRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/BindGroupRequest.h>
using AlibabaCloud::Retailcloud::Model::BindGroupRequest;
BindGroupRequest::BindGroupRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "BindGroup")
{
setMethod(HttpRequest::Method::Post);
}
BindGroupRequest::~BindGroupRequest()
{}
std::string BindGroupRequest::getBizCode()const
{
return bizCode_;
}
void BindGroupRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setParameter("BizCode", bizCode);
}
long BindGroupRequest::getAppId()const
{
return appId_;
}
void BindGroupRequest::setAppId(long appId)
{
appId_ = appId;
setParameter("AppId", std::to_string(appId));
}
std::string BindGroupRequest::getName()const
{
return name_;
}
void BindGroupRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/BindGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
BindGroupResult::BindGroupResult() :
ServiceResult()
{}
BindGroupResult::BindGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
BindGroupResult::~BindGroupResult()
{}
void BindGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["Success"].isNull())
result_.success = resultNode["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrMsg"].isNull())
errMsg_ = value["ErrMsg"].asString();
}
std::string BindGroupResult::getErrMsg()const
{
return errMsg_;
}
int BindGroupResult::getCode()const
{
return code_;
}
BindGroupResult::Result BindGroupResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/CreateAppGroupRequest.h>
using AlibabaCloud::Retailcloud::Model::CreateAppGroupRequest;
CreateAppGroupRequest::CreateAppGroupRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "CreateAppGroup")
{
setMethod(HttpRequest::Method::Post);
}
CreateAppGroupRequest::~CreateAppGroupRequest()
{}
std::string CreateAppGroupRequest::getBizCode()const
{
return bizCode_;
}
void CreateAppGroupRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setBodyParameter("BizCode", bizCode);
}
std::string CreateAppGroupRequest::getName()const
{
return name_;
}
void CreateAppGroupRequest::setName(const std::string& name)
{
name_ = name;
setBodyParameter("Name", name);
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/CreateAppGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
CreateAppGroupResult::CreateAppGroupResult() :
ServiceResult()
{}
CreateAppGroupResult::CreateAppGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateAppGroupResult::~CreateAppGroupResult()
{}
void CreateAppGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["AppGroupId"].isNull())
result_.appGroupId = std::stol(resultNode["AppGroupId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrMsg"].isNull())
errMsg_ = value["ErrMsg"].asString();
}
std::string CreateAppGroupResult::getErrMsg()const
{
return errMsg_;
}
int CreateAppGroupResult::getCode()const
{
return code_;
}
CreateAppGroupResult::Result CreateAppGroupResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/CreateAppMonitorsRequest.h>
using AlibabaCloud::Retailcloud::Model::CreateAppMonitorsRequest;
CreateAppMonitorsRequest::CreateAppMonitorsRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "CreateAppMonitors")
{
setMethod(HttpRequest::Method::Post);
}
CreateAppMonitorsRequest::~CreateAppMonitorsRequest()
{}
std::vector<long> CreateAppMonitorsRequest::getAppIds()const
{
return appIds_;
}
void CreateAppMonitorsRequest::setAppIds(const std::vector<long>& appIds)
{
appIds_ = appIds;
for(int dep1 = 0; dep1!= appIds.size(); dep1++) {
setBodyParameter("AppIds."+ std::to_string(dep1), std::to_string(appIds.at(dep1)));
}
}
long CreateAppMonitorsRequest::getMainUserId()const
{
return mainUserId_;
}
void CreateAppMonitorsRequest::setMainUserId(long mainUserId)
{
mainUserId_ = mainUserId;
setParameter("MainUserId", std::to_string(mainUserId));
}
int CreateAppMonitorsRequest::getEnvType()const
{
return envType_;
}
void CreateAppMonitorsRequest::setEnvType(int envType)
{
envType_ = envType;
setParameter("EnvType", std::to_string(envType));
}
long CreateAppMonitorsRequest::getAlarmTemplateId()const
{
return alarmTemplateId_;
}
void CreateAppMonitorsRequest::setAlarmTemplateId(long alarmTemplateId)
{
alarmTemplateId_ = alarmTemplateId;
setParameter("AlarmTemplateId", std::to_string(alarmTemplateId));
}
std::string CreateAppMonitorsRequest::getSilenceTime()const
{
return silenceTime_;
}
void CreateAppMonitorsRequest::setSilenceTime(const std::string& silenceTime)
{
silenceTime_ = silenceTime;
setParameter("SilenceTime", silenceTime);
}

View File

@@ -0,0 +1,58 @@
/*
* 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/retailcloud/model/CreateAppMonitorsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
CreateAppMonitorsResult::CreateAppMonitorsResult() :
ServiceResult()
{}
CreateAppMonitorsResult::CreateAppMonitorsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateAppMonitorsResult::~CreateAppMonitorsResult()
{}
void CreateAppMonitorsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
int CreateAppMonitorsResult::getCode()const
{
return code_;
}
bool CreateAppMonitorsResult::getSuccess()const
{
return success_;
}

View File

@@ -82,6 +82,17 @@ void CreateAppRequest::setTitle(const std::string& title)
setBodyParameter("Title", title);
}
std::string CreateAppRequest::getGroupName()const
{
return groupName_;
}
void CreateAppRequest::setGroupName(const std::string& groupName)
{
groupName_ = groupName;
setBodyParameter("GroupName", groupName);
}
std::vector<int> CreateAppRequest::getMiddleWareIdList()const
{
return middleWareIdList_;

View File

@@ -82,6 +82,17 @@ void CreateEnvironmentRequest::setAppSchemaId(long appSchemaId)
setParameter("AppSchemaId", std::to_string(appSchemaId));
}
std::string CreateEnvironmentRequest::getClusterId()const
{
return clusterId_;
}
void CreateEnvironmentRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}
std::string CreateEnvironmentRequest::getRegion()const
{
return region_;

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/DeleteAppGroupRequest.h>
using AlibabaCloud::Retailcloud::Model::DeleteAppGroupRequest;
DeleteAppGroupRequest::DeleteAppGroupRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "DeleteAppGroup")
{
setMethod(HttpRequest::Method::Post);
}
DeleteAppGroupRequest::~DeleteAppGroupRequest()
{}
long DeleteAppGroupRequest::getGroupId()const
{
return groupId_;
}
void DeleteAppGroupRequest::setGroupId(long groupId)
{
groupId_ = groupId;
setParameter("GroupId", std::to_string(groupId));
}
bool DeleteAppGroupRequest::getForce()const
{
return force_;
}
void DeleteAppGroupRequest::setForce(bool force)
{
force_ = force;
setParameter("Force", force ? "true" : "false");
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/DeleteAppGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
DeleteAppGroupResult::DeleteAppGroupResult() :
ServiceResult()
{}
DeleteAppGroupResult::DeleteAppGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteAppGroupResult::~DeleteAppGroupResult()
{}
void DeleteAppGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["Success"].isNull())
result_.success = resultNode["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrMsg"].isNull())
errMsg_ = value["ErrMsg"].asString();
}
std::string DeleteAppGroupResult::getErrMsg()const
{
return errMsg_;
}
int DeleteAppGroupResult::getCode()const
{
return code_;
}
DeleteAppGroupResult::Result DeleteAppGroupResult::getResult()const
{
return result_;
}

View File

@@ -141,6 +141,17 @@ void DeployAppRequest::setInitContainerImageList(const std::vector<std::string>&
}
}
std::string DeployAppRequest::getDefaultPacketOfAppGroup()const
{
return defaultPacketOfAppGroup_;
}
void DeployAppRequest::setDefaultPacketOfAppGroup(const std::string& defaultPacketOfAppGroup)
{
defaultPacketOfAppGroup_ = defaultPacketOfAppGroup;
setParameter("DefaultPacketOfAppGroup", defaultPacketOfAppGroup);
}
bool DeployAppRequest::getArmsFlag()const
{
return armsFlag_;

View File

@@ -0,0 +1,117 @@
/*
* 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/retailcloud/model/DescribeAppMonitorMetricRequest.h>
using AlibabaCloud::Retailcloud::Model::DescribeAppMonitorMetricRequest;
DescribeAppMonitorMetricRequest::DescribeAppMonitorMetricRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "DescribeAppMonitorMetric")
{
setMethod(HttpRequest::Method::Post);
}
DescribeAppMonitorMetricRequest::~DescribeAppMonitorMetricRequest()
{}
std::string DescribeAppMonitorMetricRequest::getDeployOrderId()const
{
return deployOrderId_;
}
void DescribeAppMonitorMetricRequest::setDeployOrderId(const std::string& deployOrderId)
{
deployOrderId_ = deployOrderId;
setParameter("DeployOrderId", deployOrderId);
}
std::string DescribeAppMonitorMetricRequest::getMetric()const
{
return metric_;
}
void DescribeAppMonitorMetricRequest::setMetric(const std::string& metric)
{
metric_ = metric;
setParameter("Metric", metric);
}
long DescribeAppMonitorMetricRequest::getAppId()const
{
return appId_;
}
void DescribeAppMonitorMetricRequest::setAppId(long appId)
{
appId_ = appId;
setParameter("AppId", std::to_string(appId));
}
std::string DescribeAppMonitorMetricRequest::getPodName()const
{
return podName_;
}
void DescribeAppMonitorMetricRequest::setPodName(const std::string& podName)
{
podName_ = podName;
setParameter("PodName", podName);
}
long DescribeAppMonitorMetricRequest::getEndTime()const
{
return endTime_;
}
void DescribeAppMonitorMetricRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
long DescribeAppMonitorMetricRequest::getEnvId()const
{
return envId_;
}
void DescribeAppMonitorMetricRequest::setEnvId(long envId)
{
envId_ = envId;
setParameter("EnvId", std::to_string(envId));
}
long DescribeAppMonitorMetricRequest::getStartTime()const
{
return startTime_;
}
void DescribeAppMonitorMetricRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
std::string DescribeAppMonitorMetricRequest::getType()const
{
return type_;
}
void DescribeAppMonitorMetricRequest::setType(const std::string& type)
{
type_ = type;
setParameter("Type", type);
}

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/DescribeAppMonitorMetricResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
DescribeAppMonitorMetricResult::DescribeAppMonitorMetricResult() :
ServiceResult()
{}
DescribeAppMonitorMetricResult::DescribeAppMonitorMetricResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAppMonitorMetricResult::~DescribeAppMonitorMetricResult()
{}
void DescribeAppMonitorMetricResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allResultNode = value["Result"]["MetricItem"];
for (auto valueResultMetricItem : allResultNode)
{
MetricItem resultObject;
if(!valueResultMetricItem["Name"].isNull())
resultObject.name = valueResultMetricItem["Name"].asString();
auto allData = value["Data"]["Double"];
for (auto value : allData)
resultObject.data.push_back(value.asString());
auto allCategories = value["Categories"]["String"];
for (auto value : allCategories)
resultObject.categories.push_back(value.asString());
result_.push_back(resultObject);
}
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrMsg"].isNull())
errMsg_ = value["ErrMsg"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string DescribeAppMonitorMetricResult::getErrMsg()const
{
return errMsg_;
}
int DescribeAppMonitorMetricResult::getCode()const
{
return code_;
}
bool DescribeAppMonitorMetricResult::getSuccess()const
{
return success_;
}
std::vector<DescribeAppMonitorMetricResult::MetricItem> DescribeAppMonitorMetricResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,128 @@
/*
* 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/retailcloud/model/DescribeEventMonitorListRequest.h>
using AlibabaCloud::Retailcloud::Model::DescribeEventMonitorListRequest;
DescribeEventMonitorListRequest::DescribeEventMonitorListRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "DescribeEventMonitorList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeEventMonitorListRequest::~DescribeEventMonitorListRequest()
{}
std::string DescribeEventMonitorListRequest::getEventLevel()const
{
return eventLevel_;
}
void DescribeEventMonitorListRequest::setEventLevel(const std::string& eventLevel)
{
eventLevel_ = eventLevel;
setParameter("EventLevel", eventLevel);
}
long DescribeEventMonitorListRequest::getAppId()const
{
return appId_;
}
void DescribeEventMonitorListRequest::setAppId(long appId)
{
appId_ = appId;
setParameter("AppId", std::to_string(appId));
}
int DescribeEventMonitorListRequest::getPageSize()const
{
return pageSize_;
}
void DescribeEventMonitorListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
std::string DescribeEventMonitorListRequest::getPodName()const
{
return podName_;
}
void DescribeEventMonitorListRequest::setPodName(const std::string& podName)
{
podName_ = podName;
setParameter("PodName", podName);
}
long DescribeEventMonitorListRequest::getEndTime()const
{
return endTime_;
}
void DescribeEventMonitorListRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
}
std::string DescribeEventMonitorListRequest::getEventType()const
{
return eventType_;
}
void DescribeEventMonitorListRequest::setEventType(const std::string& eventType)
{
eventType_ = eventType;
setParameter("EventType", eventType);
}
long DescribeEventMonitorListRequest::getEnvId()const
{
return envId_;
}
void DescribeEventMonitorListRequest::setEnvId(long envId)
{
envId_ = envId;
setParameter("EnvId", std::to_string(envId));
}
long DescribeEventMonitorListRequest::getStartTime()const
{
return startTime_;
}
void DescribeEventMonitorListRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
}
int DescribeEventMonitorListRequest::getPageNum()const
{
return pageNum_;
}
void DescribeEventMonitorListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}

View File

@@ -0,0 +1,108 @@
/*
* 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/retailcloud/model/DescribeEventMonitorListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
DescribeEventMonitorListResult::DescribeEventMonitorListResult() :
ServiceResult()
{}
DescribeEventMonitorListResult::DescribeEventMonitorListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeEventMonitorListResult::~DescribeEventMonitorListResult()
{}
void DescribeEventMonitorListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["EventInfo"];
for (auto valueDataEventInfo : allDataNode)
{
EventInfo dataObject;
if(!valueDataEventInfo["Count"].isNull())
dataObject.count = std::stoi(valueDataEventInfo["Count"].asString());
if(!valueDataEventInfo["EventTime"].isNull())
dataObject.eventTime = valueDataEventInfo["EventTime"].asString();
if(!valueDataEventInfo["HostName"].isNull())
dataObject.hostName = valueDataEventInfo["HostName"].asString();
if(!valueDataEventInfo["Kind"].isNull())
dataObject.kind = valueDataEventInfo["Kind"].asString();
if(!valueDataEventInfo["Level"].isNull())
dataObject.level = valueDataEventInfo["Level"].asString();
if(!valueDataEventInfo["Message"].isNull())
dataObject.message = valueDataEventInfo["Message"].asString();
if(!valueDataEventInfo["NameSpace"].isNull())
dataObject._nameSpace = valueDataEventInfo["NameSpace"].asString();
if(!valueDataEventInfo["PodName"].isNull())
dataObject.podName = valueDataEventInfo["PodName"].asString();
if(!valueDataEventInfo["Reason"].isNull())
dataObject.reason = valueDataEventInfo["Reason"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
}
long DescribeEventMonitorListResult::getTotalCount()const
{
return totalCount_;
}
int DescribeEventMonitorListResult::getPageSize()const
{
return pageSize_;
}
int DescribeEventMonitorListResult::getPageNumber()const
{
return pageNumber_;
}
std::string DescribeEventMonitorListResult::getErrorMsg()const
{
return errorMsg_;
}
std::vector<DescribeEventMonitorListResult::EventInfo> DescribeEventMonitorListResult::getData()const
{
return data_;
}
int DescribeEventMonitorListResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,73 @@
/*
* 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/retailcloud/model/DescribePodContainerLogListRequest.h>
using AlibabaCloud::Retailcloud::Model::DescribePodContainerLogListRequest;
DescribePodContainerLogListRequest::DescribePodContainerLogListRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "DescribePodContainerLogList")
{
setMethod(HttpRequest::Method::Post);
}
DescribePodContainerLogListRequest::~DescribePodContainerLogListRequest()
{}
int DescribePodContainerLogListRequest::getLine()const
{
return line_;
}
void DescribePodContainerLogListRequest::setLine(int line)
{
line_ = line;
setParameter("Line", std::to_string(line));
}
long DescribePodContainerLogListRequest::getAppId()const
{
return appId_;
}
void DescribePodContainerLogListRequest::setAppId(long appId)
{
appId_ = appId;
setParameter("AppId", std::to_string(appId));
}
std::string DescribePodContainerLogListRequest::getPodName()const
{
return podName_;
}
void DescribePodContainerLogListRequest::setPodName(const std::string& podName)
{
podName_ = podName;
setParameter("PodName", podName);
}
long DescribePodContainerLogListRequest::getEnvId()const
{
return envId_;
}
void DescribePodContainerLogListRequest::setEnvId(long envId)
{
envId_ = envId;
setParameter("EnvId", std::to_string(envId));
}

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/DescribePodContainerLogListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
DescribePodContainerLogListResult::DescribePodContainerLogListResult() :
ServiceResult()
{}
DescribePodContainerLogListResult::DescribePodContainerLogListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribePodContainerLogListResult::~DescribePodContainerLogListResult()
{}
void DescribePodContainerLogListResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
auto allContainerLogListNode = resultNode["ContainerLogList"]["PodContainerLog"];
for (auto resultNodeContainerLogListPodContainerLog : allContainerLogListNode)
{
Result::PodContainerLog podContainerLogObject;
if(!resultNodeContainerLogListPodContainerLog["ContainerName"].isNull())
podContainerLogObject.containerName = resultNodeContainerLogListPodContainerLog["ContainerName"].asString();
if(!resultNodeContainerLogListPodContainerLog["Content"].isNull())
podContainerLogObject.content = resultNodeContainerLogListPodContainerLog["Content"].asString();
if(!resultNodeContainerLogListPodContainerLog["PodName"].isNull())
podContainerLogObject.podName = resultNodeContainerLogListPodContainerLog["PodName"].asString();
result_.containerLogList.push_back(podContainerLogObject);
}
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrMsg"].isNull())
errMsg_ = value["ErrMsg"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string DescribePodContainerLogListResult::getErrMsg()const
{
return errMsg_;
}
int DescribePodContainerLogListResult::getCode()const
{
return code_;
}
bool DescribePodContainerLogListResult::getSuccess()const
{
return success_;
}
DescribePodContainerLogListResult::Result DescribePodContainerLogListResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,73 @@
/*
* 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/retailcloud/model/ListAppGroupMappingRequest.h>
using AlibabaCloud::Retailcloud::Model::ListAppGroupMappingRequest;
ListAppGroupMappingRequest::ListAppGroupMappingRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "ListAppGroupMapping")
{
setMethod(HttpRequest::Method::Post);
}
ListAppGroupMappingRequest::~ListAppGroupMappingRequest()
{}
std::string ListAppGroupMappingRequest::getBizCode()const
{
return bizCode_;
}
void ListAppGroupMappingRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setParameter("BizCode", bizCode);
}
std::string ListAppGroupMappingRequest::getName()const
{
return name_;
}
void ListAppGroupMappingRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}
int ListAppGroupMappingRequest::getPageSize()const
{
return pageSize_;
}
void ListAppGroupMappingRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int ListAppGroupMappingRequest::getPageNumber()const
{
return pageNumber_;
}
void ListAppGroupMappingRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}

View File

@@ -0,0 +1,98 @@
/*
* 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/retailcloud/model/ListAppGroupMappingResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
ListAppGroupMappingResult::ListAppGroupMappingResult() :
ServiceResult()
{}
ListAppGroupMappingResult::ListAppGroupMappingResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListAppGroupMappingResult::~ListAppGroupMappingResult()
{}
void ListAppGroupMappingResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["AppGroupMappingDetail"];
for (auto valueDataAppGroupMappingDetail : allDataNode)
{
AppGroupMappingDetail dataObject;
if(!valueDataAppGroupMappingDetail["Id"].isNull())
dataObject.id = std::stol(valueDataAppGroupMappingDetail["Id"].asString());
if(!valueDataAppGroupMappingDetail["Name"].isNull())
dataObject.name = valueDataAppGroupMappingDetail["Name"].asString();
if(!valueDataAppGroupMappingDetail["GroupId"].isNull())
dataObject.groupId = std::stol(valueDataAppGroupMappingDetail["GroupId"].asString());
if(!valueDataAppGroupMappingDetail["AppId"].isNull())
dataObject.appId = std::stol(valueDataAppGroupMappingDetail["AppId"].asString());
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
long ListAppGroupMappingResult::getTotalCount()const
{
return totalCount_;
}
int ListAppGroupMappingResult::getPageSize()const
{
return pageSize_;
}
int ListAppGroupMappingResult::getPageNumber()const
{
return pageNumber_;
}
std::string ListAppGroupMappingResult::getErrorMsg()const
{
return errorMsg_;
}
std::vector<ListAppGroupMappingResult::AppGroupMappingDetail> ListAppGroupMappingResult::getData()const
{
return data_;
}
int ListAppGroupMappingResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/ListAppGroupRequest.h>
using AlibabaCloud::Retailcloud::Model::ListAppGroupRequest;
ListAppGroupRequest::ListAppGroupRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "ListAppGroup")
{
setMethod(HttpRequest::Method::Post);
}
ListAppGroupRequest::~ListAppGroupRequest()
{}
std::string ListAppGroupRequest::getBizCode()const
{
return bizCode_;
}
void ListAppGroupRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setParameter("BizCode", bizCode);
}
int ListAppGroupRequest::getPageSize()const
{
return pageSize_;
}
void ListAppGroupRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}
int ListAppGroupRequest::getPageNumber()const
{
return pageNumber_;
}
void ListAppGroupRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}

View File

@@ -0,0 +1,96 @@
/*
* 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/retailcloud/model/ListAppGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
ListAppGroupResult::ListAppGroupResult() :
ServiceResult()
{}
ListAppGroupResult::ListAppGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListAppGroupResult::~ListAppGroupResult()
{}
void ListAppGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDataNode = value["Data"]["AppGroupDetail"];
for (auto valueDataAppGroupDetail : allDataNode)
{
AppGroupDetail dataObject;
if(!valueDataAppGroupDetail["BizName"].isNull())
dataObject.bizName = valueDataAppGroupDetail["BizName"].asString();
if(!valueDataAppGroupDetail["Name"].isNull())
dataObject.name = valueDataAppGroupDetail["Name"].asString();
if(!valueDataAppGroupDetail["Id"].isNull())
dataObject.id = std::stol(valueDataAppGroupDetail["Id"].asString());
data_.push_back(dataObject);
}
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["PageNumber"].isNull())
pageNumber_ = std::stoi(value["PageNumber"].asString());
if(!value["PageSize"].isNull())
pageSize_ = std::stoi(value["PageSize"].asString());
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
if(!value["ErrorMsg"].isNull())
errorMsg_ = value["ErrorMsg"].asString();
}
long ListAppGroupResult::getTotalCount()const
{
return totalCount_;
}
int ListAppGroupResult::getPageSize()const
{
return pageSize_;
}
int ListAppGroupResult::getPageNumber()const
{
return pageNumber_;
}
std::string ListAppGroupResult::getErrorMsg()const
{
return errorMsg_;
}
std::vector<ListAppGroupResult::AppGroupDetail> ListAppGroupResult::getData()const
{
return data_;
}
int ListAppGroupResult::getCode()const
{
return code_;
}

View File

@@ -61,6 +61,8 @@ void ListAppInstanceResult::parse(const std::string &payload)
dataObject.requests = valueDataAppInstanceDetail["Requests"].asString();
if(!valueDataAppInstanceDetail["Limits"].isNull())
dataObject.limits = valueDataAppInstanceDetail["Limits"].asString();
if(!valueDataAppInstanceDetail["Version"].isNull())
dataObject.version = valueDataAppInstanceDetail["Version"].asString();
data_.push_back(dataObject);
}
if(!value["Code"].isNull())

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/UnbindGroupRequest.h>
using AlibabaCloud::Retailcloud::Model::UnbindGroupRequest;
UnbindGroupRequest::UnbindGroupRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "UnbindGroup")
{
setMethod(HttpRequest::Method::Post);
}
UnbindGroupRequest::~UnbindGroupRequest()
{}
std::string UnbindGroupRequest::getBizCode()const
{
return bizCode_;
}
void UnbindGroupRequest::setBizCode(const std::string& bizCode)
{
bizCode_ = bizCode;
setParameter("BizCode", bizCode);
}
long UnbindGroupRequest::getAppId()const
{
return appId_;
}
void UnbindGroupRequest::setAppId(long appId)
{
appId_ = appId;
setParameter("AppId", std::to_string(appId));
}
std::string UnbindGroupRequest::getName()const
{
return name_;
}
void UnbindGroupRequest::setName(const std::string& name)
{
name_ = name;
setParameter("Name", name);
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/retailcloud/model/UnbindGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
UnbindGroupResult::UnbindGroupResult() :
ServiceResult()
{}
UnbindGroupResult::UnbindGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UnbindGroupResult::~UnbindGroupResult()
{}
void UnbindGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["Result"];
if(!resultNode["Success"].isNull())
result_.success = resultNode["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = std::stoi(value["Code"].asString());
if(!value["ErrMsg"].isNull())
errMsg_ = value["ErrMsg"].asString();
}
std::string UnbindGroupResult::getErrMsg()const
{
return errMsg_;
}
int UnbindGroupResult::getCode()const
{
return code_;
}
UnbindGroupResult::Result UnbindGroupResult::getResult()const
{
return result_;
}

View File

@@ -0,0 +1,75 @@
/*
* 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/retailcloud/model/UpdateAppMonitorsRequest.h>
using AlibabaCloud::Retailcloud::Model::UpdateAppMonitorsRequest;
UpdateAppMonitorsRequest::UpdateAppMonitorsRequest() :
RpcServiceRequest("retailcloud", "2018-03-13", "UpdateAppMonitors")
{
setMethod(HttpRequest::Method::Post);
}
UpdateAppMonitorsRequest::~UpdateAppMonitorsRequest()
{}
long UpdateAppMonitorsRequest::getMainUserId()const
{
return mainUserId_;
}
void UpdateAppMonitorsRequest::setMainUserId(long mainUserId)
{
mainUserId_ = mainUserId;
setBodyParameter("MainUserId", std::to_string(mainUserId));
}
std::string UpdateAppMonitorsRequest::getSilenceTime()const
{
return silenceTime_;
}
void UpdateAppMonitorsRequest::setSilenceTime(const std::string& silenceTime)
{
silenceTime_ = silenceTime;
setBodyParameter("SilenceTime", silenceTime);
}
std::vector<long> UpdateAppMonitorsRequest::getMonitorIds()const
{
return monitorIds_;
}
void UpdateAppMonitorsRequest::setMonitorIds(const std::vector<long>& monitorIds)
{
monitorIds_ = monitorIds;
for(int dep1 = 0; dep1!= monitorIds.size(); dep1++) {
setBodyParameter("MonitorIds."+ std::to_string(dep1), std::to_string(monitorIds.at(dep1)));
}
}
long UpdateAppMonitorsRequest::getTemplateId()const
{
return templateId_;
}
void UpdateAppMonitorsRequest::setTemplateId(long templateId)
{
templateId_ = templateId;
setBodyParameter("TemplateId", std::to_string(templateId));
}

View 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.
*/
#include <alibabacloud/retailcloud/model/UpdateAppMonitorsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Retailcloud;
using namespace AlibabaCloud::Retailcloud::Model;
UpdateAppMonitorsResult::UpdateAppMonitorsResult() :
ServiceResult()
{}
UpdateAppMonitorsResult::UpdateAppMonitorsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
UpdateAppMonitorsResult::~UpdateAppMonitorsResult()
{}
void UpdateAppMonitorsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
}
std::string UpdateAppMonitorsResult::getMsg()const
{
return msg_;
}
std::string UpdateAppMonitorsResult::getCode()const
{
return code_;
}
bool UpdateAppMonitorsResult::getSuccess()const
{
return success_;
}