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>
49 template<
typename StartDateTimeT = Aws::Utils::DateTime>
50 void SetStartDateTime(StartDateTimeT&& value) { m_startDateTimeHasBeenSet =
true; m_startDateTime = std::forward<StartDateTimeT>(value); }
51 template<
typename StartDateTimeT = Aws::Utils::DateTime>
61 template<
typename LastModifiedDateTimeT = Aws::Utils::DateTime>
62 void SetLastModifiedDateTime(LastModifiedDateTimeT&& value) { m_lastModifiedDateTimeHasBeenSet =
true; m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value); }
63 template<
typename LastModifiedDateTimeT = Aws::Utils::DateTime>
73 template<
typename EndDateTimeT = Aws::Utils::DateTime>
74 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet =
true; m_endDateTime = std::forward<EndDateTimeT>(value); }
75 template<
typename EndDateTimeT = Aws::Utils::DateTime>
86 template<
typename IdleSinceDateTimeT = Aws::Utils::DateTime>
87 void SetIdleSinceDateTime(IdleSinceDateTimeT&& value) { m_idleSinceDateTimeHasBeenSet =
true; m_idleSinceDateTime = std::forward<IdleSinceDateTimeT>(value); }
88 template<
typename IdleSinceDateTimeT = Aws::Utils::DateTime>
118 template<
typename StateChangeReasonT = Aws::String>
119 void SetStateChangeReason(StateChangeReasonT&& value) { m_stateChangeReasonHasBeenSet =
true; m_stateChangeReason = std::forward<StateChangeReasonT>(value); }
120 template<
typename StateChangeReasonT = Aws::String>
126 bool m_startDateTimeHasBeenSet =
false;
129 bool m_lastModifiedDateTimeHasBeenSet =
false;
132 bool m_endDateTimeHasBeenSet =
false;
135 bool m_idleSinceDateTimeHasBeenSet =
false;
138 bool m_stateHasBeenSet =
false;
141 bool m_stateChangeReasonHasBeenSet =
false;
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
SessionStatus & WithEndDateTime(EndDateTimeT &&value)
SessionStatus & WithState(SessionState value)
bool StateChangeReasonHasBeenSet() const
SessionStatus & WithLastModifiedDateTime(LastModifiedDateTimeT &&value)
AWS_ATHENA_API SessionStatus()=default
void SetStateChangeReason(StateChangeReasonT &&value)
SessionStatus & WithStateChangeReason(StateChangeReasonT &&value)
AWS_ATHENA_API SessionStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartDateTime() const
bool StartDateTimeHasBeenSet() const
void SetLastModifiedDateTime(LastModifiedDateTimeT &&value)
void SetState(SessionState value)
void SetStartDateTime(StartDateTimeT &&value)
void SetIdleSinceDateTime(IdleSinceDateTimeT &&value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetIdleSinceDateTime() const
const Aws::Utils::DateTime & GetLastModifiedDateTime() const
void SetEndDateTime(EndDateTimeT &&value)
SessionStatus & WithStartDateTime(StartDateTimeT &&value)
const Aws::String & GetStateChangeReason() const
SessionStatus & WithIdleSinceDateTime(IdleSinceDateTimeT &&value)
AWS_ATHENA_API SessionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionState GetState() const
bool LastModifiedDateTimeHasBeenSet() const
bool EndDateTimeHasBeenSet() const
bool IdleSinceDateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue