regenerate code
This commit is contained in:
@@ -28,10 +28,22 @@
|
||||
#include "model/CreateAlertContactGroupResult.h"
|
||||
#include "model/CreateRetcodeAppRequest.h"
|
||||
#include "model/CreateRetcodeAppResult.h"
|
||||
#include "model/DeleteAlertContactRequest.h"
|
||||
#include "model/DeleteAlertContactResult.h"
|
||||
#include "model/DeleteAlertContactGroupRequest.h"
|
||||
#include "model/DeleteAlertContactGroupResult.h"
|
||||
#include "model/DeleteAlertRulesRequest.h"
|
||||
#include "model/DeleteAlertRulesResult.h"
|
||||
#include "model/DeleteRetcodeAppRequest.h"
|
||||
#include "model/DeleteRetcodeAppResult.h"
|
||||
#include "model/GetRetcodeShareUrlRequest.h"
|
||||
#include "model/GetRetcodeShareUrlResult.h"
|
||||
#include "model/ImportAppAlertRulesRequest.h"
|
||||
#include "model/ImportAppAlertRulesResult.h"
|
||||
#include "model/ImportCustomAlertRulesRequest.h"
|
||||
#include "model/ImportCustomAlertRulesResult.h"
|
||||
#include "model/ListPromClustersRequest.h"
|
||||
#include "model/ListPromClustersResult.h"
|
||||
#include "model/ListRetcodeAppsRequest.h"
|
||||
#include "model/ListRetcodeAppsResult.h"
|
||||
#include "model/ListTraceAppsRequest.h"
|
||||
@@ -44,12 +56,30 @@
|
||||
#include "model/SearchAlertContactResult.h"
|
||||
#include "model/SearchAlertContactGroupRequest.h"
|
||||
#include "model/SearchAlertContactGroupResult.h"
|
||||
#include "model/SearchAlertHistoriesRequest.h"
|
||||
#include "model/SearchAlertHistoriesResult.h"
|
||||
#include "model/SearchAlertRulesRequest.h"
|
||||
#include "model/SearchAlertRulesResult.h"
|
||||
#include "model/SearchEventsRequest.h"
|
||||
#include "model/SearchEventsResult.h"
|
||||
#include "model/SearchRetcodeAppByPageRequest.h"
|
||||
#include "model/SearchRetcodeAppByPageResult.h"
|
||||
#include "model/SearchTraceAppByNameRequest.h"
|
||||
#include "model/SearchTraceAppByNameResult.h"
|
||||
#include "model/SearchTraceAppByPageRequest.h"
|
||||
#include "model/SearchTraceAppByPageResult.h"
|
||||
#include "model/SetRetcodeShareStatusRequest.h"
|
||||
#include "model/SetRetcodeShareStatusResult.h"
|
||||
#include "model/StartAlertRequest.h"
|
||||
#include "model/StartAlertResult.h"
|
||||
#include "model/StopAlertRequest.h"
|
||||
#include "model/StopAlertResult.h"
|
||||
#include "model/UpdateAlertContactRequest.h"
|
||||
#include "model/UpdateAlertContactResult.h"
|
||||
#include "model/UpdateAlertContactGroupRequest.h"
|
||||
#include "model/UpdateAlertContactGroupResult.h"
|
||||
#include "model/UpdateAlertRuleRequest.h"
|
||||
#include "model/UpdateAlertRuleResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -68,12 +98,30 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateRetcodeAppResult> CreateRetcodeAppOutcome;
|
||||
typedef std::future<CreateRetcodeAppOutcome> CreateRetcodeAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::CreateRetcodeAppRequest&, const CreateRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRetcodeAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAlertContactResult> DeleteAlertContactOutcome;
|
||||
typedef std::future<DeleteAlertContactOutcome> DeleteAlertContactOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertContactRequest&, const DeleteAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertContactAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAlertContactGroupResult> DeleteAlertContactGroupOutcome;
|
||||
typedef std::future<DeleteAlertContactGroupOutcome> DeleteAlertContactGroupOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertContactGroupRequest&, const DeleteAlertContactGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertContactGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAlertRulesResult> DeleteAlertRulesOutcome;
|
||||
typedef std::future<DeleteAlertRulesOutcome> DeleteAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteAlertRulesRequest&, const DeleteAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlertRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRetcodeAppResult> DeleteRetcodeAppOutcome;
|
||||
typedef std::future<DeleteRetcodeAppOutcome> DeleteRetcodeAppOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::DeleteRetcodeAppRequest&, const DeleteRetcodeAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRetcodeAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRetcodeShareUrlResult> GetRetcodeShareUrlOutcome;
|
||||
typedef std::future<GetRetcodeShareUrlOutcome> GetRetcodeShareUrlOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::GetRetcodeShareUrlRequest&, const GetRetcodeShareUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRetcodeShareUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImportAppAlertRulesResult> ImportAppAlertRulesOutcome;
|
||||
typedef std::future<ImportAppAlertRulesOutcome> ImportAppAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ImportAppAlertRulesRequest&, const ImportAppAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportAppAlertRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ImportCustomAlertRulesResult> ImportCustomAlertRulesOutcome;
|
||||
typedef std::future<ImportCustomAlertRulesOutcome> ImportCustomAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ImportCustomAlertRulesRequest&, const ImportCustomAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ImportCustomAlertRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPromClustersResult> ListPromClustersOutcome;
|
||||
typedef std::future<ListPromClustersOutcome> ListPromClustersOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListPromClustersRequest&, const ListPromClustersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPromClustersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRetcodeAppsResult> ListRetcodeAppsOutcome;
|
||||
typedef std::future<ListRetcodeAppsOutcome> ListRetcodeAppsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::ListRetcodeAppsRequest&, const ListRetcodeAppsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRetcodeAppsAsyncHandler;
|
||||
@@ -92,6 +140,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SearchAlertContactGroupResult> SearchAlertContactGroupOutcome;
|
||||
typedef std::future<SearchAlertContactGroupOutcome> SearchAlertContactGroupOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertContactGroupRequest&, const SearchAlertContactGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertContactGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchAlertHistoriesResult> SearchAlertHistoriesOutcome;
|
||||
typedef std::future<SearchAlertHistoriesOutcome> SearchAlertHistoriesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertHistoriesRequest&, const SearchAlertHistoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertHistoriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchAlertRulesResult> SearchAlertRulesOutcome;
|
||||
typedef std::future<SearchAlertRulesOutcome> SearchAlertRulesOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchAlertRulesRequest&, const SearchAlertRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchAlertRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchEventsResult> SearchEventsOutcome;
|
||||
typedef std::future<SearchEventsOutcome> SearchEventsOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchEventsRequest&, const SearchEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchRetcodeAppByPageResult> SearchRetcodeAppByPageOutcome;
|
||||
typedef std::future<SearchRetcodeAppByPageOutcome> SearchRetcodeAppByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchRetcodeAppByPageRequest&, const SearchRetcodeAppByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchRetcodeAppByPageAsyncHandler;
|
||||
@@ -101,6 +158,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SearchTraceAppByPageResult> SearchTraceAppByPageOutcome;
|
||||
typedef std::future<SearchTraceAppByPageOutcome> SearchTraceAppByPageOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SearchTraceAppByPageRequest&, const SearchTraceAppByPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceAppByPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetRetcodeShareStatusResult> SetRetcodeShareStatusOutcome;
|
||||
typedef std::future<SetRetcodeShareStatusOutcome> SetRetcodeShareStatusOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::SetRetcodeShareStatusRequest&, const SetRetcodeShareStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetRetcodeShareStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartAlertResult> StartAlertOutcome;
|
||||
typedef std::future<StartAlertOutcome> StartAlertOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::StartAlertRequest&, const StartAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopAlertResult> StopAlertOutcome;
|
||||
typedef std::future<StopAlertOutcome> StopAlertOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::StopAlertRequest&, const StopAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAlertContactResult> UpdateAlertContactOutcome;
|
||||
typedef std::future<UpdateAlertContactOutcome> UpdateAlertContactOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertContactRequest&, const UpdateAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertContactAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAlertContactGroupResult> UpdateAlertContactGroupOutcome;
|
||||
typedef std::future<UpdateAlertContactGroupOutcome> UpdateAlertContactGroupOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertContactGroupRequest&, const UpdateAlertContactGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertContactGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateAlertRuleResult> UpdateAlertRuleOutcome;
|
||||
typedef std::future<UpdateAlertRuleOutcome> UpdateAlertRuleOutcomeCallable;
|
||||
typedef std::function<void(const ARMSClient*, const Model::UpdateAlertRuleRequest&, const UpdateAlertRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAlertRuleAsyncHandler;
|
||||
|
||||
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -115,12 +190,30 @@ namespace AlibabaCloud
|
||||
CreateRetcodeAppOutcome createRetcodeApp(const Model::CreateRetcodeAppRequest &request)const;
|
||||
void createRetcodeAppAsync(const Model::CreateRetcodeAppRequest& request, const CreateRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRetcodeAppOutcomeCallable createRetcodeAppCallable(const Model::CreateRetcodeAppRequest& request) const;
|
||||
DeleteAlertContactOutcome deleteAlertContact(const Model::DeleteAlertContactRequest &request)const;
|
||||
void deleteAlertContactAsync(const Model::DeleteAlertContactRequest& request, const DeleteAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlertContactOutcomeCallable deleteAlertContactCallable(const Model::DeleteAlertContactRequest& request) const;
|
||||
DeleteAlertContactGroupOutcome deleteAlertContactGroup(const Model::DeleteAlertContactGroupRequest &request)const;
|
||||
void deleteAlertContactGroupAsync(const Model::DeleteAlertContactGroupRequest& request, const DeleteAlertContactGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlertContactGroupOutcomeCallable deleteAlertContactGroupCallable(const Model::DeleteAlertContactGroupRequest& request) const;
|
||||
DeleteAlertRulesOutcome deleteAlertRules(const Model::DeleteAlertRulesRequest &request)const;
|
||||
void deleteAlertRulesAsync(const Model::DeleteAlertRulesRequest& request, const DeleteAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlertRulesOutcomeCallable deleteAlertRulesCallable(const Model::DeleteAlertRulesRequest& request) const;
|
||||
DeleteRetcodeAppOutcome deleteRetcodeApp(const Model::DeleteRetcodeAppRequest &request)const;
|
||||
void deleteRetcodeAppAsync(const Model::DeleteRetcodeAppRequest& request, const DeleteRetcodeAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRetcodeAppOutcomeCallable deleteRetcodeAppCallable(const Model::DeleteRetcodeAppRequest& request) const;
|
||||
GetRetcodeShareUrlOutcome getRetcodeShareUrl(const Model::GetRetcodeShareUrlRequest &request)const;
|
||||
void getRetcodeShareUrlAsync(const Model::GetRetcodeShareUrlRequest& request, const GetRetcodeShareUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRetcodeShareUrlOutcomeCallable getRetcodeShareUrlCallable(const Model::GetRetcodeShareUrlRequest& request) const;
|
||||
ImportAppAlertRulesOutcome importAppAlertRules(const Model::ImportAppAlertRulesRequest &request)const;
|
||||
void importAppAlertRulesAsync(const Model::ImportAppAlertRulesRequest& request, const ImportAppAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportAppAlertRulesOutcomeCallable importAppAlertRulesCallable(const Model::ImportAppAlertRulesRequest& request) const;
|
||||
ImportCustomAlertRulesOutcome importCustomAlertRules(const Model::ImportCustomAlertRulesRequest &request)const;
|
||||
void importCustomAlertRulesAsync(const Model::ImportCustomAlertRulesRequest& request, const ImportCustomAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ImportCustomAlertRulesOutcomeCallable importCustomAlertRulesCallable(const Model::ImportCustomAlertRulesRequest& request) const;
|
||||
ListPromClustersOutcome listPromClusters(const Model::ListPromClustersRequest &request)const;
|
||||
void listPromClustersAsync(const Model::ListPromClustersRequest& request, const ListPromClustersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPromClustersOutcomeCallable listPromClustersCallable(const Model::ListPromClustersRequest& request) const;
|
||||
ListRetcodeAppsOutcome listRetcodeApps(const Model::ListRetcodeAppsRequest &request)const;
|
||||
void listRetcodeAppsAsync(const Model::ListRetcodeAppsRequest& request, const ListRetcodeAppsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRetcodeAppsOutcomeCallable listRetcodeAppsCallable(const Model::ListRetcodeAppsRequest& request) const;
|
||||
@@ -139,6 +232,15 @@ namespace AlibabaCloud
|
||||
SearchAlertContactGroupOutcome searchAlertContactGroup(const Model::SearchAlertContactGroupRequest &request)const;
|
||||
void searchAlertContactGroupAsync(const Model::SearchAlertContactGroupRequest& request, const SearchAlertContactGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertContactGroupOutcomeCallable searchAlertContactGroupCallable(const Model::SearchAlertContactGroupRequest& request) const;
|
||||
SearchAlertHistoriesOutcome searchAlertHistories(const Model::SearchAlertHistoriesRequest &request)const;
|
||||
void searchAlertHistoriesAsync(const Model::SearchAlertHistoriesRequest& request, const SearchAlertHistoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertHistoriesOutcomeCallable searchAlertHistoriesCallable(const Model::SearchAlertHistoriesRequest& request) const;
|
||||
SearchAlertRulesOutcome searchAlertRules(const Model::SearchAlertRulesRequest &request)const;
|
||||
void searchAlertRulesAsync(const Model::SearchAlertRulesRequest& request, const SearchAlertRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchAlertRulesOutcomeCallable searchAlertRulesCallable(const Model::SearchAlertRulesRequest& request) const;
|
||||
SearchEventsOutcome searchEvents(const Model::SearchEventsRequest &request)const;
|
||||
void searchEventsAsync(const Model::SearchEventsRequest& request, const SearchEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchEventsOutcomeCallable searchEventsCallable(const Model::SearchEventsRequest& request) const;
|
||||
SearchRetcodeAppByPageOutcome searchRetcodeAppByPage(const Model::SearchRetcodeAppByPageRequest &request)const;
|
||||
void searchRetcodeAppByPageAsync(const Model::SearchRetcodeAppByPageRequest& request, const SearchRetcodeAppByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchRetcodeAppByPageOutcomeCallable searchRetcodeAppByPageCallable(const Model::SearchRetcodeAppByPageRequest& request) const;
|
||||
@@ -148,6 +250,24 @@ namespace AlibabaCloud
|
||||
SearchTraceAppByPageOutcome searchTraceAppByPage(const Model::SearchTraceAppByPageRequest &request)const;
|
||||
void searchTraceAppByPageAsync(const Model::SearchTraceAppByPageRequest& request, const SearchTraceAppByPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchTraceAppByPageOutcomeCallable searchTraceAppByPageCallable(const Model::SearchTraceAppByPageRequest& request) const;
|
||||
SetRetcodeShareStatusOutcome setRetcodeShareStatus(const Model::SetRetcodeShareStatusRequest &request)const;
|
||||
void setRetcodeShareStatusAsync(const Model::SetRetcodeShareStatusRequest& request, const SetRetcodeShareStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetRetcodeShareStatusOutcomeCallable setRetcodeShareStatusCallable(const Model::SetRetcodeShareStatusRequest& request) const;
|
||||
StartAlertOutcome startAlert(const Model::StartAlertRequest &request)const;
|
||||
void startAlertAsync(const Model::StartAlertRequest& request, const StartAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartAlertOutcomeCallable startAlertCallable(const Model::StartAlertRequest& request) const;
|
||||
StopAlertOutcome stopAlert(const Model::StopAlertRequest &request)const;
|
||||
void stopAlertAsync(const Model::StopAlertRequest& request, const StopAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopAlertOutcomeCallable stopAlertCallable(const Model::StopAlertRequest& request) const;
|
||||
UpdateAlertContactOutcome updateAlertContact(const Model::UpdateAlertContactRequest &request)const;
|
||||
void updateAlertContactAsync(const Model::UpdateAlertContactRequest& request, const UpdateAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAlertContactOutcomeCallable updateAlertContactCallable(const Model::UpdateAlertContactRequest& request) const;
|
||||
UpdateAlertContactGroupOutcome updateAlertContactGroup(const Model::UpdateAlertContactGroupRequest &request)const;
|
||||
void updateAlertContactGroupAsync(const Model::UpdateAlertContactGroupRequest& request, const UpdateAlertContactGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAlertContactGroupOutcomeCallable updateAlertContactGroupCallable(const Model::UpdateAlertContactGroupRequest& request) const;
|
||||
UpdateAlertRuleOutcome updateAlertRule(const Model::UpdateAlertRuleRequest &request)const;
|
||||
void updateAlertRuleAsync(const Model::UpdateAlertRuleRequest& request, const UpdateAlertRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateAlertRuleOutcomeCallable updateAlertRuleCallable(const Model::UpdateAlertRuleRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -39,12 +39,15 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupName()const;
|
||||
void setContactGroupName(const std::string& contactGroupName);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getContactIds()const;
|
||||
void setContactIds(const std::string& contactIds);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string contactGroupName_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactIds_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getPhoneNum()const;
|
||||
void setPhoneNum(const std::string& phoneNum);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getContactName()const;
|
||||
void setContactName(const std::string& contactName);
|
||||
std::string getRegionId()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string phoneNum_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactName_;
|
||||
std::string regionId_;
|
||||
std::string dingRobotWebhookUrl_;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAlertContactGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAlertContactGroupRequest();
|
||||
~DeleteAlertContactGroupRequest();
|
||||
|
||||
long getContactGroupId()const;
|
||||
void setContactGroupId(long contactGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
long contactGroupId_;
|
||||
std::string regionId_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTGROUPREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAlertContactGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAlertContactGroupResult();
|
||||
explicit DeleteAlertContactGroupResult(const std::string &payload);
|
||||
~DeleteAlertContactGroupResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTGROUPRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAlertContactRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAlertContactRequest();
|
||||
~DeleteAlertContactRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getContactId()const;
|
||||
void setContactId(long contactId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long contactId_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAlertContactResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAlertContactResult();
|
||||
explicit DeleteAlertContactResult(const std::string &payload);
|
||||
~DeleteAlertContactResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTCONTACTRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEALERTRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAlertRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAlertRulesRequest();
|
||||
~DeleteAlertRulesRequest();
|
||||
|
||||
std::string getAlertIds()const;
|
||||
void setAlertIds(const std::string& alertIds);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string alertIds_;
|
||||
std::string regionId_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTRULESREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_DELETEALERTRULESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_DELETEALERTRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT DeleteAlertRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteAlertRulesResult();
|
||||
explicit DeleteAlertRulesResult(const std::string &payload);
|
||||
~DeleteAlertRulesResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_DELETEALERTRULESRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETRETCODESHAREURLREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETRETCODESHAREURLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetRetcodeShareUrlRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetRetcodeShareUrlRequest();
|
||||
~GetRetcodeShareUrlRequest();
|
||||
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
|
||||
private:
|
||||
std::string pid_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETRETCODESHAREURLREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_GETRETCODESHAREURLRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_GETRETCODESHAREURLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT GetRetcodeShareUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetRetcodeShareUrlResult();
|
||||
explicit GetRetcodeShareUrlResult(const std::string &payload);
|
||||
~GetRetcodeShareUrlResult();
|
||||
std::string getUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string url_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_GETRETCODESHAREURLRESULT_H_
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
bool getIsAutoStart()const;
|
||||
void setIsAutoStart(bool isAutoStart);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string pids_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_IMPORTCUSTOMALERTRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_IMPORTCUSTOMALERTRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ImportCustomAlertRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ImportCustomAlertRulesRequest();
|
||||
~ImportCustomAlertRulesRequest();
|
||||
|
||||
bool getIsAutoStart()const;
|
||||
void setIsAutoStart(bool isAutoStart);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string proxyUserId_;
|
||||
std::string templageAlertConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_IMPORTCUSTOMALERTRULESREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_IMPORTCUSTOMALERTRULESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_IMPORTCUSTOMALERTRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ImportCustomAlertRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ImportCustomAlertRulesResult();
|
||||
explicit ImportCustomAlertRulesResult(const std::string &payload);
|
||||
~ImportCustomAlertRulesResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_IMPORTCUSTOMALERTRULESRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_LISTPROMCLUSTERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTPROMCLUSTERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ListPromClustersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPromClustersRequest();
|
||||
~ListPromClustersRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTPROMCLUSTERSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_LISTPROMCLUSTERSRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_LISTPROMCLUSTERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT ListPromClustersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PromCluster
|
||||
{
|
||||
bool isControllerInstalled;
|
||||
std::string stateJson;
|
||||
std::string options;
|
||||
int nodeNum;
|
||||
std::string clusterId;
|
||||
long installTime;
|
||||
long createTime;
|
||||
std::string controllerId;
|
||||
std::string pluginsJsonArray;
|
||||
std::string clusterType;
|
||||
std::string agentStatus;
|
||||
std::string extra;
|
||||
std::string userId;
|
||||
long lastHeartBeatTime;
|
||||
long updateTime;
|
||||
std::string clusterName;
|
||||
long id;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
ListPromClustersResult();
|
||||
explicit ListPromClustersResult(const std::string &payload);
|
||||
~ListPromClustersResult();
|
||||
std::vector<PromCluster> getPromClusterList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PromCluster> promClusterList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_LISTPROMCLUSTERSRESULT_H_
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT QueryDatasetRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct OptionalDims
|
||||
{
|
||||
std::string type;
|
||||
@@ -57,6 +58,8 @@ namespace AlibabaCloud
|
||||
void setDateStr(const std::string& dateStr);
|
||||
long getMinTime()const;
|
||||
void setMinTime(long minTime);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
bool getReduceTail()const;
|
||||
void setReduceTail(bool reduceTail);
|
||||
long getMaxTime()const;
|
||||
@@ -85,6 +88,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string dateStr_;
|
||||
long minTime_;
|
||||
std::string proxyUserId_;
|
||||
bool reduceTail_;
|
||||
long maxTime_;
|
||||
std::vector<OptionalDims> optionalDims_;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT QueryMetricRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filters
|
||||
{
|
||||
std::string value;
|
||||
@@ -48,6 +49,8 @@ namespace AlibabaCloud
|
||||
void setStartTime(long startTime);
|
||||
std::vector<Filters> getFilters()const;
|
||||
void setFilters(const std::vector<Filters>& filters);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::vector<std::string> getMeasures()const;
|
||||
void setMeasures(const std::vector<std::string>& measures);
|
||||
int getIntervalInSec()const;
|
||||
@@ -66,6 +69,7 @@ namespace AlibabaCloud
|
||||
std::string orderBy_;
|
||||
long startTime_;
|
||||
std::vector<Filters> filters_;
|
||||
std::string proxyUserId_;
|
||||
std::vector<std::string> measures_;
|
||||
int intervalInSec_;
|
||||
std::string metric_;
|
||||
|
||||
@@ -35,14 +35,23 @@ namespace AlibabaCloud
|
||||
SearchAlertContactGroupRequest();
|
||||
~SearchAlertContactGroupRequest();
|
||||
|
||||
std::string getContactName()const;
|
||||
void setContactName(const std::string& contactName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getContactId()const;
|
||||
void setContactId(long contactId);
|
||||
std::string getContactGroupName()const;
|
||||
void setContactGroupName(const std::string& contactGroupName);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string contactName_;
|
||||
std::string regionId_;
|
||||
long contactId_;
|
||||
std::string contactGroupName_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCurrentPage()const;
|
||||
void setCurrentPage(const std::string& currentPage);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getContactName()const;
|
||||
void setContactName(const std::string& contactName);
|
||||
std::string getPhone()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string currentPage_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactName_;
|
||||
std::string phone_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHALERTHISTORIESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHALERTHISTORIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchAlertHistoriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SearchAlertHistoriesRequest();
|
||||
~SearchAlertHistoriesRequest();
|
||||
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
int getAlertType()const;
|
||||
void setAlertType(int alertType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getAlertId()const;
|
||||
void setAlertId(long alertId);
|
||||
|
||||
private:
|
||||
long endTime_;
|
||||
int currentPage_;
|
||||
long startTime_;
|
||||
std::string proxyUserId_;
|
||||
int alertType_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
long alertId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHALERTHISTORIESREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHALERTHISTORIESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHALERTHISTORIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchAlertHistoriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageBean
|
||||
{
|
||||
struct AlarmHistory
|
||||
{
|
||||
std::string target;
|
||||
std::string phones;
|
||||
long alarmTime;
|
||||
std::string userId;
|
||||
int alarmType;
|
||||
int alarmResponseCode;
|
||||
std::string strategyId;
|
||||
long id;
|
||||
std::string emails;
|
||||
std::string alarmContent;
|
||||
std::string alarmSources;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<AlarmHistory> alarmHistories;
|
||||
};
|
||||
|
||||
|
||||
SearchAlertHistoriesResult();
|
||||
explicit SearchAlertHistoriesResult(const std::string &payload);
|
||||
~SearchAlertHistoriesResult();
|
||||
PageBean getPageBean()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageBean pageBean_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHALERTHISTORIESRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHALERTRULESREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHALERTRULESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchAlertRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SearchAlertRulesRequest();
|
||||
~SearchAlertRulesRequest();
|
||||
|
||||
std::string getAppType()const;
|
||||
void setAppType(const std::string& appType);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string appType_;
|
||||
int currentPage_;
|
||||
std::string pid_;
|
||||
std::string proxyUserId_;
|
||||
std::string title_;
|
||||
std::string type_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHALERTRULESREQUEST_H_
|
||||
120
arms/include/alibabacloud/arms/model/SearchAlertRulesResult.h
Normal file
120
arms/include/alibabacloud/arms/model/SearchAlertRulesResult.h
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHALERTRULESRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHALERTRULESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchAlertRulesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageBean
|
||||
{
|
||||
struct AlertRule
|
||||
{
|
||||
struct AlarmContext
|
||||
{
|
||||
std::string alarmContentTemplate;
|
||||
std::string alarmContentSubTitle;
|
||||
};
|
||||
struct AlertRule1
|
||||
{
|
||||
struct Rule
|
||||
{
|
||||
int nValue;
|
||||
std::string aggregates;
|
||||
std::string alias;
|
||||
std::string measure;
|
||||
float value;
|
||||
std::string _operator;
|
||||
};
|
||||
std::string _operator;
|
||||
std::vector<Rule> rules;
|
||||
};
|
||||
struct MetricParam
|
||||
{
|
||||
struct Dimension
|
||||
{
|
||||
std::string type;
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string type;
|
||||
std::string appId;
|
||||
std::string appGroupId;
|
||||
std::vector<Dimension> dimensions;
|
||||
std::string pid;
|
||||
};
|
||||
struct Notice
|
||||
{
|
||||
long endTime;
|
||||
long noticeStartTime;
|
||||
long startTime;
|
||||
long noticeEndTime;
|
||||
};
|
||||
std::string status;
|
||||
MetricParam metricParam;
|
||||
int alertVersion;
|
||||
long taskId;
|
||||
std::string config;
|
||||
long createTime;
|
||||
std::vector<std::string> alertWays;
|
||||
std::string taskStatus;
|
||||
AlarmContext alarmContext;
|
||||
int alertType;
|
||||
std::string contactGroupIdList;
|
||||
Notice notice;
|
||||
std::string userId;
|
||||
AlertRule1 alertRule1;
|
||||
std::string alertTitle;
|
||||
long updateTime;
|
||||
std::string alertLevel;
|
||||
long id;
|
||||
std::string regionId;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
std::vector<AlertRule> alertRules;
|
||||
int pageNumber;
|
||||
};
|
||||
|
||||
|
||||
SearchAlertRulesResult();
|
||||
explicit SearchAlertRulesResult(const std::string &payload);
|
||||
~SearchAlertRulesResult();
|
||||
PageBean getPageBean()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageBean pageBean_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHALERTRULESRESULT_H_
|
||||
78
arms/include/alibabacloud/arms/model/SearchEventsRequest.h
Normal file
78
arms/include/alibabacloud/arms/model/SearchEventsRequest.h
Normal 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_ARMS_MODEL_SEARCHEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHEVENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SearchEventsRequest();
|
||||
~SearchEventsRequest();
|
||||
|
||||
int getIsTrigger()const;
|
||||
void setIsTrigger(int isTrigger);
|
||||
std::string getAppType()const;
|
||||
void setAppType(const std::string& appType);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
int getAlertType()const;
|
||||
void setAlertType(int alertType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getAlertId()const;
|
||||
void setAlertId(long alertId);
|
||||
|
||||
private:
|
||||
int isTrigger_;
|
||||
std::string appType_;
|
||||
long endTime_;
|
||||
std::string pid_;
|
||||
int currentPage_;
|
||||
long startTime_;
|
||||
std::string proxyUserId_;
|
||||
int alertType_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
long alertId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHEVENTSREQUEST_H_
|
||||
72
arms/include/alibabacloud/arms/model/SearchEventsResult.h
Normal file
72
arms/include/alibabacloud/arms/model/SearchEventsResult.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHEVENTSRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SEARCHEVENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SearchEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageBean
|
||||
{
|
||||
struct EventItem
|
||||
{
|
||||
int alertType;
|
||||
int eventLevel;
|
||||
long alertId;
|
||||
std::string alertName;
|
||||
std::string message;
|
||||
long eventTime;
|
||||
std::vector<std::string> links;
|
||||
long id;
|
||||
std::string alertRule;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<EventItem> event;
|
||||
};
|
||||
|
||||
|
||||
SearchEventsResult();
|
||||
explicit SearchEventsResult(const std::string &payload);
|
||||
~SearchEventsResult();
|
||||
PageBean getPageBean()const;
|
||||
int getIsTrigger()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PageBean pageBean_;
|
||||
int isTrigger_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHEVENTSRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SETRETCODESHARESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SETRETCODESHARESTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SetRetcodeShareStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetRetcodeShareStatusRequest();
|
||||
~SetRetcodeShareStatusRequest();
|
||||
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
bool getStatus()const;
|
||||
void setStatus(bool status);
|
||||
|
||||
private:
|
||||
std::string pid_;
|
||||
bool status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SETRETCODESHARESTATUSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_SETRETCODESHARESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_SETRETCODESHARESTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT SetRetcodeShareStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetRetcodeShareStatusResult();
|
||||
explicit SetRetcodeShareStatusResult(const std::string &payload);
|
||||
~SetRetcodeShareStatusResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_SETRETCODESHARESTATUSRESULT_H_
|
||||
54
arms/include/alibabacloud/arms/model/StartAlertRequest.h
Normal file
54
arms/include/alibabacloud/arms/model/StartAlertRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_STARTALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_STARTALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT StartAlertRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartAlertRequest();
|
||||
~StartAlertRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAlertId()const;
|
||||
void setAlertId(const std::string& alertId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string alertId_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_STARTALERTREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/StartAlertResult.h
Normal file
51
arms/include/alibabacloud/arms/model/StartAlertResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_STARTALERTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_STARTALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT StartAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StartAlertResult();
|
||||
explicit StartAlertResult(const std::string &payload);
|
||||
~StartAlertResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_STARTALERTRESULT_H_
|
||||
54
arms/include/alibabacloud/arms/model/StopAlertRequest.h
Normal file
54
arms/include/alibabacloud/arms/model/StopAlertRequest.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_STOPALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_STOPALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT StopAlertRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopAlertRequest();
|
||||
~StopAlertRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAlertId()const;
|
||||
void setAlertId(const std::string& alertId);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string alertId_;
|
||||
std::string proxyUserId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_STOPALERTREQUEST_H_
|
||||
51
arms/include/alibabacloud/arms/model/StopAlertResult.h
Normal file
51
arms/include/alibabacloud/arms/model/StopAlertResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_STOPALERTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_STOPALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT StopAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
StopAlertResult();
|
||||
explicit StopAlertResult(const std::string &payload);
|
||||
~StopAlertResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_STOPALERTRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT UpdateAlertContactGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateAlertContactGroupRequest();
|
||||
~UpdateAlertContactGroupRequest();
|
||||
|
||||
long getContactGroupId()const;
|
||||
void setContactGroupId(long contactGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupName()const;
|
||||
void setContactGroupName(const std::string& contactGroupName);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getContactIds()const;
|
||||
void setContactIds(const std::string& contactIds);
|
||||
|
||||
private:
|
||||
long contactGroupId_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupName_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTGROUPREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT UpdateAlertContactGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateAlertContactGroupResult();
|
||||
explicit UpdateAlertContactGroupResult(const std::string &payload);
|
||||
~UpdateAlertContactGroupResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTGROUPRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT UpdateAlertContactRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateAlertContactRequest();
|
||||
~UpdateAlertContactRequest();
|
||||
|
||||
long getContactId()const;
|
||||
void setContactId(long contactId);
|
||||
std::string getPhoneNum()const;
|
||||
void setPhoneNum(const std::string& phoneNum);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getContactName()const;
|
||||
void setContactName(const std::string& contactName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDingRobotWebhookUrl()const;
|
||||
void setDingRobotWebhookUrl(const std::string& dingRobotWebhookUrl);
|
||||
std::string getEmail()const;
|
||||
void setEmail(const std::string& email);
|
||||
bool getSystemNoc()const;
|
||||
void setSystemNoc(bool systemNoc);
|
||||
|
||||
private:
|
||||
long contactId_;
|
||||
std::string phoneNum_;
|
||||
std::string proxyUserId_;
|
||||
std::string contactName_;
|
||||
std::string regionId_;
|
||||
std::string dingRobotWebhookUrl_;
|
||||
std::string email_;
|
||||
bool systemNoc_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTRESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT UpdateAlertContactResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateAlertContactResult();
|
||||
explicit UpdateAlertContactResult(const std::string &payload);
|
||||
~UpdateAlertContactResult();
|
||||
bool getIsSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isSuccess_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTCONTACTRESULT_H_
|
||||
@@ -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_ARMS_MODEL_UPDATEALERTRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT UpdateAlertRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateAlertRuleRequest();
|
||||
~UpdateAlertRuleRequest();
|
||||
|
||||
bool getIsAutoStart()const;
|
||||
void setIsAutoStart(bool isAutoStart);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
long getAlertId()const;
|
||||
void setAlertId(long alertId);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string proxyUserId_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
long alertId_;
|
||||
std::string templageAlertConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTRULEREQUEST_H_
|
||||
53
arms/include/alibabacloud/arms/model/UpdateAlertRuleResult.h
Normal file
53
arms/include/alibabacloud/arms/model/UpdateAlertRuleResult.h
Normal 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_ARMS_MODEL_UPDATEALERTRULERESULT_H_
|
||||
#define ALIBABACLOUD_ARMS_MODEL_UPDATEALERTRULERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/arms/ARMSExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace ARMS
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ARMS_EXPORT UpdateAlertRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateAlertRuleResult();
|
||||
explicit UpdateAlertRuleResult(const std::string &payload);
|
||||
~UpdateAlertRuleResult();
|
||||
long getAlertId()const;
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long alertId_;
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ARMS_MODEL_UPDATEALERTRULERESULT_H_
|
||||
Reference in New Issue
Block a user