SAS SDK Auto Released By lai.zhoulai,Version:1.36.14
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -231,6 +231,42 @@ SasClient::ModifySecurityCheckScheduleConfigOutcomeCallable SasClient::modifySec
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeCheckWarningSummaryOutcome SasClient::describeCheckWarningSummary(const DescribeCheckWarningSummaryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCheckWarningSummaryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCheckWarningSummaryOutcome(DescribeCheckWarningSummaryResult(outcome.result()));
|
||||
else
|
||||
return DescribeCheckWarningSummaryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeCheckWarningSummaryAsync(const DescribeCheckWarningSummaryRequest& request, const DescribeCheckWarningSummaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCheckWarningSummary(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeCheckWarningSummaryOutcomeCallable SasClient::describeCheckWarningSummaryCallable(const DescribeCheckWarningSummaryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCheckWarningSummaryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCheckWarningSummary(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeEmgVulGroupOutcome SasClient::describeEmgVulGroup(const DescribeEmgVulGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +519,42 @@ SasClient::StartBaselineSecurityCheckOutcomeCallable SasClient::startBaselineSec
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ModifyPushAllTaskOutcome SasClient::modifyPushAllTask(const ModifyPushAllTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyPushAllTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyPushAllTaskOutcome(ModifyPushAllTaskResult(outcome.result()));
|
||||
else
|
||||
return ModifyPushAllTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::modifyPushAllTaskAsync(const ModifyPushAllTaskRequest& request, const ModifyPushAllTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyPushAllTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::ModifyPushAllTaskOutcomeCallable SasClient::modifyPushAllTaskCallable(const ModifyPushAllTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyPushAllTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyPushAllTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeRiskCheckResultOutcome SasClient::describeRiskCheckResult(const DescribeRiskCheckResultRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,6 +591,42 @@ SasClient::DescribeRiskCheckResultOutcomeCallable SasClient::describeRiskCheckRe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeCheckWarningDetailOutcome SasClient::describeCheckWarningDetail(const DescribeCheckWarningDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCheckWarningDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCheckWarningDetailOutcome(DescribeCheckWarningDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeCheckWarningDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeCheckWarningDetailAsync(const DescribeCheckWarningDetailRequest& request, const DescribeCheckWarningDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCheckWarningDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeCheckWarningDetailOutcomeCallable SasClient::describeCheckWarningDetailCallable(const DescribeCheckWarningDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCheckWarningDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCheckWarningDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeSuspEventDetailOutcome SasClient::describeSuspEventDetail(const DescribeSuspEventDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +663,78 @@ SasClient::DescribeSuspEventDetailOutcomeCallable SasClient::describeSuspEventDe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeStratetyOutcome SasClient::describeStratety(const DescribeStratetyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeStratetyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeStratetyOutcome(DescribeStratetyResult(outcome.result()));
|
||||
else
|
||||
return DescribeStratetyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeStratetyAsync(const DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeStratety(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeStratetyOutcomeCallable SasClient::describeStratetyCallable(const DescribeStratetyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeStratetyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeStratety(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeWarningMachinesOutcome SasClient::describeWarningMachines(const DescribeWarningMachinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeWarningMachinesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeWarningMachinesOutcome(DescribeWarningMachinesResult(outcome.result()));
|
||||
else
|
||||
return DescribeWarningMachinesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeWarningMachinesAsync(const DescribeWarningMachinesRequest& request, const DescribeWarningMachinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeWarningMachines(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeWarningMachinesOutcomeCallable SasClient::describeWarningMachinesCallable(const DescribeWarningMachinesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeWarningMachinesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeWarningMachines(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ModifyRiskSingleResultStatusOutcome SasClient::modifyRiskSingleResultStatus(const ModifyRiskSingleResultStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +987,42 @@ SasClient::ModifyDeleteVulWhitelistOutcomeCallable SasClient::modifyDeleteVulWhi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeStrategyExecDetailOutcome SasClient::describeStrategyExecDetail(const DescribeStrategyExecDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeStrategyExecDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeStrategyExecDetailOutcome(DescribeStrategyExecDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeStrategyExecDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeStrategyExecDetailAsync(const DescribeStrategyExecDetailRequest& request, const DescribeStrategyExecDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeStrategyExecDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeStrategyExecDetailOutcomeCallable SasClient::describeStrategyExecDetailCallable(const DescribeStrategyExecDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeStrategyExecDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeStrategyExecDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeRiskCheckSummaryOutcome SasClient::describeRiskCheckSummary(const DescribeRiskCheckSummaryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,6 +1167,42 @@ SasClient::DescribeUserBaselineAuthorizationOutcomeCallable SasClient::describeU
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::DescribeCheckWarningsOutcome SasClient::describeCheckWarnings(const DescribeCheckWarningsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCheckWarningsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCheckWarningsOutcome(DescribeCheckWarningsResult(outcome.result()));
|
||||
else
|
||||
return DescribeCheckWarningsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void SasClient::describeCheckWarningsAsync(const DescribeCheckWarningsRequest& request, const DescribeCheckWarningsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCheckWarnings(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
SasClient::DescribeCheckWarningsOutcomeCallable SasClient::describeCheckWarningsCallable(const DescribeCheckWarningsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCheckWarningsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCheckWarnings(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
SasClient::ModifyConcernNecessityOutcome SasClient::modifyConcernNecessity(const ModifyConcernNecessityRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
60
sas/src/model/DescribeCheckWarningDetailRequest.cc
Normal file
60
sas/src/model/DescribeCheckWarningDetailRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeCheckWarningDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeCheckWarningDetailRequest;
|
||||
|
||||
DescribeCheckWarningDetailRequest::DescribeCheckWarningDetailRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "DescribeCheckWarningDetail")
|
||||
{}
|
||||
|
||||
DescribeCheckWarningDetailRequest::~DescribeCheckWarningDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCheckWarningDetailRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeCheckWarningDetailRequest::getCheckWarningId()const
|
||||
{
|
||||
return checkWarningId_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningDetailRequest::setCheckWarningId(long checkWarningId)
|
||||
{
|
||||
checkWarningId_ = checkWarningId;
|
||||
setCoreParameter("CheckWarningId", std::to_string(checkWarningId));
|
||||
}
|
||||
|
||||
94
sas/src/model/DescribeCheckWarningDetailResult.cc
Normal file
94
sas/src/model/DescribeCheckWarningDetailResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeCheckWarningDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeCheckWarningDetailResult::DescribeCheckWarningDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCheckWarningDetailResult::DescribeCheckWarningDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCheckWarningDetailResult::~DescribeCheckWarningDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeCheckWarningDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CheckId"].isNull())
|
||||
checkId_ = std::stol(value["CheckId"].asString());
|
||||
if(!value["Level"].isNull())
|
||||
level_ = value["Level"].asString();
|
||||
if(!value["Item"].isNull())
|
||||
item_ = value["Item"].asString();
|
||||
if(!value["Prompt"].isNull())
|
||||
prompt_ = value["Prompt"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
type_ = value["Type"].asString();
|
||||
if(!value["Advice"].isNull())
|
||||
advice_ = value["Advice"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailResult::getItem()const
|
||||
{
|
||||
return item_;
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailResult::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
long DescribeCheckWarningDetailResult::getCheckId()const
|
||||
{
|
||||
return checkId_;
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailResult::getLevel()const
|
||||
{
|
||||
return level_;
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailResult::getPrompt()const
|
||||
{
|
||||
return prompt_;
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningDetailResult::getAdvice()const
|
||||
{
|
||||
return advice_;
|
||||
}
|
||||
|
||||
137
sas/src/model/DescribeCheckWarningSummaryRequest.cc
Normal file
137
sas/src/model/DescribeCheckWarningSummaryRequest.cc
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeCheckWarningSummaryRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeCheckWarningSummaryRequest;
|
||||
|
||||
DescribeCheckWarningSummaryRequest::DescribeCheckWarningSummaryRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "DescribeCheckWarningSummary")
|
||||
{}
|
||||
|
||||
DescribeCheckWarningSummaryRequest::~DescribeCheckWarningSummaryRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCheckWarningSummaryRequest::getRiskName()const
|
||||
{
|
||||
return riskName_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setRiskName(const std::string& riskName)
|
||||
{
|
||||
riskName_ = riskName;
|
||||
setCoreParameter("RiskName", riskName);
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningSummaryRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryRequest::getRiskStatus()const
|
||||
{
|
||||
return riskStatus_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setRiskStatus(int riskStatus)
|
||||
{
|
||||
riskStatus_ = riskStatus;
|
||||
setCoreParameter("RiskStatus", std::to_string(riskStatus));
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCheckWarningSummaryRequest::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setStrategyId(long strategyId)
|
||||
{
|
||||
strategyId_ = strategyId;
|
||||
setCoreParameter("StrategyId", std::to_string(strategyId));
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningSummaryRequest::getTypeName()const
|
||||
{
|
||||
return typeName_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setTypeName(const std::string& typeName)
|
||||
{
|
||||
typeName_ = typeName;
|
||||
setCoreParameter("TypeName", typeName);
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningSummaryRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningSummaryRequest::getUuids()const
|
||||
{
|
||||
return uuids_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningSummaryRequest::setUuids(const std::string& uuids)
|
||||
{
|
||||
uuids_ = uuids;
|
||||
setCoreParameter("Uuids", uuids);
|
||||
}
|
||||
|
||||
106
sas/src/model/DescribeCheckWarningSummaryResult.cc
Normal file
106
sas/src/model/DescribeCheckWarningSummaryResult.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeCheckWarningSummaryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeCheckWarningSummaryResult::DescribeCheckWarningSummaryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCheckWarningSummaryResult::DescribeCheckWarningSummaryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCheckWarningSummaryResult::~DescribeCheckWarningSummaryResult()
|
||||
{}
|
||||
|
||||
void DescribeCheckWarningSummaryResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWarningSummarys = value["WarningSummarys"]["WarningSummary"];
|
||||
for (auto value : allWarningSummarys)
|
||||
{
|
||||
WarningSummary warningSummarysObject;
|
||||
if(!value["RiskId"].isNull())
|
||||
warningSummarysObject.riskId = std::stol(value["RiskId"].asString());
|
||||
if(!value["RiskName"].isNull())
|
||||
warningSummarysObject.riskName = value["RiskName"].asString();
|
||||
if(!value["TypeAlias"].isNull())
|
||||
warningSummarysObject.typeAlias = value["TypeAlias"].asString();
|
||||
if(!value["SubTypeAlias"].isNull())
|
||||
warningSummarysObject.subTypeAlias = value["SubTypeAlias"].asString();
|
||||
if(!value["LastFoundTime"].isNull())
|
||||
warningSummarysObject.lastFoundTime = value["LastFoundTime"].asString();
|
||||
if(!value["Level"].isNull())
|
||||
warningSummarysObject.level = value["Level"].asString();
|
||||
if(!value["CheckCount"].isNull())
|
||||
warningSummarysObject.checkCount = std::stoi(value["CheckCount"].asString());
|
||||
if(!value["HighWarningCount"].isNull())
|
||||
warningSummarysObject.highWarningCount = std::stoi(value["HighWarningCount"].asString());
|
||||
if(!value["MediumWarningCount"].isNull())
|
||||
warningSummarysObject.mediumWarningCount = std::stoi(value["MediumWarningCount"].asString());
|
||||
if(!value["LowWarningCount"].isNull())
|
||||
warningSummarysObject.lowWarningCount = std::stoi(value["LowWarningCount"].asString());
|
||||
if(!value["WarningMachineCount"].isNull())
|
||||
warningSummarysObject.warningMachineCount = std::stoi(value["WarningMachineCount"].asString());
|
||||
warningSummarys_.push_back(warningSummarysObject);
|
||||
}
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stoi(value["Count"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
int DescribeCheckWarningSummaryResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCheckWarningSummaryResult::WarningSummary> DescribeCheckWarningSummaryResult::getWarningSummarys()const
|
||||
{
|
||||
return warningSummarys_;
|
||||
}
|
||||
|
||||
93
sas/src/model/DescribeCheckWarningsRequest.cc
Normal file
93
sas/src/model/DescribeCheckWarningsRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeCheckWarningsRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeCheckWarningsRequest;
|
||||
|
||||
DescribeCheckWarningsRequest::DescribeCheckWarningsRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "DescribeCheckWarnings")
|
||||
{}
|
||||
|
||||
DescribeCheckWarningsRequest::~DescribeCheckWarningsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCheckWarningsRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeCheckWarningsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeCheckWarningsRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningsRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeCheckWarningsRequest::getRiskId()const
|
||||
{
|
||||
return riskId_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningsRequest::setRiskId(long riskId)
|
||||
{
|
||||
riskId_ = riskId;
|
||||
setCoreParameter("RiskId", std::to_string(riskId));
|
||||
}
|
||||
|
||||
std::string DescribeCheckWarningsRequest::getUuid()const
|
||||
{
|
||||
return uuid_;
|
||||
}
|
||||
|
||||
void DescribeCheckWarningsRequest::setUuid(const std::string& uuid)
|
||||
{
|
||||
uuid_ = uuid;
|
||||
setCoreParameter("Uuid", uuid);
|
||||
}
|
||||
|
||||
98
sas/src/model/DescribeCheckWarningsResult.cc
Normal file
98
sas/src/model/DescribeCheckWarningsResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeCheckWarningsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeCheckWarningsResult::DescribeCheckWarningsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCheckWarningsResult::DescribeCheckWarningsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCheckWarningsResult::~DescribeCheckWarningsResult()
|
||||
{}
|
||||
|
||||
void DescribeCheckWarningsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCheckWarnings = value["CheckWarnings"]["CheckWarning"];
|
||||
for (auto value : allCheckWarnings)
|
||||
{
|
||||
CheckWarning checkWarningsObject;
|
||||
if(!value["Uuid"].isNull())
|
||||
checkWarningsObject.uuid = value["Uuid"].asString();
|
||||
if(!value["CheckId"].isNull())
|
||||
checkWarningsObject.checkId = std::stol(value["CheckId"].asString());
|
||||
if(!value["CheckWarningId"].isNull())
|
||||
checkWarningsObject.checkWarningId = std::stol(value["CheckWarningId"].asString());
|
||||
if(!value["Level"].isNull())
|
||||
checkWarningsObject.level = value["Level"].asString();
|
||||
if(!value["Item"].isNull())
|
||||
checkWarningsObject.item = value["Item"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
checkWarningsObject.type = value["Type"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
checkWarningsObject.status = std::stoi(value["Status"].asString());
|
||||
checkWarnings_.push_back(checkWarningsObject);
|
||||
}
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stoi(value["Count"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeCheckWarningsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeCheckWarningsResult::CheckWarning> DescribeCheckWarningsResult::getCheckWarnings()const
|
||||
{
|
||||
return checkWarnings_;
|
||||
}
|
||||
|
||||
int DescribeCheckWarningsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeCheckWarningsResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
int DescribeCheckWarningsResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
49
sas/src/model/DescribeStrategyExecDetailRequest.cc
Normal file
49
sas/src/model/DescribeStrategyExecDetailRequest.cc
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeStrategyExecDetailRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeStrategyExecDetailRequest;
|
||||
|
||||
DescribeStrategyExecDetailRequest::DescribeStrategyExecDetailRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "DescribeStrategyExecDetail")
|
||||
{}
|
||||
|
||||
DescribeStrategyExecDetailRequest::~DescribeStrategyExecDetailRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeStrategyExecDetailRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeStrategyExecDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeStrategyExecDetailRequest::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
}
|
||||
|
||||
void DescribeStrategyExecDetailRequest::setStrategyId(int strategyId)
|
||||
{
|
||||
strategyId_ = strategyId;
|
||||
setCoreParameter("StrategyId", std::to_string(strategyId));
|
||||
}
|
||||
|
||||
113
sas/src/model/DescribeStrategyExecDetailResult.cc
Normal file
113
sas/src/model/DescribeStrategyExecDetailResult.cc
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeStrategyExecDetailResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeStrategyExecDetailResult::DescribeStrategyExecDetailResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeStrategyExecDetailResult::DescribeStrategyExecDetailResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeStrategyExecDetailResult::~DescribeStrategyExecDetailResult()
|
||||
{}
|
||||
|
||||
void DescribeStrategyExecDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFailedEcsList = value["FailedEcsList"]["FailedEcs"];
|
||||
for (auto value : allFailedEcsList)
|
||||
{
|
||||
FailedEcs failedEcsListObject;
|
||||
if(!value["Reason"].isNull())
|
||||
failedEcsListObject.reason = value["Reason"].asString();
|
||||
if(!value["InstanceName"].isNull())
|
||||
failedEcsListObject.instanceName = value["InstanceName"].asString();
|
||||
if(!value["IP"].isNull())
|
||||
failedEcsListObject.iP = value["IP"].asString();
|
||||
if(!value["IntranetIp"].isNull())
|
||||
failedEcsListObject.intranetIp = value["IntranetIp"].asString();
|
||||
failedEcsList_.push_back(failedEcsListObject);
|
||||
}
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["Source"].isNull())
|
||||
source_ = value["Source"].asString();
|
||||
if(!value["Percent"].isNull())
|
||||
percent_ = value["Percent"].asString();
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailCount"].isNull())
|
||||
failCount_ = std::stoi(value["FailCount"].asString());
|
||||
if(!value["InProcessCount"].isNull())
|
||||
inProcessCount_ = std::stoi(value["InProcessCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeStrategyExecDetailResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeStrategyExecDetailResult::getPercent()const
|
||||
{
|
||||
return percent_;
|
||||
}
|
||||
|
||||
int DescribeStrategyExecDetailResult::getFailCount()const
|
||||
{
|
||||
return failCount_;
|
||||
}
|
||||
|
||||
std::string DescribeStrategyExecDetailResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
int DescribeStrategyExecDetailResult::getSuccessCount()const
|
||||
{
|
||||
return successCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeStrategyExecDetailResult::FailedEcs> DescribeStrategyExecDetailResult::getFailedEcsList()const
|
||||
{
|
||||
return failedEcsList_;
|
||||
}
|
||||
|
||||
std::string DescribeStrategyExecDetailResult::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
int DescribeStrategyExecDetailResult::getInProcessCount()const
|
||||
{
|
||||
return inProcessCount_;
|
||||
}
|
||||
|
||||
60
sas/src/model/DescribeStratetyRequest.cc
Normal file
60
sas/src/model/DescribeStratetyRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeStratetyRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeStratetyRequest;
|
||||
|
||||
DescribeStratetyRequest::DescribeStratetyRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "DescribeStratety")
|
||||
{}
|
||||
|
||||
DescribeStratetyRequest::~DescribeStratetyRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeStratetyRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeStratetyRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeStratetyRequest::getStrategyIds()const
|
||||
{
|
||||
return strategyIds_;
|
||||
}
|
||||
|
||||
void DescribeStratetyRequest::setStrategyIds(const std::string& strategyIds)
|
||||
{
|
||||
strategyIds_ = strategyIds;
|
||||
setCoreParameter("StrategyIds", strategyIds);
|
||||
}
|
||||
|
||||
std::string DescribeStratetyRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeStratetyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
88
sas/src/model/DescribeStratetyResult.cc
Normal file
88
sas/src/model/DescribeStratetyResult.cc
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeStratetyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeStratetyResult::DescribeStratetyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeStratetyResult::DescribeStratetyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeStratetyResult::~DescribeStratetyResult()
|
||||
{}
|
||||
|
||||
void DescribeStratetyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStrategies = value["Strategies"]["Strategy"];
|
||||
for (auto value : allStrategies)
|
||||
{
|
||||
Strategy strategiesObject;
|
||||
if(!value["CycleDays"].isNull())
|
||||
strategiesObject.cycleDays = std::stoi(value["CycleDays"].asString());
|
||||
if(!value["Id"].isNull())
|
||||
strategiesObject.id = std::stoi(value["Id"].asString());
|
||||
if(!value["CycleStartTime"].isNull())
|
||||
strategiesObject.cycleStartTime = std::stoi(value["CycleStartTime"].asString());
|
||||
if(!value["Type"].isNull())
|
||||
strategiesObject.type = std::stoi(value["Type"].asString());
|
||||
if(!value["Name"].isNull())
|
||||
strategiesObject.name = value["Name"].asString();
|
||||
if(!value["RiskCount"].isNull())
|
||||
strategiesObject.riskCount = std::stoi(value["RiskCount"].asString());
|
||||
if(!value["EcsCount"].isNull())
|
||||
strategiesObject.ecsCount = std::stoi(value["EcsCount"].asString());
|
||||
if(!value["ExecStatus"].isNull())
|
||||
strategiesObject.execStatus = std::stoi(value["ExecStatus"].asString());
|
||||
if(!value["ProcessRate"].isNull())
|
||||
strategiesObject.processRate = std::stoi(value["ProcessRate"].asString());
|
||||
if(!value["PassRate"].isNull())
|
||||
strategiesObject.passRate = std::stoi(value["PassRate"].asString());
|
||||
auto allConfigTargets = value["ConfigTargets"]["ConfigTarget"];
|
||||
for (auto value : allConfigTargets)
|
||||
{
|
||||
Strategy::ConfigTarget configTargetsObject;
|
||||
if(!value["Flag"].isNull())
|
||||
configTargetsObject.flag = value["Flag"].asString();
|
||||
if(!value["TargetType"].isNull())
|
||||
configTargetsObject.targetType = value["TargetType"].asString();
|
||||
if(!value["Target"].isNull())
|
||||
configTargetsObject.target = value["Target"].asString();
|
||||
strategiesObject.configTargets.push_back(configTargetsObject);
|
||||
}
|
||||
strategies_.push_back(strategiesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeStratetyResult::Strategy> DescribeStratetyResult::getStrategies()const
|
||||
{
|
||||
return strategies_;
|
||||
}
|
||||
|
||||
@@ -107,23 +107,23 @@ void DescribeVulListResult::parse(const std::string &payload)
|
||||
vulRecordsObject.extendContentJson.primaryId = std::stol(extendContentJsonNode["PrimaryId"].asString());
|
||||
if(!extendContentJsonNode["AbsolutePath"].isNull())
|
||||
vulRecordsObject.extendContentJson.absolutePath = extendContentJsonNode["AbsolutePath"].asString();
|
||||
auto allRpmEntityList = value["RpmEntityList"]["RpmEntityListItem"];
|
||||
auto allRpmEntityList = value["RpmEntityList"]["RpmEntity"];
|
||||
for (auto value : allRpmEntityList)
|
||||
{
|
||||
VulRecord::ExtendContentJson::RpmEntityListItem rpmEntityListItemObject;
|
||||
VulRecord::ExtendContentJson::RpmEntity rpmEntityObject;
|
||||
if(!value["FullVersion"].isNull())
|
||||
rpmEntityListItemObject.fullVersion = value["FullVersion"].asString();
|
||||
rpmEntityObject.fullVersion = value["FullVersion"].asString();
|
||||
if(!value["MatchDetail"].isNull())
|
||||
rpmEntityListItemObject.matchDetail = value["MatchDetail"].asString();
|
||||
rpmEntityObject.matchDetail = value["MatchDetail"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
rpmEntityListItemObject.name = value["Name"].asString();
|
||||
rpmEntityObject.name = value["Name"].asString();
|
||||
if(!value["Path"].isNull())
|
||||
rpmEntityListItemObject.path = value["Path"].asString();
|
||||
rpmEntityObject.path = value["Path"].asString();
|
||||
if(!value["UpdateCmd"].isNull())
|
||||
rpmEntityListItemObject.updateCmd = value["UpdateCmd"].asString();
|
||||
rpmEntityObject.updateCmd = value["UpdateCmd"].asString();
|
||||
if(!value["Version"].isNull())
|
||||
rpmEntityListItemObject.version = value["Version"].asString();
|
||||
vulRecordsObject.extendContentJson.rpmEntityList.push_back(rpmEntityListItemObject);
|
||||
rpmEntityObject.version = value["Version"].asString();
|
||||
vulRecordsObject.extendContentJson.rpmEntityList.push_back(rpmEntityObject);
|
||||
}
|
||||
auto necessityNode = extendContentJsonNode["Necessity"];
|
||||
if(!necessityNode["Cvss_factor"].isNull())
|
||||
@@ -142,7 +142,7 @@ void DescribeVulListResult::parse(const std::string &payload)
|
||||
vulRecordsObject.extendContentJson.necessity.total_score = necessityNode["Total_score"].asString();
|
||||
if(!necessityNode["Time_factor"].isNull())
|
||||
vulRecordsObject.extendContentJson.necessity.time_factor = necessityNode["Time_factor"].asString();
|
||||
auto allCveList = extendContentJsonNode["cveList"]["CveList"];
|
||||
auto allCveList = extendContentJsonNode["cveList"]["Cve"];
|
||||
for (auto value : allCveList)
|
||||
vulRecordsObject.extendContentJson.cveList.push_back(value.asString());
|
||||
vulRecords_.push_back(vulRecordsObject);
|
||||
|
||||
115
sas/src/model/DescribeWarningMachinesRequest.cc
Normal file
115
sas/src/model/DescribeWarningMachinesRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeWarningMachinesRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::DescribeWarningMachinesRequest;
|
||||
|
||||
DescribeWarningMachinesRequest::DescribeWarningMachinesRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "DescribeWarningMachines")
|
||||
{}
|
||||
|
||||
DescribeWarningMachinesRequest::~DescribeWarningMachinesRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeWarningMachinesRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeWarningMachinesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeWarningMachinesRequest::getMachineName()const
|
||||
{
|
||||
return machineName_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setMachineName(const std::string& machineName)
|
||||
{
|
||||
machineName_ = machineName;
|
||||
setCoreParameter("MachineName", machineName);
|
||||
}
|
||||
|
||||
long DescribeWarningMachinesRequest::getStrategyId()const
|
||||
{
|
||||
return strategyId_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setStrategyId(long strategyId)
|
||||
{
|
||||
strategyId_ = strategyId;
|
||||
setCoreParameter("StrategyId", std::to_string(strategyId));
|
||||
}
|
||||
|
||||
int DescribeWarningMachinesRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeWarningMachinesRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeWarningMachinesRequest::getRiskId()const
|
||||
{
|
||||
return riskId_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setRiskId(long riskId)
|
||||
{
|
||||
riskId_ = riskId;
|
||||
setCoreParameter("RiskId", std::to_string(riskId));
|
||||
}
|
||||
|
||||
std::string DescribeWarningMachinesRequest::getUuids()const
|
||||
{
|
||||
return uuids_;
|
||||
}
|
||||
|
||||
void DescribeWarningMachinesRequest::setUuids(const std::string& uuids)
|
||||
{
|
||||
uuids_ = uuids;
|
||||
setCoreParameter("Uuids", uuids);
|
||||
}
|
||||
|
||||
102
sas/src/model/DescribeWarningMachinesResult.cc
Normal file
102
sas/src/model/DescribeWarningMachinesResult.cc
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/DescribeWarningMachinesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
DescribeWarningMachinesResult::DescribeWarningMachinesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeWarningMachinesResult::DescribeWarningMachinesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeWarningMachinesResult::~DescribeWarningMachinesResult()
|
||||
{}
|
||||
|
||||
void DescribeWarningMachinesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allWarningMachines = value["WarningMachines"]["WarningMachine"];
|
||||
for (auto value : allWarningMachines)
|
||||
{
|
||||
WarningMachine warningMachinesObject;
|
||||
if(!value["Uuid"].isNull())
|
||||
warningMachinesObject.uuid = value["Uuid"].asString();
|
||||
if(!value["MachineName"].isNull())
|
||||
warningMachinesObject.machineName = value["MachineName"].asString();
|
||||
if(!value["InternetIp"].isNull())
|
||||
warningMachinesObject.internetIp = value["InternetIp"].asString();
|
||||
if(!value["IntranetIp"].isNull())
|
||||
warningMachinesObject.intranetIp = value["IntranetIp"].asString();
|
||||
if(!value["PassCount"].isNull())
|
||||
warningMachinesObject.passCount = std::stoi(value["PassCount"].asString());
|
||||
if(!value["HighWarningCount"].isNull())
|
||||
warningMachinesObject.highWarningCount = std::stoi(value["HighWarningCount"].asString());
|
||||
if(!value["MediumWarningCount"].isNull())
|
||||
warningMachinesObject.mediumWarningCount = std::stoi(value["MediumWarningCount"].asString());
|
||||
if(!value["LowWarningCount"].isNull())
|
||||
warningMachinesObject.lowWarningCount = std::stoi(value["LowWarningCount"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
warningMachinesObject.status = std::stoi(value["Status"].asString());
|
||||
warningMachines_.push_back(warningMachinesObject);
|
||||
}
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stoi(value["Count"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeWarningMachinesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
int DescribeWarningMachinesResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeWarningMachinesResult::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::vector<DescribeWarningMachinesResult::WarningMachine> DescribeWarningMachinesResult::getWarningMachines()const
|
||||
{
|
||||
return warningMachines_;
|
||||
}
|
||||
|
||||
int DescribeWarningMachinesResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
60
sas/src/model/ModifyPushAllTaskRequest.cc
Normal file
60
sas/src/model/ModifyPushAllTaskRequest.cc
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/ModifyPushAllTaskRequest.h>
|
||||
|
||||
using AlibabaCloud::Sas::Model::ModifyPushAllTaskRequest;
|
||||
|
||||
ModifyPushAllTaskRequest::ModifyPushAllTaskRequest() :
|
||||
RpcServiceRequest("sas", "2018-12-03", "ModifyPushAllTask")
|
||||
{}
|
||||
|
||||
ModifyPushAllTaskRequest::~ModifyPushAllTaskRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyPushAllTaskRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void ModifyPushAllTaskRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string ModifyPushAllTaskRequest::getTasks()const
|
||||
{
|
||||
return tasks_;
|
||||
}
|
||||
|
||||
void ModifyPushAllTaskRequest::setTasks(const std::string& tasks)
|
||||
{
|
||||
tasks_ = tasks;
|
||||
setCoreParameter("Tasks", tasks);
|
||||
}
|
||||
|
||||
std::string ModifyPushAllTaskRequest::getUuids()const
|
||||
{
|
||||
return uuids_;
|
||||
}
|
||||
|
||||
void ModifyPushAllTaskRequest::setUuids(const std::string& uuids)
|
||||
{
|
||||
uuids_ = uuids;
|
||||
setCoreParameter("Uuids", uuids);
|
||||
}
|
||||
|
||||
77
sas/src/model/ModifyPushAllTaskResult.cc
Normal file
77
sas/src/model/ModifyPushAllTaskResult.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/sas/model/ModifyPushAllTaskResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Sas;
|
||||
using namespace AlibabaCloud::Sas::Model;
|
||||
|
||||
ModifyPushAllTaskResult::ModifyPushAllTaskResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyPushAllTaskResult::ModifyPushAllTaskResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyPushAllTaskResult::~ModifyPushAllTaskResult()
|
||||
{}
|
||||
|
||||
void ModifyPushAllTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto pushTaskRspNode = value["PushTaskRsp"];
|
||||
auto allPushTaskResultList = value["PushTaskResultList"]["pushTaskResult"];
|
||||
for (auto value : allPushTaskResultList)
|
||||
{
|
||||
PushTaskRsp::PushTaskResult pushTaskResultObject;
|
||||
if(!value["InstanceId"].isNull())
|
||||
pushTaskResultObject.instanceId = value["InstanceId"].asString();
|
||||
if(!value["OsVersion"].isNull())
|
||||
pushTaskResultObject.osVersion = value["OsVersion"].asString();
|
||||
if(!value["InstanceName"].isNull())
|
||||
pushTaskResultObject.instanceName = value["InstanceName"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
pushTaskResultObject.success = value["Success"].asString() == "true";
|
||||
if(!value["GroupId"].isNull())
|
||||
pushTaskResultObject.groupId = std::stol(value["GroupId"].asString());
|
||||
if(!value["Ip"].isNull())
|
||||
pushTaskResultObject.ip = value["Ip"].asString();
|
||||
if(!value["Online"].isNull())
|
||||
pushTaskResultObject.online = value["Online"].asString() == "true";
|
||||
if(!value["Message"].isNull())
|
||||
pushTaskResultObject.message = value["Message"].asString();
|
||||
if(!value["Region"].isNull())
|
||||
pushTaskResultObject.region = value["Region"].asString();
|
||||
if(!value["Uuid"].isNull())
|
||||
pushTaskResultObject.uuid = value["Uuid"].asString();
|
||||
pushTaskRsp_.pushTaskResultList.push_back(pushTaskResultObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ModifyPushAllTaskResult::PushTaskRsp ModifyPushAllTaskResult::getPushTaskRsp()const
|
||||
{
|
||||
return pushTaskRsp_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user