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>
43 m_stateHasBeenSet =
true;
58 template <
typename StateChangeReasonT = InstanceGroupStateChangeReason>
60 m_stateChangeReasonHasBeenSet =
true;
61 m_stateChangeReason = std::forward<StateChangeReasonT>(value);
63 template <
typename StateChangeReasonT = InstanceGroupStateChangeReason>
76 template <
typename TimelineT = InstanceGroupTimeline>
78 m_timelineHasBeenSet =
true;
79 m_timeline = std::forward<TimelineT>(value);
81 template <
typename TimelineT = InstanceGroupTimeline>
90 InstanceGroupStateChangeReason m_stateChangeReason;
92 InstanceGroupTimeline m_timeline;
93 bool m_stateHasBeenSet =
false;
94 bool m_stateChangeReasonHasBeenSet =
false;
95 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