7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/SessionState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename StartDateTimeT = Aws::Utils::DateTime>
45 m_startDateTimeHasBeenSet =
true;
46 m_startDateTime = std::forward<StartDateTimeT>(value);
48 template <
typename StartDateTimeT = Aws::Utils::DateTime>
61 template <
typename LastModifiedDateTimeT = Aws::Utils::DateTime>
63 m_lastModifiedDateTimeHasBeenSet =
true;
64 m_lastModifiedDateTime = std::forward<LastModifiedDateTimeT>(value);
66 template <
typename LastModifiedDateTimeT = Aws::Utils::DateTime>
79 template <
typename EndDateTimeT = Aws::Utils::DateTime>
81 m_endDateTimeHasBeenSet =
true;
82 m_endDateTime = std::forward<EndDateTimeT>(value);
84 template <
typename EndDateTimeT = Aws::Utils::DateTime>
98 template <
typename IdleSinceDateTimeT = Aws::Utils::DateTime>
100 m_idleSinceDateTimeHasBeenSet =
true;
101 m_idleSinceDateTime = std::forward<IdleSinceDateTimeT>(value);
103 template <
typename IdleSinceDateTimeT = Aws::Utils::DateTime>
126 m_stateHasBeenSet =
true;
142 template <
typename StateChangeReasonT = Aws::String>
144 m_stateChangeReasonHasBeenSet =
true;
145 m_stateChangeReason = std::forward<StateChangeReasonT>(value);
147 template <
typename StateChangeReasonT = Aws::String>
165 bool m_startDateTimeHasBeenSet =
false;
166 bool m_lastModifiedDateTimeHasBeenSet =
false;
167 bool m_endDateTimeHasBeenSet =
false;
168 bool m_idleSinceDateTimeHasBeenSet =
false;
169 bool m_stateHasBeenSet =
false;
170 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