7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/AttemptContainerDetail.h>
9#include <aws/batch/model/AttemptEcsTaskDetails.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename ContainerT = AttemptContainerDetail>
45 m_containerHasBeenSet =
true;
46 m_container = std::forward<ContainerT>(value);
48 template <
typename ContainerT = AttemptContainerDetail>
64 m_startedAtHasBeenSet =
true;
82 m_stoppedAtHasBeenSet =
true;
98 template <
typename StatusReasonT = Aws::String>
100 m_statusReasonHasBeenSet =
true;
101 m_statusReason = std::forward<StatusReasonT>(value);
103 template <
typename StatusReasonT = Aws::String>
117 template <
typename TaskPropertiesT = Aws::Vector<AttemptEcsTaskDetails>>
119 m_taskPropertiesHasBeenSet =
true;
120 m_taskProperties = std::forward<TaskPropertiesT>(value);
122 template <
typename TaskPropertiesT = Aws::Vector<AttemptEcsTaskDetails>>
127 template <
typename TaskPropertiesT = AttemptEcsTaskDetails>
129 m_taskPropertiesHasBeenSet =
true;
130 m_taskProperties.emplace_back(std::forward<TaskPropertiesT>(value));
137 long long m_startedAt{0};
139 long long m_stoppedAt{0};
144 bool m_containerHasBeenSet =
false;
145 bool m_startedAtHasBeenSet =
false;
146 bool m_stoppedAtHasBeenSet =
false;
147 bool m_statusReasonHasBeenSet =
false;
148 bool m_taskPropertiesHasBeenSet =
false;
long long GetStartedAt() const
bool StatusReasonHasBeenSet() const
AWS_BATCH_API AttemptDetail()=default
AttemptDetail & AddTaskProperties(TaskPropertiesT &&value)
AttemptDetail & WithTaskProperties(TaskPropertiesT &&value)
void SetStoppedAt(long long value)
void SetContainer(ContainerT &&value)
bool StoppedAtHasBeenSet() const
long long GetStoppedAt() const
const Aws::String & GetStatusReason() const
void SetTaskProperties(TaskPropertiesT &&value)
AttemptDetail & WithStatusReason(StatusReasonT &&value)
AttemptDetail & WithContainer(ContainerT &&value)
void SetStartedAt(long long value)
bool ContainerHasBeenSet() const
AWS_BATCH_API AttemptDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API AttemptDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const AttemptContainerDetail & GetContainer() const
void SetStatusReason(StatusReasonT &&value)
bool TaskPropertiesHasBeenSet() const
AttemptDetail & WithStartedAt(long long value)
const Aws::Vector< AttemptEcsTaskDetails > & GetTaskProperties() const
AttemptDetail & WithStoppedAt(long long value)
bool StartedAtHasBeenSet() 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