7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/emr-serverless/EMRServerlessRequest.h>
11#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
12#include <aws/emr-serverless/model/SessionState.h>
20namespace EMRServerless {
45 template <
typename ApplicationIdT = Aws::String>
47 m_applicationIdHasBeenSet =
true;
48 m_applicationId = std::forward<ApplicationIdT>(value);
50 template <
typename ApplicationIdT = Aws::String>
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
82 m_maxResultsHasBeenSet =
true;
98 template <
typename StatesT = Aws::Vector<SessionState>>
100 m_statesHasBeenSet =
true;
101 m_states = std::forward<StatesT>(value);
103 template <
typename StatesT = Aws::Vector<SessionState>>
109 m_statesHasBeenSet =
true;
110 m_states.push_back(value);
121 template <
typename CreatedAtAfterT = Aws::Utils::DateTime>
123 m_createdAtAfterHasBeenSet =
true;
124 m_createdAtAfter = std::forward<CreatedAtAfterT>(value);
126 template <
typename CreatedAtAfterT = Aws::Utils::DateTime>
139 template <
typename CreatedAtBeforeT = Aws::Utils::DateTime>
141 m_createdAtBeforeHasBeenSet =
true;
142 m_createdAtBefore = std::forward<CreatedAtBeforeT>(value);
144 template <
typename CreatedAtBeforeT = Aws::Utils::DateTime>
162 bool m_applicationIdHasBeenSet =
false;
163 bool m_nextTokenHasBeenSet =
false;
164 bool m_maxResultsHasBeenSet =
false;
165 bool m_statesHasBeenSet =
false;
166 bool m_createdAtAfterHasBeenSet =
false;
167 bool m_createdAtBeforeHasBeenSet =
false;
AWS_EMRSERVERLESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSessionsRequest & WithNextToken(NextTokenT &&value)
ListSessionsRequest & AddStates(SessionState value)
ListSessionsRequest & WithStates(StatesT &&value)
int GetMaxResults() const
void SetMaxResults(int value)
ListSessionsRequest & WithMaxResults(int value)
bool StatesHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAtBefore() const
const Aws::String & GetApplicationId() const
bool MaxResultsHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
void SetCreatedAtBefore(CreatedAtBeforeT &&value)
const Aws::Utils::DateTime & GetCreatedAtAfter() const
ListSessionsRequest & WithCreatedAtAfter(CreatedAtAfterT &&value)
void SetCreatedAtAfter(CreatedAtAfterT &&value)
ListSessionsRequest & WithCreatedAtBefore(CreatedAtBeforeT &&value)
bool CreatedAtBeforeHasBeenSet() const
AWS_EMRSERVERLESS_API Aws::String SerializePayload() const override
bool ApplicationIdHasBeenSet() const
const Aws::Vector< SessionState > & GetStates() const
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
void SetStates(StatesT &&value)
bool CreatedAtAfterHasBeenSet() const
const Aws::String & GetNextToken() const
ListSessionsRequest & WithApplicationId(ApplicationIdT &&value)
AWS_EMRSERVERLESS_API ListSessionsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector