由君石发起的AEGIS SDK自动发布, BUILD_ID=397, 版本号:1.0.12

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-02-07 15:02:50 +08:00
parent 2e7466153f
commit 558c26ba3d
103 changed files with 8520 additions and 2 deletions

View File

@@ -0,0 +1,239 @@
/*
* 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_AEGIS_AEGISCLIENT_H_
#define ALIBABACLOUD_AEGIS_AEGISCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "AegisExport.h"
#include "model/GetEntityListRequest.h"
#include "model/GetEntityListResult.h"
#include "model/GetStatisticsByUuidRequest.h"
#include "model/GetStatisticsByUuidResult.h"
#include "model/GetStatisticsRequest.h"
#include "model/GetStatisticsResult.h"
#include "model/DescribeVulDetailsRequest.h"
#include "model/DescribeVulDetailsResult.h"
#include "model/DeleteStrategyRequest.h"
#include "model/DeleteStrategyResult.h"
#include "model/GetCrackStatisticsRequest.h"
#include "model/GetCrackStatisticsResult.h"
#include "model/DescribeWarningRequest.h"
#include "model/DescribeWarningResult.h"
#include "model/ReleaseInstanceRequest.h"
#include "model/ReleaseInstanceResult.h"
#include "model/DescribeSuspiciousEventsRequest.h"
#include "model/DescribeSuspiciousEventsResult.h"
#include "model/CreateInstanceRequest.h"
#include "model/CreateInstanceResult.h"
#include "model/DescribeVulListRequest.h"
#include "model/DescribeVulListResult.h"
#include "model/UpgradeInstanceRequest.h"
#include "model/UpgradeInstanceResult.h"
#include "model/RenewInstanceRequest.h"
#include "model/RenewInstanceResult.h"
#include "model/DescribeStrategyTargetRequest.h"
#include "model/DescribeStrategyTargetResult.h"
#include "model/QueryLoginEventRequest.h"
#include "model/QueryLoginEventResult.h"
#include "model/GetAccountStatisticsRequest.h"
#include "model/GetAccountStatisticsResult.h"
#include "model/ModifyStrategyRequest.h"
#include "model/ModifyStrategyResult.h"
#include "model/ModifyStrategyTargetRequest.h"
#include "model/ModifyStrategyTargetResult.h"
#include "model/ModifyBatchIgnoreVulRequest.h"
#include "model/ModifyBatchIgnoreVulResult.h"
#include "model/DescribeWebshellRequest.h"
#include "model/DescribeWebshellResult.h"
#include "model/DescribeStratetyDetailRequest.h"
#include "model/DescribeStratetyDetailResult.h"
#include "model/DescribeStratetyRequest.h"
#include "model/DescribeStratetyResult.h"
#include "model/DescribeLoginLogsRequest.h"
#include "model/DescribeLoginLogsResult.h"
#include "model/QueryCrackEventRequest.h"
#include "model/QueryCrackEventResult.h"
namespace AlibabaCloud
{
namespace Aegis
{
class ALIBABACLOUD_AEGIS_EXPORT AegisClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::GetEntityListResult> GetEntityListOutcome;
typedef std::future<GetEntityListOutcome> GetEntityListOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::GetEntityListRequest&, const GetEntityListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEntityListAsyncHandler;
typedef Outcome<Error, Model::GetStatisticsByUuidResult> GetStatisticsByUuidOutcome;
typedef std::future<GetStatisticsByUuidOutcome> GetStatisticsByUuidOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::GetStatisticsByUuidRequest&, const GetStatisticsByUuidOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticsByUuidAsyncHandler;
typedef Outcome<Error, Model::GetStatisticsResult> GetStatisticsOutcome;
typedef std::future<GetStatisticsOutcome> GetStatisticsOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::GetStatisticsRequest&, const GetStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeVulDetailsResult> DescribeVulDetailsOutcome;
typedef std::future<DescribeVulDetailsOutcome> DescribeVulDetailsOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeVulDetailsRequest&, const DescribeVulDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVulDetailsAsyncHandler;
typedef Outcome<Error, Model::DeleteStrategyResult> DeleteStrategyOutcome;
typedef std::future<DeleteStrategyOutcome> DeleteStrategyOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DeleteStrategyRequest&, const DeleteStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteStrategyAsyncHandler;
typedef Outcome<Error, Model::GetCrackStatisticsResult> GetCrackStatisticsOutcome;
typedef std::future<GetCrackStatisticsOutcome> GetCrackStatisticsOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::GetCrackStatisticsRequest&, const GetCrackStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCrackStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeWarningResult> DescribeWarningOutcome;
typedef std::future<DescribeWarningOutcome> DescribeWarningOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeWarningRequest&, const DescribeWarningOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWarningAsyncHandler;
typedef Outcome<Error, Model::ReleaseInstanceResult> ReleaseInstanceOutcome;
typedef std::future<ReleaseInstanceOutcome> ReleaseInstanceOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::ReleaseInstanceRequest&, const ReleaseInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReleaseInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeSuspiciousEventsResult> DescribeSuspiciousEventsOutcome;
typedef std::future<DescribeSuspiciousEventsOutcome> DescribeSuspiciousEventsOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeSuspiciousEventsRequest&, const DescribeSuspiciousEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSuspiciousEventsAsyncHandler;
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeVulListResult> DescribeVulListOutcome;
typedef std::future<DescribeVulListOutcome> DescribeVulListOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeVulListRequest&, const DescribeVulListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVulListAsyncHandler;
typedef Outcome<Error, Model::UpgradeInstanceResult> UpgradeInstanceOutcome;
typedef std::future<UpgradeInstanceOutcome> UpgradeInstanceOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::UpgradeInstanceRequest&, const UpgradeInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeInstanceAsyncHandler;
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
typedef Outcome<Error, Model::DescribeStrategyTargetResult> DescribeStrategyTargetOutcome;
typedef std::future<DescribeStrategyTargetOutcome> DescribeStrategyTargetOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeStrategyTargetRequest&, const DescribeStrategyTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStrategyTargetAsyncHandler;
typedef Outcome<Error, Model::QueryLoginEventResult> QueryLoginEventOutcome;
typedef std::future<QueryLoginEventOutcome> QueryLoginEventOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::QueryLoginEventRequest&, const QueryLoginEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryLoginEventAsyncHandler;
typedef Outcome<Error, Model::GetAccountStatisticsResult> GetAccountStatisticsOutcome;
typedef std::future<GetAccountStatisticsOutcome> GetAccountStatisticsOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::GetAccountStatisticsRequest&, const GetAccountStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountStatisticsAsyncHandler;
typedef Outcome<Error, Model::ModifyStrategyResult> ModifyStrategyOutcome;
typedef std::future<ModifyStrategyOutcome> ModifyStrategyOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::ModifyStrategyRequest&, const ModifyStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStrategyAsyncHandler;
typedef Outcome<Error, Model::ModifyStrategyTargetResult> ModifyStrategyTargetOutcome;
typedef std::future<ModifyStrategyTargetOutcome> ModifyStrategyTargetOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::ModifyStrategyTargetRequest&, const ModifyStrategyTargetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyStrategyTargetAsyncHandler;
typedef Outcome<Error, Model::ModifyBatchIgnoreVulResult> ModifyBatchIgnoreVulOutcome;
typedef std::future<ModifyBatchIgnoreVulOutcome> ModifyBatchIgnoreVulOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::ModifyBatchIgnoreVulRequest&, const ModifyBatchIgnoreVulOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBatchIgnoreVulAsyncHandler;
typedef Outcome<Error, Model::DescribeWebshellResult> DescribeWebshellOutcome;
typedef std::future<DescribeWebshellOutcome> DescribeWebshellOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeWebshellRequest&, const DescribeWebshellOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWebshellAsyncHandler;
typedef Outcome<Error, Model::DescribeStratetyDetailResult> DescribeStratetyDetailOutcome;
typedef std::future<DescribeStratetyDetailOutcome> DescribeStratetyDetailOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeStratetyDetailRequest&, const DescribeStratetyDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStratetyDetailAsyncHandler;
typedef Outcome<Error, Model::DescribeStratetyResult> DescribeStratetyOutcome;
typedef std::future<DescribeStratetyOutcome> DescribeStratetyOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeStratetyRequest&, const DescribeStratetyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStratetyAsyncHandler;
typedef Outcome<Error, Model::DescribeLoginLogsResult> DescribeLoginLogsOutcome;
typedef std::future<DescribeLoginLogsOutcome> DescribeLoginLogsOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::DescribeLoginLogsRequest&, const DescribeLoginLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoginLogsAsyncHandler;
typedef Outcome<Error, Model::QueryCrackEventResult> QueryCrackEventOutcome;
typedef std::future<QueryCrackEventOutcome> QueryCrackEventOutcomeCallable;
typedef std::function<void(const AegisClient*, const Model::QueryCrackEventRequest&, const QueryCrackEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCrackEventAsyncHandler;
AegisClient(const Credentials &credentials, const ClientConfiguration &configuration);
AegisClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AegisClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AegisClient();
GetEntityListOutcome getEntityList(const Model::GetEntityListRequest &request)const;
void getEntityListAsync(const Model::GetEntityListRequest& request, const GetEntityListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetEntityListOutcomeCallable getEntityListCallable(const Model::GetEntityListRequest& request) const;
GetStatisticsByUuidOutcome getStatisticsByUuid(const Model::GetStatisticsByUuidRequest &request)const;
void getStatisticsByUuidAsync(const Model::GetStatisticsByUuidRequest& request, const GetStatisticsByUuidAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStatisticsByUuidOutcomeCallable getStatisticsByUuidCallable(const Model::GetStatisticsByUuidRequest& request) const;
GetStatisticsOutcome getStatistics(const Model::GetStatisticsRequest &request)const;
void getStatisticsAsync(const Model::GetStatisticsRequest& request, const GetStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetStatisticsOutcomeCallable getStatisticsCallable(const Model::GetStatisticsRequest& request) const;
DescribeVulDetailsOutcome describeVulDetails(const Model::DescribeVulDetailsRequest &request)const;
void describeVulDetailsAsync(const Model::DescribeVulDetailsRequest& request, const DescribeVulDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVulDetailsOutcomeCallable describeVulDetailsCallable(const Model::DescribeVulDetailsRequest& request) const;
DeleteStrategyOutcome deleteStrategy(const Model::DeleteStrategyRequest &request)const;
void deleteStrategyAsync(const Model::DeleteStrategyRequest& request, const DeleteStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteStrategyOutcomeCallable deleteStrategyCallable(const Model::DeleteStrategyRequest& request) const;
GetCrackStatisticsOutcome getCrackStatistics(const Model::GetCrackStatisticsRequest &request)const;
void getCrackStatisticsAsync(const Model::GetCrackStatisticsRequest& request, const GetCrackStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCrackStatisticsOutcomeCallable getCrackStatisticsCallable(const Model::GetCrackStatisticsRequest& request) const;
DescribeWarningOutcome describeWarning(const Model::DescribeWarningRequest &request)const;
void describeWarningAsync(const Model::DescribeWarningRequest& request, const DescribeWarningAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeWarningOutcomeCallable describeWarningCallable(const Model::DescribeWarningRequest& request) const;
ReleaseInstanceOutcome releaseInstance(const Model::ReleaseInstanceRequest &request)const;
void releaseInstanceAsync(const Model::ReleaseInstanceRequest& request, const ReleaseInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ReleaseInstanceOutcomeCallable releaseInstanceCallable(const Model::ReleaseInstanceRequest& request) const;
DescribeSuspiciousEventsOutcome describeSuspiciousEvents(const Model::DescribeSuspiciousEventsRequest &request)const;
void describeSuspiciousEventsAsync(const Model::DescribeSuspiciousEventsRequest& request, const DescribeSuspiciousEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSuspiciousEventsOutcomeCallable describeSuspiciousEventsCallable(const Model::DescribeSuspiciousEventsRequest& request) const;
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
DescribeVulListOutcome describeVulList(const Model::DescribeVulListRequest &request)const;
void describeVulListAsync(const Model::DescribeVulListRequest& request, const DescribeVulListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeVulListOutcomeCallable describeVulListCallable(const Model::DescribeVulListRequest& request) const;
UpgradeInstanceOutcome upgradeInstance(const Model::UpgradeInstanceRequest &request)const;
void upgradeInstanceAsync(const Model::UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpgradeInstanceOutcomeCallable upgradeInstanceCallable(const Model::UpgradeInstanceRequest& request) const;
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
DescribeStrategyTargetOutcome describeStrategyTarget(const Model::DescribeStrategyTargetRequest &request)const;
void describeStrategyTargetAsync(const Model::DescribeStrategyTargetRequest& request, const DescribeStrategyTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeStrategyTargetOutcomeCallable describeStrategyTargetCallable(const Model::DescribeStrategyTargetRequest& request) const;
QueryLoginEventOutcome queryLoginEvent(const Model::QueryLoginEventRequest &request)const;
void queryLoginEventAsync(const Model::QueryLoginEventRequest& request, const QueryLoginEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryLoginEventOutcomeCallable queryLoginEventCallable(const Model::QueryLoginEventRequest& request) const;
GetAccountStatisticsOutcome getAccountStatistics(const Model::GetAccountStatisticsRequest &request)const;
void getAccountStatisticsAsync(const Model::GetAccountStatisticsRequest& request, const GetAccountStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountStatisticsOutcomeCallable getAccountStatisticsCallable(const Model::GetAccountStatisticsRequest& request) const;
ModifyStrategyOutcome modifyStrategy(const Model::ModifyStrategyRequest &request)const;
void modifyStrategyAsync(const Model::ModifyStrategyRequest& request, const ModifyStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyStrategyOutcomeCallable modifyStrategyCallable(const Model::ModifyStrategyRequest& request) const;
ModifyStrategyTargetOutcome modifyStrategyTarget(const Model::ModifyStrategyTargetRequest &request)const;
void modifyStrategyTargetAsync(const Model::ModifyStrategyTargetRequest& request, const ModifyStrategyTargetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyStrategyTargetOutcomeCallable modifyStrategyTargetCallable(const Model::ModifyStrategyTargetRequest& request) const;
ModifyBatchIgnoreVulOutcome modifyBatchIgnoreVul(const Model::ModifyBatchIgnoreVulRequest &request)const;
void modifyBatchIgnoreVulAsync(const Model::ModifyBatchIgnoreVulRequest& request, const ModifyBatchIgnoreVulAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBatchIgnoreVulOutcomeCallable modifyBatchIgnoreVulCallable(const Model::ModifyBatchIgnoreVulRequest& request) const;
DescribeWebshellOutcome describeWebshell(const Model::DescribeWebshellRequest &request)const;
void describeWebshellAsync(const Model::DescribeWebshellRequest& request, const DescribeWebshellAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeWebshellOutcomeCallable describeWebshellCallable(const Model::DescribeWebshellRequest& request) const;
DescribeStratetyDetailOutcome describeStratetyDetail(const Model::DescribeStratetyDetailRequest &request)const;
void describeStratetyDetailAsync(const Model::DescribeStratetyDetailRequest& request, const DescribeStratetyDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeStratetyDetailOutcomeCallable describeStratetyDetailCallable(const Model::DescribeStratetyDetailRequest& request) const;
DescribeStratetyOutcome describeStratety(const Model::DescribeStratetyRequest &request)const;
void describeStratetyAsync(const Model::DescribeStratetyRequest& request, const DescribeStratetyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeStratetyOutcomeCallable describeStratetyCallable(const Model::DescribeStratetyRequest& request) const;
DescribeLoginLogsOutcome describeLoginLogs(const Model::DescribeLoginLogsRequest &request)const;
void describeLoginLogsAsync(const Model::DescribeLoginLogsRequest& request, const DescribeLoginLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLoginLogsOutcomeCallable describeLoginLogsCallable(const Model::DescribeLoginLogsRequest& request) const;
QueryCrackEventOutcome queryCrackEvent(const Model::QueryCrackEventRequest &request)const;
void queryCrackEventAsync(const Model::QueryCrackEventRequest& request, const QueryCrackEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCrackEventOutcomeCallable queryCrackEventCallable(const Model::QueryCrackEventRequest& request) const;
private:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_AEGIS_AEGISCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_AEGISEXPORT_H_
#define ALIBABACLOUD_AEGIS_AEGISEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_AEGIS_LIBRARY)
# define ALIBABACLOUD_AEGIS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_AEGIS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_AEGIS_EXPORT
#endif
#endif // !ALIBABACLOUD_AEGIS_AEGISEXPORT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_CREATEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT CreateInstanceRequest : public RpcServiceRequest
{
public:
CreateInstanceRequest();
~CreateInstanceRequest();
int getDuration()const;
void setDuration(int duration);
bool getIsAutoRenew()const;
void setIsAutoRenew(bool isAutoRenew);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getVmNumber()const;
void setVmNumber(int vmNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getVersionCode()const;
void setVersionCode(int versionCode);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
int getAutoRenewDuration()const;
void setAutoRenewDuration(int autoRenewDuration);
private:
int duration_;
bool isAutoRenew_;
std::string clientToken_;
int vmNumber_;
long ownerId_;
int versionCode_;
std::string pricingCycle_;
int autoRenewDuration_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_CREATEINSTANCEREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETESTRATEGYREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DELETESTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DeleteStrategyRequest : public RpcServiceRequest
{
public:
DeleteStrategyRequest();
~DeleteStrategyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getId()const;
void setId(const std::string& id);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESTRATEGYREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DELETESTRATEGYRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_DELETESTRATEGYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DeleteStrategyResult : public ServiceResult
{
public:
DeleteStrategyResult();
explicit DeleteStrategyResult(const std::string &payload);
~DeleteStrategyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DELETESTRATEGYRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINLOGSREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINLOGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeLoginLogsRequest : public RpcServiceRequest
{
public:
DescribeLoginLogsRequest();
~DescribeLoginLogsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
private:
long resourceOwnerId_;
std::string sourceIp_;
int pageSize_;
int currentPage_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBELOGINLOGSREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYTARGETREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYTARGETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeStrategyTargetRequest : public RpcServiceRequest
{
public:
DescribeStrategyTargetRequest();
~DescribeStrategyTargetRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getType()const;
void setType(const std::string& type);
std::string getConfig()const;
void setConfig(const std::string& config);
std::string getTarget()const;
void setTarget(const std::string& target);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string type_;
std::string config_;
std::string target_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATEGYTARGETREQUEST_H_

View File

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

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYDETAILREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYDETAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeStratetyDetailRequest : public RpcServiceRequest
{
public:
DescribeStratetyDetailRequest();
~DescribeStratetyDetailRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getId()const;
void setId(const std::string& id);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYDETAILREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYDETAILRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYDETAILRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeStratetyDetailResult : public ServiceResult
{
public:
struct Strategy
{
struct RiskTypeWhiteListQueryResult
{
struct SubTyp
{
std::string typeName;
std::string alias;
bool on;
};
std::string typeName;
std::vector<RiskTypeWhiteListQueryResult::SubTyp> subTypes;
std::string alias;
bool on;
};
int cycleStartTime;
int type;
int cycleDays;
int id;
std::vector<RiskTypeWhiteListQueryResult> riskTypeWhiteListQueryResultList;
std::string name;
};
DescribeStratetyDetailResult();
explicit DescribeStratetyDetailResult(const std::string &payload);
~DescribeStratetyDetailResult();
std::vector<Strategy> getStrategy()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Strategy> strategy_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYDETAILRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeStratetyRequest : public RpcServiceRequest
{
public:
DescribeStratetyRequest();
~DescribeStratetyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
long resourceOwnerId_;
std::string sourceIp_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYREQUEST_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeStratetyResult : public ServiceResult
{
public:
struct Data
{
struct ConfigTarget
{
std::string target;
std::string targetType;
std::string flag;
};
int cycleStartTime;
int ecsCount;
int type;
int cycleDays;
int id;
std::vector<Data::ConfigTarget> configTargets;
int riskCount;
std::string name;
};
DescribeStratetyResult();
explicit DescribeStratetyResult(const std::string &payload);
~DescribeStratetyResult();
std::vector<Data> getStrategies()const;
int getCount()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Data> strategies_;
int count_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESTRATETYRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEVENTSREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeSuspiciousEventsRequest : public RpcServiceRequest
{
public:
DescribeSuspiciousEventsRequest();
~DescribeSuspiciousEventsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
private:
long resourceOwnerId_;
std::string sourceIp_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBESUSPICIOUSEVENTSREQUEST_H_

View File

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

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULDETAILSREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeVulDetailsRequest : public RpcServiceRequest
{
public:
DescribeVulDetailsRequest();
~DescribeVulDetailsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getStatusList()const;
void setStatusList(const std::string& statusList);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getResource()const;
void setResource(const std::string& resource);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getDealed()const;
void setDealed(const std::string& dealed);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getType()const;
void setType(const std::string& type);
long getLastTsEnd()const;
void setLastTsEnd(long lastTsEnd);
std::string getBatchName()const;
void setBatchName(const std::string& batchName);
long getPatchId()const;
void setPatchId(long patchId);
std::string getAliasName()const;
void setAliasName(const std::string& aliasName);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
long getLastTsStart()const;
void setLastTsStart(long lastTsStart);
std::string getNecessity()const;
void setNecessity(const std::string& necessity);
std::string getUuids()const;
void setUuids(const std::string& uuids);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
long resourceOwnerId_;
std::string product_;
std::string statusList_;
std::string level_;
std::string resource_;
std::string orderBy_;
std::string dealed_;
int currentPage_;
std::string type_;
long lastTsEnd_;
std::string batchName_;
long patchId_;
std::string aliasName_;
std::string sourceIp_;
std::string name_;
int pageSize_;
std::string lang_;
long lastTsStart_;
std::string necessity_;
std::string uuids_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULDETAILSREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULDETAILSRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULDETAILSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeVulDetailsResult : public ServiceResult
{
public:
DescribeVulDetailsResult();
explicit DescribeVulDetailsResult(const std::string &payload);
~DescribeVulDetailsResult();
int getPendingCount()const;
std::string getDescription()const;
std::vector<std::string> getCveLists()const;
std::string getCveIds()const;
long getVulPublishTs()const;
std::string getProduct()const;
bool getHasPatch()const;
std::string getName()const;
std::string getType()const;
std::string getCvss()const;
long getPatchPublishTs()const;
int getHandledCount()const;
std::string getAliasName()const;
std::string getLevel()const;
std::string getAdvice()const;
std::string getPatchSource()const;
protected:
void parse(const std::string &payload);
private:
int pendingCount_;
std::string description_;
std::vector<std::string> cveLists_;
std::string cveIds_;
long vulPublishTs_;
std::string product_;
bool hasPatch_;
std::string name_;
std::string type_;
std::string cvss_;
long patchPublishTs_;
int handledCount_;
std::string aliasName_;
std::string level_;
std::string advice_;
std::string patchSource_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULDETAILSRESULT_H_

View File

@@ -0,0 +1,108 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLISTREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeVulListRequest : public RpcServiceRequest
{
public:
DescribeVulListRequest();
~DescribeVulListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getProduct()const;
void setProduct(const std::string& product);
std::string getStatusList()const;
void setStatusList(const std::string& statusList);
std::string getLevel()const;
void setLevel(const std::string& level);
std::string getResource()const;
void setResource(const std::string& resource);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::string getDealed()const;
void setDealed(const std::string& dealed);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getType()const;
void setType(const std::string& type);
long getLastTsEnd()const;
void setLastTsEnd(long lastTsEnd);
std::string getBatchName()const;
void setBatchName(const std::string& batchName);
long getPatchId()const;
void setPatchId(long patchId);
std::string getAliasName()const;
void setAliasName(const std::string& aliasName);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getName()const;
void setName(const std::string& name);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
long getLastTsStart()const;
void setLastTsStart(long lastTsStart);
std::string getNecessity()const;
void setNecessity(const std::string& necessity);
std::string getUuids()const;
void setUuids(const std::string& uuids);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
long resourceOwnerId_;
std::string product_;
std::string statusList_;
std::string level_;
std::string resource_;
std::string orderBy_;
std::string dealed_;
int currentPage_;
std::string type_;
long lastTsEnd_;
std::string batchName_;
long patchId_;
std::string aliasName_;
std::string sourceIp_;
std::string name_;
int pageSize_;
std::string lang_;
long lastTsStart_;
std::string necessity_;
std::string uuids_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEVULLISTREQUEST_H_

View File

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

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeWarningRequest : public RpcServiceRequest
{
public:
DescribeWarningRequest();
~DescribeWarningRequest();
std::string getTypeNames()const;
void setTypeNames(const std::string& typeNames);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRiskName()const;
void setRiskName(const std::string& riskName);
std::string getStatusList()const;
void setStatusList(const std::string& statusList);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getRiskLevels()const;
void setRiskLevels(const std::string& riskLevels);
int getPageSize()const;
void setPageSize(int pageSize);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getDealed()const;
void setDealed(const std::string& dealed);
std::string getSubTypeNames()const;
void setSubTypeNames(const std::string& subTypeNames);
std::string getUuids()const;
void setUuids(const std::string& uuids);
private:
std::string typeNames_;
long resourceOwnerId_;
std::string riskName_;
std::string statusList_;
std::string sourceIp_;
std::string riskLevels_;
int pageSize_;
int currentPage_;
std::string dealed_;
std::string subTypeNames_;
std::string uuids_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWARNINGREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBSHELLREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBSHELLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT DescribeWebshellRequest : public RpcServiceRequest
{
public:
DescribeWebshellRequest();
~DescribeWebshellRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getGroupId()const;
void setGroupId(int groupId);
std::string getRemark()const;
void setRemark(const std::string& remark);
private:
long resourceOwnerId_;
std::string sourceIp_;
int groupId_;
std::string remark_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_DESCRIBEWEBSHELLREQUEST_H_

View File

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

View File

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

View File

@@ -0,0 +1,64 @@
/*
* 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_AEGIS_MODEL_GETACCOUNTSTATISTICSRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_GETACCOUNTSTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT GetAccountStatisticsResult : public ServiceResult
{
public:
struct Data
{
int crackSuccess;
int remoteLogin;
};
GetAccountStatisticsResult();
explicit GetAccountStatisticsResult(const std::string &payload);
~GetAccountStatisticsResult();
std::string getRequestId()const;
std::string getMessage()const;
std::vector<Data> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string message_;
std::vector<Data> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_GETACCOUNTSTATISTICSRESULT_H_

View File

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

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_GETENTITYLISTREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_GETENTITYLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT GetEntityListRequest : public RpcServiceRequest
{
public:
GetEntityListRequest();
~GetEntityListRequest();
long getGroupId()const;
void setGroupId(long groupId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getEventType()const;
void setEventType(const std::string& eventType);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getRegionNo()const;
void setRegionNo(const std::string& regionNo);
private:
long groupId_;
int pageSize_;
std::string remark_;
std::string eventType_;
int currentPage_;
std::string regionNo_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_GETENTITYLISTREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_GETENTITYLISTRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_GETENTITYLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT GetEntityListResult : public ServiceResult
{
public:
struct Data
{
struct PageInfo
{
int totalCount;
int pageSize;
int currentPage;
int count;
};
struct Entity
{
std::string instanceName;
std::string uuid;
std::string buyVersion;
std::string aegisVersion;
std::string os;
std::string instanceId;
std::string ip;
std::string region;
bool aegisOnline;
std::string flag;
long groupId;
};
std::vector<PageInfo> pageInfo;
std::vector<Entity> list;
};
GetEntityListResult();
explicit GetEntityListResult(const std::string &payload);
~GetEntityListResult();
std::string getRequestId()const;
std::string getMessage()const;
std::vector<Data> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string message_;
std::vector<Data> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_GETENTITYLISTRESULT_H_

View File

@@ -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_AEGIS_MODEL_GETSTATISTICSBYUUIDREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_GETSTATISTICSBYUUIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT GetStatisticsByUuidRequest : public RpcServiceRequest
{
public:
GetStatisticsByUuidRequest();
~GetStatisticsByUuidRequest();
std::string getUuid()const;
void setUuid(const std::string& uuid);
private:
std::string uuid_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_GETSTATISTICSBYUUIDREQUEST_H_

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYBATCHIGNOREVULREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_MODIFYBATCHIGNOREVULREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT ModifyBatchIgnoreVulRequest : public RpcServiceRequest
{
public:
ModifyBatchIgnoreVulRequest();
~ModifyBatchIgnoreVulRequest();
std::string getReason()const;
void setReason(const std::string& reason);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getInfo()const;
void setInfo(const std::string& info);
private:
std::string reason_;
long resourceOwnerId_;
std::string sourceIp_;
std::string info_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYBATCHIGNOREVULREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT ModifyStrategyRequest : public RpcServiceRequest
{
public:
ModifyStrategyRequest();
~ModifyStrategyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRiskSubTypeName()const;
void setRiskSubTypeName(const std::string& riskSubTypeName);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getCycleStartTime()const;
void setCycleStartTime(const std::string& cycleStartTime);
std::string getName()const;
void setName(const std::string& name);
std::string getCycleDays()const;
void setCycleDays(const std::string& cycleDays);
std::string getId()const;
void setId(const std::string& id);
private:
long resourceOwnerId_;
std::string riskSubTypeName_;
std::string sourceIp_;
std::string cycleStartTime_;
std::string name_;
std::string cycleDays_;
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYTARGETREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYTARGETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT ModifyStrategyTargetRequest : public RpcServiceRequest
{
public:
ModifyStrategyTargetRequest();
~ModifyStrategyTargetRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getType()const;
void setType(const std::string& type);
std::string getConfig()const;
void setConfig(const std::string& config);
std::string getTarget()const;
void setTarget(const std::string& target);
private:
long resourceOwnerId_;
std::string sourceIp_;
std::string type_;
std::string config_;
std::string target_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYTARGETREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYTARGETRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYTARGETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT ModifyStrategyTargetResult : public ServiceResult
{
public:
ModifyStrategyTargetResult();
explicit ModifyStrategyTargetResult(const std::string &payload);
~ModifyStrategyTargetResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_MODIFYSTRATEGYTARGETRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_QUERYCRACKEVENTREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_QUERYCRACKEVENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT QueryCrackEventRequest : public RpcServiceRequest
{
public:
QueryCrackEventRequest();
~QueryCrackEventRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getUuid()const;
void setUuid(const std::string& uuid);
int getStatus()const;
void setStatus(int status);
private:
std::string endTime_;
int currentPage_;
std::string startTime_;
std::string uuid_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_QUERYCRACKEVENTREQUEST_H_

View File

@@ -0,0 +1,91 @@
/*
* 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_AEGIS_MODEL_QUERYCRACKEVENTRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_QUERYCRACKEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT QueryCrackEventResult : public ServiceResult
{
public:
struct Data
{
struct PageInfo
{
int totalCount;
int pageSize;
int currentPage;
int count;
};
struct Entity
{
int status;
std::string buyVersion;
std::string userName;
std::string instanceId;
std::string ip;
int attackType;
std::string statusName;
int groupId;
std::string instanceName;
int inWhite;
std::string uuid;
std::string attackTypeName;
int crackTimes;
std::string region;
std::string crackSourceIp;
std::string attackTime;
std::string location;
};
std::vector<PageInfo> pageInfo;
std::vector<Entity> list;
};
QueryCrackEventResult();
explicit QueryCrackEventResult(const std::string &payload);
~QueryCrackEventResult();
std::string getRequestId()const;
std::string getMessage()const;
std::vector<Data> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string message_;
std::vector<Data> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_QUERYCRACKEVENTRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_QUERYLOGINEVENTREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_QUERYLOGINEVENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT QueryLoginEventRequest : public RpcServiceRequest
{
public:
QueryLoginEventRequest();
~QueryLoginEventRequest();
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getUuid()const;
void setUuid(const std::string& uuid);
int getStatus()const;
void setStatus(int status);
private:
std::string endTime_;
int currentPage_;
std::string startTime_;
std::string uuid_;
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_QUERYLOGINEVENTREQUEST_H_

View File

@@ -0,0 +1,89 @@
/*
* 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_AEGIS_MODEL_QUERYLOGINEVENTRESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_QUERYLOGINEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT QueryLoginEventResult : public ServiceResult
{
public:
struct Data
{
struct PageInfo
{
int totalCount;
int pageSize;
int currentPage;
int count;
};
struct Entity
{
int status;
std::string loginTime;
std::string buyVersion;
std::string loginSourceIp;
std::string userName;
std::string instanceId;
std::string ip;
std::string statusName;
int groupId;
std::string instanceName;
std::string loginTypeName;
std::string uuid;
std::string region;
int loginType;
std::string location;
};
std::vector<PageInfo> pageInfo;
std::vector<Entity> list;
};
QueryLoginEventResult();
explicit QueryLoginEventResult(const std::string &payload);
~QueryLoginEventResult();
std::string getRequestId()const;
std::string getMessage()const;
std::vector<Data> getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string message_;
std::vector<Data> data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_QUERYLOGINEVENTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_RELEASEINSTANCEREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_RELEASEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT ReleaseInstanceRequest : public RpcServiceRequest
{
public:
ReleaseInstanceRequest();
~ReleaseInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
std::string instanceId_;
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_RELEASEINSTANCEREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_RELEASEINSTANCERESULT_H_
#define ALIBABACLOUD_AEGIS_MODEL_RELEASEINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT ReleaseInstanceResult : public ServiceResult
{
public:
ReleaseInstanceResult();
explicit ReleaseInstanceResult(const std::string &payload);
~ReleaseInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_RELEASEINSTANCERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_RENEWINSTANCEREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_RENEWINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT RenewInstanceRequest : public RpcServiceRequest
{
public:
RenewInstanceRequest();
~RenewInstanceRequest();
int getDuration()const;
void setDuration(int duration);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getVmNumber()const;
void setVmNumber(const std::string& vmNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
private:
int duration_;
std::string instanceId_;
std::string clientToken_;
std::string vmNumber_;
long ownerId_;
std::string pricingCycle_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_RENEWINSTANCEREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_AEGIS_MODEL_UPGRADEINSTANCEREQUEST_H_
#define ALIBABACLOUD_AEGIS_MODEL_UPGRADEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/aegis/AegisExport.h>
namespace AlibabaCloud
{
namespace Aegis
{
namespace Model
{
class ALIBABACLOUD_AEGIS_EXPORT UpgradeInstanceRequest : public RpcServiceRequest
{
public:
UpgradeInstanceRequest();
~UpgradeInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
int getVmNumber()const;
void setVmNumber(int vmNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
int getVersionCode()const;
void setVersionCode(int versionCode);
private:
std::string instanceId_;
std::string clientToken_;
int vmNumber_;
long ownerId_;
int versionCode_;
};
}
}
}
#endif // !ALIBABACLOUD_AEGIS_MODEL_UPGRADEINSTANCEREQUEST_H_

View File

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