/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a launch template.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 LaunchTemplate& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;} /** *The ID of the launch template.
*/ inline LaunchTemplate& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;} /** *The ID of the launch template.
*/ inline LaunchTemplate& 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 LaunchTemplate& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;} /** *The name of the launch template.
*/ inline LaunchTemplate& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;} /** *The name of the launch template.
*/ inline LaunchTemplate& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;} /** *The time launch template was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time launch template was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time launch template was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time launch template was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time launch template was created.
*/ inline LaunchTemplate& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time launch template was created.
*/ inline LaunchTemplate& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *The principal that created the launch template.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The principal that created the launch template.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The principal that created the launch template.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The principal that created the launch template.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The principal that created the launch template.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The principal that created the launch template.
*/ inline LaunchTemplate& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The principal that created the launch template.
*/ inline LaunchTemplate& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The principal that created the launch template.
*/ inline LaunchTemplate& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *The version number of the default version of the launch template.
*/ inline long long GetDefaultVersionNumber() const{ return m_defaultVersionNumber; } /** *The version number of the default version of the launch template.
*/ inline bool DefaultVersionNumberHasBeenSet() const { return m_defaultVersionNumberHasBeenSet; } /** *The version number of the default version of the launch template.
*/ inline void SetDefaultVersionNumber(long long value) { m_defaultVersionNumberHasBeenSet = true; m_defaultVersionNumber = value; } /** *The version number of the default version of the launch template.
*/ inline LaunchTemplate& WithDefaultVersionNumber(long long value) { SetDefaultVersionNumber(value); return *this;} /** *The version number of the latest version of the launch template.
*/ inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; } /** *The version number of the latest version of the launch template.
*/ inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; } /** *The version number of the latest version of the launch template.
*/ inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; } /** *The version number of the latest version of the launch template.
*/ inline LaunchTemplate& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;} /** *The tags for the launch template.
*/ inline const Aws::VectorThe tags for the launch template.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags for the launch template.
*/ inline void SetTags(const Aws::VectorThe tags for the launch template.
*/ inline void SetTags(Aws::VectorThe tags for the launch template.
*/ inline LaunchTemplate& WithTags(const Aws::VectorThe tags for the launch template.
*/ inline LaunchTemplate& WithTags(Aws::VectorThe tags for the launch template.
*/ inline LaunchTemplate& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags for the launch template.
*/ inline LaunchTemplate& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_launchTemplateId; bool m_launchTemplateIdHasBeenSet = false; Aws::String m_launchTemplateName; bool m_launchTemplateNameHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; long long m_defaultVersionNumber; bool m_defaultVersionNumberHasBeenSet = false; long long m_latestVersionNumber; bool m_latestVersionNumberHasBeenSet = false; Aws::Vector