/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes a launch template version that was successfully * deleted.

See Also:

AWS * API Reference

*/ class DeleteLaunchTemplateVersionsResponseSuccessItem { public: AWS_EC2_API DeleteLaunchTemplateVersionsResponseSuccessItem(); AWS_EC2_API DeleteLaunchTemplateVersionsResponseSuccessItem(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API DeleteLaunchTemplateVersionsResponseSuccessItem& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ID of the launch template.

*/ inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; } /** *

The ID of the launch template.

*/ inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; } /** *

The ID of the launch template.

*/ inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; } /** *

The ID of the launch template.

*/ inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); } /** *

The ID of the launch template.

*/ inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); } /** *

The ID of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;} /** *

The ID of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;} /** *

The ID of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;} /** *

The name of the launch template.

*/ inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; } /** *

The name of the launch template.

*/ inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; } /** *

The name of the launch template.

*/ inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; } /** *

The name of the launch template.

*/ inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); } /** *

The name of the launch template.

*/ inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); } /** *

The name of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;} /** *

The name of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;} /** *

The name of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;} /** *

The version number of the launch template.

*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *

The version number of the launch template.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

The version number of the launch template.

*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

The version number of the launch template.

*/ inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} private: Aws::String m_launchTemplateId; bool m_launchTemplateIdHasBeenSet = false; Aws::String m_launchTemplateName; bool m_launchTemplateNameHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws