/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a launch template version.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 LaunchTemplateVersion& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;} /** *The ID of the launch template.
*/ inline LaunchTemplateVersion& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;} /** *The ID of the launch template.
*/ inline LaunchTemplateVersion& 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 LaunchTemplateVersion& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;} /** *The name of the launch template.
*/ inline LaunchTemplateVersion& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;} /** *The name of the launch template.
*/ inline LaunchTemplateVersion& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;} /** *The version number.
*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *The version number.
*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *The version number.
*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *The version number.
*/ inline LaunchTemplateVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *The description for the version.
*/ inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; } /** *The description for the version.
*/ inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; } /** *The description for the version.
*/ inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; } /** *The description for the version.
*/ inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); } /** *The description for the version.
*/ inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); } /** *The description for the version.
*/ inline LaunchTemplateVersion& WithVersionDescription(const Aws::String& value) { SetVersionDescription(value); return *this;} /** *The description for the version.
*/ inline LaunchTemplateVersion& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;} /** *The description for the version.
*/ inline LaunchTemplateVersion& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;} /** *The time the version was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time the version was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time the version was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time the version was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time the version was created.
*/ inline LaunchTemplateVersion& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time the version was created.
*/ inline LaunchTemplateVersion& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *The principal that created the version.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The principal that created the version.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The principal that created the version.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The principal that created the version.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The principal that created the version.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The principal that created the version.
*/ inline LaunchTemplateVersion& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The principal that created the version.
*/ inline LaunchTemplateVersion& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The principal that created the version.
*/ inline LaunchTemplateVersion& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *Indicates whether the version is the default version.
*/ inline bool GetDefaultVersion() const{ return m_defaultVersion; } /** *Indicates whether the version is the default version.
*/ inline bool DefaultVersionHasBeenSet() const { return m_defaultVersionHasBeenSet; } /** *Indicates whether the version is the default version.
*/ inline void SetDefaultVersion(bool value) { m_defaultVersionHasBeenSet = true; m_defaultVersion = value; } /** *Indicates whether the version is the default version.
*/ inline LaunchTemplateVersion& WithDefaultVersion(bool value) { SetDefaultVersion(value); return *this;} /** *Information about the launch template.
*/ inline const ResponseLaunchTemplateData& GetLaunchTemplateData() const{ return m_launchTemplateData; } /** *Information about the launch template.
*/ inline bool LaunchTemplateDataHasBeenSet() const { return m_launchTemplateDataHasBeenSet; } /** *Information about the launch template.
*/ inline void SetLaunchTemplateData(const ResponseLaunchTemplateData& value) { m_launchTemplateDataHasBeenSet = true; m_launchTemplateData = value; } /** *Information about the launch template.
*/ inline void SetLaunchTemplateData(ResponseLaunchTemplateData&& value) { m_launchTemplateDataHasBeenSet = true; m_launchTemplateData = std::move(value); } /** *Information about the launch template.
*/ inline LaunchTemplateVersion& WithLaunchTemplateData(const ResponseLaunchTemplateData& value) { SetLaunchTemplateData(value); return *this;} /** *Information about the launch template.
*/ inline LaunchTemplateVersion& WithLaunchTemplateData(ResponseLaunchTemplateData&& value) { SetLaunchTemplateData(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; Aws::String m_versionDescription; bool m_versionDescriptionHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; bool m_defaultVersion; bool m_defaultVersionHasBeenSet = false; ResponseLaunchTemplateData m_launchTemplateData; bool m_launchTemplateDataHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws