regenerate code
This commit is contained in:
@@ -62,6 +62,10 @@
|
||||
#include "model/DeleteEventRuleTargetsResult.h"
|
||||
#include "model/DeleteEventRulesRequest.h"
|
||||
#include "model/DeleteEventRulesResult.h"
|
||||
#include "model/DeleteExporterOutputRequest.h"
|
||||
#include "model/DeleteExporterOutputResult.h"
|
||||
#include "model/DeleteExporterRuleRequest.h"
|
||||
#include "model/DeleteExporterRuleResult.h"
|
||||
#include "model/DeleteGroupMonitoringAgentProcessRequest.h"
|
||||
#include "model/DeleteGroupMonitoringAgentProcessResult.h"
|
||||
#include "model/DeleteHostAvailabilityRequest.h"
|
||||
@@ -114,6 +118,12 @@
|
||||
#include "model/DescribeEventRuleListResult.h"
|
||||
#include "model/DescribeEventRuleTargetListRequest.h"
|
||||
#include "model/DescribeEventRuleTargetListResult.h"
|
||||
#include "model/DescribeExporterOutputListRequest.h"
|
||||
#include "model/DescribeExporterOutputListResult.h"
|
||||
#include "model/DescribeExporterRuleListRequest.h"
|
||||
#include "model/DescribeExporterRuleListResult.h"
|
||||
#include "model/DescribeFolderListRequest.h"
|
||||
#include "model/DescribeFolderListResult.h"
|
||||
#include "model/DescribeGroupMonitoringAgentProcessRequest.h"
|
||||
#include "model/DescribeGroupMonitoringAgentProcessResult.h"
|
||||
#include "model/DescribeHostAvailabilityListRequest.h"
|
||||
@@ -240,6 +250,10 @@
|
||||
#include "model/PutEventRuleResult.h"
|
||||
#include "model/PutEventRuleTargetsRequest.h"
|
||||
#include "model/PutEventRuleTargetsResult.h"
|
||||
#include "model/PutExporterOutputRequest.h"
|
||||
#include "model/PutExporterOutputResult.h"
|
||||
#include "model/PutExporterRuleRequest.h"
|
||||
#include "model/PutExporterRuleResult.h"
|
||||
#include "model/PutGroupMetricRuleRequest.h"
|
||||
#include "model/PutGroupMetricRuleResult.h"
|
||||
#include "model/PutMetricRuleTargetsRequest.h"
|
||||
@@ -327,6 +341,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteEventRulesResult> DeleteEventRulesOutcome;
|
||||
typedef std::future<DeleteEventRulesOutcome> DeleteEventRulesOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteEventRulesRequest&, const DeleteEventRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventRulesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteExporterOutputResult> DeleteExporterOutputOutcome;
|
||||
typedef std::future<DeleteExporterOutputOutcome> DeleteExporterOutputOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteExporterOutputRequest&, const DeleteExporterOutputOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteExporterOutputAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteExporterRuleResult> DeleteExporterRuleOutcome;
|
||||
typedef std::future<DeleteExporterRuleOutcome> DeleteExporterRuleOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteExporterRuleRequest&, const DeleteExporterRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteExporterRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteGroupMonitoringAgentProcessResult> DeleteGroupMonitoringAgentProcessOutcome;
|
||||
typedef std::future<DeleteGroupMonitoringAgentProcessOutcome> DeleteGroupMonitoringAgentProcessOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DeleteGroupMonitoringAgentProcessRequest&, const DeleteGroupMonitoringAgentProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteGroupMonitoringAgentProcessAsyncHandler;
|
||||
@@ -405,6 +425,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeEventRuleTargetListResult> DescribeEventRuleTargetListOutcome;
|
||||
typedef std::future<DescribeEventRuleTargetListOutcome> DescribeEventRuleTargetListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeEventRuleTargetListRequest&, const DescribeEventRuleTargetListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEventRuleTargetListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeExporterOutputListResult> DescribeExporterOutputListOutcome;
|
||||
typedef std::future<DescribeExporterOutputListOutcome> DescribeExporterOutputListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeExporterOutputListRequest&, const DescribeExporterOutputListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExporterOutputListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeExporterRuleListResult> DescribeExporterRuleListOutcome;
|
||||
typedef std::future<DescribeExporterRuleListOutcome> DescribeExporterRuleListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeExporterRuleListRequest&, const DescribeExporterRuleListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExporterRuleListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeFolderListResult> DescribeFolderListOutcome;
|
||||
typedef std::future<DescribeFolderListOutcome> DescribeFolderListOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeFolderListRequest&, const DescribeFolderListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFolderListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeGroupMonitoringAgentProcessResult> DescribeGroupMonitoringAgentProcessOutcome;
|
||||
typedef std::future<DescribeGroupMonitoringAgentProcessOutcome> DescribeGroupMonitoringAgentProcessOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::DescribeGroupMonitoringAgentProcessRequest&, const DescribeGroupMonitoringAgentProcessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGroupMonitoringAgentProcessAsyncHandler;
|
||||
@@ -594,6 +623,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PutEventRuleTargetsResult> PutEventRuleTargetsOutcome;
|
||||
typedef std::future<PutEventRuleTargetsOutcome> PutEventRuleTargetsOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutEventRuleTargetsRequest&, const PutEventRuleTargetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutEventRuleTargetsAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutExporterOutputResult> PutExporterOutputOutcome;
|
||||
typedef std::future<PutExporterOutputOutcome> PutExporterOutputOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutExporterOutputRequest&, const PutExporterOutputOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutExporterOutputAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutExporterRuleResult> PutExporterRuleOutcome;
|
||||
typedef std::future<PutExporterRuleOutcome> PutExporterRuleOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutExporterRuleRequest&, const PutExporterRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutExporterRuleAsyncHandler;
|
||||
typedef Outcome<Error, Model::PutGroupMetricRuleResult> PutGroupMetricRuleOutcome;
|
||||
typedef std::future<PutGroupMetricRuleOutcome> PutGroupMetricRuleOutcomeCallable;
|
||||
typedef std::function<void(const CmsClient*, const Model::PutGroupMetricRuleRequest&, const PutGroupMetricRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutGroupMetricRuleAsyncHandler;
|
||||
@@ -686,6 +721,12 @@ namespace AlibabaCloud
|
||||
DeleteEventRulesOutcome deleteEventRules(const Model::DeleteEventRulesRequest &request)const;
|
||||
void deleteEventRulesAsync(const Model::DeleteEventRulesRequest& request, const DeleteEventRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEventRulesOutcomeCallable deleteEventRulesCallable(const Model::DeleteEventRulesRequest& request) const;
|
||||
DeleteExporterOutputOutcome deleteExporterOutput(const Model::DeleteExporterOutputRequest &request)const;
|
||||
void deleteExporterOutputAsync(const Model::DeleteExporterOutputRequest& request, const DeleteExporterOutputAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteExporterOutputOutcomeCallable deleteExporterOutputCallable(const Model::DeleteExporterOutputRequest& request) const;
|
||||
DeleteExporterRuleOutcome deleteExporterRule(const Model::DeleteExporterRuleRequest &request)const;
|
||||
void deleteExporterRuleAsync(const Model::DeleteExporterRuleRequest& request, const DeleteExporterRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteExporterRuleOutcomeCallable deleteExporterRuleCallable(const Model::DeleteExporterRuleRequest& request) const;
|
||||
DeleteGroupMonitoringAgentProcessOutcome deleteGroupMonitoringAgentProcess(const Model::DeleteGroupMonitoringAgentProcessRequest &request)const;
|
||||
void deleteGroupMonitoringAgentProcessAsync(const Model::DeleteGroupMonitoringAgentProcessRequest& request, const DeleteGroupMonitoringAgentProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteGroupMonitoringAgentProcessOutcomeCallable deleteGroupMonitoringAgentProcessCallable(const Model::DeleteGroupMonitoringAgentProcessRequest& request) const;
|
||||
@@ -764,6 +805,15 @@ namespace AlibabaCloud
|
||||
DescribeEventRuleTargetListOutcome describeEventRuleTargetList(const Model::DescribeEventRuleTargetListRequest &request)const;
|
||||
void describeEventRuleTargetListAsync(const Model::DescribeEventRuleTargetListRequest& request, const DescribeEventRuleTargetListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEventRuleTargetListOutcomeCallable describeEventRuleTargetListCallable(const Model::DescribeEventRuleTargetListRequest& request) const;
|
||||
DescribeExporterOutputListOutcome describeExporterOutputList(const Model::DescribeExporterOutputListRequest &request)const;
|
||||
void describeExporterOutputListAsync(const Model::DescribeExporterOutputListRequest& request, const DescribeExporterOutputListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeExporterOutputListOutcomeCallable describeExporterOutputListCallable(const Model::DescribeExporterOutputListRequest& request) const;
|
||||
DescribeExporterRuleListOutcome describeExporterRuleList(const Model::DescribeExporterRuleListRequest &request)const;
|
||||
void describeExporterRuleListAsync(const Model::DescribeExporterRuleListRequest& request, const DescribeExporterRuleListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeExporterRuleListOutcomeCallable describeExporterRuleListCallable(const Model::DescribeExporterRuleListRequest& request) const;
|
||||
DescribeFolderListOutcome describeFolderList(const Model::DescribeFolderListRequest &request)const;
|
||||
void describeFolderListAsync(const Model::DescribeFolderListRequest& request, const DescribeFolderListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFolderListOutcomeCallable describeFolderListCallable(const Model::DescribeFolderListRequest& request) const;
|
||||
DescribeGroupMonitoringAgentProcessOutcome describeGroupMonitoringAgentProcess(const Model::DescribeGroupMonitoringAgentProcessRequest &request)const;
|
||||
void describeGroupMonitoringAgentProcessAsync(const Model::DescribeGroupMonitoringAgentProcessRequest& request, const DescribeGroupMonitoringAgentProcessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGroupMonitoringAgentProcessOutcomeCallable describeGroupMonitoringAgentProcessCallable(const Model::DescribeGroupMonitoringAgentProcessRequest& request) const;
|
||||
@@ -953,6 +1003,12 @@ namespace AlibabaCloud
|
||||
PutEventRuleTargetsOutcome putEventRuleTargets(const Model::PutEventRuleTargetsRequest &request)const;
|
||||
void putEventRuleTargetsAsync(const Model::PutEventRuleTargetsRequest& request, const PutEventRuleTargetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutEventRuleTargetsOutcomeCallable putEventRuleTargetsCallable(const Model::PutEventRuleTargetsRequest& request) const;
|
||||
PutExporterOutputOutcome putExporterOutput(const Model::PutExporterOutputRequest &request)const;
|
||||
void putExporterOutputAsync(const Model::PutExporterOutputRequest& request, const PutExporterOutputAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutExporterOutputOutcomeCallable putExporterOutputCallable(const Model::PutExporterOutputRequest& request) const;
|
||||
PutExporterRuleOutcome putExporterRule(const Model::PutExporterRuleRequest &request)const;
|
||||
void putExporterRuleAsync(const Model::PutExporterRuleRequest& request, const PutExporterRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutExporterRuleOutcomeCallable putExporterRuleCallable(const Model::PutExporterRuleRequest& request) const;
|
||||
PutGroupMetricRuleOutcome putGroupMetricRule(const Model::PutGroupMetricRuleRequest &request)const;
|
||||
void putGroupMetricRuleAsync(const Model::PutGroupMetricRuleRequest& request, const PutGroupMetricRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PutGroupMetricRuleOutcomeCallable putGroupMetricRuleCallable(const Model::PutGroupMetricRuleRequest& request) const;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT AddTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateDynamicTagGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct MatchExpress
|
||||
{
|
||||
std::string tagValue;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateGroupMetricRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct GroupMetricRules
|
||||
{
|
||||
std::string webhook;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateGroupMonitoringAgentProcessRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AlertConfig
|
||||
{
|
||||
std::string times;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateHostAvailabilityRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AlertConfigEscalationList
|
||||
{
|
||||
int times;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateMetricRuleTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AlertTemplates
|
||||
{
|
||||
int period;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT CreateMonitorGroupInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instances
|
||||
{
|
||||
std::string instanceId;
|
||||
|
||||
@@ -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_CMS_MODEL_DELETEEXPORTEROUTPUTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEEXPORTEROUTPUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteExporterOutputRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteExporterOutputRequest();
|
||||
~DeleteExporterOutputRequest();
|
||||
|
||||
std::string getDestName()const;
|
||||
void setDestName(const std::string& destName);
|
||||
|
||||
private:
|
||||
std::string destName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEXPORTEROUTPUTREQUEST_H_
|
||||
@@ -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_DELETEEXPORTEROUTPUTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEEXPORTEROUTPUTRESULT_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 DeleteExporterOutputResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteExporterOutputResult();
|
||||
explicit DeleteExporterOutputResult(const std::string &payload);
|
||||
~DeleteExporterOutputResult();
|
||||
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_DELETEEXPORTEROUTPUTRESULT_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_CMS_MODEL_DELETEEXPORTERRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEEXPORTERRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DeleteExporterRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteExporterRuleRequest();
|
||||
~DeleteExporterRuleRequest();
|
||||
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
|
||||
private:
|
||||
std::string ruleName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DELETEEXPORTERRULEREQUEST_H_
|
||||
@@ -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_DELETEEXPORTERRULERESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DELETEEXPORTERRULERESULT_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 DeleteExporterRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteExporterRuleResult();
|
||||
explicit DeleteExporterRuleResult(const std::string &payload);
|
||||
~DeleteExporterRuleResult();
|
||||
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_DELETEEXPORTERRULERESULT_H_
|
||||
@@ -52,7 +52,6 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string webhooks;
|
||||
std::string level;
|
||||
std::string id;
|
||||
std::string preLevel;
|
||||
long lastTime;
|
||||
std::string ruleName;
|
||||
|
||||
@@ -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_CMS_MODEL_DESCRIBEEXPORTEROUTPUTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTEROUTPUTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DescribeExporterOutputListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeExporterOutputListRequest();
|
||||
~DescribeExporterOutputListRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTEROUTPUTLISTREQUEST_H_
|
||||
@@ -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_DESCRIBEEXPORTEROUTPUTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTEROUTPUTLISTRESULT_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 DescribeExporterOutputListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datapoint
|
||||
{
|
||||
struct ConfigJson
|
||||
{
|
||||
std::string project;
|
||||
std::string as;
|
||||
std::string endpoint;
|
||||
std::string logstore;
|
||||
std::string ak;
|
||||
};
|
||||
std::string destType;
|
||||
ConfigJson configJson;
|
||||
std::string destName;
|
||||
long createTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeExporterOutputListResult();
|
||||
explicit DescribeExporterOutputListResult(const std::string &payload);
|
||||
~DescribeExporterOutputListResult();
|
||||
std::string getMessage()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Datapoint> getDatapoints()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Datapoint> datapoints_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTEROUTPUTLISTRESULT_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_CMS_MODEL_DESCRIBEEXPORTERRULELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTERRULELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DescribeExporterRuleListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeExporterRuleListRequest();
|
||||
~DescribeExporterRuleListRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTERRULELISTREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTERRULELISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTERRULELISTRESULT_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 DescribeExporterRuleListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Datapoint
|
||||
{
|
||||
std::string targetWindows;
|
||||
std::string describe;
|
||||
std::string metricName;
|
||||
long createTime;
|
||||
bool enabled;
|
||||
std::string _namespace;
|
||||
std::string dimension;
|
||||
std::vector<std::string> dstName;
|
||||
std::string ruleName;
|
||||
};
|
||||
|
||||
|
||||
DescribeExporterRuleListResult();
|
||||
explicit DescribeExporterRuleListResult(const std::string &payload);
|
||||
~DescribeExporterRuleListResult();
|
||||
std::string getMessage()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
std::vector<Datapoint> getDatapoints()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
std::vector<Datapoint> datapoints_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEEXPORTERRULELISTRESULT_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_CMS_MODEL_DESCRIBEFOLDERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DescribeFolderListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeFolderListRequest();
|
||||
~DescribeFolderListRequest();
|
||||
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTREQUEST_H_
|
||||
@@ -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_DESCRIBEFOLDERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTRESULT_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 DescribeFolderListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Resource
|
||||
{
|
||||
std::string name;
|
||||
long serviceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeFolderListResult();
|
||||
explicit DescribeFolderListResult(const std::string &payload);
|
||||
~DescribeFolderListResult();
|
||||
std::string getMessage()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
int getTotal()const;
|
||||
Resource getResource()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
int total_;
|
||||
Resource resource_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_DESCRIBEFOLDERLISTRESULT_H_
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
std::vector<Target> getTargets()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -53,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
std::vector<Target> targets_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT DescribeMonitorGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
@@ -62,6 +63,8 @@ namespace AlibabaCloud
|
||||
void setGroupName(const std::string& groupName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getServiceId()const;
|
||||
void setServiceId(const std::string& serviceId);
|
||||
|
||||
private:
|
||||
bool selectContactGroups_;
|
||||
@@ -75,6 +78,7 @@ namespace AlibabaCloud
|
||||
std::string groupId_;
|
||||
std::string groupName_;
|
||||
std::string instanceId_;
|
||||
std::string serviceId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,6 +34,28 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SiteMonitors
|
||||
{
|
||||
struct OptionJson
|
||||
{
|
||||
std::string cookie;
|
||||
int ping_num;
|
||||
long traceroute;
|
||||
float failure_rate;
|
||||
int port;
|
||||
int match_rule;
|
||||
std::string response_format;
|
||||
std::string expect_value;
|
||||
std::string http_method;
|
||||
long time_out;
|
||||
std::string header;
|
||||
std::string response_content;
|
||||
std::string username;
|
||||
int authentication;
|
||||
std::string request_content;
|
||||
std::string dns_server;
|
||||
std::string dns_type;
|
||||
std::string request_format;
|
||||
std::string password;
|
||||
};
|
||||
struct IspCity
|
||||
{
|
||||
std::string ispName;
|
||||
@@ -41,7 +63,7 @@ namespace AlibabaCloud
|
||||
std::string cityName;
|
||||
std::string city;
|
||||
};
|
||||
std::string optionJson;
|
||||
OptionJson optionJson;
|
||||
std::string taskId;
|
||||
std::string address;
|
||||
std::string taskName;
|
||||
|
||||
@@ -34,10 +34,32 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct SiteMonitor
|
||||
{
|
||||
struct OptionsJson
|
||||
{
|
||||
std::string cookie;
|
||||
int ping_num;
|
||||
long traceroute;
|
||||
float failure_rate;
|
||||
int port;
|
||||
int match_rule;
|
||||
std::string response_format;
|
||||
std::string expect_value;
|
||||
std::string http_method;
|
||||
long time_out;
|
||||
std::string header;
|
||||
std::string response_content;
|
||||
std::string username;
|
||||
int authentication;
|
||||
std::string request_content;
|
||||
std::string dns_server;
|
||||
std::string dns_type;
|
||||
std::string request_format;
|
||||
std::string password;
|
||||
};
|
||||
std::string taskId;
|
||||
std::string address;
|
||||
OptionsJson optionsJson;
|
||||
std::string taskName;
|
||||
std::string optionsJson;
|
||||
std::string taskType;
|
||||
std::string createTime;
|
||||
std::string updateTime;
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace AlibabaCloud
|
||||
explicit DescribeSiteMonitorStatisticsResult(const std::string &payload);
|
||||
~DescribeSiteMonitorStatisticsResult();
|
||||
std::string getMessage()const;
|
||||
long getData()const;
|
||||
std::string getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long data_;
|
||||
std::string data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
|
||||
@@ -32,13 +32,17 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CMS_EXPORT DisableSiteMonitorsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
DisableSiteMonitorsResult();
|
||||
explicit DisableSiteMonitorsResult(const std::string &payload);
|
||||
~DisableSiteMonitorsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
@@ -46,7 +50,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
|
||||
@@ -32,13 +32,17 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CMS_EXPORT EnableSiteMonitorsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
EnableSiteMonitorsResult();
|
||||
explicit EnableSiteMonitorsResult(const std::string &payload);
|
||||
~EnableSiteMonitorsResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
@@ -46,7 +50,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ModifyGroupMonitoringAgentProcessRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AlertConfig
|
||||
{
|
||||
std::string times;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ModifyHostAvailabilityRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AlertConfigEscalationList
|
||||
{
|
||||
int times;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ModifyMetricRuleTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct AlertTemplates
|
||||
{
|
||||
int period;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT ModifyMonitorGroupInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Instances
|
||||
{
|
||||
std::string instanceId;
|
||||
|
||||
@@ -32,13 +32,17 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CMS_EXPORT ModifySiteMonitorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
int count;
|
||||
};
|
||||
|
||||
|
||||
ModifySiteMonitorResult();
|
||||
explicit ModifySiteMonitorResult(const std::string &payload);
|
||||
~ModifySiteMonitorResult();
|
||||
std::string getMessage()const;
|
||||
std::string getData()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
|
||||
@@ -46,7 +50,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string data_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutCustomEventRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct EventInfo
|
||||
{
|
||||
std::string groupId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutCustomMetricRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct MetricList
|
||||
{
|
||||
std::string period;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutEventRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct EventPattern
|
||||
{
|
||||
std::vector<std::string> levelList;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutEventRuleTargetsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct WebhookParameters
|
||||
{
|
||||
std::string protocol;
|
||||
|
||||
@@ -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_PUTEXPORTEROUTPUTREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTEXPORTEROUTPUTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutExporterOutputRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutExporterOutputRequest();
|
||||
~PutExporterOutputRequest();
|
||||
|
||||
std::string getDestName()const;
|
||||
void setDestName(const std::string& destName);
|
||||
std::string getConfigJson()const;
|
||||
void setConfigJson(const std::string& configJson);
|
||||
std::string getDestType()const;
|
||||
void setDestType(const std::string& destType);
|
||||
std::string getDesc()const;
|
||||
void setDesc(const std::string& desc);
|
||||
|
||||
private:
|
||||
std::string destName_;
|
||||
std::string configJson_;
|
||||
std::string destType_;
|
||||
std::string desc_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTEXPORTEROUTPUTREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/PutExporterOutputResult.h
Normal file
55
cms/include/alibabacloud/cms/model/PutExporterOutputResult.h
Normal 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_PUTEXPORTEROUTPUTRESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTEXPORTEROUTPUTRESULT_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 PutExporterOutputResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutExporterOutputResult();
|
||||
explicit PutExporterOutputResult(const std::string &payload);
|
||||
~PutExporterOutputResult();
|
||||
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_PUTEXPORTEROUTPUTRESULT_H_
|
||||
63
cms/include/alibabacloud/cms/model/PutExporterRuleRequest.h
Normal file
63
cms/include/alibabacloud/cms/model/PutExporterRuleRequest.h
Normal 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_PUTEXPORTERRULEREQUEST_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTEXPORTERRULEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cms/CmsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cms
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutExporterRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PutExporterRuleRequest();
|
||||
~PutExporterRuleRequest();
|
||||
|
||||
std::string getRuleName()const;
|
||||
void setRuleName(const std::string& ruleName);
|
||||
std::vector<std::string> getDstNames()const;
|
||||
void setDstNames(const std::vector<std::string>& dstNames);
|
||||
std::string get_Namespace()const;
|
||||
void set_Namespace(const std::string& _namespace);
|
||||
std::string getTargetWindows()const;
|
||||
void setTargetWindows(const std::string& targetWindows);
|
||||
std::string getDescribe()const;
|
||||
void setDescribe(const std::string& describe);
|
||||
std::string getMetricName()const;
|
||||
void setMetricName(const std::string& metricName);
|
||||
|
||||
private:
|
||||
std::string ruleName_;
|
||||
std::vector<std::string> dstNames_;
|
||||
std::string _namespace_;
|
||||
std::string targetWindows_;
|
||||
std::string describe_;
|
||||
std::string metricName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CMS_MODEL_PUTEXPORTERRULEREQUEST_H_
|
||||
55
cms/include/alibabacloud/cms/model/PutExporterRuleResult.h
Normal file
55
cms/include/alibabacloud/cms/model/PutExporterRuleResult.h
Normal 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_PUTEXPORTERRULERESULT_H_
|
||||
#define ALIBABACLOUD_CMS_MODEL_PUTEXPORTERRULERESULT_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 PutExporterRuleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PutExporterRuleResult();
|
||||
explicit PutExporterRuleResult(const std::string &payload);
|
||||
~PutExporterRuleResult();
|
||||
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_PUTEXPORTERRULERESULT_H_
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutMetricRuleTargetsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Targets
|
||||
{
|
||||
std::string level;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutMonitorGroupDynamicRuleRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct GroupRules
|
||||
{
|
||||
std::string filterRelation;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT PutResourceMetricRulesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Rules
|
||||
{
|
||||
std::string webhook;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_CMS_EXPORT RemoveTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
Reference in New Issue
Block a user