7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/EMR_EXPORTS.h>
10#include <aws/elasticmapreduce/model/JobFlowExecutionState.h>
43 m_stateHasBeenSet =
true;
58 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
60 m_creationDateTimeHasBeenSet =
true;
61 m_creationDateTime = std::forward<CreationDateTimeT>(value);
63 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
76 template <
typename StartDateTimeT = Aws::Utils::DateTime>
78 m_startDateTimeHasBeenSet =
true;
79 m_startDateTime = std::forward<StartDateTimeT>(value);
81 template <
typename StartDateTimeT = Aws::Utils::DateTime>
95 template <
typename ReadyDateTimeT = Aws::Utils::DateTime>
97 m_readyDateTimeHasBeenSet =
true;
98 m_readyDateTime = std::forward<ReadyDateTimeT>(value);
100 template <
typename ReadyDateTimeT = Aws::Utils::DateTime>
113 template <
typename EndDateTimeT = Aws::Utils::DateTime>
115 m_endDateTimeHasBeenSet =
true;
116 m_endDateTime = std::forward<EndDateTimeT>(value);
118 template <
typename EndDateTimeT = Aws::Utils::DateTime>
131 template <
typename LastStateChangeReasonT = Aws::String>
133 m_lastStateChangeReasonHasBeenSet =
true;
134 m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value);
136 template <
typename LastStateChangeReasonT = Aws::String>
154 bool m_stateHasBeenSet =
false;
155 bool m_creationDateTimeHasBeenSet =
false;
156 bool m_startDateTimeHasBeenSet =
false;
157 bool m_readyDateTimeHasBeenSet =
false;
158 bool m_endDateTimeHasBeenSet =
false;
159 bool m_lastStateChangeReasonHasBeenSet =
false;
JobFlowExecutionStatusDetail & WithReadyDateTime(ReadyDateTimeT &&value)
bool CreationDateTimeHasBeenSet() const
JobFlowExecutionStatusDetail & WithEndDateTime(EndDateTimeT &&value)
void SetLastStateChangeReason(LastStateChangeReasonT &&value)
const Aws::String & GetLastStateChangeReason() const
const Aws::Utils::DateTime & GetEndDateTime() const
void SetEndDateTime(EndDateTimeT &&value)
JobFlowExecutionStatusDetail & WithStartDateTime(StartDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetState(JobFlowExecutionState value)
JobFlowExecutionStatusDetail & WithState(JobFlowExecutionState value)
AWS_EMR_API JobFlowExecutionStatusDetail(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool StateHasBeenSet() const
bool EndDateTimeHasBeenSet() const
bool LastStateChangeReasonHasBeenSet() const
bool StartDateTimeHasBeenSet() const
AWS_EMR_API JobFlowExecutionStatusDetail()=default
bool ReadyDateTimeHasBeenSet() const
JobFlowExecutionStatusDetail & WithLastStateChangeReason(LastStateChangeReasonT &&value)
AWS_EMR_API JobFlowExecutionStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartDateTime(StartDateTimeT &&value)
const Aws::Utils::DateTime & GetStartDateTime() const
JobFlowExecutionState GetState() const
void SetReadyDateTime(ReadyDateTimeT &&value)
JobFlowExecutionStatusDetail & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetReadyDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue