7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/JobFlowExecutionState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
58 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
59 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
60 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
70 template<
typename StartDateTimeT = Aws::Utils::DateTime>
71 void SetStartDateTime(StartDateTimeT&& value) { m_startDateTimeHasBeenSet =
true; m_startDateTime = std::forward<StartDateTimeT>(value); }
72 template<
typename StartDateTimeT = Aws::Utils::DateTime>
83 template<
typename ReadyDateTimeT = Aws::Utils::DateTime>
84 void SetReadyDateTime(ReadyDateTimeT&& value) { m_readyDateTimeHasBeenSet =
true; m_readyDateTime = std::forward<ReadyDateTimeT>(value); }
85 template<
typename ReadyDateTimeT = Aws::Utils::DateTime>
95 template<
typename EndDateTimeT = Aws::Utils::DateTime>
96 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet =
true; m_endDateTime = std::forward<EndDateTimeT>(value); }
97 template<
typename EndDateTimeT = Aws::Utils::DateTime>
107 template<
typename LastStateChangeReasonT = Aws::String>
108 void SetLastStateChangeReason(LastStateChangeReasonT&& value) { m_lastStateChangeReasonHasBeenSet =
true; m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value); }
109 template<
typename LastStateChangeReasonT = Aws::String>
115 bool m_stateHasBeenSet =
false;
118 bool m_creationDateTimeHasBeenSet =
false;
121 bool m_startDateTimeHasBeenSet =
false;
124 bool m_readyDateTimeHasBeenSet =
false;
127 bool m_endDateTimeHasBeenSet =
false;
130 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