Supported CommandLine for StartTerminalSession.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ®ionId);
|
||||
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_;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 ®ionId) {
|
||||
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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user