/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Compatible environment template data.See Also:
AWS
* API Reference
The major version of the compatible environment template.
*/ inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; } /** *The major version of the compatible environment template.
*/ inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; } /** *The major version of the compatible environment template.
*/ inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; } /** *The major version of the compatible environment template.
*/ inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); } /** *The major version of the compatible environment template.
*/ inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); } /** *The major version of the compatible environment template.
*/ inline CompatibleEnvironmentTemplateInput& WithMajorVersion(const Aws::String& value) { SetMajorVersion(value); return *this;} /** *The major version of the compatible environment template.
*/ inline CompatibleEnvironmentTemplateInput& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;} /** *The major version of the compatible environment template.
*/ inline CompatibleEnvironmentTemplateInput& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;} /** *The compatible environment template name.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The compatible environment template name.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The compatible environment template name.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The compatible environment template name.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The compatible environment template name.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The compatible environment template name.
*/ inline CompatibleEnvironmentTemplateInput& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The compatible environment template name.
*/ inline CompatibleEnvironmentTemplateInput& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The compatible environment template name.
*/ inline CompatibleEnvironmentTemplateInput& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} private: Aws::String m_majorVersion; bool m_majorVersionHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws