/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing a job attempt.See Also:
AWS
* API Reference
Details about the container in this job attempt.
*/ inline const AttemptContainerDetail& GetContainer() const{ return m_container; } /** *Details about the container in this job attempt.
*/ inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; } /** *Details about the container in this job attempt.
*/ inline void SetContainer(const AttemptContainerDetail& value) { m_containerHasBeenSet = true; m_container = value; } /** *Details about the container in this job attempt.
*/ inline void SetContainer(AttemptContainerDetail&& value) { m_containerHasBeenSet = true; m_container = std::move(value); } /** *Details about the container in this job attempt.
*/ inline AttemptDetail& WithContainer(const AttemptContainerDetail& value) { SetContainer(value); return *this;} /** *Details about the container in this job attempt.
*/ inline AttemptDetail& WithContainer(AttemptContainerDetail&& value) { SetContainer(std::move(value)); return *this;} /** *The Unix timestamp (in seconds and milliseconds) for when the attempt was
* started (when the attempt transitioned from the STARTING state to
* the RUNNING state).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* started (when the attempt transitioned from the STARTING state to
* the RUNNING state).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* started (when the attempt transitioned from the STARTING state to
* the RUNNING state).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* started (when the attempt transitioned from the STARTING state to
* the RUNNING state).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* stopped (when the attempt transitioned from the RUNNING state to a
* terminal state, such as SUCCEEDED or FAILED).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* stopped (when the attempt transitioned from the RUNNING state to a
* terminal state, such as SUCCEEDED or FAILED).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* stopped (when the attempt transitioned from the RUNNING state to a
* terminal state, such as SUCCEEDED or FAILED).
The Unix timestamp (in seconds and milliseconds) for when the attempt was
* stopped (when the attempt transitioned from the RUNNING state to a
* terminal state, such as SUCCEEDED or FAILED).
A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline AttemptDetail& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline AttemptDetail& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *A short, human-readable string to provide additional details about the * current status of the job attempt.
*/ inline AttemptDetail& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} private: AttemptContainerDetail m_container; bool m_containerHasBeenSet; long long m_startedAt; bool m_startedAtHasBeenSet; long long m_stoppedAt; bool m_stoppedAtHasBeenSet; Aws::String m_statusReason; bool m_statusReasonHasBeenSet; }; } // namespace Model } // namespace Batch } // namespace Aws