|
@@ -34,15 +34,6 @@ void RunCommandRequest::setResourceOwnerId(long resourceOwnerId) {
|
|
|
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
|
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string RunCommandRequest::getContainerName() const {
|
|
|
|
|
- return containerName_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setContainerName(const std::string &containerName) {
|
|
|
|
|
- containerName_ = containerName;
|
|
|
|
|
- setParameter(std::string("ContainerName"), containerName);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
std::string RunCommandRequest::getWorkingDir() const {
|
|
std::string RunCommandRequest::getWorkingDir() const {
|
|
|
return workingDir_;
|
|
return workingDir_;
|
|
|
}
|
|
}
|
|
@@ -52,15 +43,6 @@ void RunCommandRequest::setWorkingDir(const std::string &workingDir) {
|
|
|
setParameter(std::string("WorkingDir"), workingDir);
|
|
setParameter(std::string("WorkingDir"), workingDir);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string RunCommandRequest::getDescription() const {
|
|
|
|
|
- return description_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setDescription(const std::string &description) {
|
|
|
|
|
- description_ = description;
|
|
|
|
|
- setParameter(std::string("Description"), description);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
std::string RunCommandRequest::getType() const {
|
|
std::string RunCommandRequest::getType() const {
|
|
|
return type_;
|
|
return type_;
|
|
|
}
|
|
}
|
|
@@ -70,24 +52,6 @@ void RunCommandRequest::setType(const std::string &type) {
|
|
|
setParameter(std::string("Type"), type);
|
|
setParameter(std::string("Type"), type);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string RunCommandRequest::getCommandContent() const {
|
|
|
|
|
- return commandContent_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setCommandContent(const std::string &commandContent) {
|
|
|
|
|
- commandContent_ = commandContent;
|
|
|
|
|
- setParameter(std::string("CommandContent"), commandContent);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-long RunCommandRequest::getTimeout() const {
|
|
|
|
|
- return timeout_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setTimeout(long timeout) {
|
|
|
|
|
- timeout_ = timeout;
|
|
|
|
|
- setParameter(std::string("Timeout"), std::to_string(timeout));
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
std::string RunCommandRequest::getFrequency() const {
|
|
std::string RunCommandRequest::getFrequency() const {
|
|
|
return frequency_;
|
|
return frequency_;
|
|
|
}
|
|
}
|
|
@@ -106,24 +70,6 @@ void RunCommandRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
|
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string RunCommandRequest::getRegionId() const {
|
|
|
|
|
- return regionId_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setRegionId(const std::string ®ionId) {
|
|
|
|
|
- regionId_ = regionId;
|
|
|
|
|
- setParameter(std::string("RegionId"), regionId);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-std::string RunCommandRequest::getContentEncoding() const {
|
|
|
|
|
- return contentEncoding_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setContentEncoding(const std::string &contentEncoding) {
|
|
|
|
|
- contentEncoding_ = contentEncoding;
|
|
|
|
|
- setParameter(std::string("ContentEncoding"), contentEncoding);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
std::string RunCommandRequest::getRepeatMode() const {
|
|
std::string RunCommandRequest::getRepeatMode() const {
|
|
|
return repeatMode_;
|
|
return repeatMode_;
|
|
|
}
|
|
}
|
|
@@ -133,15 +79,6 @@ void RunCommandRequest::setRepeatMode(const std::string &repeatMode) {
|
|
|
setParameter(std::string("RepeatMode"), repeatMode);
|
|
setParameter(std::string("RepeatMode"), repeatMode);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string RunCommandRequest::getWindowsPasswordName() const {
|
|
|
|
|
- return windowsPasswordName_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setWindowsPasswordName(const std::string &windowsPasswordName) {
|
|
|
|
|
- windowsPasswordName_ = windowsPasswordName;
|
|
|
|
|
- setParameter(std::string("WindowsPasswordName"), windowsPasswordName);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
std::vector<RunCommandRequest::Tag> RunCommandRequest::getTag() const {
|
|
std::vector<RunCommandRequest::Tag> RunCommandRequest::getTag() const {
|
|
|
return tag_;
|
|
return tag_;
|
|
|
}
|
|
}
|
|
@@ -174,24 +111,6 @@ void RunCommandRequest::setTimed(bool timed) {
|
|
|
setParameter(std::string("Timed"), timed ? "true" : "false");
|
|
setParameter(std::string("Timed"), timed ? "true" : "false");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string RunCommandRequest::getResourceOwnerAccount() const {
|
|
|
|
|
- return resourceOwnerAccount_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
|
|
|
|
- resourceOwnerAccount_ = resourceOwnerAccount;
|
|
|
|
|
- setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-std::string RunCommandRequest::getOwnerAccount() const {
|
|
|
|
|
- return ownerAccount_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void RunCommandRequest::setOwnerAccount(const std::string &ownerAccount) {
|
|
|
|
|
- ownerAccount_ = ownerAccount;
|
|
|
|
|
- setParameter(std::string("OwnerAccount"), ownerAccount);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
long RunCommandRequest::getOwnerId() const {
|
|
long RunCommandRequest::getOwnerId() const {
|
|
|
return ownerId_;
|
|
return ownerId_;
|
|
|
}
|
|
}
|
|
@@ -236,6 +155,96 @@ void RunCommandRequest::setParameters(std::map<std::string, std::string> paramet
|
|
|
setParameter(std::string("Parameters"), parameters);
|
|
setParameter(std::string("Parameters"), parameters);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+std::string RunCommandRequest::getContainerName() const {
|
|
|
|
|
+ return containerName_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setContainerName(const std::string &containerName) {
|
|
|
|
|
+ containerName_ = containerName;
|
|
|
|
|
+ setParameter(std::string("ContainerName"), containerName);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getClientToken() const {
|
|
|
|
|
+ return clientToken_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setClientToken(const std::string &clientToken) {
|
|
|
|
|
+ clientToken_ = clientToken;
|
|
|
|
|
+ setParameter(std::string("ClientToken"), clientToken);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getDescription() const {
|
|
|
|
|
+ return description_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setDescription(const std::string &description) {
|
|
|
|
|
+ description_ = description;
|
|
|
|
|
+ setParameter(std::string("Description"), description);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getCommandContent() const {
|
|
|
|
|
+ return commandContent_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setCommandContent(const std::string &commandContent) {
|
|
|
|
|
+ commandContent_ = commandContent;
|
|
|
|
|
+ setParameter(std::string("CommandContent"), commandContent);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+long RunCommandRequest::getTimeout() const {
|
|
|
|
|
+ return timeout_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setTimeout(long timeout) {
|
|
|
|
|
+ timeout_ = timeout;
|
|
|
|
|
+ setParameter(std::string("Timeout"), std::to_string(timeout));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getRegionId() const {
|
|
|
|
|
+ return regionId_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setRegionId(const std::string ®ionId) {
|
|
|
|
|
+ regionId_ = regionId;
|
|
|
|
|
+ setParameter(std::string("RegionId"), regionId);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getContentEncoding() const {
|
|
|
|
|
+ return contentEncoding_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setContentEncoding(const std::string &contentEncoding) {
|
|
|
|
|
+ contentEncoding_ = contentEncoding;
|
|
|
|
|
+ setParameter(std::string("ContentEncoding"), contentEncoding);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getWindowsPasswordName() const {
|
|
|
|
|
+ return windowsPasswordName_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setWindowsPasswordName(const std::string &windowsPasswordName) {
|
|
|
|
|
+ windowsPasswordName_ = windowsPasswordName;
|
|
|
|
|
+ setParameter(std::string("WindowsPasswordName"), windowsPasswordName);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getResourceOwnerAccount() const {
|
|
|
|
|
+ return resourceOwnerAccount_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
|
|
|
|
+ resourceOwnerAccount_ = resourceOwnerAccount;
|
|
|
|
|
+ setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string RunCommandRequest::getOwnerAccount() const {
|
|
|
|
|
+ return ownerAccount_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void RunCommandRequest::setOwnerAccount(const std::string &ownerAccount) {
|
|
|
|
|
+ ownerAccount_ = ownerAccount;
|
|
|
|
|
+ setParameter(std::string("OwnerAccount"), ownerAccount);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
bool RunCommandRequest::getEnableParameter() const {
|
|
bool RunCommandRequest::getEnableParameter() const {
|
|
|
return enableParameter_;
|
|
return enableParameter_;
|
|
|
}
|
|
}
|