7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ServiceResourceId.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename ServiceResourceIdT = ServiceResourceId>
44 m_serviceResourceIdHasBeenSet =
true;
45 m_serviceResourceId = std::forward<ServiceResourceIdT>(value);
47 template <
typename ServiceResourceIdT = ServiceResourceId>
62 m_startedAtHasBeenSet =
true;
79 m_stoppedAtHasBeenSet =
true;
95 template <
typename StatusReasonT = Aws::String>
97 m_statusReasonHasBeenSet =
true;
98 m_statusReason = std::forward<StatusReasonT>(value);
100 template <
typename StatusReasonT = Aws::String>
109 long long m_startedAt{0};
111 long long m_stoppedAt{0};
114 bool m_serviceResourceIdHasBeenSet =
false;
115 bool m_startedAtHasBeenSet =
false;
116 bool m_stoppedAtHasBeenSet =
false;
117 bool m_statusReasonHasBeenSet =
false;
const Aws::String & GetStatusReason() const
bool ServiceResourceIdHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API ServiceJobAttemptDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusReasonHasBeenSet() const
ServiceJobAttemptDetail & WithStatusReason(StatusReasonT &&value)
bool StartedAtHasBeenSet() const
AWS_BATCH_API ServiceJobAttemptDetail()=default
bool StoppedAtHasBeenSet() const
ServiceJobAttemptDetail & WithStoppedAt(long long value)
ServiceJobAttemptDetail & WithServiceResourceId(ServiceResourceIdT &&value)
void SetStartedAt(long long value)
long long GetStartedAt() const
const ServiceResourceId & GetServiceResourceId() const
void SetStoppedAt(long long value)
void SetStatusReason(StatusReasonT &&value)
AWS_BATCH_API ServiceJobAttemptDetail(Aws::Utils::Json::JsonView jsonValue)
ServiceJobAttemptDetail & WithStartedAt(long long value)
long long GetStoppedAt() const
void SetServiceResourceId(ServiceResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue