7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/StepExecutionState.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
98 inline void SetLastStateChangeReason(
const char* value) { m_lastStateChangeReasonHasBeenSet =
true; m_lastStateChangeReason.assign(value); }
106 bool m_stateHasBeenSet =
false;
109 bool m_creationDateTimeHasBeenSet =
false;
112 bool m_startDateTimeHasBeenSet =
false;
115 bool m_endDateTimeHasBeenSet =
false;
118 bool m_lastStateChangeReasonHasBeenSet =
false;
const Aws::String & GetLastStateChangeReason() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartDateTime() const
AWS_EMR_API StepExecutionStatusDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDateTime() const
StepExecutionStatusDetail & WithCreationDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API StepExecutionStatusDetail()
StepExecutionStatusDetail & WithStartDateTime(const Aws::Utils::DateTime &value)
bool LastStateChangeReasonHasBeenSet() const
void SetLastStateChangeReason(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
StepExecutionStatusDetail & WithEndDateTime(Aws::Utils::DateTime &&value)
void SetState(const StepExecutionState &value)
StepExecutionStatusDetail & WithLastStateChangeReason(Aws::String &&value)
void SetLastStateChangeReason(Aws::String &&value)
void SetStartDateTime(const Aws::Utils::DateTime &value)
StepExecutionStatusDetail & WithState(StepExecutionState &&value)
AWS_EMR_API StepExecutionStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndDateTime(const Aws::Utils::DateTime &value)
bool CreationDateTimeHasBeenSet() const
void SetLastStateChangeReason(const char *value)
void SetEndDateTime(Aws::Utils::DateTime &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool EndDateTimeHasBeenSet() const
StepExecutionStatusDetail & WithLastStateChangeReason(const Aws::String &value)
StepExecutionStatusDetail & WithEndDateTime(const Aws::Utils::DateTime &value)
void SetStartDateTime(Aws::Utils::DateTime &&value)
void SetState(StepExecutionState &&value)
bool StartDateTimeHasBeenSet() const
StepExecutionStatusDetail & WithState(const StepExecutionState &value)
const StepExecutionState & GetState() const
StepExecutionStatusDetail & WithCreationDateTime(Aws::Utils::DateTime &&value)
StepExecutionStatusDetail & WithLastStateChangeReason(const char *value)
bool StateHasBeenSet() const
StepExecutionStatusDetail & WithStartDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue