7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/deadline/model/SessionLifecycleStatus.h>
11#include <aws/deadline/model/SessionLifecycleTargetStatus.h>
51 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
65 inline void SetQueueId(
const char* value) { m_queueIdHasBeenSet =
true; m_queueId.assign(value); }
79 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
135 bool m_sessionIdHasBeenSet =
false;
138 bool m_queueIdHasBeenSet =
false;
141 bool m_jobIdHasBeenSet =
false;
144 bool m_startedAtHasBeenSet =
false;
147 bool m_lifecycleStatusHasBeenSet =
false;
150 bool m_endedAtHasBeenSet =
false;
153 bool m_targetLifecycleStatusHasBeenSet =
false;
void SetJobId(const Aws::String &value)
WorkerSessionSummary & WithEndedAt(const Aws::Utils::DateTime &value)
bool LifecycleStatusHasBeenSet() const
bool QueueIdHasBeenSet() const
WorkerSessionSummary & WithQueueId(Aws::String &&value)
void SetLifecycleStatus(const SessionLifecycleStatus &value)
WorkerSessionSummary & WithTargetLifecycleStatus(SessionLifecycleTargetStatus &&value)
WorkerSessionSummary & WithQueueId(const Aws::String &value)
void SetSessionId(const char *value)
const Aws::Utils::DateTime & GetEndedAt() const
void SetEndedAt(Aws::Utils::DateTime &&value)
const SessionLifecycleTargetStatus & GetTargetLifecycleStatus() const
const Aws::String & GetSessionId() const
WorkerSessionSummary & WithEndedAt(Aws::Utils::DateTime &&value)
void SetTargetLifecycleStatus(SessionLifecycleTargetStatus &&value)
WorkerSessionSummary & WithLifecycleStatus(SessionLifecycleStatus &&value)
const SessionLifecycleStatus & GetLifecycleStatus() const
bool JobIdHasBeenSet() const
void SetJobId(const char *value)
const Aws::String & GetJobId() const
WorkerSessionSummary & WithSessionId(const Aws::String &value)
WorkerSessionSummary & WithTargetLifecycleStatus(const SessionLifecycleTargetStatus &value)
WorkerSessionSummary & WithSessionId(const char *value)
WorkerSessionSummary & WithJobId(const char *value)
AWS_DEADLINE_API WorkerSessionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(const Aws::Utils::DateTime &value)
WorkerSessionSummary & WithStartedAt(Aws::Utils::DateTime &&value)
void SetSessionId(const Aws::String &value)
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetQueueId(const char *value)
WorkerSessionSummary & WithSessionId(Aws::String &&value)
AWS_DEADLINE_API WorkerSessionSummary()
void SetQueueId(const Aws::String &value)
bool SessionIdHasBeenSet() const
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetQueueId(Aws::String &&value)
bool StartedAtHasBeenSet() const
bool TargetLifecycleStatusHasBeenSet() const
WorkerSessionSummary & WithLifecycleStatus(const SessionLifecycleStatus &value)
WorkerSessionSummary & WithJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetTargetLifecycleStatus(const SessionLifecycleTargetStatus &value)
const Aws::String & GetQueueId() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerSessionSummary & WithQueueId(const char *value)
void SetJobId(Aws::String &&value)
bool EndedAtHasBeenSet() const
void SetSessionId(Aws::String &&value)
void SetLifecycleStatus(SessionLifecycleStatus &&value)
WorkerSessionSummary & WithJobId(const Aws::String &value)
WorkerSessionSummary & WithStartedAt(const Aws::Utils::DateTime &value)
AWS_DEADLINE_API WorkerSessionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionLifecycleTargetStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue