/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the timeline of the cluster's lifecycle.See Also:
* AWS
* API Reference
The creation date and time of the cluster.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The creation date and time of the cluster.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The creation date and time of the cluster.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The creation date and time of the cluster.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The creation date and time of the cluster.
*/ inline ClusterTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The creation date and time of the cluster.
*/ inline ClusterTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time when the cluster was ready to run steps.
*/ inline const Aws::Utils::DateTime& GetReadyDateTime() const{ return m_readyDateTime; } /** *The date and time when the cluster was ready to run steps.
*/ inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; } /** *The date and time when the cluster was ready to run steps.
*/ inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; } /** *The date and time when the cluster was ready to run steps.
*/ inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); } /** *The date and time when the cluster was ready to run steps.
*/ inline ClusterTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;} /** *The date and time when the cluster was ready to run steps.
*/ inline ClusterTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(value)); return *this;} /** *The date and time when the cluster was terminated.
*/ inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; } /** *The date and time when the cluster was terminated.
*/ inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; } /** *The date and time when the cluster was terminated.
*/ inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; } /** *The date and time when the cluster was terminated.
*/ inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); } /** *The date and time when the cluster was terminated.
*/ inline ClusterTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;} /** *The date and time when the cluster was terminated.
*/ inline ClusterTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_readyDateTime; bool m_readyDateTimeHasBeenSet = false; Aws::Utils::DateTime m_endDateTime; bool m_endDateTimeHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws