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>
111 inline void SetLastStateChangeReason(
const char* value) { m_lastStateChangeReasonHasBeenSet =
true; m_lastStateChangeReason.assign(value); }
119 bool m_stateHasBeenSet =
false;
122 bool m_creationDateTimeHasBeenSet =
false;
125 bool m_startDateTimeHasBeenSet =
false;
128 bool m_readyDateTimeHasBeenSet =
false;
131 bool m_endDateTimeHasBeenSet =
false;
134 bool m_lastStateChangeReasonHasBeenSet =
false;
bool CreationDateTimeHasBeenSet() const
JobFlowExecutionStatusDetail & WithLastStateChangeReason(const Aws::String &value)
JobFlowExecutionStatusDetail & WithState(JobFlowExecutionState &&value)
JobFlowExecutionStatusDetail & WithEndDateTime(Aws::Utils::DateTime &&value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API JobFlowExecutionStatusDetail()
const Aws::String & GetLastStateChangeReason() const
JobFlowExecutionStatusDetail & WithCreationDateTime(Aws::Utils::DateTime &&value)
JobFlowExecutionStatusDetail & WithStartDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
const JobFlowExecutionState & GetState() const
JobFlowExecutionStatusDetail & WithLastStateChangeReason(const char *value)
void SetStartDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetLastStateChangeReason(const char *value)
AWS_EMR_API JobFlowExecutionStatusDetail(Aws::Utils::Json::JsonView jsonValue)
void SetEndDateTime(Aws::Utils::DateTime &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool StateHasBeenSet() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
bool EndDateTimeHasBeenSet() const
bool LastStateChangeReasonHasBeenSet() const
bool StartDateTimeHasBeenSet() const
void SetLastStateChangeReason(Aws::String &&value)
bool ReadyDateTimeHasBeenSet() const
JobFlowExecutionStatusDetail & WithReadyDateTime(Aws::Utils::DateTime &&value)
void SetState(const JobFlowExecutionState &value)
AWS_EMR_API JobFlowExecutionStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
JobFlowExecutionStatusDetail & WithEndDateTime(const Aws::Utils::DateTime &value)
void SetState(JobFlowExecutionState &&value)
JobFlowExecutionStatusDetail & WithStartDateTime(const Aws::Utils::DateTime &value)
void SetReadyDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartDateTime() const
JobFlowExecutionStatusDetail & WithLastStateChangeReason(Aws::String &&value)
JobFlowExecutionStatusDetail & WithState(const JobFlowExecutionState &value)
void SetStartDateTime(Aws::Utils::DateTime &&value)
JobFlowExecutionStatusDetail & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetLastStateChangeReason(const Aws::String &value)
JobFlowExecutionStatusDetail & WithReadyDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetReadyDateTime() const
void SetReadyDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue