7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/ClusterState.h>
9#include <aws/elasticmapreduce/model/ClusterStateChangeReason.h>
10#include <aws/elasticmapreduce/model/ClusterTimeline.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticmapreduce/model/ErrorDetail.h>
99 bool m_stateHasBeenSet =
false;
102 bool m_stateChangeReasonHasBeenSet =
false;
105 bool m_timelineHasBeenSet =
false;
108 bool m_errorDetailsHasBeenSet =
false;
void SetState(ClusterState &&value)
const ClusterTimeline & GetTimeline() const
AWS_EMR_API ClusterStatus(Aws::Utils::Json::JsonView jsonValue)
const ClusterStateChangeReason & GetStateChangeReason() const
ClusterStatus & WithStateChangeReason(const ClusterStateChangeReason &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const ClusterState & GetState() const
void SetTimeline(ClusterTimeline &&value)
AWS_EMR_API ClusterStatus()
bool StateHasBeenSet() const
void SetStateChangeReason(ClusterStateChangeReason &&value)
void SetErrorDetails(Aws::Vector< ErrorDetail > &&value)
ClusterStatus & WithTimeline(ClusterTimeline &&value)
ClusterStatus & AddErrorDetails(ErrorDetail &&value)
bool TimelineHasBeenSet() const
void SetErrorDetails(const Aws::Vector< ErrorDetail > &value)
bool StateChangeReasonHasBeenSet() const
ClusterStatus & WithState(ClusterState &&value)
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
ClusterStatus & WithState(const ClusterState &value)
ClusterStatus & AddErrorDetails(const ErrorDetail &value)
ClusterStatus & WithErrorDetails(Aws::Vector< ErrorDetail > &&value)
AWS_EMR_API ClusterStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorDetailsHasBeenSet() const
void SetTimeline(const ClusterTimeline &value)
void SetState(const ClusterState &value)
ClusterStatus & WithTimeline(const ClusterTimeline &value)
void SetStateChangeReason(const ClusterStateChangeReason &value)
ClusterStatus & WithErrorDetails(const Aws::Vector< ErrorDetail > &value)
ClusterStatus & WithStateChangeReason(ClusterStateChangeReason &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue