7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ServiceResourceId.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename ServiceResourceIdT = ServiceResourceId>
49 void SetServiceResourceId(ServiceResourceIdT&& value) { m_serviceResourceIdHasBeenSet =
true; m_serviceResourceId = std::forward<ServiceResourceIdT>(value); }
50 template<
typename ServiceResourceIdT = ServiceResourceId>
61 inline void SetStartedAt(
long long value) { m_startedAtHasBeenSet =
true; m_startedAt = value; }
72 inline void SetStoppedAt(
long long value) { m_stoppedAtHasBeenSet =
true; m_stoppedAt = value; }
83 template<
typename StatusReasonT = Aws::String>
84 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
85 template<
typename StatusReasonT = Aws::String>
91 bool m_serviceResourceIdHasBeenSet =
false;
93 long long m_startedAt{0};
94 bool m_startedAtHasBeenSet =
false;
96 long long m_stoppedAt{0};
97 bool m_stoppedAtHasBeenSet =
false;
100 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