/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a subset of information about a job execution.See
* Also:
AWS
* API Reference
The unique identifier you assigned to this job when it was created.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The unique identifier you assigned to this job when it was created.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The unique identifier you assigned to this job when it was created.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The unique identifier you assigned to this job when it was created.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The unique identifier you assigned to this job when it was created.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The unique identifier you assigned to this job when it was created.
*/ inline JobExecutionSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The unique identifier you assigned to this job when it was created.
*/ inline JobExecutionSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The unique identifier you assigned to this job when it was created.
*/ inline JobExecutionSummary& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The time, in milliseconds since the epoch, when the job execution was * enqueued.
*/ inline long long GetQueuedAt() const{ return m_queuedAt; } /** *The time, in milliseconds since the epoch, when the job execution was * enqueued.
*/ inline bool QueuedAtHasBeenSet() const { return m_queuedAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the job execution was * enqueued.
*/ inline void SetQueuedAt(long long value) { m_queuedAtHasBeenSet = true; m_queuedAt = value; } /** *The time, in milliseconds since the epoch, when the job execution was * enqueued.
*/ inline JobExecutionSummary& WithQueuedAt(long long value) { SetQueuedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the job execution * started.
*/ inline long long GetStartedAt() const{ return m_startedAt; } /** *The time, in milliseconds since the epoch, when the job execution * started.
*/ inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the job execution * started.
*/ inline void SetStartedAt(long long value) { m_startedAtHasBeenSet = true; m_startedAt = value; } /** *The time, in milliseconds since the epoch, when the job execution * started.
*/ inline JobExecutionSummary& WithStartedAt(long long value) { SetStartedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the job execution was last * updated.
*/ inline long long GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The time, in milliseconds since the epoch, when the job execution was last * updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the job execution was last * updated.
*/ inline void SetLastUpdatedAt(long long value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The time, in milliseconds since the epoch, when the job execution was last * updated.
*/ inline JobExecutionSummary& WithLastUpdatedAt(long long value) { SetLastUpdatedAt(value); return *this;} /** *The version of the job execution. Job execution versions are incremented each * time AWS IoT Jobs receives an update from a device.
*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *The version of the job execution. Job execution versions are incremented each * time AWS IoT Jobs receives an update from a device.
*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *The version of the job execution. Job execution versions are incremented each * time AWS IoT Jobs receives an update from a device.
*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *The version of the job execution. Job execution versions are incremented each * time AWS IoT Jobs receives an update from a device.
*/ inline JobExecutionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *A number that identifies a particular job execution on a particular * device.
*/ inline long long GetExecutionNumber() const{ return m_executionNumber; } /** *A number that identifies a particular job execution on a particular * device.
*/ inline bool ExecutionNumberHasBeenSet() const { return m_executionNumberHasBeenSet; } /** *A number that identifies a particular job execution on a particular * device.
*/ inline void SetExecutionNumber(long long value) { m_executionNumberHasBeenSet = true; m_executionNumber = value; } /** *A number that identifies a particular job execution on a particular * device.
*/ inline JobExecutionSummary& WithExecutionNumber(long long value) { SetExecutionNumber(value); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; long long m_queuedAt; bool m_queuedAtHasBeenSet = false; long long m_startedAt; bool m_startedAtHasBeenSet = false; long long m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; long long m_executionNumber; bool m_executionNumberHasBeenSet = false; }; } // namespace Model } // namespace IoTJobsDataPlane } // namespace Aws