7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/CompletedStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
61 inline void SetProcessExitCode(
int value) { m_processExitCodeHasBeenSet =
true; m_processExitCode = value; }
73 inline void SetProgressMessage(
const char* value) { m_progressMessageHasBeenSet =
true; m_progressMessage.assign(value); }
121 inline void SetProgressPercent(
double value) { m_progressPercentHasBeenSet =
true; m_progressPercent = value; }
127 bool m_completedStatusHasBeenSet =
false;
129 int m_processExitCode;
130 bool m_processExitCodeHasBeenSet =
false;
133 bool m_progressMessageHasBeenSet =
false;
136 bool m_startedAtHasBeenSet =
false;
139 bool m_endedAtHasBeenSet =
false;
142 bool m_updatedAtHasBeenSet =
false;
144 double m_progressPercent;
145 bool m_progressPercentHasBeenSet =
false;
AWS_DEADLINE_API UpdatedSessionActionInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API UpdatedSessionActionInfo()
UpdatedSessionActionInfo & WithStartedAt(Aws::Utils::DateTime &&value)
void SetCompletedStatus(const CompletedStatus &value)
const Aws::Utils::DateTime & GetEndedAt() const
const CompletedStatus & GetCompletedStatus() const
bool CompletedStatusHasBeenSet() const
AWS_DEADLINE_API UpdatedSessionActionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetProgressMessage() const
void SetProgressMessage(Aws::String &&value)
UpdatedSessionActionInfo & WithCompletedStatus(const CompletedStatus &value)
bool StartedAtHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
UpdatedSessionActionInfo & WithStartedAt(const Aws::Utils::DateTime &value)
UpdatedSessionActionInfo & WithProgressPercent(double value)
void SetProgressMessage(const char *value)
UpdatedSessionActionInfo & WithProcessExitCode(int value)
void SetCompletedStatus(CompletedStatus &&value)
bool ProgressMessageHasBeenSet() const
UpdatedSessionActionInfo & WithProgressMessage(const Aws::String &value)
UpdatedSessionActionInfo & WithUpdatedAt(Aws::Utils::DateTime &&value)
int GetProcessExitCode() const
double GetProgressPercent() const
UpdatedSessionActionInfo & WithCompletedStatus(CompletedStatus &&value)
bool ProcessExitCodeHasBeenSet() const
void SetEndedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetEndedAt(Aws::Utils::DateTime &&value)
bool UpdatedAtHasBeenSet() const
void SetProcessExitCode(int value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdatedSessionActionInfo & WithEndedAt(const Aws::Utils::DateTime &value)
void SetProgressMessage(const Aws::String &value)
UpdatedSessionActionInfo & WithEndedAt(Aws::Utils::DateTime &&value)
bool EndedAtHasBeenSet() const
UpdatedSessionActionInfo & WithUpdatedAt(const Aws::Utils::DateTime &value)
bool ProgressPercentHasBeenSet() const
UpdatedSessionActionInfo & WithProgressMessage(Aws::String &&value)
void SetProgressPercent(double value)
UpdatedSessionActionInfo & WithProgressMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue