由萨文发起的CMS SDK自动发布, BUILD_ID=276, 版本号:1.0.7
发布日志: 1, Add ActiveAlert API : ListActiveAlertRuleRequest/ListProductOfActiceAlertRequest/EnableActiceAlertRequest/DisableActiceAlertRequest
This commit is contained in:
@@ -57,4 +57,5 @@ add_subdirectory(cdn)
|
||||
add_subdirectory(rds)
|
||||
add_subdirectory(cloudphoto)
|
||||
add_subdirectory(ess)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(tesladam)
|
||||
add_subdirectory(cms)
|
||||
290
cms/CMakeLists.txt
Executable file
290
cms/CMakeLists.txt
Executable file
@@ -0,0 +1,290 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
set(cms_public_header
|
||||
include/alibabacloud/cms/model/ProfileSetRequest.h
|
||||
include/alibabacloud/cms/model/ProfileSetResult.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiceAlertRequest.h
|
||||
include/alibabacloud/cms/model/ListProductOfActiceAlertResult.h
|
||||
include/alibabacloud/cms/model/DeleteCustomMetricRequest.h
|
||||
include/alibabacloud/cms/model/DeleteCustomMetricResult.h
|
||||
include/alibabacloud/cms/model/GetNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/GetNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/NodeUninstallRequest.h
|
||||
include/alibabacloud/cms/model/NodeUninstallResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventCountRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventCountResult.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/ProfileGetRequest.h
|
||||
include/alibabacloud/cms/model/ProfileGetResult.h
|
||||
include/alibabacloud/cms/model/PutSystemEventRequest.h
|
||||
include/alibabacloud/cms/model/PutSystemEventResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomMetricListRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomMetricListResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventDetailRequest.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventDetailResult.h
|
||||
include/alibabacloud/cms/model/CreateNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/CreateNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/DeleteAlarmRequest.h
|
||||
include/alibabacloud/cms/model/DeleteAlarmResult.h
|
||||
include/alibabacloud/cms/model/NodeListRequest.h
|
||||
include/alibabacloud/cms/model/NodeListResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessesRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessesResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupCategoriesRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupCategoriesResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricListRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricListResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesDetailsRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesDetailsResult.h
|
||||
include/alibabacloud/cms/model/DisableAlarmRequest.h
|
||||
include/alibabacloud/cms/model/DisableAlarmResult.h
|
||||
include/alibabacloud/cms/model/PutCustomMetricRequest.h
|
||||
include/alibabacloud/cms/model/PutCustomMetricResult.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/QueryMetricLastRequest.h
|
||||
include/alibabacloud/cms/model/QueryMetricLastResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventHistogramRequest.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventHistogramResult.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmHistoryRequest.h
|
||||
include/alibabacloud/cms/model/DescribeAlarmHistoryResult.h
|
||||
include/alibabacloud/cms/model/NodeStatusRequest.h
|
||||
include/alibabacloud/cms/model/NodeStatusResult.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/DeleteMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/CreateMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/CreateAlarmRequest.h
|
||||
include/alibabacloud/cms/model/CreateAlarmResult.h
|
||||
include/alibabacloud/cms/model/ListActiveAlertRuleRequest.h
|
||||
include/alibabacloud/cms/model/ListActiveAlertRuleResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/DeleteNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/DeleteNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/AddMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/AddMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessDeleteRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessDeleteResult.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/UpdateMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventCountRequest.h
|
||||
include/alibabacloud/cms/model/QuerySystemEventCountResult.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesRequest.h
|
||||
include/alibabacloud/cms/model/ListMyGroupInstancesResult.h
|
||||
include/alibabacloud/cms/model/AccessKeyGetRequest.h
|
||||
include/alibabacloud/cms/model/AccessKeyGetResult.h
|
||||
include/alibabacloud/cms/model/EnableActiceAlertRequest.h
|
||||
include/alibabacloud/cms/model/EnableActiceAlertResult.h
|
||||
include/alibabacloud/cms/model/PutMetricDataRequest.h
|
||||
include/alibabacloud/cms/model/PutMetricDataResult.h
|
||||
include/alibabacloud/cms/model/DisableActiceAlertRequest.h
|
||||
include/alibabacloud/cms/model/DisableActiceAlertResult.h
|
||||
include/alibabacloud/cms/model/ListAlarmRequest.h
|
||||
include/alibabacloud/cms/model/ListAlarmResult.h
|
||||
include/alibabacloud/cms/model/NodeInstallRequest.h
|
||||
include/alibabacloud/cms/model/NodeInstallResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventHistogramRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventHistogramResult.h
|
||||
include/alibabacloud/cms/model/PutEventRequest.h
|
||||
include/alibabacloud/cms/model/PutEventResult.h
|
||||
include/alibabacloud/cms/model/ListAlarmHistoryRequest.h
|
||||
include/alibabacloud/cms/model/ListAlarmHistoryResult.h
|
||||
include/alibabacloud/cms/model/NodeStatusListRequest.h
|
||||
include/alibabacloud/cms/model/NodeStatusListResult.h
|
||||
include/alibabacloud/cms/model/ListContactGroupRequest.h
|
||||
include/alibabacloud/cms/model/ListContactGroupResult.h
|
||||
include/alibabacloud/cms/model/GetMyGroupsRequest.h
|
||||
include/alibabacloud/cms/model/GetMyGroupsResult.h
|
||||
include/alibabacloud/cms/model/ListNotifyPolicyRequest.h
|
||||
include/alibabacloud/cms/model/ListNotifyPolicyResult.h
|
||||
include/alibabacloud/cms/model/UpdateAlarmRequest.h
|
||||
include/alibabacloud/cms/model/UpdateAlarmResult.h
|
||||
include/alibabacloud/cms/model/NodeProcessCreateRequest.h
|
||||
include/alibabacloud/cms/model/NodeProcessCreateResult.h
|
||||
include/alibabacloud/cms/model/EnableAlarmRequest.h
|
||||
include/alibabacloud/cms/model/EnableAlarmResult.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventDetailRequest.h
|
||||
include/alibabacloud/cms/model/QueryCustomEventDetailResult.h
|
||||
include/alibabacloud/cms/CmsClient.h
|
||||
include/alibabacloud/cms/CmsExport.h
|
||||
include/alibabacloud/cms/CmsRequest.h
|
||||
)
|
||||
|
||||
set(cms_src
|
||||
src/model/ProfileSetRequest.cc
|
||||
src/model/ProfileSetResult.cc
|
||||
src/model/ListProductOfActiceAlertRequest.cc
|
||||
src/model/ListProductOfActiceAlertResult.cc
|
||||
src/model/DeleteCustomMetricRequest.cc
|
||||
src/model/DeleteCustomMetricResult.cc
|
||||
src/model/GetNotifyPolicyRequest.cc
|
||||
src/model/GetNotifyPolicyResult.cc
|
||||
src/model/NodeUninstallRequest.cc
|
||||
src/model/NodeUninstallResult.cc
|
||||
src/model/QueryCustomEventCountRequest.cc
|
||||
src/model/QueryCustomEventCountResult.cc
|
||||
src/model/UpdateMyGroupInstancesRequest.cc
|
||||
src/model/UpdateMyGroupInstancesResult.cc
|
||||
src/model/ProfileGetRequest.cc
|
||||
src/model/ProfileGetResult.cc
|
||||
src/model/PutSystemEventRequest.cc
|
||||
src/model/PutSystemEventResult.cc
|
||||
src/model/QueryCustomMetricListRequest.cc
|
||||
src/model/QueryCustomMetricListResult.cc
|
||||
src/model/QuerySystemEventDetailRequest.cc
|
||||
src/model/QuerySystemEventDetailResult.cc
|
||||
src/model/CreateNotifyPolicyRequest.cc
|
||||
src/model/CreateNotifyPolicyResult.cc
|
||||
src/model/DeleteAlarmRequest.cc
|
||||
src/model/DeleteAlarmResult.cc
|
||||
src/model/NodeListRequest.cc
|
||||
src/model/NodeListResult.cc
|
||||
src/model/NodeProcessesRequest.cc
|
||||
src/model/NodeProcessesResult.cc
|
||||
src/model/ListMyGroupCategoriesRequest.cc
|
||||
src/model/ListMyGroupCategoriesResult.cc
|
||||
src/model/QueryMetricListRequest.cc
|
||||
src/model/QueryMetricListResult.cc
|
||||
src/model/ListMyGroupInstancesDetailsRequest.cc
|
||||
src/model/ListMyGroupInstancesDetailsResult.cc
|
||||
src/model/DisableAlarmRequest.cc
|
||||
src/model/DisableAlarmResult.cc
|
||||
src/model/PutCustomMetricRequest.cc
|
||||
src/model/PutCustomMetricResult.cc
|
||||
src/model/DeleteMyGroupsRequest.cc
|
||||
src/model/DeleteMyGroupsResult.cc
|
||||
src/model/QueryMetricLastRequest.cc
|
||||
src/model/QueryMetricLastResult.cc
|
||||
src/model/QuerySystemEventHistogramRequest.cc
|
||||
src/model/QuerySystemEventHistogramResult.cc
|
||||
src/model/DescribeAlarmHistoryRequest.cc
|
||||
src/model/DescribeAlarmHistoryResult.cc
|
||||
src/model/NodeStatusRequest.cc
|
||||
src/model/NodeStatusResult.cc
|
||||
src/model/DeleteMyGroupInstancesRequest.cc
|
||||
src/model/DeleteMyGroupInstancesResult.cc
|
||||
src/model/CreateMyGroupsRequest.cc
|
||||
src/model/CreateMyGroupsResult.cc
|
||||
src/model/CreateAlarmRequest.cc
|
||||
src/model/CreateAlarmResult.cc
|
||||
src/model/ListActiveAlertRuleRequest.cc
|
||||
src/model/ListActiveAlertRuleResult.cc
|
||||
src/model/ListMyGroupsRequest.cc
|
||||
src/model/ListMyGroupsResult.cc
|
||||
src/model/DeleteNotifyPolicyRequest.cc
|
||||
src/model/DeleteNotifyPolicyResult.cc
|
||||
src/model/AddMyGroupInstancesRequest.cc
|
||||
src/model/AddMyGroupInstancesResult.cc
|
||||
src/model/NodeProcessDeleteRequest.cc
|
||||
src/model/NodeProcessDeleteResult.cc
|
||||
src/model/UpdateMyGroupsRequest.cc
|
||||
src/model/UpdateMyGroupsResult.cc
|
||||
src/model/QuerySystemEventCountRequest.cc
|
||||
src/model/QuerySystemEventCountResult.cc
|
||||
src/model/ListMyGroupInstancesRequest.cc
|
||||
src/model/ListMyGroupInstancesResult.cc
|
||||
src/model/AccessKeyGetRequest.cc
|
||||
src/model/AccessKeyGetResult.cc
|
||||
src/model/EnableActiceAlertRequest.cc
|
||||
src/model/EnableActiceAlertResult.cc
|
||||
src/model/PutMetricDataRequest.cc
|
||||
src/model/PutMetricDataResult.cc
|
||||
src/model/DisableActiceAlertRequest.cc
|
||||
src/model/DisableActiceAlertResult.cc
|
||||
src/model/ListAlarmRequest.cc
|
||||
src/model/ListAlarmResult.cc
|
||||
src/model/NodeInstallRequest.cc
|
||||
src/model/NodeInstallResult.cc
|
||||
src/model/QueryCustomEventHistogramRequest.cc
|
||||
src/model/QueryCustomEventHistogramResult.cc
|
||||
src/model/PutEventRequest.cc
|
||||
src/model/PutEventResult.cc
|
||||
src/model/ListAlarmHistoryRequest.cc
|
||||
src/model/ListAlarmHistoryResult.cc
|
||||
src/model/NodeStatusListRequest.cc
|
||||
src/model/NodeStatusListResult.cc
|
||||
src/model/ListContactGroupRequest.cc
|
||||
src/model/ListContactGroupResult.cc
|
||||
src/model/GetMyGroupsRequest.cc
|
||||
src/model/GetMyGroupsResult.cc
|
||||
src/model/ListNotifyPolicyRequest.cc
|
||||
src/model/ListNotifyPolicyResult.cc
|
||||
src/model/UpdateAlarmRequest.cc
|
||||
src/model/UpdateAlarmResult.cc
|
||||
src/model/NodeProcessCreateRequest.cc
|
||||
src/model/NodeProcessCreateResult.cc
|
||||
src/model/EnableAlarmRequest.cc
|
||||
src/model/EnableAlarmResult.cc
|
||||
src/model/QueryCustomEventDetailRequest.cc
|
||||
src/model/QueryCustomEventDetailResult.cc
|
||||
src/CmsClient.cc
|
||||
src/CmsRequest.cc
|
||||
)
|
||||
|
||||
add_library(cms ${LIB_TYPE} ${cms_public_header} ${cms_src})
|
||||
|
||||
set_target_properties(cms
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cms
|
||||
PUBLIC_HEADER "${cms_public_header}"
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(cms
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CMS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(cms
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(cms
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(cms
|
||||
jsoncpp)
|
||||
target_include_directories(cms
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(cms
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(cms
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(cms
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(cms
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(TARGETS cms
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cms
|
||||
)
|
||||
4
cms/ChangeLog.txt
Normal file
4
cms/ChangeLog.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
2018-01-24 Version: 1.0.7
|
||||
1, Add ActiveAlert API : ListActiveAlertRuleRequest/ListProductOfActiceAlertRequest/EnableActiceAlertRequest/DisableActiceAlertRequest
|
||||
|
||||
|
||||
473
cms/include/alibabacloud/cms/CmsClient.h
Executable file
473
cms/include/alibabacloud/cms/CmsClient.h
Executable file
@@ -0,0 +1,473 @@
|
||||
/*
|
||||
* 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_CMS_CMSCLIENT_H_
|
||||
#define ALIBABACLOUD_CMS_CMSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CmsExport.h"
|
||||
#include "model/ProfileSetRequest.h"
|
||||
#include "model/ProfileSetResult.h"
|
||||
#include "model/ListProductOfActiceAlertRequest.h"
|
||||
#include "model/ListProductOfActiceAlertResult.h"
|
||||
#include "model/DeleteCustomMetricRequest.h"
|
||||
#include "model/DeleteCustomMetricResult.h"
|
||||
#include "model/GetNotifyPolicyRequest.h"
|
||||
#include "model/GetNotifyPolicyResult.h"
|
||||
#include "model/NodeUninstallRequest.h"
|
||||
#include "model/NodeUninstallResult.h"
|
||||
#include "model/QueryCustomEventCountRequest.h"
|
||||
#include "model/QueryCustomEventCountResult.h"
|
||||
#include "model/UpdateMyGroupInstancesRequest.h"
|
||||
#include "model/UpdateMyGroupInstancesResult.h"
|
||||
#include "model/ProfileGetRequest.h"
|
||||
#include "model/ProfileGetResult.h"
|
||||
#include "model/PutSystemEventRequest.h"
|
||||
#include "model/PutSystemEventResult.h"
|
||||
#include "model/QueryCustomMetricListRequest.h"
|
||||
#include "model/QueryCustomMetricListResult.h"
|
||||
#include "model/QuerySystemEventDetailRequest.h"
|
||||
#include "model/QuerySystemEventDetailResult.h"
|
||||
#include "model/CreateNotifyPolicyRequest.h"
|
||||
#include "model/CreateNotifyPolicyResult.h"
|
||||
#include "model/DeleteAlarmRequest.h"
|
||||
#include "model/DeleteAlarmResult.h"
|
||||
#include "model/NodeListRequest.h"
|
||||
#include "model/NodeListResult.h"
|
||||
#include "model/NodeProcessesRequest.h"
|
||||
#include "model/NodeProcessesResult.h"
|
||||
#include "model/ListMyGroupCategoriesRequest.h"
|
||||
#include "model/ListMyGroupCategoriesResult.h"
|
||||
#include "model/QueryMetricListRequest.h"
|
||||
#include "model/QueryMetricListResult.h"
|
||||
#include "model/ListMyGroupInstancesDetailsRequest.h"
|
||||
#include "model/ListMyGroupInstancesDetailsResult.h"
|
||||
#include "model/DisableAlarmRequest.h"
|
||||
#include "model/DisableAlarmResult.h"
|
||||
#include "model/PutCustomMetricRequest.h"
|
||||
#include "model/PutCustomMetricResult.h"
|
||||
#include "model/DeleteMyGroupsRequest.h"
|
||||
#include "model/DeleteMyGroupsResult.h"
|
||||
#include "model/QueryMetricLastRequest.h"
|
||||
#include "model/QueryMetricLastResult.h"
|
||||
#include "model/QuerySystemEventHistogramRequest.h"
|
||||
#include "model/QuerySystemEventHistogramResult.h"
|
||||
#include "model/DescribeAlarmHistoryRequest.h"
|
||||
#include "model/DescribeAlarmHistoryResult.h"
|
||||
#include "model/NodeStatusRequest.h"
|
||||
#include "model/NodeStatusResult.h"
|
||||
#include "model/DeleteMyGroupInstancesRequest.h"
|
||||
#include "model/DeleteMyGroupInstancesResult.h"
|
||||
#include "model/CreateMyGroupsRequest.h"
|
||||
#include "model/CreateMyGroupsResult.h"
|
||||
#include "model/CreateAlarmRequest.h"
|
||||
#include "model/CreateAlarmResult.h"
|
||||
#include "model/ListActiveAlertRuleRequest.h"
|
||||
#include "model/ListActiveAlertRuleResult.h"
|
||||
#include "model/ListMyGroupsRequest.h"
|
||||
#include "model/ListMyGroupsResult.h"
|
||||
#include "model/DeleteNotifyPolicyRequest.h"
|
||||
#include "model/DeleteNotifyPolicyResult.h"
|
||||
#include "model/AddMyGroupInstancesRequest.h"
|
||||
#include "model/AddMyGroupInstancesResult.h"
|
||||
#include "model/NodeProcessDeleteRequest.h"
|
||||
#include "model/NodeProcessDeleteResult.h"
|
||||
#include "model/UpdateMyGroupsRequest.h"
|
||||
#include "model/UpdateMyGroupsResult.h"
|
||||
#include "model/QuerySystemEventCountRequest.h"
|
||||
#include "model/QuerySystemEventCountResult.h"
|
||||
#include "model/ListMyGroupInstancesRequest.h"
|
||||
#include "model/ListMyGroupInstancesResult.h"
|
||||
#include "model/AccessKeyGetRequest.h"
|
||||
#include "model/AccessKeyGetResult.h"
|
||||
#include "model/EnableActiceAlertRequest.h"
|
||||
#include "model/EnableActiceAlertResult.h"
|
||||
#include "model/PutMetricDataRequest.h"
|
||||
#include "model/PutMetricDataResult.h"
|
||||
#include "model/DisableActiceAlertRequest.h"
|
||||
#include "model/DisableActiceAlertResult.h"
|
||||
#include "model/ListAlarmRequest.h"
|
||||
#include "model/ListAlarmResult.h"
|
||||
#include "model/NodeInstallRequest.h"
|
||||
#include "model/NodeInstallResult.h"
|
||||
#include "model/QueryCustomEventHistogramRequest.h"
|
||||
#include "model/QueryCustomEventHistogramResult.h"
|
||||
#include "model/PutEventRequest.h"
|
||||
#include "model/PutEventResult.h"
|
||||
#include "model/ListAlarmHistoryRequest.h"
|
||||
#include "model/ListAlarmHistoryResult.h"
|
||||
#include "model/NodeStatusListRequest.h"
|
||||
#include "model/NodeStatusListResult.h"
|
||||
#include "model/ListContactGroupRequest.h"
|
||||
#include "model/ListContactGroupResult.h"
|
||||
#include "model/GetMyGroupsRequest.h"
|
||||
#include "model/GetMyGroupsResult.h"
|
||||
#include "model/ListNotifyPolicyRequest.h"
|
||||
#include "model/ListNotifyPolicyResult.h"
|
||||
#include "model/UpdateAlarmRequest.h"
|
||||
#include "model/UpdateAlarmResult.h"
|
||||
#include "model/NodeProcessCreateRequest.h"
|
||||
#include "model/NodeProcessCreateResult.h"
|
||||
#include "model/EnableAlarmRequest.h"
|
||||
#include "model/EnableAlarmResult.h"
|
||||
#include "model/QueryCustomEventDetailRequest.h"
|
||||
#include "model/QueryCustomEventDetailResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CmsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ProfileSetResult> ProfileSetOutcome;
|
||||
typedef std::future<ProfileSetOutcome> ProfileSetOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ProfileSetRequest&, const ProfileSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ProfileSetAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProductOfActiceAlertResult> ListProductOfActiceAlertOutcome;
|
||||
typedef std::future<ListProductOfActiceAlertOutcome> ListProductOfActiceAlertOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListProductOfActiceAlertRequest&, const ListProductOfActiceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProductOfActiceAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomMetricResult> DeleteCustomMetricOutcome;
|
||||
typedef std::future<DeleteCustomMetricOutcome> DeleteCustomMetricOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteCustomMetricRequest&, const DeleteCustomMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetNotifyPolicyResult> GetNotifyPolicyOutcome;
|
||||
typedef std::future<GetNotifyPolicyOutcome> GetNotifyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::GetNotifyPolicyRequest&, const GetNotifyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNotifyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeUninstallResult> NodeUninstallOutcome;
|
||||
typedef std::future<NodeUninstallOutcome> NodeUninstallOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeUninstallRequest&, const NodeUninstallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeUninstallAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomEventCountResult> QueryCustomEventCountOutcome;
|
||||
typedef std::future<QueryCustomEventCountOutcome> QueryCustomEventCountOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QueryCustomEventCountRequest&, const QueryCustomEventCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomEventCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMyGroupInstancesResult> UpdateMyGroupInstancesOutcome;
|
||||
typedef std::future<UpdateMyGroupInstancesOutcome> UpdateMyGroupInstancesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::UpdateMyGroupInstancesRequest&, const UpdateMyGroupInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMyGroupInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ProfileGetResult> ProfileGetOutcome;
|
||||
typedef std::future<ProfileGetOutcome> ProfileGetOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ProfileGetRequest&, const ProfileGetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ProfileGetAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutSystemEventResult> PutSystemEventOutcome;
|
||||
typedef std::future<PutSystemEventOutcome> PutSystemEventOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutSystemEventRequest&, const PutSystemEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutSystemEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomMetricListResult> QueryCustomMetricListOutcome;
|
||||
typedef std::future<QueryCustomMetricListOutcome> QueryCustomMetricListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QueryCustomMetricListRequest&, const QueryCustomMetricListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomMetricListAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySystemEventDetailResult> QuerySystemEventDetailOutcome;
|
||||
typedef std::future<QuerySystemEventDetailOutcome> QuerySystemEventDetailOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QuerySystemEventDetailRequest&, const QuerySystemEventDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySystemEventDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateNotifyPolicyResult> CreateNotifyPolicyOutcome;
|
||||
typedef std::future<CreateNotifyPolicyOutcome> CreateNotifyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::CreateNotifyPolicyRequest&, const CreateNotifyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateNotifyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAlarmResult> DeleteAlarmOutcome;
|
||||
typedef std::future<DeleteAlarmOutcome> DeleteAlarmOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteAlarmRequest&, const DeleteAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlarmAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeListResult> NodeListOutcome;
|
||||
typedef std::future<NodeListOutcome> NodeListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeListRequest&, const NodeListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeListAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeProcessesResult> NodeProcessesOutcome;
|
||||
typedef std::future<NodeProcessesOutcome> NodeProcessesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeProcessesRequest&, const NodeProcessesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeProcessesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMyGroupCategoriesResult> ListMyGroupCategoriesOutcome;
|
||||
typedef std::future<ListMyGroupCategoriesOutcome> ListMyGroupCategoriesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListMyGroupCategoriesRequest&, const ListMyGroupCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMyGroupCategoriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMetricListResult> QueryMetricListOutcome;
|
||||
typedef std::future<QueryMetricListOutcome> QueryMetricListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QueryMetricListRequest&, const QueryMetricListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMyGroupInstancesDetailsResult> ListMyGroupInstancesDetailsOutcome;
|
||||
typedef std::future<ListMyGroupInstancesDetailsOutcome> ListMyGroupInstancesDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListMyGroupInstancesDetailsRequest&, const ListMyGroupInstancesDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMyGroupInstancesDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableAlarmResult> DisableAlarmOutcome;
|
||||
typedef std::future<DisableAlarmOutcome> DisableAlarmOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DisableAlarmRequest&, const DisableAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableAlarmAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutCustomMetricResult> PutCustomMetricOutcome;
|
||||
typedef std::future<PutCustomMetricOutcome> PutCustomMetricOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutCustomMetricRequest&, const PutCustomMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutCustomMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMyGroupsResult> DeleteMyGroupsOutcome;
|
||||
typedef std::future<DeleteMyGroupsOutcome> DeleteMyGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteMyGroupsRequest&, const DeleteMyGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMyGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryMetricLastResult> QueryMetricLastOutcome;
|
||||
typedef std::future<QueryMetricLastOutcome> QueryMetricLastOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QueryMetricLastRequest&, const QueryMetricLastOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryMetricLastAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySystemEventHistogramResult> QuerySystemEventHistogramOutcome;
|
||||
typedef std::future<QuerySystemEventHistogramOutcome> QuerySystemEventHistogramOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QuerySystemEventHistogramRequest&, const QuerySystemEventHistogramOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySystemEventHistogramAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAlarmHistoryResult> DescribeAlarmHistoryOutcome;
|
||||
typedef std::future<DescribeAlarmHistoryOutcome> DescribeAlarmHistoryOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeAlarmHistoryRequest&, const DescribeAlarmHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAlarmHistoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeStatusResult> NodeStatusOutcome;
|
||||
typedef std::future<NodeStatusOutcome> NodeStatusOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeStatusRequest&, const NodeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMyGroupInstancesResult> DeleteMyGroupInstancesOutcome;
|
||||
typedef std::future<DeleteMyGroupInstancesOutcome> DeleteMyGroupInstancesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteMyGroupInstancesRequest&, const DeleteMyGroupInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMyGroupInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMyGroupsResult> CreateMyGroupsOutcome;
|
||||
typedef std::future<CreateMyGroupsOutcome> CreateMyGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::CreateMyGroupsRequest&, const CreateMyGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMyGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAlarmResult> CreateAlarmOutcome;
|
||||
typedef std::future<CreateAlarmOutcome> CreateAlarmOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::CreateAlarmRequest&, const CreateAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlarmAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListActiveAlertRuleResult> ListActiveAlertRuleOutcome;
|
||||
typedef std::future<ListActiveAlertRuleOutcome> ListActiveAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListActiveAlertRuleRequest&, const ListActiveAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListActiveAlertRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMyGroupsResult> ListMyGroupsOutcome;
|
||||
typedef std::future<ListMyGroupsOutcome> ListMyGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListMyGroupsRequest&, const ListMyGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMyGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteNotifyPolicyResult> DeleteNotifyPolicyOutcome;
|
||||
typedef std::future<DeleteNotifyPolicyOutcome> DeleteNotifyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteNotifyPolicyRequest&, const DeleteNotifyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteNotifyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddMyGroupInstancesResult> AddMyGroupInstancesOutcome;
|
||||
typedef std::future<AddMyGroupInstancesOutcome> AddMyGroupInstancesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::AddMyGroupInstancesRequest&, const AddMyGroupInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddMyGroupInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeProcessDeleteResult> NodeProcessDeleteOutcome;
|
||||
typedef std::future<NodeProcessDeleteOutcome> NodeProcessDeleteOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeProcessDeleteRequest&, const NodeProcessDeleteOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeProcessDeleteAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateMyGroupsResult> UpdateMyGroupsOutcome;
|
||||
typedef std::future<UpdateMyGroupsOutcome> UpdateMyGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::UpdateMyGroupsRequest&, const UpdateMyGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateMyGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySystemEventCountResult> QuerySystemEventCountOutcome;
|
||||
typedef std::future<QuerySystemEventCountOutcome> QuerySystemEventCountOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QuerySystemEventCountRequest&, const QuerySystemEventCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySystemEventCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMyGroupInstancesResult> ListMyGroupInstancesOutcome;
|
||||
typedef std::future<ListMyGroupInstancesOutcome> ListMyGroupInstancesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListMyGroupInstancesRequest&, const ListMyGroupInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMyGroupInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::AccessKeyGetResult> AccessKeyGetOutcome;
|
||||
typedef std::future<AccessKeyGetOutcome> AccessKeyGetOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::AccessKeyGetRequest&, const AccessKeyGetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AccessKeyGetAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableActiceAlertResult> EnableActiceAlertOutcome;
|
||||
typedef std::future<EnableActiceAlertOutcome> EnableActiceAlertOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::EnableActiceAlertRequest&, const EnableActiceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableActiceAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutMetricDataResult> PutMetricDataOutcome;
|
||||
typedef std::future<PutMetricDataOutcome> PutMetricDataOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutMetricDataRequest&, const PutMetricDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutMetricDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableActiceAlertResult> DisableActiceAlertOutcome;
|
||||
typedef std::future<DisableActiceAlertOutcome> DisableActiceAlertOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DisableActiceAlertRequest&, const DisableActiceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableActiceAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAlarmResult> ListAlarmOutcome;
|
||||
typedef std::future<ListAlarmOutcome> ListAlarmOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListAlarmRequest&, const ListAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlarmAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeInstallResult> NodeInstallOutcome;
|
||||
typedef std::future<NodeInstallOutcome> NodeInstallOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeInstallRequest&, const NodeInstallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeInstallAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomEventHistogramResult> QueryCustomEventHistogramOutcome;
|
||||
typedef std::future<QueryCustomEventHistogramOutcome> QueryCustomEventHistogramOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QueryCustomEventHistogramRequest&, const QueryCustomEventHistogramOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomEventHistogramAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutEventResult> PutEventOutcome;
|
||||
typedef std::future<PutEventOutcome> PutEventOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutEventRequest&, const PutEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAlarmHistoryResult> ListAlarmHistoryOutcome;
|
||||
typedef std::future<ListAlarmHistoryOutcome> ListAlarmHistoryOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListAlarmHistoryRequest&, const ListAlarmHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlarmHistoryAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeStatusListResult> NodeStatusListOutcome;
|
||||
typedef std::future<NodeStatusListOutcome> NodeStatusListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeStatusListRequest&, const NodeStatusListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeStatusListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListContactGroupResult> ListContactGroupOutcome;
|
||||
typedef std::future<ListContactGroupOutcome> ListContactGroupOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListContactGroupRequest&, const ListContactGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListContactGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMyGroupsResult> GetMyGroupsOutcome;
|
||||
typedef std::future<GetMyGroupsOutcome> GetMyGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::GetMyGroupsRequest&, const GetMyGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMyGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListNotifyPolicyResult> ListNotifyPolicyOutcome;
|
||||
typedef std::future<ListNotifyPolicyOutcome> ListNotifyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::ListNotifyPolicyRequest&, const ListNotifyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListNotifyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAlarmResult> UpdateAlarmOutcome;
|
||||
typedef std::future<UpdateAlarmOutcome> UpdateAlarmOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::UpdateAlarmRequest&, const UpdateAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlarmAsyncHandler;
|
||||
typedef Outcome<Error, Model::NodeProcessCreateResult> NodeProcessCreateOutcome;
|
||||
typedef std::future<NodeProcessCreateOutcome> NodeProcessCreateOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::NodeProcessCreateRequest&, const NodeProcessCreateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> NodeProcessCreateAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableAlarmResult> EnableAlarmOutcome;
|
||||
typedef std::future<EnableAlarmOutcome> EnableAlarmOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::EnableAlarmRequest&, const EnableAlarmOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableAlarmAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCustomEventDetailResult> QueryCustomEventDetailOutcome;
|
||||
typedef std::future<QueryCustomEventDetailOutcome> QueryCustomEventDetailOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::QueryCustomEventDetailRequest&, const QueryCustomEventDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCustomEventDetailAsyncHandler;
|
||||
|
||||
|
||||
CmsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CmsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CmsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CmsClient();
|
||||
|
||||
ProfileSetOutcome profileSet(const Model::ProfileSetRequest &request)const;
|
||||
void profileSetAsync(const Model::ProfileSetRequest& request, const ProfileSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ProfileSetOutcomeCallable profileSetCallable(const Model::ProfileSetRequest& request) const;
|
||||
ListProductOfActiceAlertOutcome listProductOfActiceAlert(const Model::ListProductOfActiceAlertRequest &request)const;
|
||||
void listProductOfActiceAlertAsync(const Model::ListProductOfActiceAlertRequest& request, const ListProductOfActiceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProductOfActiceAlertOutcomeCallable listProductOfActiceAlertCallable(const Model::ListProductOfActiceAlertRequest& request) const;
|
||||
DeleteCustomMetricOutcome deleteCustomMetric(const Model::DeleteCustomMetricRequest &request)const;
|
||||
void deleteCustomMetricAsync(const Model::DeleteCustomMetricRequest& request, const DeleteCustomMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomMetricOutcomeCallable deleteCustomMetricCallable(const Model::DeleteCustomMetricRequest& request) const;
|
||||
GetNotifyPolicyOutcome getNotifyPolicy(const Model::GetNotifyPolicyRequest &request)const;
|
||||
void getNotifyPolicyAsync(const Model::GetNotifyPolicyRequest& request, const GetNotifyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetNotifyPolicyOutcomeCallable getNotifyPolicyCallable(const Model::GetNotifyPolicyRequest& request) const;
|
||||
NodeUninstallOutcome nodeUninstall(const Model::NodeUninstallRequest &request)const;
|
||||
void nodeUninstallAsync(const Model::NodeUninstallRequest& request, const NodeUninstallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeUninstallOutcomeCallable nodeUninstallCallable(const Model::NodeUninstallRequest& request) const;
|
||||
QueryCustomEventCountOutcome queryCustomEventCount(const Model::QueryCustomEventCountRequest &request)const;
|
||||
void queryCustomEventCountAsync(const Model::QueryCustomEventCountRequest& request, const QueryCustomEventCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomEventCountOutcomeCallable queryCustomEventCountCallable(const Model::QueryCustomEventCountRequest& request) const;
|
||||
UpdateMyGroupInstancesOutcome updateMyGroupInstances(const Model::UpdateMyGroupInstancesRequest &request)const;
|
||||
void updateMyGroupInstancesAsync(const Model::UpdateMyGroupInstancesRequest& request, const UpdateMyGroupInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMyGroupInstancesOutcomeCallable updateMyGroupInstancesCallable(const Model::UpdateMyGroupInstancesRequest& request) const;
|
||||
ProfileGetOutcome profileGet(const Model::ProfileGetRequest &request)const;
|
||||
void profileGetAsync(const Model::ProfileGetRequest& request, const ProfileGetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ProfileGetOutcomeCallable profileGetCallable(const Model::ProfileGetRequest& request) const;
|
||||
PutSystemEventOutcome putSystemEvent(const Model::PutSystemEventRequest &request)const;
|
||||
void putSystemEventAsync(const Model::PutSystemEventRequest& request, const PutSystemEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutSystemEventOutcomeCallable putSystemEventCallable(const Model::PutSystemEventRequest& request) const;
|
||||
QueryCustomMetricListOutcome queryCustomMetricList(const Model::QueryCustomMetricListRequest &request)const;
|
||||
void queryCustomMetricListAsync(const Model::QueryCustomMetricListRequest& request, const QueryCustomMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomMetricListOutcomeCallable queryCustomMetricListCallable(const Model::QueryCustomMetricListRequest& request) const;
|
||||
QuerySystemEventDetailOutcome querySystemEventDetail(const Model::QuerySystemEventDetailRequest &request)const;
|
||||
void querySystemEventDetailAsync(const Model::QuerySystemEventDetailRequest& request, const QuerySystemEventDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySystemEventDetailOutcomeCallable querySystemEventDetailCallable(const Model::QuerySystemEventDetailRequest& request) const;
|
||||
CreateNotifyPolicyOutcome createNotifyPolicy(const Model::CreateNotifyPolicyRequest &request)const;
|
||||
void createNotifyPolicyAsync(const Model::CreateNotifyPolicyRequest& request, const CreateNotifyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateNotifyPolicyOutcomeCallable createNotifyPolicyCallable(const Model::CreateNotifyPolicyRequest& request) const;
|
||||
DeleteAlarmOutcome deleteAlarm(const Model::DeleteAlarmRequest &request)const;
|
||||
void deleteAlarmAsync(const Model::DeleteAlarmRequest& request, const DeleteAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlarmOutcomeCallable deleteAlarmCallable(const Model::DeleteAlarmRequest& request) const;
|
||||
NodeListOutcome nodeList(const Model::NodeListRequest &request)const;
|
||||
void nodeListAsync(const Model::NodeListRequest& request, const NodeListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeListOutcomeCallable nodeListCallable(const Model::NodeListRequest& request) const;
|
||||
NodeProcessesOutcome nodeProcesses(const Model::NodeProcessesRequest &request)const;
|
||||
void nodeProcessesAsync(const Model::NodeProcessesRequest& request, const NodeProcessesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeProcessesOutcomeCallable nodeProcessesCallable(const Model::NodeProcessesRequest& request) const;
|
||||
ListMyGroupCategoriesOutcome listMyGroupCategories(const Model::ListMyGroupCategoriesRequest &request)const;
|
||||
void listMyGroupCategoriesAsync(const Model::ListMyGroupCategoriesRequest& request, const ListMyGroupCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMyGroupCategoriesOutcomeCallable listMyGroupCategoriesCallable(const Model::ListMyGroupCategoriesRequest& request) const;
|
||||
QueryMetricListOutcome queryMetricList(const Model::QueryMetricListRequest &request)const;
|
||||
void queryMetricListAsync(const Model::QueryMetricListRequest& request, const QueryMetricListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricListOutcomeCallable queryMetricListCallable(const Model::QueryMetricListRequest& request) const;
|
||||
ListMyGroupInstancesDetailsOutcome listMyGroupInstancesDetails(const Model::ListMyGroupInstancesDetailsRequest &request)const;
|
||||
void listMyGroupInstancesDetailsAsync(const Model::ListMyGroupInstancesDetailsRequest& request, const ListMyGroupInstancesDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMyGroupInstancesDetailsOutcomeCallable listMyGroupInstancesDetailsCallable(const Model::ListMyGroupInstancesDetailsRequest& request) const;
|
||||
DisableAlarmOutcome disableAlarm(const Model::DisableAlarmRequest &request)const;
|
||||
void disableAlarmAsync(const Model::DisableAlarmRequest& request, const DisableAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableAlarmOutcomeCallable disableAlarmCallable(const Model::DisableAlarmRequest& request) const;
|
||||
PutCustomMetricOutcome putCustomMetric(const Model::PutCustomMetricRequest &request)const;
|
||||
void putCustomMetricAsync(const Model::PutCustomMetricRequest& request, const PutCustomMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutCustomMetricOutcomeCallable putCustomMetricCallable(const Model::PutCustomMetricRequest& request) const;
|
||||
DeleteMyGroupsOutcome deleteMyGroups(const Model::DeleteMyGroupsRequest &request)const;
|
||||
void deleteMyGroupsAsync(const Model::DeleteMyGroupsRequest& request, const DeleteMyGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMyGroupsOutcomeCallable deleteMyGroupsCallable(const Model::DeleteMyGroupsRequest& request) const;
|
||||
QueryMetricLastOutcome queryMetricLast(const Model::QueryMetricLastRequest &request)const;
|
||||
void queryMetricLastAsync(const Model::QueryMetricLastRequest& request, const QueryMetricLastAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryMetricLastOutcomeCallable queryMetricLastCallable(const Model::QueryMetricLastRequest& request) const;
|
||||
QuerySystemEventHistogramOutcome querySystemEventHistogram(const Model::QuerySystemEventHistogramRequest &request)const;
|
||||
void querySystemEventHistogramAsync(const Model::QuerySystemEventHistogramRequest& request, const QuerySystemEventHistogramAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySystemEventHistogramOutcomeCallable querySystemEventHistogramCallable(const Model::QuerySystemEventHistogramRequest& request) const;
|
||||
DescribeAlarmHistoryOutcome describeAlarmHistory(const Model::DescribeAlarmHistoryRequest &request)const;
|
||||
void describeAlarmHistoryAsync(const Model::DescribeAlarmHistoryRequest& request, const DescribeAlarmHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAlarmHistoryOutcomeCallable describeAlarmHistoryCallable(const Model::DescribeAlarmHistoryRequest& request) const;
|
||||
NodeStatusOutcome nodeStatus(const Model::NodeStatusRequest &request)const;
|
||||
void nodeStatusAsync(const Model::NodeStatusRequest& request, const NodeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeStatusOutcomeCallable nodeStatusCallable(const Model::NodeStatusRequest& request) const;
|
||||
DeleteMyGroupInstancesOutcome deleteMyGroupInstances(const Model::DeleteMyGroupInstancesRequest &request)const;
|
||||
void deleteMyGroupInstancesAsync(const Model::DeleteMyGroupInstancesRequest& request, const DeleteMyGroupInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMyGroupInstancesOutcomeCallable deleteMyGroupInstancesCallable(const Model::DeleteMyGroupInstancesRequest& request) const;
|
||||
CreateMyGroupsOutcome createMyGroups(const Model::CreateMyGroupsRequest &request)const;
|
||||
void createMyGroupsAsync(const Model::CreateMyGroupsRequest& request, const CreateMyGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMyGroupsOutcomeCallable createMyGroupsCallable(const Model::CreateMyGroupsRequest& request) const;
|
||||
CreateAlarmOutcome createAlarm(const Model::CreateAlarmRequest &request)const;
|
||||
void createAlarmAsync(const Model::CreateAlarmRequest& request, const CreateAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAlarmOutcomeCallable createAlarmCallable(const Model::CreateAlarmRequest& request) const;
|
||||
ListActiveAlertRuleOutcome listActiveAlertRule(const Model::ListActiveAlertRuleRequest &request)const;
|
||||
void listActiveAlertRuleAsync(const Model::ListActiveAlertRuleRequest& request, const ListActiveAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListActiveAlertRuleOutcomeCallable listActiveAlertRuleCallable(const Model::ListActiveAlertRuleRequest& request) const;
|
||||
ListMyGroupsOutcome listMyGroups(const Model::ListMyGroupsRequest &request)const;
|
||||
void listMyGroupsAsync(const Model::ListMyGroupsRequest& request, const ListMyGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMyGroupsOutcomeCallable listMyGroupsCallable(const Model::ListMyGroupsRequest& request) const;
|
||||
DeleteNotifyPolicyOutcome deleteNotifyPolicy(const Model::DeleteNotifyPolicyRequest &request)const;
|
||||
void deleteNotifyPolicyAsync(const Model::DeleteNotifyPolicyRequest& request, const DeleteNotifyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteNotifyPolicyOutcomeCallable deleteNotifyPolicyCallable(const Model::DeleteNotifyPolicyRequest& request) const;
|
||||
AddMyGroupInstancesOutcome addMyGroupInstances(const Model::AddMyGroupInstancesRequest &request)const;
|
||||
void addMyGroupInstancesAsync(const Model::AddMyGroupInstancesRequest& request, const AddMyGroupInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddMyGroupInstancesOutcomeCallable addMyGroupInstancesCallable(const Model::AddMyGroupInstancesRequest& request) const;
|
||||
NodeProcessDeleteOutcome nodeProcessDelete(const Model::NodeProcessDeleteRequest &request)const;
|
||||
void nodeProcessDeleteAsync(const Model::NodeProcessDeleteRequest& request, const NodeProcessDeleteAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeProcessDeleteOutcomeCallable nodeProcessDeleteCallable(const Model::NodeProcessDeleteRequest& request) const;
|
||||
UpdateMyGroupsOutcome updateMyGroups(const Model::UpdateMyGroupsRequest &request)const;
|
||||
void updateMyGroupsAsync(const Model::UpdateMyGroupsRequest& request, const UpdateMyGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateMyGroupsOutcomeCallable updateMyGroupsCallable(const Model::UpdateMyGroupsRequest& request) const;
|
||||
QuerySystemEventCountOutcome querySystemEventCount(const Model::QuerySystemEventCountRequest &request)const;
|
||||
void querySystemEventCountAsync(const Model::QuerySystemEventCountRequest& request, const QuerySystemEventCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySystemEventCountOutcomeCallable querySystemEventCountCallable(const Model::QuerySystemEventCountRequest& request) const;
|
||||
ListMyGroupInstancesOutcome listMyGroupInstances(const Model::ListMyGroupInstancesRequest &request)const;
|
||||
void listMyGroupInstancesAsync(const Model::ListMyGroupInstancesRequest& request, const ListMyGroupInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMyGroupInstancesOutcomeCallable listMyGroupInstancesCallable(const Model::ListMyGroupInstancesRequest& request) const;
|
||||
AccessKeyGetOutcome accessKeyGet(const Model::AccessKeyGetRequest &request)const;
|
||||
void accessKeyGetAsync(const Model::AccessKeyGetRequest& request, const AccessKeyGetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AccessKeyGetOutcomeCallable accessKeyGetCallable(const Model::AccessKeyGetRequest& request) const;
|
||||
EnableActiceAlertOutcome enableActiceAlert(const Model::EnableActiceAlertRequest &request)const;
|
||||
void enableActiceAlertAsync(const Model::EnableActiceAlertRequest& request, const EnableActiceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableActiceAlertOutcomeCallable enableActiceAlertCallable(const Model::EnableActiceAlertRequest& request) const;
|
||||
PutMetricDataOutcome putMetricData(const Model::PutMetricDataRequest &request)const;
|
||||
void putMetricDataAsync(const Model::PutMetricDataRequest& request, const PutMetricDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutMetricDataOutcomeCallable putMetricDataCallable(const Model::PutMetricDataRequest& request) const;
|
||||
DisableActiceAlertOutcome disableActiceAlert(const Model::DisableActiceAlertRequest &request)const;
|
||||
void disableActiceAlertAsync(const Model::DisableActiceAlertRequest& request, const DisableActiceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableActiceAlertOutcomeCallable disableActiceAlertCallable(const Model::DisableActiceAlertRequest& request) const;
|
||||
ListAlarmOutcome listAlarm(const Model::ListAlarmRequest &request)const;
|
||||
void listAlarmAsync(const Model::ListAlarmRequest& request, const ListAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlarmOutcomeCallable listAlarmCallable(const Model::ListAlarmRequest& request) const;
|
||||
NodeInstallOutcome nodeInstall(const Model::NodeInstallRequest &request)const;
|
||||
void nodeInstallAsync(const Model::NodeInstallRequest& request, const NodeInstallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeInstallOutcomeCallable nodeInstallCallable(const Model::NodeInstallRequest& request) const;
|
||||
QueryCustomEventHistogramOutcome queryCustomEventHistogram(const Model::QueryCustomEventHistogramRequest &request)const;
|
||||
void queryCustomEventHistogramAsync(const Model::QueryCustomEventHistogramRequest& request, const QueryCustomEventHistogramAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomEventHistogramOutcomeCallable queryCustomEventHistogramCallable(const Model::QueryCustomEventHistogramRequest& request) const;
|
||||
PutEventOutcome putEvent(const Model::PutEventRequest &request)const;
|
||||
void putEventAsync(const Model::PutEventRequest& request, const PutEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutEventOutcomeCallable putEventCallable(const Model::PutEventRequest& request) const;
|
||||
ListAlarmHistoryOutcome listAlarmHistory(const Model::ListAlarmHistoryRequest &request)const;
|
||||
void listAlarmHistoryAsync(const Model::ListAlarmHistoryRequest& request, const ListAlarmHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlarmHistoryOutcomeCallable listAlarmHistoryCallable(const Model::ListAlarmHistoryRequest& request) const;
|
||||
NodeStatusListOutcome nodeStatusList(const Model::NodeStatusListRequest &request)const;
|
||||
void nodeStatusListAsync(const Model::NodeStatusListRequest& request, const NodeStatusListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeStatusListOutcomeCallable nodeStatusListCallable(const Model::NodeStatusListRequest& request) const;
|
||||
ListContactGroupOutcome listContactGroup(const Model::ListContactGroupRequest &request)const;
|
||||
void listContactGroupAsync(const Model::ListContactGroupRequest& request, const ListContactGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListContactGroupOutcomeCallable listContactGroupCallable(const Model::ListContactGroupRequest& request) const;
|
||||
GetMyGroupsOutcome getMyGroups(const Model::GetMyGroupsRequest &request)const;
|
||||
void getMyGroupsAsync(const Model::GetMyGroupsRequest& request, const GetMyGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMyGroupsOutcomeCallable getMyGroupsCallable(const Model::GetMyGroupsRequest& request) const;
|
||||
ListNotifyPolicyOutcome listNotifyPolicy(const Model::ListNotifyPolicyRequest &request)const;
|
||||
void listNotifyPolicyAsync(const Model::ListNotifyPolicyRequest& request, const ListNotifyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListNotifyPolicyOutcomeCallable listNotifyPolicyCallable(const Model::ListNotifyPolicyRequest& request) const;
|
||||
UpdateAlarmOutcome updateAlarm(const Model::UpdateAlarmRequest &request)const;
|
||||
void updateAlarmAsync(const Model::UpdateAlarmRequest& request, const UpdateAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAlarmOutcomeCallable updateAlarmCallable(const Model::UpdateAlarmRequest& request) const;
|
||||
NodeProcessCreateOutcome nodeProcessCreate(const Model::NodeProcessCreateRequest &request)const;
|
||||
void nodeProcessCreateAsync(const Model::NodeProcessCreateRequest& request, const NodeProcessCreateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
NodeProcessCreateOutcomeCallable nodeProcessCreateCallable(const Model::NodeProcessCreateRequest& request) const;
|
||||
EnableAlarmOutcome enableAlarm(const Model::EnableAlarmRequest &request)const;
|
||||
void enableAlarmAsync(const Model::EnableAlarmRequest& request, const EnableAlarmAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableAlarmOutcomeCallable enableAlarmCallable(const Model::EnableAlarmRequest& request) const;
|
||||
QueryCustomEventDetailOutcome queryCustomEventDetail(const Model::QueryCustomEventDetailRequest &request)const;
|
||||
void queryCustomEventDetailAsync(const Model::QueryCustomEventDetailRequest& request, const QueryCustomEventDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCustomEventDetailOutcomeCallable queryCustomEventDetailCallable(const Model::QueryCustomEventDetailRequest& request) const;
|
||||
|
||||
private:
|
||||
virtual EndpointOutcome endpoint()const override;
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CMS_CMSCLIENT_H_
|
||||
32
cms/include/alibabacloud/cms/CmsExport.h
Executable file
32
cms/include/alibabacloud/cms/CmsExport.h
Executable file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_CMSEXPORT_H_
|
||||
#define ALIBABACLOUD_CMS_CMSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CMS_LIBRARY)
|
||||
# define ALIBABACLOUD_CMS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CMS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CMS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CMS_CMSEXPORT_H_
|
||||
39
cms/include/alibabacloud/cms/CmsRequest.h
Executable file
39
cms/include/alibabacloud/cms/CmsRequest.h
Executable file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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_CMS_CMSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_CMSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include "CmsExport.h"
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CmsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
explicit CmsRequest(const std::string & action);
|
||||
virtual ~CmsRequest();
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CMS_CMSREQUEST_H_
|
||||
47
cms/include/alibabacloud/cms/model/AccessKeyGetRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/AccessKeyGetRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_ACCESSKEYGETREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ACCESSKEYGETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT AccessKeyGetRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AccessKeyGetRequest();
|
||||
~AccessKeyGetRequest();
|
||||
|
||||
long getUserId()const;
|
||||
void setUserId(long userId);
|
||||
|
||||
private:
|
||||
long userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ACCESSKEYGETREQUEST_H_
|
||||
61
cms/include/alibabacloud/cms/model/AccessKeyGetResult.h
Executable file
61
cms/include/alibabacloud/cms/model/AccessKeyGetResult.h
Executable file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_ACCESSKEYGETRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ACCESSKEYGETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT AccessKeyGetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AccessKeyGetResult();
|
||||
explicit AccessKeyGetResult(const std::string &payload);
|
||||
~AccessKeyGetResult();
|
||||
std::string getSecretKey()const;
|
||||
long getUserId()const;
|
||||
int getErrorCode()const;
|
||||
std::string getAccessKey()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string secretKey_;
|
||||
long userId_;
|
||||
int errorCode_;
|
||||
std::string accessKey_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ACCESSKEYGETRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/AddMyGroupInstancesRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/AddMyGroupInstancesRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_ADDMYGROUPINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT AddMyGroupInstancesRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddMyGroupInstancesRequest();
|
||||
~AddMyGroupInstancesRequest();
|
||||
|
||||
std::string getInstances()const;
|
||||
void setInstances(const std::string& instances);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
|
||||
private:
|
||||
std::string instances_;
|
||||
long groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/AddMyGroupInstancesResult.h
Executable file
55
cms/include/alibabacloud/cms/model/AddMyGroupInstancesResult.h
Executable 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_CMS_MODEL_ADDMYGROUPINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT AddMyGroupInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddMyGroupInstancesResult();
|
||||
explicit AddMyGroupInstancesResult(const std::string &payload);
|
||||
~AddMyGroupInstancesResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ADDMYGROUPINSTANCESRESULT_H_
|
||||
92
cms/include/alibabacloud/cms/model/CreateAlarmRequest.h
Executable file
92
cms/include/alibabacloud/cms/model/CreateAlarmRequest.h
Executable file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_CREATEALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateAlarmRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAlarmRequest();
|
||||
~CreateAlarmRequest();
|
||||
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
int getPeriod()const;
|
||||
void setPeriod(int period);
|
||||
std::string getWebhook()const;
|
||||
void setWebhook(const std::string& webhook);
|
||||
std::string getContactGroups()const;
|
||||
void setContactGroups(const std::string& contactGroups);
|
||||
int getEndTime()const;
|
||||
void setEndTime(int endTime);
|
||||
std::string getThreshold()const;
|
||||
void setThreshold(const std::string& threshold);
|
||||
int getStartTime()const;
|
||||
void setStartTime(int startTime);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
int getEvaluationCount()const;
|
||||
void setEvaluationCount(int evaluationCount);
|
||||
int getSilenceTime()const;
|
||||
void setSilenceTime(int silenceTime);
|
||||
std::string getMetricName()const;
|
||||
void setMetricName(const std::string& metricName);
|
||||
int getNotifyType()const;
|
||||
void setNotifyType(int notifyType);
|
||||
std::string getComparisonOperator()const;
|
||||
void setComparisonOperator(const std::string& comparisonOperator);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
std::string getStatistics()const;
|
||||
void setStatistics(const std::string& statistics);
|
||||
|
||||
private:
|
||||
std::string callby_cms_owner_;
|
||||
int period_;
|
||||
std::string webhook_;
|
||||
std::string contactGroups_;
|
||||
int endTime_;
|
||||
std::string threshold_;
|
||||
int startTime_;
|
||||
std::string name_;
|
||||
std::string _namespace_;
|
||||
int evaluationCount_;
|
||||
int silenceTime_;
|
||||
std::string metricName_;
|
||||
int notifyType_;
|
||||
std::string comparisonOperator_;
|
||||
std::string dimensions_;
|
||||
std::string statistics_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEALARMREQUEST_H_
|
||||
57
cms/include/alibabacloud/cms/model/CreateAlarmResult.h
Executable file
57
cms/include/alibabacloud/cms/model/CreateAlarmResult.h
Executable 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_CMS_MODEL_CREATEALARMRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATEALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateAlarmResult();
|
||||
explicit CreateAlarmResult(const std::string &payload);
|
||||
~CreateAlarmResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEALARMRESULT_H_
|
||||
59
cms/include/alibabacloud/cms/model/CreateMyGroupsRequest.h
Executable file
59
cms/include/alibabacloud/cms/model/CreateMyGroupsRequest.h
Executable 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_CMS_MODEL_CREATEMYGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateMyGroupsRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateMyGroupsRequest();
|
||||
~CreateMyGroupsRequest();
|
||||
|
||||
std::string getContactGroups()const;
|
||||
void setContactGroups(const std::string& contactGroups);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getBindUrl()const;
|
||||
void setBindUrl(const std::string& bindUrl);
|
||||
|
||||
private:
|
||||
std::string contactGroups_;
|
||||
long serviceId_;
|
||||
std::string type_;
|
||||
std::string groupName_;
|
||||
std::string bindUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSREQUEST_H_
|
||||
57
cms/include/alibabacloud/cms/model/CreateMyGroupsResult.h
Executable file
57
cms/include/alibabacloud/cms/model/CreateMyGroupsResult.h
Executable 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_CMS_MODEL_CREATEMYGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateMyGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateMyGroupsResult();
|
||||
explicit CreateMyGroupsResult(const std::string &payload);
|
||||
~CreateMyGroupsResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
long getGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
long groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATEMYGROUPSRESULT_H_
|
||||
62
cms/include/alibabacloud/cms/model/CreateNotifyPolicyRequest.h
Executable file
62
cms/include/alibabacloud/cms/model/CreateNotifyPolicyRequest.h
Executable 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateNotifyPolicyRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateNotifyPolicyRequest();
|
||||
~CreateNotifyPolicyRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string alertName_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string dimensions_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYREQUEST_H_
|
||||
59
cms/include/alibabacloud/cms/model/CreateNotifyPolicyResult.h
Executable file
59
cms/include/alibabacloud/cms/model/CreateNotifyPolicyResult.h
Executable 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_CMS_MODEL_CREATENOTIFYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateNotifyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateNotifyPolicyResult();
|
||||
explicit CreateNotifyPolicyResult(const std::string &payload);
|
||||
~CreateNotifyPolicyResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTraceId()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
int getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string traceId_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
int result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_CREATENOTIFYPOLICYRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/DeleteAlarmRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/DeleteAlarmRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DELETEALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEALARMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteAlarmRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAlarmRequest();
|
||||
~DeleteAlarmRequest();
|
||||
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
|
||||
private:
|
||||
std::string callby_cms_owner_;
|
||||
std::string id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEALARMREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/DeleteAlarmResult.h
Executable file
55
cms/include/alibabacloud/cms/model/DeleteAlarmResult.h
Executable 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_CMS_MODEL_DELETEALARMRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAlarmResult();
|
||||
explicit DeleteAlarmResult(const std::string &payload);
|
||||
~DeleteAlarmResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEALARMRESULT_H_
|
||||
56
cms/include/alibabacloud/cms/model/DeleteCustomMetricRequest.h
Executable file
56
cms/include/alibabacloud/cms/model/DeleteCustomMetricRequest.h
Executable file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DELETECUSTOMMETRICREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETECUSTOMMETRICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteCustomMetricRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteCustomMetricRequest();
|
||||
~DeleteCustomMetricRequest();
|
||||
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getMetricName()const;
|
||||
void setMetricName(const std::string& metricName);
|
||||
std::string getUUID()const;
|
||||
void setUUID(const std::string& uUID);
|
||||
std::string getMd5()const;
|
||||
void setMd5(const std::string& md5);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string metricName_;
|
||||
std::string uUID_;
|
||||
std::string md5_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETECUSTOMMETRICREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/DeleteCustomMetricResult.h
Executable file
55
cms/include/alibabacloud/cms/model/DeleteCustomMetricResult.h
Executable 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_CMS_MODEL_DELETECUSTOMMETRICRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETECUSTOMMETRICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteCustomMetricResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomMetricResult();
|
||||
explicit DeleteCustomMetricResult(const std::string &payload);
|
||||
~DeleteCustomMetricResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETECUSTOMMETRICRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/DeleteMyGroupInstancesRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/DeleteMyGroupInstancesRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DELETEMYGROUPINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupInstancesRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMyGroupInstancesRequest();
|
||||
~DeleteMyGroupInstancesRequest();
|
||||
|
||||
std::string getInstanceIds()const;
|
||||
void setInstanceIds(const std::string& instanceIds);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
|
||||
private:
|
||||
std::string instanceIds_;
|
||||
long groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/DeleteMyGroupInstancesResult.h
Executable file
55
cms/include/alibabacloud/cms/model/DeleteMyGroupInstancesResult.h
Executable 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_CMS_MODEL_DELETEMYGROUPINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteMyGroupInstancesResult();
|
||||
explicit DeleteMyGroupInstancesResult(const std::string &payload);
|
||||
~DeleteMyGroupInstancesResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPINSTANCESRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/DeleteMyGroupsRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/DeleteMyGroupsRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DELETEMYGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupsRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteMyGroupsRequest();
|
||||
~DeleteMyGroupsRequest();
|
||||
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
|
||||
private:
|
||||
long groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSREQUEST_H_
|
||||
70
cms/include/alibabacloud/cms/model/DeleteMyGroupsResult.h
Executable file
70
cms/include/alibabacloud/cms/model/DeleteMyGroupsResult.h
Executable file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DELETEMYGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteMyGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
struct ContactGroup
|
||||
{
|
||||
std::string name;
|
||||
};
|
||||
std::string groupName;
|
||||
std::vector<ContactGroup> contactGroups;
|
||||
std::string type;
|
||||
std::string bindUrls;
|
||||
long groupId;
|
||||
std::string serviceId;
|
||||
};
|
||||
|
||||
|
||||
DeleteMyGroupsResult();
|
||||
explicit DeleteMyGroupsResult(const std::string &payload);
|
||||
~DeleteMyGroupsResult();
|
||||
std::vector<Group> getGroup()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> group_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEMYGROUPSRESULT_H_
|
||||
59
cms/include/alibabacloud/cms/model/DeleteNotifyPolicyRequest.h
Executable file
59
cms/include/alibabacloud/cms/model/DeleteNotifyPolicyRequest.h
Executable 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_CMS_MODEL_DELETENOTIFYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteNotifyPolicyRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteNotifyPolicyRequest();
|
||||
~DeleteNotifyPolicyRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string alertName_;
|
||||
std::string id_;
|
||||
std::string dimensions_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYREQUEST_H_
|
||||
59
cms/include/alibabacloud/cms/model/DeleteNotifyPolicyResult.h
Executable file
59
cms/include/alibabacloud/cms/model/DeleteNotifyPolicyResult.h
Executable 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_CMS_MODEL_DELETENOTIFYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteNotifyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteNotifyPolicyResult();
|
||||
explicit DeleteNotifyPolicyResult(const std::string &payload);
|
||||
~DeleteNotifyPolicyResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTraceId()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
int getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string traceId_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
int result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETENOTIFYPOLICYRESULT_H_
|
||||
86
cms/include/alibabacloud/cms/model/DescribeAlarmHistoryRequest.h
Executable file
86
cms/include/alibabacloud/cms/model/DescribeAlarmHistoryRequest.h
Executable file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DescribeAlarmHistoryRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAlarmHistoryRequest();
|
||||
~DescribeAlarmHistoryRequest();
|
||||
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
bool getAscending()const;
|
||||
void setAscending(bool ascending);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getOnlyCount()const;
|
||||
void setOnlyCount(bool onlyCount);
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
int getPage()const;
|
||||
void setPage(int page);
|
||||
std::string getMetricName()const;
|
||||
void setMetricName(const std::string& metricName);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string alertName_;
|
||||
std::string groupId_;
|
||||
std::string endTime_;
|
||||
std::string ruleName_;
|
||||
std::string startTime_;
|
||||
bool ascending_;
|
||||
std::string accessKeyId_;
|
||||
bool onlyCount_;
|
||||
std::string _namespace_;
|
||||
int pageSize_;
|
||||
std::string state_;
|
||||
int page_;
|
||||
std::string metricName_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYREQUEST_H_
|
||||
85
cms/include/alibabacloud/cms/model/DescribeAlarmHistoryResult.h
Executable file
85
cms/include/alibabacloud/cms/model/DescribeAlarmHistoryResult.h
Executable file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DESCRIBEALARMHISTORYRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DescribeAlarmHistoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AlarmHistory
|
||||
{
|
||||
int status;
|
||||
std::vector<std::string> contactGroups;
|
||||
std::string alertName;
|
||||
std::string dimensions;
|
||||
int evaluationCount;
|
||||
std::string _namespace;
|
||||
std::vector<std::string> contactMails;
|
||||
std::vector<std::string> contactSmses;
|
||||
long alertTime;
|
||||
std::string groupId;
|
||||
std::string metricName;
|
||||
std::vector<std::string> contacts;
|
||||
std::string expression;
|
||||
std::string state;
|
||||
std::string userId;
|
||||
std::string value;
|
||||
std::string webhooks;
|
||||
std::string level;
|
||||
std::string id;
|
||||
std::string preLevel;
|
||||
long lastTime;
|
||||
std::string ruleName;
|
||||
std::vector<std::string> contactALIIMs;
|
||||
};
|
||||
|
||||
|
||||
DescribeAlarmHistoryResult();
|
||||
explicit DescribeAlarmHistoryResult(const std::string &payload);
|
||||
~DescribeAlarmHistoryResult();
|
||||
std::vector<AlarmHistory> getAlarmHistoryList()const;
|
||||
std::string getMessage()const;
|
||||
std::string getTotal()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AlarmHistory> alarmHistoryList_;
|
||||
std::string message_;
|
||||
std::string total_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEALARMHISTORYRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/DisableActiceAlertRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/DisableActiceAlertRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DISABLEACTICEALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DisableActiceAlertRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableActiceAlertRequest();
|
||||
~DisableActiceAlertRequest();
|
||||
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string product_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/DisableActiceAlertResult.h
Executable file
55
cms/include/alibabacloud/cms/model/DisableActiceAlertResult.h
Executable 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_CMS_MODEL_DISABLEACTICEALERTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DisableActiceAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableActiceAlertResult();
|
||||
explicit DisableActiceAlertResult(const std::string &payload);
|
||||
~DisableActiceAlertResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEACTICEALERTRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/DisableAlarmRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/DisableAlarmRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_DISABLEALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DISABLEALARMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DisableAlarmRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DisableAlarmRequest();
|
||||
~DisableAlarmRequest();
|
||||
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
|
||||
private:
|
||||
std::string callby_cms_owner_;
|
||||
std::string id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEALARMREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/DisableAlarmResult.h
Executable file
55
cms/include/alibabacloud/cms/model/DisableAlarmResult.h
Executable 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_CMS_MODEL_DISABLEALARMRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DISABLEALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DisableAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableAlarmResult();
|
||||
explicit DisableAlarmResult(const std::string &payload);
|
||||
~DisableAlarmResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DISABLEALARMRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/EnableActiceAlertRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/EnableActiceAlertRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_ENABLEACTICEALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT EnableActiceAlertRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableActiceAlertRequest();
|
||||
~EnableActiceAlertRequest();
|
||||
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string product_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/EnableActiceAlertResult.h
Executable file
55
cms/include/alibabacloud/cms/model/EnableActiceAlertResult.h
Executable 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_CMS_MODEL_ENABLEACTICEALERTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT EnableActiceAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableActiceAlertResult();
|
||||
explicit EnableActiceAlertResult(const std::string &payload);
|
||||
~EnableActiceAlertResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEACTICEALERTRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/EnableAlarmRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/EnableAlarmRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_ENABLEALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ENABLEALARMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT EnableAlarmRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
EnableAlarmRequest();
|
||||
~EnableAlarmRequest();
|
||||
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
|
||||
private:
|
||||
std::string callby_cms_owner_;
|
||||
std::string id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEALARMREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/EnableAlarmResult.h
Executable file
55
cms/include/alibabacloud/cms/model/EnableAlarmResult.h
Executable 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_CMS_MODEL_ENABLEALARMRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_ENABLEALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT EnableAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableAlarmResult();
|
||||
explicit EnableAlarmResult(const std::string &payload);
|
||||
~EnableAlarmResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_ENABLEALARMRESULT_H_
|
||||
62
cms/include/alibabacloud/cms/model/GetMyGroupsRequest.h
Executable file
62
cms/include/alibabacloud/cms/model/GetMyGroupsRequest.h
Executable 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_GETMYGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_GETMYGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT GetMyGroupsRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMyGroupsRequest();
|
||||
~GetMyGroupsRequest();
|
||||
|
||||
bool getSelectContactGroups()const;
|
||||
void setSelectContactGroups(bool selectContactGroups);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getBindUrl()const;
|
||||
void setBindUrl(const std::string& bindUrl);
|
||||
|
||||
private:
|
||||
bool selectContactGroups_;
|
||||
std::string instanceId_;
|
||||
long groupId_;
|
||||
std::string type_;
|
||||
std::string groupName_;
|
||||
std::string bindUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_GETMYGROUPSREQUEST_H_
|
||||
70
cms/include/alibabacloud/cms/model/GetMyGroupsResult.h
Executable file
70
cms/include/alibabacloud/cms/model/GetMyGroupsResult.h
Executable file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_GETMYGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_GETMYGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT GetMyGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Group
|
||||
{
|
||||
struct ContactGroup
|
||||
{
|
||||
std::string name;
|
||||
};
|
||||
std::string groupName;
|
||||
std::vector<ContactGroup> contactGroups;
|
||||
std::string type;
|
||||
std::string bindUrl;
|
||||
long groupId;
|
||||
long serviceId;
|
||||
};
|
||||
|
||||
|
||||
GetMyGroupsResult();
|
||||
explicit GetMyGroupsResult(const std::string &payload);
|
||||
~GetMyGroupsResult();
|
||||
std::vector<Group> getGroup()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Group> group_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_GETMYGROUPSRESULT_H_
|
||||
59
cms/include/alibabacloud/cms/model/GetNotifyPolicyRequest.h
Executable file
59
cms/include/alibabacloud/cms/model/GetNotifyPolicyRequest.h
Executable 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_CMS_MODEL_GETNOTIFYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT GetNotifyPolicyRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetNotifyPolicyRequest();
|
||||
~GetNotifyPolicyRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string alertName_;
|
||||
std::string id_;
|
||||
std::string dimensions_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYREQUEST_H_
|
||||
68
cms/include/alibabacloud/cms/model/GetNotifyPolicyResult.h
Executable file
68
cms/include/alibabacloud/cms/model/GetNotifyPolicyResult.h
Executable 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_CMS_MODEL_GETNOTIFYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT GetNotifyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string type;
|
||||
std::string alertName;
|
||||
long endTime;
|
||||
long startTime;
|
||||
std::string dimensions;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
GetNotifyPolicyResult();
|
||||
explicit GetNotifyPolicyResult(const std::string &payload);
|
||||
~GetNotifyPolicyResult();
|
||||
std::string getMessage()const;
|
||||
std::string getTraceId()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
std::vector<Result> getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string traceId_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
std::vector<Result> result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_GETNOTIFYPOLICYRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/ListActiveAlertRuleRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/ListActiveAlertRuleRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTACTIVEALERTRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListActiveAlertRuleRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListActiveAlertRuleRequest();
|
||||
~ListActiveAlertRuleRequest();
|
||||
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string product_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULEREQUEST_H_
|
||||
78
cms/include/alibabacloud/cms/model/ListActiveAlertRuleResult.h
Executable file
78
cms/include/alibabacloud/cms/model/ListActiveAlertRuleResult.h
Executable file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULERESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListActiveAlertRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Alarm
|
||||
{
|
||||
std::string silenceTime;
|
||||
std::string notifyType;
|
||||
std::string contactGroups;
|
||||
std::string comparisonOperator;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string period;
|
||||
std::string evaluationCount;
|
||||
std::string _namespace;
|
||||
std::string statistics;
|
||||
std::string name;
|
||||
std::string metricName;
|
||||
std::string uuid;
|
||||
std::string state;
|
||||
std::string enable;
|
||||
std::string webhook;
|
||||
std::string ruleName;
|
||||
std::string threshold;
|
||||
};
|
||||
|
||||
|
||||
ListActiveAlertRuleResult();
|
||||
explicit ListActiveAlertRuleResult(const std::string &payload);
|
||||
~ListActiveAlertRuleResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Alarm> getDatapoints()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Alarm> datapoints_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTACTIVEALERTRULERESULT_H_
|
||||
65
cms/include/alibabacloud/cms/model/ListAlarmHistoryRequest.h
Executable file
65
cms/include/alibabacloud/cms/model/ListAlarmHistoryRequest.h
Executable file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListAlarmHistoryRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListAlarmHistoryRequest();
|
||||
~ListAlarmHistoryRequest();
|
||||
|
||||
std::string getCursor()const;
|
||||
void setCursor(const std::string& cursor);
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
int getSize()const;
|
||||
void setSize(int size);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string cursor_;
|
||||
std::string callby_cms_owner_;
|
||||
int size_;
|
||||
std::string endTime_;
|
||||
std::string id_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYREQUEST_H_
|
||||
74
cms/include/alibabacloud/cms/model/ListAlarmHistoryResult.h
Executable file
74
cms/include/alibabacloud/cms/model/ListAlarmHistoryResult.h
Executable file
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListAlarmHistoryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AlarmHistory
|
||||
{
|
||||
int status;
|
||||
std::string metricName;
|
||||
std::string contactGroups;
|
||||
long alarmTime;
|
||||
std::string state;
|
||||
std::string value;
|
||||
int evaluationCount;
|
||||
std::string _namespace;
|
||||
std::string id;
|
||||
std::string dimension;
|
||||
long lastTime;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListAlarmHistoryResult();
|
||||
explicit ListAlarmHistoryResult(const std::string &payload);
|
||||
~ListAlarmHistoryResult();
|
||||
std::vector<AlarmHistory> getAlarmHistoryList()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCursor()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AlarmHistory> alarmHistoryList_;
|
||||
std::string message_;
|
||||
std::string cursor_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMHISTORYRESULT_H_
|
||||
71
cms/include/alibabacloud/cms/model/ListAlarmRequest.h
Executable file
71
cms/include/alibabacloud/cms/model/ListAlarmRequest.h
Executable file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTALARMREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTALARMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListAlarmRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListAlarmRequest();
|
||||
~ListAlarmRequest();
|
||||
|
||||
bool getIsEnable()const;
|
||||
void setIsEnable(bool isEnable);
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
std::string getDimension()const;
|
||||
void setDimension(const std::string& dimension);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
bool isEnable_;
|
||||
std::string callby_cms_owner_;
|
||||
std::string name_;
|
||||
std::string _namespace_;
|
||||
int pageSize_;
|
||||
std::string id_;
|
||||
std::string state_;
|
||||
std::string dimension_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMREQUEST_H_
|
||||
82
cms/include/alibabacloud/cms/model/ListAlarmResult.h
Executable file
82
cms/include/alibabacloud/cms/model/ListAlarmResult.h
Executable file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_LISTALARMRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTALARMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListAlarmResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Alarm
|
||||
{
|
||||
int silenceTime;
|
||||
int notifyType;
|
||||
std::string contactGroups;
|
||||
std::string comparisonOperator;
|
||||
int endTime;
|
||||
int startTime;
|
||||
std::string dimensions;
|
||||
int period;
|
||||
int evaluationCount;
|
||||
std::string _namespace;
|
||||
std::string statistics;
|
||||
std::string name;
|
||||
std::string metricName;
|
||||
std::string state;
|
||||
bool enable;
|
||||
std::string webhook;
|
||||
std::string id;
|
||||
std::string threshold;
|
||||
};
|
||||
|
||||
|
||||
ListAlarmResult();
|
||||
explicit ListAlarmResult(const std::string &payload);
|
||||
~ListAlarmResult();
|
||||
std::string getMessage()const;
|
||||
int getNextToken()const;
|
||||
std::vector<Alarm> getAlarmList()const;
|
||||
int getTotal()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int nextToken_;
|
||||
std::vector<Alarm> alarmList_;
|
||||
int total_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTALARMRESULT_H_
|
||||
53
cms/include/alibabacloud/cms/model/ListContactGroupRequest.h
Executable file
53
cms/include/alibabacloud/cms/model/ListContactGroupRequest.h
Executable 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_CMS_MODEL_LISTCONTACTGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListContactGroupRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListContactGroupRequest();
|
||||
~ListContactGroupRequest();
|
||||
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
std::string callby_cms_owner_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPREQUEST_H_
|
||||
61
cms/include/alibabacloud/cms/model/ListContactGroupResult.h
Executable file
61
cms/include/alibabacloud/cms/model/ListContactGroupResult.h
Executable file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTCONTACTGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListContactGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListContactGroupResult();
|
||||
explicit ListContactGroupResult(const std::string &payload);
|
||||
~ListContactGroupResult();
|
||||
std::vector<std::string> getContactGroups()const;
|
||||
std::string getMessage()const;
|
||||
int getNextToken()const;
|
||||
int getTotal()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> contactGroups_;
|
||||
std::string message_;
|
||||
int nextToken_;
|
||||
int total_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTCONTACTGROUPRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/ListMyGroupCategoriesRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/ListMyGroupCategoriesRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTMYGROUPCATEGORIESREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPCATEGORIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupCategoriesRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListMyGroupCategoriesRequest();
|
||||
~ListMyGroupCategoriesRequest();
|
||||
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
|
||||
private:
|
||||
long groupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPCATEGORIESREQUEST_H_
|
||||
67
cms/include/alibabacloud/cms/model/ListMyGroupCategoriesResult.h
Executable file
67
cms/include/alibabacloud/cms/model/ListMyGroupCategoriesResult.h
Executable 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_CMS_MODEL_LISTMYGROUPCATEGORIESRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPCATEGORIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupCategoriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Category
|
||||
{
|
||||
struct CategoryItem
|
||||
{
|
||||
std::string category;
|
||||
int count;
|
||||
};
|
||||
std::vector<CategoryItem> categoryItems;
|
||||
long groupId;
|
||||
};
|
||||
|
||||
|
||||
ListMyGroupCategoriesResult();
|
||||
explicit ListMyGroupCategoriesResult(const std::string &payload);
|
||||
~ListMyGroupCategoriesResult();
|
||||
std::vector<Category> getCategory()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Category> category_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPCATEGORIESRESULT_H_
|
||||
59
cms/include/alibabacloud/cms/model/ListMyGroupInstancesDetailsRequest.h
Executable file
59
cms/include/alibabacloud/cms/model/ListMyGroupInstancesDetailsRequest.h
Executable 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_CMS_MODEL_LISTMYGROUPINSTANCESDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESDETAILSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupInstancesDetailsRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListMyGroupInstancesDetailsRequest();
|
||||
~ListMyGroupInstancesDetailsRequest();
|
||||
|
||||
bool getTotal()const;
|
||||
void setTotal(bool total);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
bool total_;
|
||||
long groupId_;
|
||||
int pageSize_;
|
||||
std::string category_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESDETAILSREQUEST_H_
|
||||
90
cms/include/alibabacloud/cms/model/ListMyGroupInstancesDetailsResult.h
Executable file
90
cms/include/alibabacloud/cms/model/ListMyGroupInstancesDetailsResult.h
Executable file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTMYGROUPINSTANCESDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupInstancesDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
struct Region
|
||||
{
|
||||
std::string availabilityZone;
|
||||
std::string regionId;
|
||||
};
|
||||
struct Vpc
|
||||
{
|
||||
std::string vswitchInstanceId;
|
||||
std::string vpcInstanceId;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string instanceName;
|
||||
std::string desc;
|
||||
std::string category;
|
||||
std::string instanceId;
|
||||
std::string networkType;
|
||||
std::vector<Vpc> vpc;
|
||||
std::vector<Region> region;
|
||||
std::vector<Resource::Tag> tags;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
ListMyGroupInstancesDetailsResult();
|
||||
explicit ListMyGroupInstancesDetailsResult(const std::string &payload);
|
||||
~ListMyGroupInstancesDetailsResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Resource> getResources()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Resource> resources_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESDETAILSRESULT_H_
|
||||
59
cms/include/alibabacloud/cms/model/ListMyGroupInstancesRequest.h
Executable file
59
cms/include/alibabacloud/cms/model/ListMyGroupInstancesRequest.h
Executable 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_CMS_MODEL_LISTMYGROUPINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupInstancesRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListMyGroupInstancesRequest();
|
||||
~ListMyGroupInstancesRequest();
|
||||
|
||||
bool getTotal()const;
|
||||
void setTotal(bool total);
|
||||
long getGroupId()const;
|
||||
void setGroupId(long groupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
|
||||
private:
|
||||
bool total_;
|
||||
long groupId_;
|
||||
int pageSize_;
|
||||
std::string category_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESREQUEST_H_
|
||||
71
cms/include/alibabacloud/cms/model/ListMyGroupInstancesResult.h
Executable file
71
cms/include/alibabacloud/cms/model/ListMyGroupInstancesResult.h
Executable file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTMYGROUPINSTANCESRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupInstancesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
std::string category;
|
||||
std::string instanceId;
|
||||
long id;
|
||||
std::string regionId;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
ListMyGroupInstancesResult();
|
||||
explicit ListMyGroupInstancesResult(const std::string &payload);
|
||||
~ListMyGroupInstancesResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Resource> getResources()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Resource> resources_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPINSTANCESRESULT_H_
|
||||
68
cms/include/alibabacloud/cms/model/ListMyGroupsRequest.h
Executable file
68
cms/include/alibabacloud/cms/model/ListMyGroupsRequest.h
Executable 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_CMS_MODEL_LISTMYGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupsRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListMyGroupsRequest();
|
||||
~ListMyGroupsRequest();
|
||||
|
||||
bool getSelectContactGroups()const;
|
||||
void setSelectContactGroups(bool selectContactGroups);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getBindUrls()const;
|
||||
void setBindUrls(const std::string& bindUrls);
|
||||
|
||||
private:
|
||||
bool selectContactGroups_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::string keyword_;
|
||||
std::string type_;
|
||||
std::string groupName_;
|
||||
int pageNumber_;
|
||||
std::string bindUrls_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPSREQUEST_H_
|
||||
76
cms/include/alibabacloud/cms/model/ListMyGroupsResult.h
Executable file
76
cms/include/alibabacloud/cms/model/ListMyGroupsResult.h
Executable file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTMYGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTMYGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListMyGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
struct ContactGroup
|
||||
{
|
||||
std::string name;
|
||||
};
|
||||
std::string groupName;
|
||||
std::vector<Resource::ContactGroup> contactGroups;
|
||||
std::string type;
|
||||
std::string bindUrls;
|
||||
long groupId;
|
||||
std::string serviceId;
|
||||
};
|
||||
|
||||
|
||||
ListMyGroupsResult();
|
||||
explicit ListMyGroupsResult(const std::string &payload);
|
||||
~ListMyGroupsResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Resource> getResources()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Resource> resources_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTMYGROUPSRESULT_H_
|
||||
62
cms/include/alibabacloud/cms/model/ListNotifyPolicyRequest.h
Executable file
62
cms/include/alibabacloud/cms/model/ListNotifyPolicyRequest.h
Executable 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_LISTNOTIFYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTNOTIFYPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListNotifyPolicyRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListNotifyPolicyRequest();
|
||||
~ListNotifyPolicyRequest();
|
||||
|
||||
std::string getPolicyType()const;
|
||||
void setPolicyType(const std::string& policyType);
|
||||
std::string getAlertName()const;
|
||||
void setAlertName(const std::string& alertName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string policyType_;
|
||||
std::string alertName_;
|
||||
int pageSize_;
|
||||
std::string id_;
|
||||
std::string dimensions_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTNOTIFYPOLICYREQUEST_H_
|
||||
70
cms/include/alibabacloud/cms/model/ListNotifyPolicyResult.h
Executable file
70
cms/include/alibabacloud/cms/model/ListNotifyPolicyResult.h
Executable file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTNOTIFYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTNOTIFYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListNotifyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NotifyPolicy
|
||||
{
|
||||
std::string type;
|
||||
std::string alertName;
|
||||
long endTime;
|
||||
long startTime;
|
||||
std::string dimensions;
|
||||
std::string id;
|
||||
};
|
||||
|
||||
|
||||
ListNotifyPolicyResult();
|
||||
explicit ListNotifyPolicyResult(const std::string &payload);
|
||||
~ListNotifyPolicyResult();
|
||||
std::vector<NotifyPolicy> getNotifyPolicyList()const;
|
||||
std::string getMessage()const;
|
||||
int getTotal()const;
|
||||
std::string getTraceId()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<NotifyPolicy> notifyPolicyList_;
|
||||
std::string message_;
|
||||
int total_;
|
||||
std::string traceId_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTNOTIFYPOLICYRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/ListProductOfActiceAlertRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/ListProductOfActiceAlertRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_LISTPRODUCTOFACTICEALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTICEALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListProductOfActiceAlertRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListProductOfActiceAlertRequest();
|
||||
~ListProductOfActiceAlertRequest();
|
||||
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTICEALERTREQUEST_H_
|
||||
57
cms/include/alibabacloud/cms/model/ListProductOfActiceAlertResult.h
Executable file
57
cms/include/alibabacloud/cms/model/ListProductOfActiceAlertResult.h
Executable 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_CMS_MODEL_LISTPRODUCTOFACTICEALERTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTICEALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ListProductOfActiceAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListProductOfActiceAlertResult();
|
||||
explicit ListProductOfActiceAlertResult(const std::string &payload);
|
||||
~ListProductOfActiceAlertResult();
|
||||
std::string getMessage()const;
|
||||
std::string getDatapoints()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string datapoints_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_LISTPRODUCTOFACTICEALERTRESULT_H_
|
||||
53
cms/include/alibabacloud/cms/model/NodeInstallRequest.h
Executable file
53
cms/include/alibabacloud/cms/model/NodeInstallRequest.h
Executable 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_CMS_MODEL_NODEINSTALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEINSTALLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeInstallRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeInstallRequest();
|
||||
~NodeInstallRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getForce()const;
|
||||
void setForce(bool force);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
bool force_;
|
||||
std::string userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEINSTALLREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/NodeInstallResult.h
Executable file
55
cms/include/alibabacloud/cms/model/NodeInstallResult.h
Executable 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_CMS_MODEL_NODEINSTALLRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEINSTALLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeInstallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
NodeInstallResult();
|
||||
explicit NodeInstallResult(const std::string &payload);
|
||||
~NodeInstallResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEINSTALLRESULT_H_
|
||||
68
cms/include/alibabacloud/cms/model/NodeListRequest.h
Executable file
68
cms/include/alibabacloud/cms/model/NodeListRequest.h
Executable 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_CMS_MODEL_NODELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeListRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeListRequest();
|
||||
~NodeListRequest();
|
||||
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
std::string getInstanceIds()const;
|
||||
void setInstanceIds(const std::string& instanceIds);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyWord()const;
|
||||
void setKeyWord(const std::string& keyWord);
|
||||
long getUserId()const;
|
||||
void setUserId(long userId);
|
||||
std::string getSerialNumbers()const;
|
||||
void setSerialNumbers(const std::string& serialNumbers);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string hostName_;
|
||||
std::string instanceIds_;
|
||||
int pageSize_;
|
||||
std::string keyWord_;
|
||||
long userId_;
|
||||
std::string serialNumbers_;
|
||||
int pageNumber_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODELISTREQUEST_H_
|
||||
81
cms/include/alibabacloud/cms/model/NodeListResult.h
Executable file
81
cms/include/alibabacloud/cms/model/NodeListResult.h
Executable file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_NODELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Node
|
||||
{
|
||||
std::string operatingSystem;
|
||||
std::string tianjimonVersion;
|
||||
std::string instanceId;
|
||||
std::string natIp;
|
||||
std::string serialNumber;
|
||||
bool aliyunHost;
|
||||
std::string networkType;
|
||||
std::string eipAddress;
|
||||
std::string region;
|
||||
std::string eipId;
|
||||
std::string ipGroup;
|
||||
std::string hostName;
|
||||
long aliUid;
|
||||
};
|
||||
|
||||
|
||||
NodeListResult();
|
||||
explicit NodeListResult(const std::string &payload);
|
||||
~NodeListResult();
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getPageTotal()const;
|
||||
int getTotal()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
std::vector<Node> getNodes()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int pageTotal_;
|
||||
int total_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
std::vector<Node> nodes_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODELISTRESULT_H_
|
||||
59
cms/include/alibabacloud/cms/model/NodeProcessCreateRequest.h
Executable file
59
cms/include/alibabacloud/cms/model/NodeProcessCreateRequest.h
Executable 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_CMS_MODEL_NODEPROCESSCREATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeProcessCreateRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeProcessCreateRequest();
|
||||
~NodeProcessCreateRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getProcessName()const;
|
||||
void setProcessName(const std::string& processName);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getProcessUser()const;
|
||||
void setProcessUser(const std::string& processUser);
|
||||
std::string getCommand()const;
|
||||
void setCommand(const std::string& command);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string processName_;
|
||||
std::string name_;
|
||||
std::string processUser_;
|
||||
std::string command_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATEREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/NodeProcessCreateResult.h
Executable file
55
cms/include/alibabacloud/cms/model/NodeProcessCreateResult.h
Executable 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_CMS_MODEL_NODEPROCESSCREATERESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeProcessCreateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
NodeProcessCreateResult();
|
||||
explicit NodeProcessCreateResult(const std::string &payload);
|
||||
~NodeProcessCreateResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSCREATERESULT_H_
|
||||
53
cms/include/alibabacloud/cms/model/NodeProcessDeleteRequest.h
Executable file
53
cms/include/alibabacloud/cms/model/NodeProcessDeleteRequest.h
Executable 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_CMS_MODEL_NODEPROCESSDELETEREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeProcessDeleteRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeProcessDeleteRequest();
|
||||
~NodeProcessDeleteRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getId()const;
|
||||
void setId(const std::string& id);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string name_;
|
||||
std::string id_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETEREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/NodeProcessDeleteResult.h
Executable file
55
cms/include/alibabacloud/cms/model/NodeProcessDeleteResult.h
Executable 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_CMS_MODEL_NODEPROCESSDELETERESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeProcessDeleteResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
NodeProcessDeleteResult();
|
||||
explicit NodeProcessDeleteResult(const std::string &payload);
|
||||
~NodeProcessDeleteResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSDELETERESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/NodeProcessesRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/NodeProcessesRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_NODEPROCESSESREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeProcessesRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeProcessesRequest();
|
||||
~NodeProcessesRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSESREQUEST_H_
|
||||
66
cms/include/alibabacloud/cms/model/NodeProcessesResult.h
Executable file
66
cms/include/alibabacloud/cms/model/NodeProcessesResult.h
Executable file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_NODEPROCESSESRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEPROCESSESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeProcessesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NodeProcess
|
||||
{
|
||||
std::string processName;
|
||||
std::string instanceId;
|
||||
std::string command;
|
||||
std::string processUser;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
NodeProcessesResult();
|
||||
explicit NodeProcessesResult(const std::string &payload);
|
||||
~NodeProcessesResult();
|
||||
std::vector<NodeProcess> getNodeProcesses()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<NodeProcess> nodeProcesses_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEPROCESSESRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/NodeStatusListRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/NodeStatusListRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_NODESTATUSLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODESTATUSLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeStatusListRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeStatusListRequest();
|
||||
~NodeStatusListRequest();
|
||||
|
||||
std::string getInstanceIds()const;
|
||||
void setInstanceIds(const std::string& instanceIds);
|
||||
|
||||
private:
|
||||
std::string instanceIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODESTATUSLISTREQUEST_H_
|
||||
63
cms/include/alibabacloud/cms/model/NodeStatusListResult.h
Executable file
63
cms/include/alibabacloud/cms/model/NodeStatusListResult.h
Executable 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_CMS_MODEL_NODESTATUSLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODESTATUSLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeStatusListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct NodeStatus
|
||||
{
|
||||
std::string status;
|
||||
bool autoInstall;
|
||||
std::string instanceId;
|
||||
};
|
||||
|
||||
|
||||
NodeStatusListResult();
|
||||
explicit NodeStatusListResult(const std::string &payload);
|
||||
~NodeStatusListResult();
|
||||
std::vector<NodeStatus> getNodeStatusList()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<NodeStatus> nodeStatusList_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODESTATUSLISTRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/NodeStatusRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/NodeStatusRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_NODESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeStatusRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeStatusRequest();
|
||||
~NodeStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODESTATUSREQUEST_H_
|
||||
61
cms/include/alibabacloud/cms/model/NodeStatusResult.h
Executable file
61
cms/include/alibabacloud/cms/model/NodeStatusResult.h
Executable file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_NODESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
NodeStatusResult();
|
||||
explicit NodeStatusResult(const std::string &payload);
|
||||
~NodeStatusResult();
|
||||
std::string getStatus()const;
|
||||
bool getAutoInstall()const;
|
||||
std::string getInstanceId()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
bool autoInstall_;
|
||||
std::string instanceId_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODESTATUSRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/NodeUninstallRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/NodeUninstallRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_NODEUNINSTALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEUNINSTALLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeUninstallRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
NodeUninstallRequest();
|
||||
~NodeUninstallRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEUNINSTALLREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/NodeUninstallResult.h
Executable file
55
cms/include/alibabacloud/cms/model/NodeUninstallResult.h
Executable 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_CMS_MODEL_NODEUNINSTALLRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_NODEUNINSTALLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT NodeUninstallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
NodeUninstallResult();
|
||||
explicit NodeUninstallResult(const std::string &payload);
|
||||
~NodeUninstallResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_NODEUNINSTALLRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/ProfileGetRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/ProfileGetRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_PROFILEGETREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PROFILEGETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ProfileGetRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ProfileGetRequest();
|
||||
~ProfileGetRequest();
|
||||
|
||||
long getUserId()const;
|
||||
void setUserId(long userId);
|
||||
|
||||
private:
|
||||
long userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PROFILEGETREQUEST_H_
|
||||
63
cms/include/alibabacloud/cms/model/ProfileGetResult.h
Executable file
63
cms/include/alibabacloud/cms/model/ProfileGetResult.h
Executable 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_CMS_MODEL_PROFILEGETRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PROFILEGETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ProfileGetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ProfileGetResult();
|
||||
explicit ProfileGetResult(const std::string &payload);
|
||||
~ProfileGetResult();
|
||||
bool getAutoInstall()const;
|
||||
std::string getEnableActiveAlert()const;
|
||||
bool getEnableInstallAgentNewECS()const;
|
||||
long getUserId()const;
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool autoInstall_;
|
||||
std::string enableActiveAlert_;
|
||||
bool enableInstallAgentNewECS_;
|
||||
long userId_;
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PROFILEGETRESULT_H_
|
||||
56
cms/include/alibabacloud/cms/model/ProfileSetRequest.h
Executable file
56
cms/include/alibabacloud/cms/model/ProfileSetRequest.h
Executable file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_PROFILESETREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PROFILESETREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ProfileSetRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ProfileSetRequest();
|
||||
~ProfileSetRequest();
|
||||
|
||||
bool getEnableInstallAgentNewECS()const;
|
||||
void setEnableInstallAgentNewECS(bool enableInstallAgentNewECS);
|
||||
std::string getEnableActiveAlert()const;
|
||||
void setEnableActiveAlert(const std::string& enableActiveAlert);
|
||||
bool getAutoInstall()const;
|
||||
void setAutoInstall(bool autoInstall);
|
||||
long getUserId()const;
|
||||
void setUserId(long userId);
|
||||
|
||||
private:
|
||||
bool enableInstallAgentNewECS_;
|
||||
std::string enableActiveAlert_;
|
||||
bool autoInstall_;
|
||||
long userId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PROFILESETREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/ProfileSetResult.h
Executable file
55
cms/include/alibabacloud/cms/model/ProfileSetResult.h
Executable 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_CMS_MODEL_PROFILESETRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PROFILESETRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ProfileSetResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ProfileSetResult();
|
||||
explicit ProfileSetResult(const std::string &payload);
|
||||
~ProfileSetResult();
|
||||
int getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PROFILESETRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/PutCustomMetricRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/PutCustomMetricRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_PUTCUSTOMMETRICREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutCustomMetricRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutCustomMetricRequest();
|
||||
~PutCustomMetricRequest();
|
||||
|
||||
std::string getMetricList()const;
|
||||
void setMetricList(const std::string& metricList);
|
||||
|
||||
private:
|
||||
std::string metricList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/PutCustomMetricResult.h
Executable file
55
cms/include/alibabacloud/cms/model/PutCustomMetricResult.h
Executable 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_CMS_MODEL_PUTCUSTOMMETRICRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutCustomMetricResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutCustomMetricResult();
|
||||
explicit PutCustomMetricResult(const std::string &payload);
|
||||
~PutCustomMetricResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTCUSTOMMETRICRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/PutEventRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/PutEventRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_PUTEVENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTEVENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutEventRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutEventRequest();
|
||||
~PutEventRequest();
|
||||
|
||||
std::string getEventInfo()const;
|
||||
void setEventInfo(const std::string& eventInfo);
|
||||
|
||||
private:
|
||||
std::string eventInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTEVENTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/PutEventResult.h
Executable file
55
cms/include/alibabacloud/cms/model/PutEventResult.h
Executable 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_CMS_MODEL_PUTEVENTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTEVENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutEventResult();
|
||||
explicit PutEventResult(const std::string &payload);
|
||||
~PutEventResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTEVENTRESULT_H_
|
||||
50
cms/include/alibabacloud/cms/model/PutMetricDataRequest.h
Executable file
50
cms/include/alibabacloud/cms/model/PutMetricDataRequest.h
Executable file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_PUTMETRICDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTMETRICDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutMetricDataRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutMetricDataRequest();
|
||||
~PutMetricDataRequest();
|
||||
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
|
||||
private:
|
||||
std::string callby_cms_owner_;
|
||||
std::string body_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTMETRICDATAREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/PutMetricDataResult.h
Executable file
55
cms/include/alibabacloud/cms/model/PutMetricDataResult.h
Executable 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_CMS_MODEL_PUTMETRICDATARESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTMETRICDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutMetricDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutMetricDataResult();
|
||||
explicit PutMetricDataResult(const std::string &payload);
|
||||
~PutMetricDataResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTMETRICDATARESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/PutSystemEventRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/PutSystemEventRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_PUTSYSTEMEVENTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutSystemEventRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutSystemEventRequest();
|
||||
~PutSystemEventRequest();
|
||||
|
||||
std::string getEventInfo()const;
|
||||
void setEventInfo(const std::string& eventInfo);
|
||||
|
||||
private:
|
||||
std::string eventInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/PutSystemEventResult.h
Executable file
55
cms/include/alibabacloud/cms/model/PutSystemEventResult.h
Executable 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_CMS_MODEL_PUTSYSTEMEVENTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutSystemEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutSystemEventResult();
|
||||
explicit PutSystemEventResult(const std::string &payload);
|
||||
~PutSystemEventResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTSYSTEMEVENTRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/QueryCustomEventCountRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/QueryCustomEventCountRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_QUERYCUSTOMEVENTCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventCountRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCustomEventCountRequest();
|
||||
~QueryCustomEventCountRequest();
|
||||
|
||||
std::string getQueryJson()const;
|
||||
void setQueryJson(const std::string& queryJson);
|
||||
|
||||
private:
|
||||
std::string queryJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTCOUNTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/QueryCustomEventCountResult.h
Executable file
55
cms/include/alibabacloud/cms/model/QueryCustomEventCountResult.h
Executable 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_CMS_MODEL_QUERYCUSTOMEVENTCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventCountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryCustomEventCountResult();
|
||||
explicit QueryCustomEventCountResult(const std::string &payload);
|
||||
~QueryCustomEventCountResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTCOUNTRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/QueryCustomEventDetailRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/QueryCustomEventDetailRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_QUERYCUSTOMEVENTDETAILREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventDetailRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCustomEventDetailRequest();
|
||||
~QueryCustomEventDetailRequest();
|
||||
|
||||
std::string getQueryJson()const;
|
||||
void setQueryJson(const std::string& queryJson);
|
||||
|
||||
private:
|
||||
std::string queryJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/QueryCustomEventDetailResult.h
Executable file
55
cms/include/alibabacloud/cms/model/QueryCustomEventDetailResult.h
Executable 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_CMS_MODEL_QUERYCUSTOMEVENTDETAILRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventDetailResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryCustomEventDetailResult();
|
||||
explicit QueryCustomEventDetailResult(const std::string &payload);
|
||||
~QueryCustomEventDetailResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTDETAILRESULT_H_
|
||||
47
cms/include/alibabacloud/cms/model/QueryCustomEventHistogramRequest.h
Executable file
47
cms/include/alibabacloud/cms/model/QueryCustomEventHistogramRequest.h
Executable file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventHistogramRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCustomEventHistogramRequest();
|
||||
~QueryCustomEventHistogramRequest();
|
||||
|
||||
std::string getQueryJson()const;
|
||||
void setQueryJson(const std::string& queryJson);
|
||||
|
||||
private:
|
||||
std::string queryJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/QueryCustomEventHistogramResult.h
Executable file
55
cms/include/alibabacloud/cms/model/QueryCustomEventHistogramResult.h
Executable 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_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomEventHistogramResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryCustomEventHistogramResult();
|
||||
explicit QueryCustomEventHistogramResult(const std::string &payload);
|
||||
~QueryCustomEventHistogramResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMEVENTHISTOGRAMRESULT_H_
|
||||
68
cms/include/alibabacloud/cms/model/QueryCustomMetricListRequest.h
Executable file
68
cms/include/alibabacloud/cms/model/QueryCustomMetricListRequest.h
Executable 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_CMS_MODEL_QUERYCUSTOMMETRICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomMetricListRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCustomMetricListRequest();
|
||||
~QueryCustomMetricListRequest();
|
||||
|
||||
std::string getSize()const;
|
||||
void setSize(const std::string& size);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getPage()const;
|
||||
void setPage(const std::string& page);
|
||||
std::string getMetricName()const;
|
||||
void setMetricName(const std::string& metricName);
|
||||
std::string getDimension()const;
|
||||
void setDimension(const std::string& dimension);
|
||||
std::string getUUID()const;
|
||||
void setUUID(const std::string& uUID);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getMd5()const;
|
||||
void setMd5(const std::string& md5);
|
||||
|
||||
private:
|
||||
std::string size_;
|
||||
std::string groupId_;
|
||||
std::string page_;
|
||||
std::string metricName_;
|
||||
std::string dimension_;
|
||||
std::string uUID_;
|
||||
std::string accessKeyId_;
|
||||
std::string md5_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/QueryCustomMetricListResult.h
Executable file
55
cms/include/alibabacloud/cms/model/QueryCustomMetricListResult.h
Executable 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_CMS_MODEL_QUERYCUSTOMMETRICLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryCustomMetricListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryCustomMetricListResult();
|
||||
explicit QueryCustomMetricListResult(const std::string &payload);
|
||||
~QueryCustomMetricListResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getResult()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string result_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYCUSTOMMETRICLISTRESULT_H_
|
||||
83
cms/include/alibabacloud/cms/model/QueryMetricLastRequest.h
Executable file
83
cms/include/alibabacloud/cms/model/QueryMetricLastRequest.h
Executable 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYMETRICLASTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYMETRICLASTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryMetricLastRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMetricLastRequest();
|
||||
~QueryMetricLastRequest();
|
||||
|
||||
std::string getCursor()const;
|
||||
void setCursor(const std::string& cursor);
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getLength()const;
|
||||
void setLength(const std::string& length);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getExpress()const;
|
||||
void setExpress(const std::string& express);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getMetric()const;
|
||||
void setMetric(const std::string& metric);
|
||||
std::string getPage()const;
|
||||
void setPage(const std::string& page);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
|
||||
private:
|
||||
std::string cursor_;
|
||||
std::string callby_cms_owner_;
|
||||
long resourceOwnerId_;
|
||||
std::string period_;
|
||||
std::string length_;
|
||||
std::string project_;
|
||||
std::string endTime_;
|
||||
std::string express_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string metric_;
|
||||
std::string page_;
|
||||
std::string dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYMETRICLASTREQUEST_H_
|
||||
61
cms/include/alibabacloud/cms/model/QueryMetricLastResult.h
Executable file
61
cms/include/alibabacloud/cms/model/QueryMetricLastResult.h
Executable file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_CMS_MODEL_QUERYMETRICLASTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYMETRICLASTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryMetricLastResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryMetricLastResult();
|
||||
explicit QueryMetricLastResult(const std::string &payload);
|
||||
~QueryMetricLastResult();
|
||||
std::string getMessage()const;
|
||||
std::string getPeriod()const;
|
||||
std::string getCursor()const;
|
||||
std::string getDatapoints()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string period_;
|
||||
std::string cursor_;
|
||||
std::string datapoints_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYMETRICLASTRESULT_H_
|
||||
83
cms/include/alibabacloud/cms/model/QueryMetricListRequest.h
Executable file
83
cms/include/alibabacloud/cms/model/QueryMetricListRequest.h
Executable 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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_QUERYMETRICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_QUERYMETRICLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/cms/CmsRequest.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT QueryMetricListRequest : public CmsRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryMetricListRequest();
|
||||
~QueryMetricListRequest();
|
||||
|
||||
std::string getCursor()const;
|
||||
void setCursor(const std::string& cursor);
|
||||
std::string getCallby_cms_owner()const;
|
||||
void setCallby_cms_owner(const std::string& callby_cms_owner);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getLength()const;
|
||||
void setLength(const std::string& length);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getExpress()const;
|
||||
void setExpress(const std::string& express);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getMetric()const;
|
||||
void setMetric(const std::string& metric);
|
||||
std::string getPage()const;
|
||||
void setPage(const std::string& page);
|
||||
std::string getDimensions()const;
|
||||
void setDimensions(const std::string& dimensions);
|
||||
|
||||
private:
|
||||
std::string cursor_;
|
||||
std::string callby_cms_owner_;
|
||||
long resourceOwnerId_;
|
||||
std::string period_;
|
||||
std::string length_;
|
||||
std::string project_;
|
||||
std::string endTime_;
|
||||
std::string express_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string metric_;
|
||||
std::string page_;
|
||||
std::string dimensions_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_QUERYMETRICLISTREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user