/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object containing the JobId
, Status
,
* StartTime
, and EndTime
of a job.See
* Also:
AWS
* API Reference
The time at which the job has finished.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time at which the job has finished.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time at which the job has finished.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time at which the job has finished.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time at which the job has finished.
*/ inline JobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time at which the job has finished.
*/ inline JobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The ID of the job.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The ID of the job.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The ID of the job.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The ID of the job.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The ID of the job.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The ID of the job.
*/ inline JobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The ID of the job.
*/ inline JobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The ID of the job.
*/ inline JobSummary& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The time at which the job was started.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The time at which the job was started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The time at which the job was started.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The time at which the job was started.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The time at which the job was started.
*/ inline JobSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The time at which the job was started.
*/ inline JobSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The current status of the job. Either running
,
* succeeded
, queued
, or failed
.
The current status of the job. Either running
,
* succeeded
, queued
, or failed
.
The current status of the job. Either running
,
* succeeded
, queued
, or failed
.
The current status of the job. Either running
,
* succeeded
, queued
, or failed
.
The current status of the job. Either running
,
* succeeded
, queued
, or failed
.
The current status of the job. Either running
,
* succeeded
, queued
, or failed
.