7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/InstanceGroupState.h>
9#include <aws/elasticmapreduce/model/InstanceGroupStateChangeReason.h>
10#include <aws/elasticmapreduce/model/InstanceGroupTimeline.h>
58 template<
typename StateChangeReasonT = InstanceGroupStateChangeReason>
59 void SetStateChangeReason(StateChangeReasonT&& value) { m_stateChangeReasonHasBeenSet =
true; m_stateChangeReason = std::forward<StateChangeReasonT>(value); }
60 template<
typename StateChangeReasonT = InstanceGroupStateChangeReason>
70 template<
typename TimelineT = InstanceGroupTimeline>
71 void SetTimeline(TimelineT&& value) { m_timelineHasBeenSet =
true; m_timeline = std::forward<TimelineT>(value); }
72 template<
typename TimelineT = InstanceGroupTimeline>
78 bool m_stateHasBeenSet =
false;
80 InstanceGroupStateChangeReason m_stateChangeReason;
81 bool m_stateChangeReasonHasBeenSet =
false;
83 InstanceGroupTimeline m_timeline;
84 bool m_timelineHasBeenSet =
false;
const InstanceGroupTimeline & GetTimeline() const
AWS_EMR_API InstanceGroupStatus()=default
InstanceGroupStatus & WithTimeline(TimelineT &&value)
InstanceGroupState GetState() const
void SetState(InstanceGroupState value)
InstanceGroupStatus & WithState(InstanceGroupState value)
void SetStateChangeReason(StateChangeReasonT &&value)
AWS_EMR_API InstanceGroupStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimelineHasBeenSet() const
InstanceGroupStatus & WithStateChangeReason(StateChangeReasonT &&value)
const InstanceGroupStateChangeReason & GetStateChangeReason() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API InstanceGroupStatus(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
void SetTimeline(TimelineT &&value)
bool StateChangeReasonHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue