/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The detailed status of the cluster.See Also:
AWS
* API Reference
The current state of the cluster.
*/ inline const ClusterState& GetState() const{ return m_state; } /** *The current state of the cluster.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the cluster.
*/ inline void SetState(const ClusterState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the cluster.
*/ inline void SetState(ClusterState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the cluster.
*/ inline ClusterStatus& WithState(const ClusterState& value) { SetState(value); return *this;} /** *The current state of the cluster.
*/ inline ClusterStatus& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;} /** *The reason for the cluster status change.
*/ inline const ClusterStateChangeReason& GetStateChangeReason() const{ return m_stateChangeReason; } /** *The reason for the cluster status change.
*/ inline bool StateChangeReasonHasBeenSet() const { return m_stateChangeReasonHasBeenSet; } /** *The reason for the cluster status change.
*/ inline void SetStateChangeReason(const ClusterStateChangeReason& value) { m_stateChangeReasonHasBeenSet = true; m_stateChangeReason = value; } /** *The reason for the cluster status change.
*/ inline void SetStateChangeReason(ClusterStateChangeReason&& value) { m_stateChangeReasonHasBeenSet = true; m_stateChangeReason = std::move(value); } /** *The reason for the cluster status change.
*/ inline ClusterStatus& WithStateChangeReason(const ClusterStateChangeReason& value) { SetStateChangeReason(value); return *this;} /** *The reason for the cluster status change.
*/ inline ClusterStatus& WithStateChangeReason(ClusterStateChangeReason&& value) { SetStateChangeReason(std::move(value)); return *this;} /** *A timeline that represents the status of a cluster over the lifetime of the * cluster.
*/ inline const ClusterTimeline& GetTimeline() const{ return m_timeline; } /** *A timeline that represents the status of a cluster over the lifetime of the * cluster.
*/ inline bool TimelineHasBeenSet() const { return m_timelineHasBeenSet; } /** *A timeline that represents the status of a cluster over the lifetime of the * cluster.
*/ inline void SetTimeline(const ClusterTimeline& value) { m_timelineHasBeenSet = true; m_timeline = value; } /** *A timeline that represents the status of a cluster over the lifetime of the * cluster.
*/ inline void SetTimeline(ClusterTimeline&& value) { m_timelineHasBeenSet = true; m_timeline = std::move(value); } /** *A timeline that represents the status of a cluster over the lifetime of the * cluster.
*/ inline ClusterStatus& WithTimeline(const ClusterTimeline& value) { SetTimeline(value); return *this;} /** *A timeline that represents the status of a cluster over the lifetime of the * cluster.
*/ inline ClusterStatus& WithTimeline(ClusterTimeline&& value) { SetTimeline(std::move(value)); return *this;} /** *A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.
A list of tuples that provides information about the errors that caused a
* cluster to terminate. This structure can contain up to 10 different
* ErrorDetail
tuples.