Change RefreshAssets Public.
This commit is contained in:
@@ -32,12 +32,18 @@ public:
|
|||||||
~RefreshAssetsRequest();
|
~RefreshAssetsRequest();
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
int getCloudAssetSubType() const;
|
||||||
|
void setCloudAssetSubType(int cloudAssetSubType);
|
||||||
std::string getAssetType() const;
|
std::string getAssetType() const;
|
||||||
void setAssetType(const std::string &assetType);
|
void setAssetType(const std::string &assetType);
|
||||||
|
int getCloudAssetType() const;
|
||||||
|
void setCloudAssetType(int cloudAssetType);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
int cloudAssetSubType_;
|
||||||
std::string assetType_;
|
std::string assetType_;
|
||||||
|
int cloudAssetType_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Sas
|
} // namespace Sas
|
||||||
|
|||||||
@@ -34,6 +34,15 @@ void RefreshAssetsRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), 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 {
|
std::string RefreshAssetsRequest::getAssetType() const {
|
||||||
return assetType_;
|
return assetType_;
|
||||||
}
|
}
|
||||||
@@ -43,3 +52,12 @@ void RefreshAssetsRequest::setAssetType(const std::string &assetType) {
|
|||||||
setParameter(std::string("AssetType"), 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));
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user