/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides historical timestamps for the instance fleet, including the time of
* creation, the time it became ready to run jobs, and the time of termination. The instance fleet configuration is available only in Amazon EMR
* releases 4.8.0 and later, excluding 5.0.x versions.See
* Also:
AWS
* API Reference
The time and date the instance fleet was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The time and date the instance fleet was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The time and date the instance fleet was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The time and date the instance fleet was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The time and date the instance fleet was created.
*/ inline InstanceFleetTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The time and date the instance fleet was created.
*/ inline InstanceFleetTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The time and date the instance fleet was ready to run jobs.
*/ inline const Aws::Utils::DateTime& GetReadyDateTime() const{ return m_readyDateTime; } /** *The time and date the instance fleet was ready to run jobs.
*/ inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; } /** *The time and date the instance fleet was ready to run jobs.
*/ inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; } /** *The time and date the instance fleet was ready to run jobs.
*/ inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); } /** *The time and date the instance fleet was ready to run jobs.
*/ inline InstanceFleetTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;} /** *The time and date the instance fleet was ready to run jobs.
*/ inline InstanceFleetTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(value)); return *this;} /** *The time and date the instance fleet terminated.
*/ inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; } /** *The time and date the instance fleet terminated.
*/ inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; } /** *The time and date the instance fleet terminated.
*/ inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; } /** *The time and date the instance fleet terminated.
*/ inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); } /** *The time and date the instance fleet terminated.
*/ inline InstanceFleetTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;} /** *The time and date the instance fleet terminated.
*/ inline InstanceFleetTimeline& 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