7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/deadline/Deadline_EXPORTS.h>
11#include <aws/deadline/model/SessionActionDefinitionSummary.h>
12#include <aws/deadline/model/SessionActionStatus.h>
13#include <aws/deadline/model/TaskRunManifestPropertiesResponse.h>
45 template <
typename SessionActionIdT = Aws::String>
47 m_sessionActionIdHasBeenSet =
true;
48 m_sessionActionId = std::forward<SessionActionIdT>(value);
50 template <
typename SessionActionIdT = Aws::String>
64 m_statusHasBeenSet =
true;
79 template <
typename StartedAtT = Aws::Utils::DateTime>
81 m_startedAtHasBeenSet =
true;
82 m_startedAt = std::forward<StartedAtT>(value);
84 template <
typename StartedAtT = Aws::Utils::DateTime>
97 template <
typename EndedAtT = Aws::Utils::DateTime>
99 m_endedAtHasBeenSet =
true;
100 m_endedAt = std::forward<EndedAtT>(value);
102 template <
typename EndedAtT = Aws::Utils::DateTime>
116 template <
typename WorkerUpdatedAtT = Aws::Utils::DateTime>
118 m_workerUpdatedAtHasBeenSet =
true;
119 m_workerUpdatedAt = std::forward<WorkerUpdatedAtT>(value);
121 template <
typename WorkerUpdatedAtT = Aws::Utils::DateTime>
135 m_progressPercentHasBeenSet =
true;
136 m_progressPercent = value;
150 template <
typename DefinitionT = SessionActionDefinitionSummary>
152 m_definitionHasBeenSet =
true;
153 m_definition = std::forward<DefinitionT>(value);
155 template <
typename DefinitionT = SessionActionDefinitionSummary>
169 template <
typename ManifestsT = Aws::Vector<TaskRunManifestPropertiesResponse>>
171 m_manifestsHasBeenSet =
true;
172 m_manifests = std::forward<ManifestsT>(value);
174 template <
typename ManifestsT = Aws::Vector<TaskRunManifestPropertiesResponse>>
179 template <
typename ManifestsT = TaskRunManifestPropertiesResponse>
181 m_manifestsHasBeenSet =
true;
182 m_manifests.emplace_back(std::forward<ManifestsT>(value));
197 double m_progressPercent{0.0};
199 SessionActionDefinitionSummary m_definition;
202 bool m_sessionActionIdHasBeenSet =
false;
203 bool m_statusHasBeenSet =
false;
204 bool m_startedAtHasBeenSet =
false;
205 bool m_endedAtHasBeenSet =
false;
206 bool m_workerUpdatedAtHasBeenSet =
false;
207 bool m_progressPercentHasBeenSet =
false;
208 bool m_definitionHasBeenSet =
false;
209 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