7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/SessionActionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/deadline/model/SessionActionDefinitionSummary.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/deadline/model/TaskRunManifestPropertiesResponse.h>
51 template<
typename SessionActionIdT = Aws::String>
52 void SetSessionActionId(SessionActionIdT&& value) { m_sessionActionIdHasBeenSet =
true; m_sessionActionId = std::forward<SessionActionIdT>(value); }
53 template<
typename SessionActionIdT = Aws::String>
73 template<
typename StartedAtT = Aws::Utils::DateTime>
74 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
75 template<
typename StartedAtT = Aws::Utils::DateTime>
85 template<
typename EndedAtT = Aws::Utils::DateTime>
86 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
87 template<
typename EndedAtT = Aws::Utils::DateTime>
98 template<
typename WorkerUpdatedAtT = Aws::Utils::DateTime>
99 void SetWorkerUpdatedAt(WorkerUpdatedAtT&& value) { m_workerUpdatedAtHasBeenSet =
true; m_workerUpdatedAt = std::forward<WorkerUpdatedAtT>(value); }
100 template<
typename WorkerUpdatedAtT = Aws::Utils::DateTime>
110 inline void SetProgressPercent(
double value) { m_progressPercentHasBeenSet =
true; m_progressPercent = value; }
120 template<
typename DefinitionT = SessionActionDefinitionSummary>
121 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
122 template<
typename DefinitionT = SessionActionDefinitionSummary>
133 template<
typename ManifestsT = Aws::Vector<TaskRunManifestPropertiesResponse>>
134 void SetManifests(ManifestsT&& value) { m_manifestsHasBeenSet =
true; m_manifests = std::forward<ManifestsT>(value); }
135 template<
typename ManifestsT = Aws::Vector<TaskRunManifestPropertiesResponse>>
137 template<
typename ManifestsT = TaskRunManifestPropertiesResponse>
143 bool m_sessionActionIdHasBeenSet =
false;
146 bool m_statusHasBeenSet =
false;
149 bool m_startedAtHasBeenSet =
false;
152 bool m_endedAtHasBeenSet =
false;
155 bool m_workerUpdatedAtHasBeenSet =
false;
157 double m_progressPercent{0.0};
158 bool m_progressPercentHasBeenSet =
false;
160 SessionActionDefinitionSummary m_definition;
161 bool m_definitionHasBeenSet =
false;
164 bool m_manifestsHasBeenSet =
false;
void SetProgressPercent(double value)
const Aws::Utils::DateTime & GetEndedAt() const
SessionActionStatus GetStatus() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
SessionActionSummary & WithDefinition(DefinitionT &&value)
bool StartedAtHasBeenSet() const
AWS_DEADLINE_API SessionActionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetWorkerUpdatedAt() const
void SetStatus(SessionActionStatus value)
bool EndedAtHasBeenSet() const
void SetWorkerUpdatedAt(WorkerUpdatedAtT &&value)
SessionActionSummary & AddManifests(ManifestsT &&value)
SessionActionSummary & WithSessionActionId(SessionActionIdT &&value)
void SetStartedAt(StartedAtT &&value)
SessionActionSummary & WithManifests(ManifestsT &&value)
void SetSessionActionId(SessionActionIdT &&value)
const SessionActionDefinitionSummary & GetDefinition() const
AWS_DEADLINE_API SessionActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionActionSummary & WithEndedAt(EndedAtT &&value)
bool DefinitionHasBeenSet() const
bool StatusHasBeenSet() const
bool SessionActionIdHasBeenSet() const
bool ManifestsHasBeenSet() const
bool ProgressPercentHasBeenSet() const
void SetDefinition(DefinitionT &&value)
SessionActionSummary & WithProgressPercent(double value)
AWS_DEADLINE_API SessionActionSummary()=default
SessionActionSummary & WithStartedAt(StartedAtT &&value)
SessionActionSummary & WithStatus(SessionActionStatus value)
const Aws::String & GetSessionActionId() const
double GetProgressPercent() const
const Aws::Utils::DateTime & GetStartedAt() const
void SetManifests(ManifestsT &&value)
void SetEndedAt(EndedAtT &&value)
const Aws::Vector< TaskRunManifestPropertiesResponse > & GetManifests() const
SessionActionSummary & WithWorkerUpdatedAt(WorkerUpdatedAtT &&value)
bool WorkerUpdatedAtHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue