/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Launched instance.See Also:
AWS
* API Reference
Launched instance EC2 ID.
*/ inline const Aws::String& GetEc2InstanceID() const{ return m_ec2InstanceID; } /** *Launched instance EC2 ID.
*/ inline bool Ec2InstanceIDHasBeenSet() const { return m_ec2InstanceIDHasBeenSet; } /** *Launched instance EC2 ID.
*/ inline void SetEc2InstanceID(const Aws::String& value) { m_ec2InstanceIDHasBeenSet = true; m_ec2InstanceID = value; } /** *Launched instance EC2 ID.
*/ inline void SetEc2InstanceID(Aws::String&& value) { m_ec2InstanceIDHasBeenSet = true; m_ec2InstanceID = std::move(value); } /** *Launched instance EC2 ID.
*/ inline void SetEc2InstanceID(const char* value) { m_ec2InstanceIDHasBeenSet = true; m_ec2InstanceID.assign(value); } /** *Launched instance EC2 ID.
*/ inline LaunchedInstance& WithEc2InstanceID(const Aws::String& value) { SetEc2InstanceID(value); return *this;} /** *Launched instance EC2 ID.
*/ inline LaunchedInstance& WithEc2InstanceID(Aws::String&& value) { SetEc2InstanceID(std::move(value)); return *this;} /** *Launched instance EC2 ID.
*/ inline LaunchedInstance& WithEc2InstanceID(const char* value) { SetEc2InstanceID(value); return *this;} /** *Launched instance first boot.
*/ inline const FirstBoot& GetFirstBoot() const{ return m_firstBoot; } /** *Launched instance first boot.
*/ inline bool FirstBootHasBeenSet() const { return m_firstBootHasBeenSet; } /** *Launched instance first boot.
*/ inline void SetFirstBoot(const FirstBoot& value) { m_firstBootHasBeenSet = true; m_firstBoot = value; } /** *Launched instance first boot.
*/ inline void SetFirstBoot(FirstBoot&& value) { m_firstBootHasBeenSet = true; m_firstBoot = std::move(value); } /** *Launched instance first boot.
*/ inline LaunchedInstance& WithFirstBoot(const FirstBoot& value) { SetFirstBoot(value); return *this;} /** *Launched instance first boot.
*/ inline LaunchedInstance& WithFirstBoot(FirstBoot&& value) { SetFirstBoot(std::move(value)); return *this;} /** *Launched instance Job ID.
*/ inline const Aws::String& GetJobID() const{ return m_jobID; } /** *Launched instance Job ID.
*/ inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; } /** *Launched instance Job ID.
*/ inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; } /** *Launched instance Job ID.
*/ inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); } /** *Launched instance Job ID.
*/ inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); } /** *Launched instance Job ID.
*/ inline LaunchedInstance& WithJobID(const Aws::String& value) { SetJobID(value); return *this;} /** *Launched instance Job ID.
*/ inline LaunchedInstance& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;} /** *Launched instance Job ID.
*/ inline LaunchedInstance& WithJobID(const char* value) { SetJobID(value); return *this;} private: Aws::String m_ec2InstanceID; bool m_ec2InstanceIDHasBeenSet = false; FirstBoot m_firstBoot; bool m_firstBootHasBeenSet = false; Aws::String m_jobID; bool m_jobIDHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws