/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The timeline of the cluster step lifecycle.See Also:
AWS
* API Reference
The date and time when the cluster step was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time when the cluster step was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time when the cluster step was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time when the cluster step was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time when the cluster step was created.
*/ inline StepTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time when the cluster step was created.
*/ inline StepTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time when the cluster step execution started.
*/ inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; } /** *The date and time when the cluster step execution started.
*/ inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; } /** *The date and time when the cluster step execution started.
*/ inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; } /** *The date and time when the cluster step execution started.
*/ inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); } /** *The date and time when the cluster step execution started.
*/ inline StepTimeline& WithStartDateTime(const Aws::Utils::DateTime& value) { SetStartDateTime(value); return *this;} /** *The date and time when the cluster step execution started.
*/ inline StepTimeline& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(value)); return *this;} /** *The date and time when the cluster step execution completed or failed.
*/ inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; } /** *The date and time when the cluster step execution completed or failed.
*/ inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; } /** *The date and time when the cluster step execution completed or failed.
*/ inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; } /** *The date and time when the cluster step execution completed or failed.
*/ inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); } /** *The date and time when the cluster step execution completed or failed.
*/ inline StepTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;} /** *The date and time when the cluster step execution completed or failed.
*/ inline StepTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet; Aws::Utils::DateTime m_startDateTime; bool m_startDateTimeHasBeenSet; Aws::Utils::DateTime m_endDateTime; bool m_endDateTimeHasBeenSet; }; } // namespace Model } // namespace EMR } // namespace Aws