Supported CommandLine for StartTerminalSession.

This commit is contained in:
sdk-team
2023-08-17 03:57:49 +00:00
parent c360e49648
commit 1524e72744
5 changed files with 37 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.1724
1.36.1725

View File

@@ -67,6 +67,8 @@ public:
void setRetentionDays(int retentionDays);
std::string getKMSKeyId() const;
void setKMSKeyId(const std::string &kMSKeyId);
std::string getDestinationStorageLocationArn() const;
void setDestinationStorageLocationArn(const std::string &destinationStorageLocationArn);
private:
long resourceOwnerId_;
@@ -83,6 +85,7 @@ private:
bool encrypted_;
int retentionDays_;
std::string kMSKeyId_;
std::string destinationStorageLocationArn_;
};
} // namespace Model
} // namespace Ecs

View File

@@ -32,8 +32,12 @@ public:
~StartTerminalSessionRequest();
long getResourceOwnerId() const;
void setResourceOwnerId(long resourceOwnerId);
std::string getCommandLine() const;
void setCommandLine(const std::string &commandLine);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getTargetServer() const;
void setTargetServer(const std::string &targetServer);
std::string getResourceOwnerAccount() const;
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
std::string getOwnerAccount() const;
@@ -47,7 +51,9 @@ public:
private:
long resourceOwnerId_;
std::string commandLine_;
std::string regionId_;
std::string targetServer_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;

View File

@@ -162,3 +162,12 @@ void CopySnapshotRequest::setKMSKeyId(const std::string &kMSKeyId) {
setParameter(std::string("KMSKeyId"), kMSKeyId);
}
std::string CopySnapshotRequest::getDestinationStorageLocationArn() const {
return destinationStorageLocationArn_;
}
void CopySnapshotRequest::setDestinationStorageLocationArn(const std::string &destinationStorageLocationArn) {
destinationStorageLocationArn_ = destinationStorageLocationArn;
setParameter(std::string("DestinationStorageLocationArn"), destinationStorageLocationArn);
}

View File

@@ -34,6 +34,15 @@ void StartTerminalSessionRequest::setResourceOwnerId(long resourceOwnerId) {
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
}
std::string StartTerminalSessionRequest::getCommandLine() const {
return commandLine_;
}
void StartTerminalSessionRequest::setCommandLine(const std::string &commandLine) {
commandLine_ = commandLine;
setParameter(std::string("CommandLine"), commandLine);
}
std::string StartTerminalSessionRequest::getRegionId() const {
return regionId_;
}
@@ -43,6 +52,15 @@ void StartTerminalSessionRequest::setRegionId(const std::string &regionId) {
setParameter(std::string("RegionId"), regionId);
}
std::string StartTerminalSessionRequest::getTargetServer() const {
return targetServer_;
}
void StartTerminalSessionRequest::setTargetServer(const std::string &targetServer) {
targetServer_ = targetServer;
setParameter(std::string("TargetServer"), targetServer);
}
std::string StartTerminalSessionRequest::getResourceOwnerAccount() const {
return resourceOwnerAccount_;
}