/**
* 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 initiation of the last launch
* of a Source Server.See Also:
AWS
* API Reference
The date and time the last Source Server launch was initiated.
*/ inline const Aws::String& GetApiCallDateTime() const{ return m_apiCallDateTime; } /** *The date and time the last Source Server launch was initiated.
*/ inline bool ApiCallDateTimeHasBeenSet() const { return m_apiCallDateTimeHasBeenSet; } /** *The date and time the last Source Server launch was initiated.
*/ inline void SetApiCallDateTime(const Aws::String& value) { m_apiCallDateTimeHasBeenSet = true; m_apiCallDateTime = value; } /** *The date and time the last Source Server launch was initiated.
*/ inline void SetApiCallDateTime(Aws::String&& value) { m_apiCallDateTimeHasBeenSet = true; m_apiCallDateTime = std::move(value); } /** *The date and time the last Source Server launch was initiated.
*/ inline void SetApiCallDateTime(const char* value) { m_apiCallDateTimeHasBeenSet = true; m_apiCallDateTime.assign(value); } /** *The date and time the last Source Server launch was initiated.
*/ inline LifeCycleLastLaunchInitiated& WithApiCallDateTime(const Aws::String& value) { SetApiCallDateTime(value); return *this;} /** *The date and time the last Source Server launch was initiated.
*/ inline LifeCycleLastLaunchInitiated& WithApiCallDateTime(Aws::String&& value) { SetApiCallDateTime(std::move(value)); return *this;} /** *The date and time the last Source Server launch was initiated.
*/ inline LifeCycleLastLaunchInitiated& WithApiCallDateTime(const char* value) { SetApiCallDateTime(value); return *this;} /** *The ID of the Job that was used to last launch the Source Server.
*/ inline const Aws::String& GetJobID() const{ return m_jobID; } /** *The ID of the Job that was used to last launch the Source Server.
*/ inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; } /** *The ID of the Job that was used to last launch the Source Server.
*/ inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; } /** *The ID of the Job that was used to last launch the Source Server.
*/ inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); } /** *The ID of the Job that was used to last launch the Source Server.
*/ inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); } /** *The ID of the Job that was used to last launch the Source Server.
*/ inline LifeCycleLastLaunchInitiated& WithJobID(const Aws::String& value) { SetJobID(value); return *this;} /** *The ID of the Job that was used to last launch the Source Server.
*/ inline LifeCycleLastLaunchInitiated& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;} /** *The ID of the Job that was used to last launch the Source Server.
*/ inline LifeCycleLastLaunchInitiated& WithJobID(const char* value) { SetJobID(value); return *this;} /** *The Job type that was used to last launch the Source Server.
*/ inline const LastLaunchType& GetType() const{ return m_type; } /** *The Job type that was used to last launch the Source Server.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The Job type that was used to last launch the Source Server.
*/ inline void SetType(const LastLaunchType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The Job type that was used to last launch the Source Server.
*/ inline void SetType(LastLaunchType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The Job type that was used to last launch the Source Server.
*/ inline LifeCycleLastLaunchInitiated& WithType(const LastLaunchType& value) { SetType(value); return *this;} /** *The Job type that was used to last launch the Source Server.
*/ inline LifeCycleLastLaunchInitiated& WithType(LastLaunchType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_apiCallDateTime; bool m_apiCallDateTimeHasBeenSet = false; Aws::String m_jobID; bool m_jobIDHasBeenSet = false; LastLaunchType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws