7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/AttemptContainerDetail.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/batch/model/AttemptEcsTaskDetails.h>
63 inline void SetStartedAt(
long long value) { m_startedAtHasBeenSet =
true; m_startedAt = value; }
75 inline void SetStoppedAt(
long long value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = value; }
88 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
111 bool m_containerHasBeenSet =
false;
113 long long m_startedAt;
114 bool m_startedAtHasBeenSet =
false;
116 long long m_stoppedAt;
117 bool m_stoppedAtHasBeenSet =
false;
120 bool m_statusReasonHasBeenSet =
false;
123 bool m_taskPropertiesHasBeenSet =
false;
long long GetStartedAt() const
bool StatusReasonHasBeenSet() const
void SetStoppedAt(long long value)
bool StoppedAtHasBeenSet() const
AttemptDetail & WithStatusReason(const char *value)
long long GetStoppedAt() const
const Aws::String & GetStatusReason() const
void SetTaskProperties(const Aws::Vector< AttemptEcsTaskDetails > &value)
AttemptDetail & AddTaskProperties(const AttemptEcsTaskDetails &value)
AttemptDetail & WithContainer(const AttemptContainerDetail &value)
void SetStatusReason(Aws::String &&value)
void SetTaskProperties(Aws::Vector< AttemptEcsTaskDetails > &&value)
AttemptDetail & AddTaskProperties(AttemptEcsTaskDetails &&value)
void SetStartedAt(long long value)
AttemptDetail & WithContainer(AttemptContainerDetail &&value)
bool ContainerHasBeenSet() const
AttemptDetail & WithStatusReason(const Aws::String &value)
AWS_BATCH_API AttemptDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API AttemptDetail()
AWS_BATCH_API AttemptDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const AttemptContainerDetail & GetContainer() const
AttemptDetail & WithStatusReason(Aws::String &&value)
void SetContainer(AttemptContainerDetail &&value)
void SetStatusReason(const Aws::String &value)
AttemptDetail & WithTaskProperties(const Aws::Vector< AttemptEcsTaskDetails > &value)
bool TaskPropertiesHasBeenSet() const
AttemptDetail & WithStartedAt(long long value)
const Aws::Vector< AttemptEcsTaskDetails > & GetTaskProperties() const
void SetContainer(const AttemptContainerDetail &value)
AttemptDetail & WithStoppedAt(long long value)
bool StartedAtHasBeenSet() const
void SetStatusReason(const char *value)
AttemptDetail & WithTaskProperties(Aws::Vector< AttemptEcsTaskDetails > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue