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/StepExecutionState.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>
94 template <
typename EndDateTimeT = Aws::Utils::DateTime>
96 m_endDateTimeHasBeenSet =
true;
97 m_endDateTime = std::forward<EndDateTimeT>(value);
99 template <
typename EndDateTimeT = Aws::Utils::DateTime>
112 template <
typename LastStateChangeReasonT = Aws::String>
114 m_lastStateChangeReasonHasBeenSet =
true;
115 m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value);
117 template <
typename LastStateChangeReasonT = Aws::String>
133 bool m_stateHasBeenSet =
false;
134 bool m_creationDateTimeHasBeenSet =
false;
135 bool m_startDateTimeHasBeenSet =
false;
136 bool m_endDateTimeHasBeenSet =
false;
137 bool m_lastStateChangeReasonHasBeenSet =
false;
const Aws::String & GetLastStateChangeReason() const
void SetLastStateChangeReason(LastStateChangeReasonT &&value)
StepExecutionStatusDetail & WithLastStateChangeReason(LastStateChangeReasonT &&value)
const Aws::Utils::DateTime & GetStartDateTime() const
AWS_EMR_API StepExecutionStatusDetail(Aws::Utils::Json::JsonView jsonValue)
StepExecutionStatusDetail & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
StepExecutionState GetState() const
StepExecutionStatusDetail & WithEndDateTime(EndDateTimeT &&value)
bool LastStateChangeReasonHasBeenSet() const
void SetStartDateTime(StartDateTimeT &&value)
void SetEndDateTime(EndDateTimeT &&value)
StepExecutionStatusDetail & WithState(StepExecutionState value)
AWS_EMR_API StepExecutionStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateTimeHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool EndDateTimeHasBeenSet() const
void SetState(StepExecutionState value)
bool StartDateTimeHasBeenSet() const
AWS_EMR_API StepExecutionStatusDetail()=default
bool StateHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
StepExecutionStatusDetail & WithStartDateTime(StartDateTimeT &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue