7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/athena/model/SessionState.h>
46 inline void SetWorkGroup(
const char* value) { m_workGroupHasBeenSet =
true; m_workGroup.assign(value); }
80 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
95 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
103 bool m_workGroupHasBeenSet =
false;
106 bool m_stateFilterHasBeenSet =
false;
109 bool m_maxResultsHasBeenSet =
false;
112 bool m_nextTokenHasBeenSet =
false;
bool NextTokenHasBeenSet() const
ListSessionsRequest & WithNextToken(const char *value)
void SetStateFilter(SessionState &&value)
const Aws::String & GetNextToken() const
bool WorkGroupHasBeenSet() const
ListSessionsRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetWorkGroup() const
ListSessionsRequest & WithWorkGroup(const char *value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(Aws::String &&value)
void SetStateFilter(const SessionState &value)
const SessionState & GetStateFilter() const
bool StateFilterHasBeenSet() const
void SetWorkGroup(const char *value)
void SetWorkGroup(Aws::String &&value)
void SetNextToken(const Aws::String &value)
ListSessionsRequest & WithWorkGroup(Aws::String &&value)
ListSessionsRequest & WithStateFilter(SessionState &&value)
void SetWorkGroup(const Aws::String &value)
AWS_ATHENA_API ListSessionsRequest()
AWS_ATHENA_API Aws::String SerializePayload() const override
bool MaxResultsHasBeenSet() const
void SetMaxResults(int value)
void SetNextToken(const char *value)
ListSessionsRequest & WithNextToken(Aws::String &&value)
int GetMaxResults() const
ListSessionsRequest & WithWorkGroup(const Aws::String &value)
ListSessionsRequest & WithMaxResults(int value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListSessionsRequest & WithStateFilter(const SessionState &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String