/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of the version of an environment template detail
* data.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The time when the version of an environment template was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time when the version of an environment template was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time when the version of an environment template was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time when the version of an environment template was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time when the version of an environment template was created.
*/ inline EnvironmentTemplateVersionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time when the version of an environment template was created.
*/ inline EnvironmentTemplateVersionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *A description of the version of an environment template.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the version of an environment template.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the version of an environment template.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the version of an environment template.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the version of an environment template.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The time when the version of an environment template was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; } /** *The time when the version of an environment template was last modified.
*/ inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; } /** *The time when the version of an environment template was last modified.
*/ inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; } /** *The time when the version of an environment template was last modified.
*/ inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); } /** *The time when the version of an environment template was last modified.
*/ inline EnvironmentTemplateVersionSummary& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;} /** *The time when the version of an environment template was last modified.
*/ inline EnvironmentTemplateVersionSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;} /** *The latest major version that's associated with the version of an environment * template.
*/ inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; } /** *The latest major version that's associated with the version of an environment * template.
*/ inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; } /** *The latest major version that's associated with the version of an environment * template.
*/ inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; } /** *The latest major version that's associated with the version of an environment * template.
*/ inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); } /** *The latest major version that's associated with the version of an environment * template.
*/ inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); } /** *The latest major version that's associated with the version of an environment * template.
*/ inline EnvironmentTemplateVersionSummary& WithMajorVersion(const Aws::String& value) { SetMajorVersion(value); return *this;} /** *The latest major version that's associated with the version of an environment * template.
*/ inline EnvironmentTemplateVersionSummary& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;} /** *The latest major version that's associated with the version of an environment * template.
*/ inline EnvironmentTemplateVersionSummary& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;} /** *The version of an environment template.
*/ inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; } /** *The version of an environment template.
*/ inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; } /** *The version of an environment template.
*/ inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; } /** *The version of an environment template.
*/ inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); } /** *The version of an environment template.
*/ inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); } /** *The version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithMinorVersion(const Aws::String& value) { SetMinorVersion(value); return *this;} /** *The version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;} /** *The version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;} /** *The recommended minor version of the environment template.
*/ inline const Aws::String& GetRecommendedMinorVersion() const{ return m_recommendedMinorVersion; } /** *The recommended minor version of the environment template.
*/ inline bool RecommendedMinorVersionHasBeenSet() const { return m_recommendedMinorVersionHasBeenSet; } /** *The recommended minor version of the environment template.
*/ inline void SetRecommendedMinorVersion(const Aws::String& value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion = value; } /** *The recommended minor version of the environment template.
*/ inline void SetRecommendedMinorVersion(Aws::String&& value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion = std::move(value); } /** *The recommended minor version of the environment template.
*/ inline void SetRecommendedMinorVersion(const char* value) { m_recommendedMinorVersionHasBeenSet = true; m_recommendedMinorVersion.assign(value); } /** *The recommended minor version of the environment template.
*/ inline EnvironmentTemplateVersionSummary& WithRecommendedMinorVersion(const Aws::String& value) { SetRecommendedMinorVersion(value); return *this;} /** *The recommended minor version of the environment template.
*/ inline EnvironmentTemplateVersionSummary& WithRecommendedMinorVersion(Aws::String&& value) { SetRecommendedMinorVersion(std::move(value)); return *this;} /** *The recommended minor version of the environment template.
*/ inline EnvironmentTemplateVersionSummary& WithRecommendedMinorVersion(const char* value) { SetRecommendedMinorVersion(value); return *this;} /** *The status of the version of an environment template.
*/ inline const TemplateVersionStatus& GetStatus() const{ return m_status; } /** *The status of the version of an environment template.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the version of an environment template.
*/ inline void SetStatus(const TemplateVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the version of an environment template.
*/ inline void SetStatus(TemplateVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithStatus(const TemplateVersionStatus& value) { SetStatus(value); return *this;} /** *The status of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithStatus(TemplateVersionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The status message of the version of an environment template.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status message of the version of an environment template.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status message of the version of an environment template.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status message of the version of an environment template.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status message of the version of an environment template.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status message of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status message of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status message of the version of an environment template.
*/ inline EnvironmentTemplateVersionSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The name of the environment template.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the environment template.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The name of the environment template.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The name of the environment template.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The name of the environment template.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The name of the environment template.
*/ inline EnvironmentTemplateVersionSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the environment template.
*/ inline EnvironmentTemplateVersionSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the environment template.
*/ inline EnvironmentTemplateVersionSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedAt; bool m_lastModifiedAtHasBeenSet = false; Aws::String m_majorVersion; bool m_majorVersionHasBeenSet = false; Aws::String m_minorVersion; bool m_minorVersionHasBeenSet = false; Aws::String m_recommendedMinorVersion; bool m_recommendedMinorVersionHasBeenSet = false; TemplateVersionStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws