/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a launch template version that could not be deleted.See
* Also:
AWS
* API Reference
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 DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;} /** *The ID of the launch template.
*/ inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;} /** *The ID of the launch template.
*/ inline DeleteLaunchTemplateVersionsResponseErrorItem& 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 DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;} /** *The name of the launch template.
*/ inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;} /** *The name of the launch template.
*/ inline DeleteLaunchTemplateVersionsResponseErrorItem& 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 DeleteLaunchTemplateVersionsResponseErrorItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *Information about the error.
*/ inline const ResponseError& GetResponseError() const{ return m_responseError; } /** *Information about the error.
*/ inline bool ResponseErrorHasBeenSet() const { return m_responseErrorHasBeenSet; } /** *Information about the error.
*/ inline void SetResponseError(const ResponseError& value) { m_responseErrorHasBeenSet = true; m_responseError = value; } /** *Information about the error.
*/ inline void SetResponseError(ResponseError&& value) { m_responseErrorHasBeenSet = true; m_responseError = std::move(value); } /** *Information about the error.
*/ inline DeleteLaunchTemplateVersionsResponseErrorItem& WithResponseError(const ResponseError& value) { SetResponseError(value); return *this;} /** *Information about the error.
*/ inline DeleteLaunchTemplateVersionsResponseErrorItem& WithResponseError(ResponseError&& value) { SetResponseError(std::move(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; ResponseError m_responseError; bool m_responseErrorHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws