Support ListExecutions with filter functionality.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2020-11-20 Version: patch
|
||||
- Support ListExecutions with filter functionality.
|
||||
|
||||
2020-11-20 Version: patch
|
||||
- Public beta version.
|
||||
- Add Api Overseas.
|
||||
|
||||
@@ -35,6 +35,10 @@ namespace AlibabaCloud
|
||||
ListExecutionsRequest();
|
||||
~ListExecutionsRequest();
|
||||
|
||||
std::string getStartedTimeBegin()const;
|
||||
void setStartedTimeBegin(const std::string& startedTimeBegin);
|
||||
std::string getExecutionNamePrefix()const;
|
||||
void setExecutionNamePrefix(const std::string& executionNamePrefix);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::string getRequestId()const;
|
||||
@@ -43,14 +47,19 @@ namespace AlibabaCloud
|
||||
void setLimit(int limit);
|
||||
std::string getFlowName()const;
|
||||
void setFlowName(const std::string& flowName);
|
||||
std::string getStartedTimeEnd()const;
|
||||
void setStartedTimeEnd(const std::string& startedTimeEnd);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string startedTimeBegin_;
|
||||
std::string executionNamePrefix_;
|
||||
std::string nextToken_;
|
||||
std::string requestId_;
|
||||
int limit_;
|
||||
std::string flowName_;
|
||||
std::string startedTimeEnd_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
|
||||
@@ -31,21 +31,21 @@ FnfClient::FnfClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "fnf");
|
||||
}
|
||||
|
||||
FnfClient::FnfClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "fnf");
|
||||
}
|
||||
|
||||
FnfClient::FnfClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "fnf");
|
||||
}
|
||||
|
||||
FnfClient::~FnfClient()
|
||||
|
||||
@@ -27,6 +27,28 @@ ListExecutionsRequest::ListExecutionsRequest() :
|
||||
ListExecutionsRequest::~ListExecutionsRequest()
|
||||
{}
|
||||
|
||||
std::string ListExecutionsRequest::getStartedTimeBegin()const
|
||||
{
|
||||
return startedTimeBegin_;
|
||||
}
|
||||
|
||||
void ListExecutionsRequest::setStartedTimeBegin(const std::string& startedTimeBegin)
|
||||
{
|
||||
startedTimeBegin_ = startedTimeBegin;
|
||||
setParameter("StartedTimeBegin", startedTimeBegin);
|
||||
}
|
||||
|
||||
std::string ListExecutionsRequest::getExecutionNamePrefix()const
|
||||
{
|
||||
return executionNamePrefix_;
|
||||
}
|
||||
|
||||
void ListExecutionsRequest::setExecutionNamePrefix(const std::string& executionNamePrefix)
|
||||
{
|
||||
executionNamePrefix_ = executionNamePrefix;
|
||||
setParameter("ExecutionNamePrefix", executionNamePrefix);
|
||||
}
|
||||
|
||||
std::string ListExecutionsRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
@@ -71,6 +93,17 @@ void ListExecutionsRequest::setFlowName(const std::string& flowName)
|
||||
setParameter("FlowName", flowName);
|
||||
}
|
||||
|
||||
std::string ListExecutionsRequest::getStartedTimeEnd()const
|
||||
{
|
||||
return startedTimeEnd_;
|
||||
}
|
||||
|
||||
void ListExecutionsRequest::setStartedTimeEnd(const std::string& startedTimeEnd)
|
||||
{
|
||||
startedTimeEnd_ = startedTimeEnd;
|
||||
setParameter("StartedTimeEnd", startedTimeEnd);
|
||||
}
|
||||
|
||||
std::string ListExecutionsRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
|
||||
Reference in New Issue
Block a user