/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object containing information regarding the last launch of a Source
* Server.See Also:
AWS
* API Reference
An object containing information regarding the initiation of the last launch * of a Source Server.
*/ inline const LifeCycleLastLaunchInitiated& GetInitiated() const{ return m_initiated; } /** *An object containing information regarding the initiation of the last launch * of a Source Server.
*/ inline bool InitiatedHasBeenSet() const { return m_initiatedHasBeenSet; } /** *An object containing information regarding the initiation of the last launch * of a Source Server.
*/ inline void SetInitiated(const LifeCycleLastLaunchInitiated& value) { m_initiatedHasBeenSet = true; m_initiated = value; } /** *An object containing information regarding the initiation of the last launch * of a Source Server.
*/ inline void SetInitiated(LifeCycleLastLaunchInitiated&& value) { m_initiatedHasBeenSet = true; m_initiated = std::move(value); } /** *An object containing information regarding the initiation of the last launch * of a Source Server.
*/ inline LifeCycleLastLaunch& WithInitiated(const LifeCycleLastLaunchInitiated& value) { SetInitiated(value); return *this;} /** *An object containing information regarding the initiation of the last launch * of a Source Server.
*/ inline LifeCycleLastLaunch& WithInitiated(LifeCycleLastLaunchInitiated&& value) { SetInitiated(std::move(value)); return *this;} /** *Status of Source Server's last launch.
*/ inline const LaunchStatus& GetStatus() const{ return m_status; } /** *Status of Source Server's last launch.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of Source Server's last launch.
*/ inline void SetStatus(const LaunchStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of Source Server's last launch.
*/ inline void SetStatus(LaunchStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of Source Server's last launch.
*/ inline LifeCycleLastLaunch& WithStatus(const LaunchStatus& value) { SetStatus(value); return *this;} /** *Status of Source Server's last launch.
*/ inline LifeCycleLastLaunch& WithStatus(LaunchStatus&& value) { SetStatus(std::move(value)); return *this;} private: LifeCycleLastLaunchInitiated m_initiated; bool m_initiatedHasBeenSet = false; LaunchStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws