7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/athena/model/SessionState.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
122 inline void SetStateChangeReason(
const char* value) { m_stateChangeReasonHasBeenSet =
true; m_stateChangeReason.assign(value); }
130 bool m_startDateTimeHasBeenSet =
false;
133 bool m_lastModifiedDateTimeHasBeenSet =
false;
136 bool m_endDateTimeHasBeenSet =
false;
139 bool m_idleSinceDateTimeHasBeenSet =
false;
142 bool m_stateHasBeenSet =
false;
145 bool m_stateChangeReasonHasBeenSet =
false;
SessionStatus & WithState(const SessionState &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
bool StateChangeReasonHasBeenSet() const
SessionStatus & WithStateChangeReason(Aws::String &&value)
AWS_ATHENA_API SessionStatus()
void SetState(SessionState &&value)
SessionStatus & WithStateChangeReason(const Aws::String &value)
const SessionState & GetState() const
AWS_ATHENA_API SessionStatus(Aws::Utils::Json::JsonView jsonValue)
void SetStartDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartDateTime() const
void SetEndDateTime(Aws::Utils::DateTime &&value)
SessionStatus & WithEndDateTime(Aws::Utils::DateTime &&value)
bool StartDateTimeHasBeenSet() const
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetIdleSinceDateTime() const
const Aws::Utils::DateTime & GetLastModifiedDateTime() const
SessionStatus & WithLastModifiedDateTime(Aws::Utils::DateTime &&value)
SessionStatus & WithStateChangeReason(const char *value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
void SetStartDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetStateChangeReason() const
void SetIdleSinceDateTime(Aws::Utils::DateTime &&value)
AWS_ATHENA_API SessionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionStatus & WithIdleSinceDateTime(const Aws::Utils::DateTime &value)
void SetStateChangeReason(const Aws::String &value)
void SetStateChangeReason(const char *value)
bool LastModifiedDateTimeHasBeenSet() const
bool EndDateTimeHasBeenSet() const
void SetStateChangeReason(Aws::String &&value)
void SetState(const SessionState &value)
SessionStatus & WithStartDateTime(const Aws::Utils::DateTime &value)
void SetLastModifiedDateTime(const Aws::Utils::DateTime &value)
SessionStatus & WithLastModifiedDateTime(const Aws::Utils::DateTime &value)
SessionStatus & WithState(SessionState &&value)
void SetLastModifiedDateTime(Aws::Utils::DateTime &&value)
bool IdleSinceDateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndDateTime() const
SessionStatus & WithEndDateTime(const Aws::Utils::DateTime &value)
SessionStatus & WithIdleSinceDateTime(Aws::Utils::DateTime &&value)
SessionStatus & WithStartDateTime(Aws::Utils::DateTime &&value)
void SetIdleSinceDateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue