7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/emr-serverless/EMRServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/emr-serverless/model/JobRunMode.h>
13#include <aws/emr-serverless/model/JobRunState.h>
22namespace EMRServerless
51 template<
typename ApplicationIdT = Aws::String>
52 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
53 template<
typename ApplicationIdT = Aws::String>
63 template<
typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<
typename NextTokenT = Aws::String>
75 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
85 template<
typename CreatedAtAfterT = Aws::Utils::DateTime>
86 void SetCreatedAtAfter(CreatedAtAfterT&& value) { m_createdAtAfterHasBeenSet =
true; m_createdAtAfter = std::forward<CreatedAtAfterT>(value); }
87 template<
typename CreatedAtAfterT = Aws::Utils::DateTime>
97 template<
typename CreatedAtBeforeT = Aws::Utils::DateTime>
98 void SetCreatedAtBefore(CreatedAtBeforeT&& value) { m_createdAtBeforeHasBeenSet =
true; m_createdAtBefore = std::forward<CreatedAtBeforeT>(value); }
99 template<
typename CreatedAtBeforeT = Aws::Utils::DateTime>
110 template<
typename StatesT = Aws::Vector<JobRunState>>
111 void SetStates(StatesT&& value) { m_statesHasBeenSet =
true; m_states = std::forward<StatesT>(value); }
112 template<
typename StatesT = Aws::Vector<JobRunState>>
129 bool m_applicationIdHasBeenSet =
false;
132 bool m_nextTokenHasBeenSet =
false;
135 bool m_maxResultsHasBeenSet =
false;
138 bool m_createdAtAfterHasBeenSet =
false;
141 bool m_createdAtBeforeHasBeenSet =
false;
144 bool m_statesHasBeenSet =
false;
147 bool m_modeHasBeenSet =
false;
JobRunMode GetMode() const
AWS_EMRSERVERLESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetCreatedAtBefore(CreatedAtBeforeT &&value)
void SetStates(StatesT &&value)
void SetApplicationId(ApplicationIdT &&value)
const Aws::Utils::DateTime & GetCreatedAtBefore() const
bool CreatedAtBeforeHasBeenSet() const
void SetCreatedAtAfter(CreatedAtAfterT &&value)
int GetMaxResults() const
ListJobRunsRequest & WithStates(StatesT &&value)
ListJobRunsRequest & AddStates(JobRunState value)
AWS_EMRSERVERLESS_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetCreatedAtAfter() const
void SetMaxResults(int value)
const Aws::Vector< JobRunState > & GetStates() const
ListJobRunsRequest & WithMode(JobRunMode value)
ListJobRunsRequest & WithApplicationId(ApplicationIdT &&value)
bool ModeHasBeenSet() const
void SetNextToken(NextTokenT &&value)
bool MaxResultsHasBeenSet() const
bool CreatedAtAfterHasBeenSet() const
const Aws::String & GetApplicationId() const
ListJobRunsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
bool StatesHasBeenSet() const
AWS_EMRSERVERLESS_API ListJobRunsRequest()=default
bool NextTokenHasBeenSet() const
ListJobRunsRequest & WithCreatedAtBefore(CreatedAtBeforeT &&value)
ListJobRunsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
void SetMode(JobRunMode value)
bool ApplicationIdHasBeenSet() const
ListJobRunsRequest & WithCreatedAtAfter(CreatedAtAfterT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector