From 1ac934250e115bc69a747ed37b2282fcb89fb151 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 8 Sep 2022 03:13:35 +0000 Subject: [PATCH] Change RefreshAssets Public. --- VERSION | 2 +- .../sas/model/RefreshAssetsRequest.h | 6 ++++++ sas/src/model/RefreshAssetsRequest.cc | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index b208568f2..15c90f986 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1251 \ No newline at end of file +1.36.1252 \ No newline at end of file diff --git a/sas/include/alibabacloud/sas/model/RefreshAssetsRequest.h b/sas/include/alibabacloud/sas/model/RefreshAssetsRequest.h index 065851a4b..b239160c2 100644 --- a/sas/include/alibabacloud/sas/model/RefreshAssetsRequest.h +++ b/sas/include/alibabacloud/sas/model/RefreshAssetsRequest.h @@ -32,12 +32,18 @@ public: ~RefreshAssetsRequest(); std::string getSourceIp() const; void setSourceIp(const std::string &sourceIp); + int getCloudAssetSubType() const; + void setCloudAssetSubType(int cloudAssetSubType); std::string getAssetType() const; void setAssetType(const std::string &assetType); + int getCloudAssetType() const; + void setCloudAssetType(int cloudAssetType); private: std::string sourceIp_; + int cloudAssetSubType_; std::string assetType_; + int cloudAssetType_; }; } // namespace Model } // namespace Sas diff --git a/sas/src/model/RefreshAssetsRequest.cc b/sas/src/model/RefreshAssetsRequest.cc index bf57eb2e2..df22deaf5 100644 --- a/sas/src/model/RefreshAssetsRequest.cc +++ b/sas/src/model/RefreshAssetsRequest.cc @@ -34,6 +34,15 @@ void RefreshAssetsRequest::setSourceIp(const std::string &sourceIp) { setParameter(std::string("SourceIp"), sourceIp); } +int RefreshAssetsRequest::getCloudAssetSubType() const { + return cloudAssetSubType_; +} + +void RefreshAssetsRequest::setCloudAssetSubType(int cloudAssetSubType) { + cloudAssetSubType_ = cloudAssetSubType; + setParameter(std::string("CloudAssetSubType"), std::to_string(cloudAssetSubType)); +} + std::string RefreshAssetsRequest::getAssetType() const { return assetType_; } @@ -43,3 +52,12 @@ void RefreshAssetsRequest::setAssetType(const std::string &assetType) { setParameter(std::string("AssetType"), assetType); } +int RefreshAssetsRequest::getCloudAssetType() const { + return cloudAssetType_; +} + +void RefreshAssetsRequest::setCloudAssetType(int cloudAssetType) { + cloudAssetType_ = cloudAssetType; + setParameter(std::string("CloudAssetType"), std::to_string(cloudAssetType)); +} +