From 3ad3e4b0623443daa468bbfc013436bcf3915aef Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 29 Jul 2022 09:37:05 +0000 Subject: [PATCH] Change ListCheckInstanceResult Public. --- CHANGELOG | 3 + VERSION | 2 +- sas/CMakeLists.txt | 24 ++ sas/include/alibabacloud/sas/SasClient.h | 48 ++++ .../sas/model/AddInstallCodeRequest.h | 57 +++++ .../sas/model/AddInstallCodeResult.h | 49 ++++ .../DescribeCommonOverallConfigRequest.h | 48 ++++ .../model/DescribeCommonOverallConfigResult.h | 56 +++++ .../sas/model/DescribeFieldStatisticsResult.h | 1 + .../DescribeSuspiciousOverallConfigRequest.h | 48 ++++ .../DescribeSuspiciousOverallConfigResult.h | 56 +++++ .../sas/model/DescribeVendorListRequest.h | 42 ++++ .../sas/model/DescribeVendorListResult.h | 51 +++++ .../model/OperateCommonOverallConfigRequest.h | 51 +++++ .../model/OperateCommonOverallConfigResult.h | 49 ++++ .../OperateSuspiciousOverallConfigRequest.h | 57 +++++ .../OperateSuspiciousOverallConfigResult.h | 49 ++++ sas/src/SasClient.cc | 216 ++++++++++++++++++ sas/src/model/AddInstallCodeRequest.cc | 81 +++++++ sas/src/model/AddInstallCodeResult.cc | 44 ++++ .../DescribeCommonOverallConfigRequest.cc | 54 +++++ .../DescribeCommonOverallConfigResult.cc | 54 +++++ .../model/DescribeFieldStatisticsResult.cc | 2 + .../DescribeSuspiciousOverallConfigRequest.cc | 54 +++++ .../DescribeSuspiciousOverallConfigResult.cc | 54 +++++ sas/src/model/DescribeVendorListRequest.cc | 36 +++ sas/src/model/DescribeVendorListResult.cc | 52 +++++ .../OperateCommonOverallConfigRequest.cc | 63 +++++ .../model/OperateCommonOverallConfigResult.cc | 44 ++++ .../OperateSuspiciousOverallConfigRequest.cc | 81 +++++++ .../OperateSuspiciousOverallConfigResult.cc | 44 ++++ 31 files changed, 1569 insertions(+), 1 deletion(-) create mode 100644 sas/include/alibabacloud/sas/model/AddInstallCodeRequest.h create mode 100644 sas/include/alibabacloud/sas/model/AddInstallCodeResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVendorListRequest.h create mode 100644 sas/include/alibabacloud/sas/model/DescribeVendorListResult.h create mode 100644 sas/include/alibabacloud/sas/model/OperateCommonOverallConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/OperateCommonOverallConfigResult.h create mode 100644 sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigRequest.h create mode 100644 sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigResult.h create mode 100644 sas/src/model/AddInstallCodeRequest.cc create mode 100644 sas/src/model/AddInstallCodeResult.cc create mode 100644 sas/src/model/DescribeCommonOverallConfigRequest.cc create mode 100644 sas/src/model/DescribeCommonOverallConfigResult.cc create mode 100644 sas/src/model/DescribeSuspiciousOverallConfigRequest.cc create mode 100644 sas/src/model/DescribeSuspiciousOverallConfigResult.cc create mode 100644 sas/src/model/DescribeVendorListRequest.cc create mode 100644 sas/src/model/DescribeVendorListResult.cc create mode 100644 sas/src/model/OperateCommonOverallConfigRequest.cc create mode 100644 sas/src/model/OperateCommonOverallConfigResult.cc create mode 100644 sas/src/model/OperateSuspiciousOverallConfigRequest.cc create mode 100644 sas/src/model/OperateSuspiciousOverallConfigResult.cc diff --git a/CHANGELOG b/CHANGELOG index 909695f45..8ec097203 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-07-29 Version: 1.36.1213 +- Change ListCheckInstanceResult Public. + 2022-07-28 Version: 1.36.1212 - AMP version. diff --git a/VERSION b/VERSION index c1fbc3556..b8d94c811 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1212 \ No newline at end of file +1.36.1213 \ No newline at end of file diff --git a/sas/CMakeLists.txt b/sas/CMakeLists.txt index 46ab106c1..43bfb8815 100644 --- a/sas/CMakeLists.txt +++ b/sas/CMakeLists.txt @@ -21,6 +21,8 @@ set(sas_public_header include/alibabacloud/sas/SasExport.h ) set(sas_public_header_model + include/alibabacloud/sas/model/AddInstallCodeRequest.h + include/alibabacloud/sas/model/AddInstallCodeResult.h include/alibabacloud/sas/model/AddVpcHoneyPotRequest.h include/alibabacloud/sas/model/AddVpcHoneyPotResult.h include/alibabacloud/sas/model/CheckQuaraFileIdRequest.h @@ -109,6 +111,8 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeCloudCenterInstancesResult.h include/alibabacloud/sas/model/DescribeCloudProductFieldStatisticsRequest.h include/alibabacloud/sas/model/DescribeCloudProductFieldStatisticsResult.h + include/alibabacloud/sas/model/DescribeCommonOverallConfigRequest.h + include/alibabacloud/sas/model/DescribeCommonOverallConfigResult.h include/alibabacloud/sas/model/DescribeConcernNecessityRequest.h include/alibabacloud/sas/model/DescribeConcernNecessityResult.h include/alibabacloud/sas/model/DescribeContainerStatisticsRequest.h @@ -265,6 +269,8 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeSuspEventQuaraFilesResult.h include/alibabacloud/sas/model/DescribeSuspEventsRequest.h include/alibabacloud/sas/model/DescribeSuspEventsResult.h + include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigRequest.h + include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigResult.h include/alibabacloud/sas/model/DescribeSuspiciousUUIDConfigRequest.h include/alibabacloud/sas/model/DescribeSuspiciousUUIDConfigResult.h include/alibabacloud/sas/model/DescribeUserBackupMachinesRequest.h @@ -275,6 +281,8 @@ set(sas_public_header_model include/alibabacloud/sas/model/DescribeUserLayoutAuthorizationResult.h include/alibabacloud/sas/model/DescribeUuidsByVulNamesRequest.h include/alibabacloud/sas/model/DescribeUuidsByVulNamesResult.h + include/alibabacloud/sas/model/DescribeVendorListRequest.h + include/alibabacloud/sas/model/DescribeVendorListResult.h include/alibabacloud/sas/model/DescribeVersionConfigRequest.h include/alibabacloud/sas/model/DescribeVersionConfigResult.h include/alibabacloud/sas/model/DescribeVpcHoneyPotCriteriaRequest.h @@ -393,6 +401,10 @@ set(sas_public_header_model include/alibabacloud/sas/model/ModifyWebLockUpdateConfigResult.h include/alibabacloud/sas/model/OperateAgentClientInstallRequest.h include/alibabacloud/sas/model/OperateAgentClientInstallResult.h + include/alibabacloud/sas/model/OperateCommonOverallConfigRequest.h + include/alibabacloud/sas/model/OperateCommonOverallConfigResult.h + include/alibabacloud/sas/model/OperateSuspiciousOverallConfigRequest.h + include/alibabacloud/sas/model/OperateSuspiciousOverallConfigResult.h include/alibabacloud/sas/model/OperateSuspiciousTargetConfigRequest.h include/alibabacloud/sas/model/OperateSuspiciousTargetConfigResult.h include/alibabacloud/sas/model/OperateVulsRequest.h @@ -436,6 +448,8 @@ set(sas_public_header_model set(sas_src src/SasClient.cc + src/model/AddInstallCodeRequest.cc + src/model/AddInstallCodeResult.cc src/model/AddVpcHoneyPotRequest.cc src/model/AddVpcHoneyPotResult.cc src/model/CheckQuaraFileIdRequest.cc @@ -524,6 +538,8 @@ set(sas_src src/model/DescribeCloudCenterInstancesResult.cc src/model/DescribeCloudProductFieldStatisticsRequest.cc src/model/DescribeCloudProductFieldStatisticsResult.cc + src/model/DescribeCommonOverallConfigRequest.cc + src/model/DescribeCommonOverallConfigResult.cc src/model/DescribeConcernNecessityRequest.cc src/model/DescribeConcernNecessityResult.cc src/model/DescribeContainerStatisticsRequest.cc @@ -680,6 +696,8 @@ set(sas_src src/model/DescribeSuspEventQuaraFilesResult.cc src/model/DescribeSuspEventsRequest.cc src/model/DescribeSuspEventsResult.cc + src/model/DescribeSuspiciousOverallConfigRequest.cc + src/model/DescribeSuspiciousOverallConfigResult.cc src/model/DescribeSuspiciousUUIDConfigRequest.cc src/model/DescribeSuspiciousUUIDConfigResult.cc src/model/DescribeUserBackupMachinesRequest.cc @@ -690,6 +708,8 @@ set(sas_src src/model/DescribeUserLayoutAuthorizationResult.cc src/model/DescribeUuidsByVulNamesRequest.cc src/model/DescribeUuidsByVulNamesResult.cc + src/model/DescribeVendorListRequest.cc + src/model/DescribeVendorListResult.cc src/model/DescribeVersionConfigRequest.cc src/model/DescribeVersionConfigResult.cc src/model/DescribeVpcHoneyPotCriteriaRequest.cc @@ -808,6 +828,10 @@ set(sas_src src/model/ModifyWebLockUpdateConfigResult.cc src/model/OperateAgentClientInstallRequest.cc src/model/OperateAgentClientInstallResult.cc + src/model/OperateCommonOverallConfigRequest.cc + src/model/OperateCommonOverallConfigResult.cc + src/model/OperateSuspiciousOverallConfigRequest.cc + src/model/OperateSuspiciousOverallConfigResult.cc src/model/OperateSuspiciousTargetConfigRequest.cc src/model/OperateSuspiciousTargetConfigResult.cc src/model/OperateVulsRequest.cc diff --git a/sas/include/alibabacloud/sas/SasClient.h b/sas/include/alibabacloud/sas/SasClient.h index 219215566..31e58d4a0 100644 --- a/sas/include/alibabacloud/sas/SasClient.h +++ b/sas/include/alibabacloud/sas/SasClient.h @@ -22,6 +22,8 @@ #include #include #include "SasExport.h" +#include "model/AddInstallCodeRequest.h" +#include "model/AddInstallCodeResult.h" #include "model/AddVpcHoneyPotRequest.h" #include "model/AddVpcHoneyPotResult.h" #include "model/CheckQuaraFileIdRequest.h" @@ -110,6 +112,8 @@ #include "model/DescribeCloudCenterInstancesResult.h" #include "model/DescribeCloudProductFieldStatisticsRequest.h" #include "model/DescribeCloudProductFieldStatisticsResult.h" +#include "model/DescribeCommonOverallConfigRequest.h" +#include "model/DescribeCommonOverallConfigResult.h" #include "model/DescribeConcernNecessityRequest.h" #include "model/DescribeConcernNecessityResult.h" #include "model/DescribeContainerStatisticsRequest.h" @@ -266,6 +270,8 @@ #include "model/DescribeSuspEventQuaraFilesResult.h" #include "model/DescribeSuspEventsRequest.h" #include "model/DescribeSuspEventsResult.h" +#include "model/DescribeSuspiciousOverallConfigRequest.h" +#include "model/DescribeSuspiciousOverallConfigResult.h" #include "model/DescribeSuspiciousUUIDConfigRequest.h" #include "model/DescribeSuspiciousUUIDConfigResult.h" #include "model/DescribeUserBackupMachinesRequest.h" @@ -276,6 +282,8 @@ #include "model/DescribeUserLayoutAuthorizationResult.h" #include "model/DescribeUuidsByVulNamesRequest.h" #include "model/DescribeUuidsByVulNamesResult.h" +#include "model/DescribeVendorListRequest.h" +#include "model/DescribeVendorListResult.h" #include "model/DescribeVersionConfigRequest.h" #include "model/DescribeVersionConfigResult.h" #include "model/DescribeVpcHoneyPotCriteriaRequest.h" @@ -394,6 +402,10 @@ #include "model/ModifyWebLockUpdateConfigResult.h" #include "model/OperateAgentClientInstallRequest.h" #include "model/OperateAgentClientInstallResult.h" +#include "model/OperateCommonOverallConfigRequest.h" +#include "model/OperateCommonOverallConfigResult.h" +#include "model/OperateSuspiciousOverallConfigRequest.h" +#include "model/OperateSuspiciousOverallConfigResult.h" #include "model/OperateSuspiciousTargetConfigRequest.h" #include "model/OperateSuspiciousTargetConfigResult.h" #include "model/OperateVulsRequest.h" @@ -443,6 +455,9 @@ namespace AlibabaCloud class ALIBABACLOUD_SAS_EXPORT SasClient : public RpcServiceClient { public: + typedef Outcome AddInstallCodeOutcome; + typedef std::future AddInstallCodeOutcomeCallable; + typedef std::function&)> AddInstallCodeAsyncHandler; typedef Outcome AddVpcHoneyPotOutcome; typedef std::future AddVpcHoneyPotOutcomeCallable; typedef std::function&)> AddVpcHoneyPotAsyncHandler; @@ -575,6 +590,9 @@ namespace AlibabaCloud typedef Outcome DescribeCloudProductFieldStatisticsOutcome; typedef std::future DescribeCloudProductFieldStatisticsOutcomeCallable; typedef std::function&)> DescribeCloudProductFieldStatisticsAsyncHandler; + typedef Outcome DescribeCommonOverallConfigOutcome; + typedef std::future DescribeCommonOverallConfigOutcomeCallable; + typedef std::function&)> DescribeCommonOverallConfigAsyncHandler; typedef Outcome DescribeConcernNecessityOutcome; typedef std::future DescribeConcernNecessityOutcomeCallable; typedef std::function&)> DescribeConcernNecessityAsyncHandler; @@ -809,6 +827,9 @@ namespace AlibabaCloud typedef Outcome DescribeSuspEventsOutcome; typedef std::future DescribeSuspEventsOutcomeCallable; typedef std::function&)> DescribeSuspEventsAsyncHandler; + typedef Outcome DescribeSuspiciousOverallConfigOutcome; + typedef std::future DescribeSuspiciousOverallConfigOutcomeCallable; + typedef std::function&)> DescribeSuspiciousOverallConfigAsyncHandler; typedef Outcome DescribeSuspiciousUUIDConfigOutcome; typedef std::future DescribeSuspiciousUUIDConfigOutcomeCallable; typedef std::function&)> DescribeSuspiciousUUIDConfigAsyncHandler; @@ -824,6 +845,9 @@ namespace AlibabaCloud typedef Outcome DescribeUuidsByVulNamesOutcome; typedef std::future DescribeUuidsByVulNamesOutcomeCallable; typedef std::function&)> DescribeUuidsByVulNamesAsyncHandler; + typedef Outcome DescribeVendorListOutcome; + typedef std::future DescribeVendorListOutcomeCallable; + typedef std::function&)> DescribeVendorListAsyncHandler; typedef Outcome DescribeVersionConfigOutcome; typedef std::future DescribeVersionConfigOutcomeCallable; typedef std::function&)> DescribeVersionConfigAsyncHandler; @@ -1001,6 +1025,12 @@ namespace AlibabaCloud typedef Outcome OperateAgentClientInstallOutcome; typedef std::future OperateAgentClientInstallOutcomeCallable; typedef std::function&)> OperateAgentClientInstallAsyncHandler; + typedef Outcome OperateCommonOverallConfigOutcome; + typedef std::future OperateCommonOverallConfigOutcomeCallable; + typedef std::function&)> OperateCommonOverallConfigAsyncHandler; + typedef Outcome OperateSuspiciousOverallConfigOutcome; + typedef std::future OperateSuspiciousOverallConfigOutcomeCallable; + typedef std::function&)> OperateSuspiciousOverallConfigAsyncHandler; typedef Outcome OperateSuspiciousTargetConfigOutcome; typedef std::future OperateSuspiciousTargetConfigOutcomeCallable; typedef std::function&)> OperateSuspiciousTargetConfigAsyncHandler; @@ -1066,6 +1096,9 @@ namespace AlibabaCloud SasClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); SasClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); ~SasClient(); + AddInstallCodeOutcome addInstallCode(const Model::AddInstallCodeRequest &request)const; + void addInstallCodeAsync(const Model::AddInstallCodeRequest& request, const AddInstallCodeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddInstallCodeOutcomeCallable addInstallCodeCallable(const Model::AddInstallCodeRequest& request) const; AddVpcHoneyPotOutcome addVpcHoneyPot(const Model::AddVpcHoneyPotRequest &request)const; void addVpcHoneyPotAsync(const Model::AddVpcHoneyPotRequest& request, const AddVpcHoneyPotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddVpcHoneyPotOutcomeCallable addVpcHoneyPotCallable(const Model::AddVpcHoneyPotRequest& request) const; @@ -1198,6 +1231,9 @@ namespace AlibabaCloud DescribeCloudProductFieldStatisticsOutcome describeCloudProductFieldStatistics(const Model::DescribeCloudProductFieldStatisticsRequest &request)const; void describeCloudProductFieldStatisticsAsync(const Model::DescribeCloudProductFieldStatisticsRequest& request, const DescribeCloudProductFieldStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCloudProductFieldStatisticsOutcomeCallable describeCloudProductFieldStatisticsCallable(const Model::DescribeCloudProductFieldStatisticsRequest& request) const; + DescribeCommonOverallConfigOutcome describeCommonOverallConfig(const Model::DescribeCommonOverallConfigRequest &request)const; + void describeCommonOverallConfigAsync(const Model::DescribeCommonOverallConfigRequest& request, const DescribeCommonOverallConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCommonOverallConfigOutcomeCallable describeCommonOverallConfigCallable(const Model::DescribeCommonOverallConfigRequest& request) const; DescribeConcernNecessityOutcome describeConcernNecessity(const Model::DescribeConcernNecessityRequest &request)const; void describeConcernNecessityAsync(const Model::DescribeConcernNecessityRequest& request, const DescribeConcernNecessityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeConcernNecessityOutcomeCallable describeConcernNecessityCallable(const Model::DescribeConcernNecessityRequest& request) const; @@ -1432,6 +1468,9 @@ namespace AlibabaCloud DescribeSuspEventsOutcome describeSuspEvents(const Model::DescribeSuspEventsRequest &request)const; void describeSuspEventsAsync(const Model::DescribeSuspEventsRequest& request, const DescribeSuspEventsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSuspEventsOutcomeCallable describeSuspEventsCallable(const Model::DescribeSuspEventsRequest& request) const; + DescribeSuspiciousOverallConfigOutcome describeSuspiciousOverallConfig(const Model::DescribeSuspiciousOverallConfigRequest &request)const; + void describeSuspiciousOverallConfigAsync(const Model::DescribeSuspiciousOverallConfigRequest& request, const DescribeSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSuspiciousOverallConfigOutcomeCallable describeSuspiciousOverallConfigCallable(const Model::DescribeSuspiciousOverallConfigRequest& request) const; DescribeSuspiciousUUIDConfigOutcome describeSuspiciousUUIDConfig(const Model::DescribeSuspiciousUUIDConfigRequest &request)const; void describeSuspiciousUUIDConfigAsync(const Model::DescribeSuspiciousUUIDConfigRequest& request, const DescribeSuspiciousUUIDConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSuspiciousUUIDConfigOutcomeCallable describeSuspiciousUUIDConfigCallable(const Model::DescribeSuspiciousUUIDConfigRequest& request) const; @@ -1447,6 +1486,9 @@ namespace AlibabaCloud DescribeUuidsByVulNamesOutcome describeUuidsByVulNames(const Model::DescribeUuidsByVulNamesRequest &request)const; void describeUuidsByVulNamesAsync(const Model::DescribeUuidsByVulNamesRequest& request, const DescribeUuidsByVulNamesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeUuidsByVulNamesOutcomeCallable describeUuidsByVulNamesCallable(const Model::DescribeUuidsByVulNamesRequest& request) const; + DescribeVendorListOutcome describeVendorList(const Model::DescribeVendorListRequest &request)const; + void describeVendorListAsync(const Model::DescribeVendorListRequest& request, const DescribeVendorListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVendorListOutcomeCallable describeVendorListCallable(const Model::DescribeVendorListRequest& request) const; DescribeVersionConfigOutcome describeVersionConfig(const Model::DescribeVersionConfigRequest &request)const; void describeVersionConfigAsync(const Model::DescribeVersionConfigRequest& request, const DescribeVersionConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeVersionConfigOutcomeCallable describeVersionConfigCallable(const Model::DescribeVersionConfigRequest& request) const; @@ -1624,6 +1666,12 @@ namespace AlibabaCloud OperateAgentClientInstallOutcome operateAgentClientInstall(const Model::OperateAgentClientInstallRequest &request)const; void operateAgentClientInstallAsync(const Model::OperateAgentClientInstallRequest& request, const OperateAgentClientInstallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OperateAgentClientInstallOutcomeCallable operateAgentClientInstallCallable(const Model::OperateAgentClientInstallRequest& request) const; + OperateCommonOverallConfigOutcome operateCommonOverallConfig(const Model::OperateCommonOverallConfigRequest &request)const; + void operateCommonOverallConfigAsync(const Model::OperateCommonOverallConfigRequest& request, const OperateCommonOverallConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateCommonOverallConfigOutcomeCallable operateCommonOverallConfigCallable(const Model::OperateCommonOverallConfigRequest& request) const; + OperateSuspiciousOverallConfigOutcome operateSuspiciousOverallConfig(const Model::OperateSuspiciousOverallConfigRequest &request)const; + void operateSuspiciousOverallConfigAsync(const Model::OperateSuspiciousOverallConfigRequest& request, const OperateSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OperateSuspiciousOverallConfigOutcomeCallable operateSuspiciousOverallConfigCallable(const Model::OperateSuspiciousOverallConfigRequest& request) const; OperateSuspiciousTargetConfigOutcome operateSuspiciousTargetConfig(const Model::OperateSuspiciousTargetConfigRequest &request)const; void operateSuspiciousTargetConfigAsync(const Model::OperateSuspiciousTargetConfigRequest& request, const OperateSuspiciousTargetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; OperateSuspiciousTargetConfigOutcomeCallable operateSuspiciousTargetConfigCallable(const Model::OperateSuspiciousTargetConfigRequest& request) const; diff --git a/sas/include/alibabacloud/sas/model/AddInstallCodeRequest.h b/sas/include/alibabacloud/sas/model/AddInstallCodeRequest.h new file mode 100644 index 000000000..3192da9d1 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/AddInstallCodeRequest.h @@ -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_SAS_MODEL_ADDINSTALLCODEREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_ADDINSTALLCODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sas { +namespace Model { +class ALIBABACLOUD_SAS_EXPORT AddInstallCodeRequest : public RpcServiceRequest { +public: + AddInstallCodeRequest(); + ~AddInstallCodeRequest(); + long getExpiredDate() const; + void setExpiredDate(long expiredDate); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getOs() const; + void setOs(const std::string &os); + long getGroupId() const; + void setGroupId(long groupId); + bool getOnlyImage() const; + void setOnlyImage(bool onlyImage); + std::string getVendorName() const; + void setVendorName(const std::string &vendorName); + +private: + long expiredDate_; + std::string sourceIp_; + std::string os_; + long groupId_; + bool onlyImage_; + std::string vendorName_; +}; +} // namespace Model +} // namespace Sas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAS_MODEL_ADDINSTALLCODEREQUEST_H_ diff --git a/sas/include/alibabacloud/sas/model/AddInstallCodeResult.h b/sas/include/alibabacloud/sas/model/AddInstallCodeResult.h new file mode 100644 index 000000000..7c8719997 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/AddInstallCodeResult.h @@ -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_SAS_MODEL_ADDINSTALLCODERESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_ADDINSTALLCODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT AddInstallCodeResult : public ServiceResult + { + public: + + + AddInstallCodeResult(); + explicit AddInstallCodeResult(const std::string &payload); + ~AddInstallCodeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_ADDINSTALLCODERESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigRequest.h b/sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigRequest.h new file mode 100644 index 000000000..8deb1b9ca --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBECOMMONOVERALLCONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBECOMMONOVERALLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sas { +namespace Model { +class ALIBABACLOUD_SAS_EXPORT DescribeCommonOverallConfigRequest : public RpcServiceRequest { +public: + DescribeCommonOverallConfigRequest(); + ~DescribeCommonOverallConfigRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getResourceDirectoryAccountId() const; + void setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId); + +private: + std::string type_; + std::string sourceIp_; + std::string resourceDirectoryAccountId_; +}; +} // namespace Model +} // namespace Sas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBECOMMONOVERALLCONFIGREQUEST_H_ diff --git a/sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigResult.h b/sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigResult.h new file mode 100644 index 000000000..b41d37ae8 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeCommonOverallConfigResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBECOMMONOVERALLCONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBECOMMONOVERALLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeCommonOverallConfigResult : public ServiceResult + { + public: + struct OverallConfig + { + std::string type; + std::string config; + }; + + + DescribeCommonOverallConfigResult(); + explicit DescribeCommonOverallConfigResult(const std::string &payload); + ~DescribeCommonOverallConfigResult(); + OverallConfig getOverallConfig()const; + + protected: + void parse(const std::string &payload); + private: + OverallConfig overallConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBECOMMONOVERALLCONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h b/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h index 2998bbf33..9b5ac51ef 100644 --- a/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h +++ b/sas/include/alibabacloud/sas/model/DescribeFieldStatisticsResult.h @@ -45,6 +45,7 @@ namespace AlibabaCloud int generalAssetCount; int idcInstanceCount; int testAssetCount; + int outMachineInstanceCount; int unprotectedInstanceCount; int instanceCount; int offlineInstanceCount; diff --git a/sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigRequest.h b/sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigRequest.h new file mode 100644 index 000000000..c99c4c8fa --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sas { +namespace Model { +class ALIBABACLOUD_SAS_EXPORT DescribeSuspiciousOverallConfigRequest : public RpcServiceRequest { +public: + DescribeSuspiciousOverallConfigRequest(); + ~DescribeSuspiciousOverallConfigRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getResourceDirectoryAccountId() const; + void setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId); + +private: + std::string type_; + std::string sourceIp_; + std::string resourceDirectoryAccountId_; +}; +} // namespace Model +} // namespace Sas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGREQUEST_H_ diff --git a/sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigResult.h b/sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigResult.h new file mode 100644 index 000000000..cb03f304e --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeSuspiciousOverallConfigResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeSuspiciousOverallConfigResult : public ServiceResult + { + public: + struct OverallConfig + { + std::string type; + std::string config; + }; + + + DescribeSuspiciousOverallConfigResult(); + explicit DescribeSuspiciousOverallConfigResult(const std::string &payload); + ~DescribeSuspiciousOverallConfigResult(); + OverallConfig getOverallConfig()const; + + protected: + void parse(const std::string &payload); + private: + OverallConfig overallConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBESUSPICIOUSOVERALLCONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/DescribeVendorListRequest.h b/sas/include/alibabacloud/sas/model/DescribeVendorListRequest.h new file mode 100644 index 000000000..1097302cf --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVendorListRequest.h @@ -0,0 +1,42 @@ +/* + * 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_SAS_MODEL_DESCRIBEVENDORLISTREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVENDORLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sas { +namespace Model { +class ALIBABACLOUD_SAS_EXPORT DescribeVendorListRequest : public RpcServiceRequest { +public: + DescribeVendorListRequest(); + ~DescribeVendorListRequest(); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + +private: + std::string sourceIp_; +}; +} // namespace Model +} // namespace Sas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVENDORLISTREQUEST_H_ diff --git a/sas/include/alibabacloud/sas/model/DescribeVendorListResult.h b/sas/include/alibabacloud/sas/model/DescribeVendorListResult.h new file mode 100644 index 000000000..cb6764427 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/DescribeVendorListResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_DESCRIBEVENDORLISTRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_DESCRIBEVENDORLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT DescribeVendorListResult : public ServiceResult + { + public: + + + DescribeVendorListResult(); + explicit DescribeVendorListResult(const std::string &payload); + ~DescribeVendorListResult(); + std::vector getVendorNameList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector vendorNameList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_DESCRIBEVENDORLISTRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/OperateCommonOverallConfigRequest.h b/sas/include/alibabacloud/sas/model/OperateCommonOverallConfigRequest.h new file mode 100644 index 000000000..1fea968d1 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/OperateCommonOverallConfigRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_SAS_MODEL_OPERATECOMMONOVERALLCONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_OPERATECOMMONOVERALLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sas { +namespace Model { +class ALIBABACLOUD_SAS_EXPORT OperateCommonOverallConfigRequest : public RpcServiceRequest { +public: + OperateCommonOverallConfigRequest(); + ~OperateCommonOverallConfigRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getResourceDirectoryAccountId() const; + void setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId); + std::string getConfig() const; + void setConfig(const std::string &config); + +private: + std::string type_; + std::string sourceIp_; + std::string resourceDirectoryAccountId_; + std::string config_; +}; +} // namespace Model +} // namespace Sas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAS_MODEL_OPERATECOMMONOVERALLCONFIGREQUEST_H_ diff --git a/sas/include/alibabacloud/sas/model/OperateCommonOverallConfigResult.h b/sas/include/alibabacloud/sas/model/OperateCommonOverallConfigResult.h new file mode 100644 index 000000000..56941b6be --- /dev/null +++ b/sas/include/alibabacloud/sas/model/OperateCommonOverallConfigResult.h @@ -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_SAS_MODEL_OPERATECOMMONOVERALLCONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_OPERATECOMMONOVERALLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT OperateCommonOverallConfigResult : public ServiceResult + { + public: + + + OperateCommonOverallConfigResult(); + explicit OperateCommonOverallConfigResult(const std::string &payload); + ~OperateCommonOverallConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_OPERATECOMMONOVERALLCONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigRequest.h b/sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigRequest.h new file mode 100644 index 000000000..ed8a09994 --- /dev/null +++ b/sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigRequest.h @@ -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_SAS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGREQUEST_H_ +#define ALIBABACLOUD_SAS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Sas { +namespace Model { +class ALIBABACLOUD_SAS_EXPORT OperateSuspiciousOverallConfigRequest : public RpcServiceRequest { +public: + OperateSuspiciousOverallConfigRequest(); + ~OperateSuspiciousOverallConfigRequest(); + std::string getType() const; + void setType(const std::string &type); + std::string getSourceIp() const; + void setSourceIp(const std::string &sourceIp); + std::string getLang() const; + void setLang(const std::string &lang); + std::string getResourceDirectoryAccountId() const; + void setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId); + bool getNoTargetAsOn() const; + void setNoTargetAsOn(bool noTargetAsOn); + std::string getConfig() const; + void setConfig(const std::string &config); + +private: + std::string type_; + std::string sourceIp_; + std::string lang_; + std::string resourceDirectoryAccountId_; + bool noTargetAsOn_; + std::string config_; +}; +} // namespace Model +} // namespace Sas +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_SAS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGREQUEST_H_ diff --git a/sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigResult.h b/sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigResult.h new file mode 100644 index 000000000..72c941e4b --- /dev/null +++ b/sas/include/alibabacloud/sas/model/OperateSuspiciousOverallConfigResult.h @@ -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_SAS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGRESULT_H_ +#define ALIBABACLOUD_SAS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Sas + { + namespace Model + { + class ALIBABACLOUD_SAS_EXPORT OperateSuspiciousOverallConfigResult : public ServiceResult + { + public: + + + OperateSuspiciousOverallConfigResult(); + explicit OperateSuspiciousOverallConfigResult(const std::string &payload); + ~OperateSuspiciousOverallConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_SAS_MODEL_OPERATESUSPICIOUSOVERALLCONFIGRESULT_H_ \ No newline at end of file diff --git a/sas/src/SasClient.cc b/sas/src/SasClient.cc index b83b3549a..b54e3a5bf 100644 --- a/sas/src/SasClient.cc +++ b/sas/src/SasClient.cc @@ -51,6 +51,42 @@ SasClient::SasClient(const std::string & accessKeyId, const std::string & access SasClient::~SasClient() {} +SasClient::AddInstallCodeOutcome SasClient::addInstallCode(const AddInstallCodeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddInstallCodeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddInstallCodeOutcome(AddInstallCodeResult(outcome.result())); + else + return AddInstallCodeOutcome(outcome.error()); +} + +void SasClient::addInstallCodeAsync(const AddInstallCodeRequest& request, const AddInstallCodeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addInstallCode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::AddInstallCodeOutcomeCallable SasClient::addInstallCodeCallable(const AddInstallCodeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addInstallCode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::AddVpcHoneyPotOutcome SasClient::addVpcHoneyPot(const AddVpcHoneyPotRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1635,6 +1671,42 @@ SasClient::DescribeCloudProductFieldStatisticsOutcomeCallable SasClient::describ return task->get_future(); } +SasClient::DescribeCommonOverallConfigOutcome SasClient::describeCommonOverallConfig(const DescribeCommonOverallConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCommonOverallConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCommonOverallConfigOutcome(DescribeCommonOverallConfigResult(outcome.result())); + else + return DescribeCommonOverallConfigOutcome(outcome.error()); +} + +void SasClient::describeCommonOverallConfigAsync(const DescribeCommonOverallConfigRequest& request, const DescribeCommonOverallConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCommonOverallConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeCommonOverallConfigOutcomeCallable SasClient::describeCommonOverallConfigCallable(const DescribeCommonOverallConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCommonOverallConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeConcernNecessityOutcome SasClient::describeConcernNecessity(const DescribeConcernNecessityRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4443,6 +4515,42 @@ SasClient::DescribeSuspEventsOutcomeCallable SasClient::describeSuspEventsCallab return task->get_future(); } +SasClient::DescribeSuspiciousOverallConfigOutcome SasClient::describeSuspiciousOverallConfig(const DescribeSuspiciousOverallConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSuspiciousOverallConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSuspiciousOverallConfigOutcome(DescribeSuspiciousOverallConfigResult(outcome.result())); + else + return DescribeSuspiciousOverallConfigOutcome(outcome.error()); +} + +void SasClient::describeSuspiciousOverallConfigAsync(const DescribeSuspiciousOverallConfigRequest& request, const DescribeSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSuspiciousOverallConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeSuspiciousOverallConfigOutcomeCallable SasClient::describeSuspiciousOverallConfigCallable(const DescribeSuspiciousOverallConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSuspiciousOverallConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeSuspiciousUUIDConfigOutcome SasClient::describeSuspiciousUUIDConfig(const DescribeSuspiciousUUIDConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4623,6 +4731,42 @@ SasClient::DescribeUuidsByVulNamesOutcomeCallable SasClient::describeUuidsByVulN return task->get_future(); } +SasClient::DescribeVendorListOutcome SasClient::describeVendorList(const DescribeVendorListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVendorListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVendorListOutcome(DescribeVendorListResult(outcome.result())); + else + return DescribeVendorListOutcome(outcome.error()); +} + +void SasClient::describeVendorListAsync(const DescribeVendorListRequest& request, const DescribeVendorListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVendorList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::DescribeVendorListOutcomeCallable SasClient::describeVendorListCallable(const DescribeVendorListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVendorList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::DescribeVersionConfigOutcome SasClient::describeVersionConfig(const DescribeVersionConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6747,6 +6891,78 @@ SasClient::OperateAgentClientInstallOutcomeCallable SasClient::operateAgentClien return task->get_future(); } +SasClient::OperateCommonOverallConfigOutcome SasClient::operateCommonOverallConfig(const OperateCommonOverallConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateCommonOverallConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateCommonOverallConfigOutcome(OperateCommonOverallConfigResult(outcome.result())); + else + return OperateCommonOverallConfigOutcome(outcome.error()); +} + +void SasClient::operateCommonOverallConfigAsync(const OperateCommonOverallConfigRequest& request, const OperateCommonOverallConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateCommonOverallConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::OperateCommonOverallConfigOutcomeCallable SasClient::operateCommonOverallConfigCallable(const OperateCommonOverallConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateCommonOverallConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +SasClient::OperateSuspiciousOverallConfigOutcome SasClient::operateSuspiciousOverallConfig(const OperateSuspiciousOverallConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OperateSuspiciousOverallConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OperateSuspiciousOverallConfigOutcome(OperateSuspiciousOverallConfigResult(outcome.result())); + else + return OperateSuspiciousOverallConfigOutcome(outcome.error()); +} + +void SasClient::operateSuspiciousOverallConfigAsync(const OperateSuspiciousOverallConfigRequest& request, const OperateSuspiciousOverallConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, operateSuspiciousOverallConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +SasClient::OperateSuspiciousOverallConfigOutcomeCallable SasClient::operateSuspiciousOverallConfigCallable(const OperateSuspiciousOverallConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->operateSuspiciousOverallConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + SasClient::OperateSuspiciousTargetConfigOutcome SasClient::operateSuspiciousTargetConfig(const OperateSuspiciousTargetConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/sas/src/model/AddInstallCodeRequest.cc b/sas/src/model/AddInstallCodeRequest.cc new file mode 100644 index 000000000..4b62aa06c --- /dev/null +++ b/sas/src/model/AddInstallCodeRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::AddInstallCodeRequest; + +AddInstallCodeRequest::AddInstallCodeRequest() + : RpcServiceRequest("sas", "2018-12-03", "AddInstallCode") { + setMethod(HttpRequest::Method::Post); +} + +AddInstallCodeRequest::~AddInstallCodeRequest() {} + +long AddInstallCodeRequest::getExpiredDate() const { + return expiredDate_; +} + +void AddInstallCodeRequest::setExpiredDate(long expiredDate) { + expiredDate_ = expiredDate; + setParameter(std::string("ExpiredDate"), std::to_string(expiredDate)); +} + +std::string AddInstallCodeRequest::getSourceIp() const { + return sourceIp_; +} + +void AddInstallCodeRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string AddInstallCodeRequest::getOs() const { + return os_; +} + +void AddInstallCodeRequest::setOs(const std::string &os) { + os_ = os; + setParameter(std::string("Os"), os); +} + +long AddInstallCodeRequest::getGroupId() const { + return groupId_; +} + +void AddInstallCodeRequest::setGroupId(long groupId) { + groupId_ = groupId; + setParameter(std::string("GroupId"), std::to_string(groupId)); +} + +bool AddInstallCodeRequest::getOnlyImage() const { + return onlyImage_; +} + +void AddInstallCodeRequest::setOnlyImage(bool onlyImage) { + onlyImage_ = onlyImage; + setParameter(std::string("OnlyImage"), onlyImage ? "true" : "false"); +} + +std::string AddInstallCodeRequest::getVendorName() const { + return vendorName_; +} + +void AddInstallCodeRequest::setVendorName(const std::string &vendorName) { + vendorName_ = vendorName; + setParameter(std::string("VendorName"), vendorName); +} + diff --git a/sas/src/model/AddInstallCodeResult.cc b/sas/src/model/AddInstallCodeResult.cc new file mode 100644 index 000000000..719e6d40b --- /dev/null +++ b/sas/src/model/AddInstallCodeResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +AddInstallCodeResult::AddInstallCodeResult() : + ServiceResult() +{} + +AddInstallCodeResult::AddInstallCodeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddInstallCodeResult::~AddInstallCodeResult() +{} + +void AddInstallCodeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/DescribeCommonOverallConfigRequest.cc b/sas/src/model/DescribeCommonOverallConfigRequest.cc new file mode 100644 index 000000000..cf453cb54 --- /dev/null +++ b/sas/src/model/DescribeCommonOverallConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeCommonOverallConfigRequest; + +DescribeCommonOverallConfigRequest::DescribeCommonOverallConfigRequest() + : RpcServiceRequest("sas", "2018-12-03", "DescribeCommonOverallConfig") { + setMethod(HttpRequest::Method::Post); +} + +DescribeCommonOverallConfigRequest::~DescribeCommonOverallConfigRequest() {} + +std::string DescribeCommonOverallConfigRequest::getType() const { + return type_; +} + +void DescribeCommonOverallConfigRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string DescribeCommonOverallConfigRequest::getSourceIp() const { + return sourceIp_; +} + +void DescribeCommonOverallConfigRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string DescribeCommonOverallConfigRequest::getResourceDirectoryAccountId() const { + return resourceDirectoryAccountId_; +} + +void DescribeCommonOverallConfigRequest::setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId) { + resourceDirectoryAccountId_ = resourceDirectoryAccountId; + setParameter(std::string("ResourceDirectoryAccountId"), resourceDirectoryAccountId); +} + diff --git a/sas/src/model/DescribeCommonOverallConfigResult.cc b/sas/src/model/DescribeCommonOverallConfigResult.cc new file mode 100644 index 000000000..0aba3232e --- /dev/null +++ b/sas/src/model/DescribeCommonOverallConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeCommonOverallConfigResult::DescribeCommonOverallConfigResult() : + ServiceResult() +{} + +DescribeCommonOverallConfigResult::DescribeCommonOverallConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCommonOverallConfigResult::~DescribeCommonOverallConfigResult() +{} + +void DescribeCommonOverallConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto overallConfigNode = value["OverallConfig"]; + if(!overallConfigNode["Type"].isNull()) + overallConfig_.type = overallConfigNode["Type"].asString(); + if(!overallConfigNode["Config"].isNull()) + overallConfig_.config = overallConfigNode["Config"].asString(); + +} + +DescribeCommonOverallConfigResult::OverallConfig DescribeCommonOverallConfigResult::getOverallConfig()const +{ + return overallConfig_; +} + diff --git a/sas/src/model/DescribeFieldStatisticsResult.cc b/sas/src/model/DescribeFieldStatisticsResult.cc index 62653f98e..e82417600 100644 --- a/sas/src/model/DescribeFieldStatisticsResult.cc +++ b/sas/src/model/DescribeFieldStatisticsResult.cc @@ -80,6 +80,8 @@ void DescribeFieldStatisticsResult::parse(const std::string &payload) groupedFields_.huaweiInstanceCount = std::stoi(groupedFieldsNode["HuaweiInstanceCount"].asString()); if(!groupedFieldsNode["AwsInstanceCount"].isNull()) groupedFields_.awsInstanceCount = std::stoi(groupedFieldsNode["AwsInstanceCount"].asString()); + if(!groupedFieldsNode["OutMachineInstanceCount"].isNull()) + groupedFields_.outMachineInstanceCount = std::stoi(groupedFieldsNode["OutMachineInstanceCount"].asString()); } diff --git a/sas/src/model/DescribeSuspiciousOverallConfigRequest.cc b/sas/src/model/DescribeSuspiciousOverallConfigRequest.cc new file mode 100644 index 000000000..b0245507e --- /dev/null +++ b/sas/src/model/DescribeSuspiciousOverallConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeSuspiciousOverallConfigRequest; + +DescribeSuspiciousOverallConfigRequest::DescribeSuspiciousOverallConfigRequest() + : RpcServiceRequest("sas", "2018-12-03", "DescribeSuspiciousOverallConfig") { + setMethod(HttpRequest::Method::Post); +} + +DescribeSuspiciousOverallConfigRequest::~DescribeSuspiciousOverallConfigRequest() {} + +std::string DescribeSuspiciousOverallConfigRequest::getType() const { + return type_; +} + +void DescribeSuspiciousOverallConfigRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string DescribeSuspiciousOverallConfigRequest::getSourceIp() const { + return sourceIp_; +} + +void DescribeSuspiciousOverallConfigRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string DescribeSuspiciousOverallConfigRequest::getResourceDirectoryAccountId() const { + return resourceDirectoryAccountId_; +} + +void DescribeSuspiciousOverallConfigRequest::setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId) { + resourceDirectoryAccountId_ = resourceDirectoryAccountId; + setParameter(std::string("ResourceDirectoryAccountId"), resourceDirectoryAccountId); +} + diff --git a/sas/src/model/DescribeSuspiciousOverallConfigResult.cc b/sas/src/model/DescribeSuspiciousOverallConfigResult.cc new file mode 100644 index 000000000..9ab3a974e --- /dev/null +++ b/sas/src/model/DescribeSuspiciousOverallConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeSuspiciousOverallConfigResult::DescribeSuspiciousOverallConfigResult() : + ServiceResult() +{} + +DescribeSuspiciousOverallConfigResult::DescribeSuspiciousOverallConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSuspiciousOverallConfigResult::~DescribeSuspiciousOverallConfigResult() +{} + +void DescribeSuspiciousOverallConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto overallConfigNode = value["OverallConfig"]; + if(!overallConfigNode["Type"].isNull()) + overallConfig_.type = overallConfigNode["Type"].asString(); + if(!overallConfigNode["Config"].isNull()) + overallConfig_.config = overallConfigNode["Config"].asString(); + +} + +DescribeSuspiciousOverallConfigResult::OverallConfig DescribeSuspiciousOverallConfigResult::getOverallConfig()const +{ + return overallConfig_; +} + diff --git a/sas/src/model/DescribeVendorListRequest.cc b/sas/src/model/DescribeVendorListRequest.cc new file mode 100644 index 000000000..c33123a2d --- /dev/null +++ b/sas/src/model/DescribeVendorListRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Sas::Model::DescribeVendorListRequest; + +DescribeVendorListRequest::DescribeVendorListRequest() + : RpcServiceRequest("sas", "2018-12-03", "DescribeVendorList") { + setMethod(HttpRequest::Method::Post); +} + +DescribeVendorListRequest::~DescribeVendorListRequest() {} + +std::string DescribeVendorListRequest::getSourceIp() const { + return sourceIp_; +} + +void DescribeVendorListRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + diff --git a/sas/src/model/DescribeVendorListResult.cc b/sas/src/model/DescribeVendorListResult.cc new file mode 100644 index 000000000..c91863bd9 --- /dev/null +++ b/sas/src/model/DescribeVendorListResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +DescribeVendorListResult::DescribeVendorListResult() : + ServiceResult() +{} + +DescribeVendorListResult::DescribeVendorListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVendorListResult::~DescribeVendorListResult() +{} + +void DescribeVendorListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allVendorNameList = value["VendorNameList"]["VendorName"]; + for (const auto &item : allVendorNameList) + vendorNameList_.push_back(item.asString()); + +} + +std::vector DescribeVendorListResult::getVendorNameList()const +{ + return vendorNameList_; +} + diff --git a/sas/src/model/OperateCommonOverallConfigRequest.cc b/sas/src/model/OperateCommonOverallConfigRequest.cc new file mode 100644 index 000000000..4a00fdcbf --- /dev/null +++ b/sas/src/model/OperateCommonOverallConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::OperateCommonOverallConfigRequest; + +OperateCommonOverallConfigRequest::OperateCommonOverallConfigRequest() + : RpcServiceRequest("sas", "2018-12-03", "OperateCommonOverallConfig") { + setMethod(HttpRequest::Method::Post); +} + +OperateCommonOverallConfigRequest::~OperateCommonOverallConfigRequest() {} + +std::string OperateCommonOverallConfigRequest::getType() const { + return type_; +} + +void OperateCommonOverallConfigRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string OperateCommonOverallConfigRequest::getSourceIp() const { + return sourceIp_; +} + +void OperateCommonOverallConfigRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string OperateCommonOverallConfigRequest::getResourceDirectoryAccountId() const { + return resourceDirectoryAccountId_; +} + +void OperateCommonOverallConfigRequest::setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId) { + resourceDirectoryAccountId_ = resourceDirectoryAccountId; + setParameter(std::string("ResourceDirectoryAccountId"), resourceDirectoryAccountId); +} + +std::string OperateCommonOverallConfigRequest::getConfig() const { + return config_; +} + +void OperateCommonOverallConfigRequest::setConfig(const std::string &config) { + config_ = config; + setParameter(std::string("Config"), config); +} + diff --git a/sas/src/model/OperateCommonOverallConfigResult.cc b/sas/src/model/OperateCommonOverallConfigResult.cc new file mode 100644 index 000000000..9994cd8d8 --- /dev/null +++ b/sas/src/model/OperateCommonOverallConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +OperateCommonOverallConfigResult::OperateCommonOverallConfigResult() : + ServiceResult() +{} + +OperateCommonOverallConfigResult::OperateCommonOverallConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateCommonOverallConfigResult::~OperateCommonOverallConfigResult() +{} + +void OperateCommonOverallConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/sas/src/model/OperateSuspiciousOverallConfigRequest.cc b/sas/src/model/OperateSuspiciousOverallConfigRequest.cc new file mode 100644 index 000000000..bf220a24b --- /dev/null +++ b/sas/src/model/OperateSuspiciousOverallConfigRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::Sas::Model::OperateSuspiciousOverallConfigRequest; + +OperateSuspiciousOverallConfigRequest::OperateSuspiciousOverallConfigRequest() + : RpcServiceRequest("sas", "2018-12-03", "OperateSuspiciousOverallConfig") { + setMethod(HttpRequest::Method::Post); +} + +OperateSuspiciousOverallConfigRequest::~OperateSuspiciousOverallConfigRequest() {} + +std::string OperateSuspiciousOverallConfigRequest::getType() const { + return type_; +} + +void OperateSuspiciousOverallConfigRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +std::string OperateSuspiciousOverallConfigRequest::getSourceIp() const { + return sourceIp_; +} + +void OperateSuspiciousOverallConfigRequest::setSourceIp(const std::string &sourceIp) { + sourceIp_ = sourceIp; + setParameter(std::string("SourceIp"), sourceIp); +} + +std::string OperateSuspiciousOverallConfigRequest::getLang() const { + return lang_; +} + +void OperateSuspiciousOverallConfigRequest::setLang(const std::string &lang) { + lang_ = lang; + setParameter(std::string("Lang"), lang); +} + +std::string OperateSuspiciousOverallConfigRequest::getResourceDirectoryAccountId() const { + return resourceDirectoryAccountId_; +} + +void OperateSuspiciousOverallConfigRequest::setResourceDirectoryAccountId(const std::string &resourceDirectoryAccountId) { + resourceDirectoryAccountId_ = resourceDirectoryAccountId; + setParameter(std::string("ResourceDirectoryAccountId"), resourceDirectoryAccountId); +} + +bool OperateSuspiciousOverallConfigRequest::getNoTargetAsOn() const { + return noTargetAsOn_; +} + +void OperateSuspiciousOverallConfigRequest::setNoTargetAsOn(bool noTargetAsOn) { + noTargetAsOn_ = noTargetAsOn; + setParameter(std::string("NoTargetAsOn"), noTargetAsOn ? "true" : "false"); +} + +std::string OperateSuspiciousOverallConfigRequest::getConfig() const { + return config_; +} + +void OperateSuspiciousOverallConfigRequest::setConfig(const std::string &config) { + config_ = config; + setParameter(std::string("Config"), config); +} + diff --git a/sas/src/model/OperateSuspiciousOverallConfigResult.cc b/sas/src/model/OperateSuspiciousOverallConfigResult.cc new file mode 100644 index 000000000..abf9666b7 --- /dev/null +++ b/sas/src/model/OperateSuspiciousOverallConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Sas; +using namespace AlibabaCloud::Sas::Model; + +OperateSuspiciousOverallConfigResult::OperateSuspiciousOverallConfigResult() : + ServiceResult() +{} + +OperateSuspiciousOverallConfigResult::OperateSuspiciousOverallConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OperateSuspiciousOverallConfigResult::~OperateSuspiciousOverallConfigResult() +{} + +void OperateSuspiciousOverallConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +