/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Proton { namespace Model { /** */ class GetEnvironmentTemplateVersionRequest : public ProtonRequest { public: AWS_PROTON_API GetEnvironmentTemplateVersionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetEnvironmentTemplateVersion"; } AWS_PROTON_API Aws::String SerializePayload() const override; AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

To get environment template major version detail data, include major * Version.

*/ inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; } /** *

To get environment template major version detail data, include major * Version.

*/ inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; } /** *

To get environment template major version detail data, include major * Version.

*/ inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; } /** *

To get environment template major version detail data, include major * Version.

*/ inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); } /** *

To get environment template major version detail data, include major * Version.

*/ inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); } /** *

To get environment template major version detail data, include major * Version.

*/ inline GetEnvironmentTemplateVersionRequest& WithMajorVersion(const Aws::String& value) { SetMajorVersion(value); return *this;} /** *

To get environment template major version detail data, include major * Version.

*/ inline GetEnvironmentTemplateVersionRequest& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;} /** *

To get environment template major version detail data, include major * Version.

*/ inline GetEnvironmentTemplateVersionRequest& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;} /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; } /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; } /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; } /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); } /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); } /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline GetEnvironmentTemplateVersionRequest& WithMinorVersion(const Aws::String& value) { SetMinorVersion(value); return *this;} /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline GetEnvironmentTemplateVersionRequest& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;} /** *

To get environment template minor version detail data, include * minorVersion.

*/ inline GetEnvironmentTemplateVersionRequest& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;} /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline GetEnvironmentTemplateVersionRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline GetEnvironmentTemplateVersionRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *

The name of the environment template a version of which you want to get * detailed data for.

*/ inline GetEnvironmentTemplateVersionRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} private: Aws::String m_majorVersion; bool m_majorVersionHasBeenSet = false; Aws::String m_minorVersion; bool m_minorVersionHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws