/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { /** *

A subset of information about the engine version for a specific * application.

See Also:

AWS * API Reference

*/ class EngineVersionsSummary { public: AWS_MAINFRAMEMODERNIZATION_API EngineVersionsSummary(); AWS_MAINFRAMEMODERNIZATION_API EngineVersionsSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API EngineVersionsSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of target platform for the application.

*/ inline const Aws::String& GetEngineType() const{ return m_engineType; } /** *

The type of target platform for the application.

*/ inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; } /** *

The type of target platform for the application.

*/ inline void SetEngineType(const Aws::String& value) { m_engineTypeHasBeenSet = true; m_engineType = value; } /** *

The type of target platform for the application.

*/ inline void SetEngineType(Aws::String&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); } /** *

The type of target platform for the application.

*/ inline void SetEngineType(const char* value) { m_engineTypeHasBeenSet = true; m_engineType.assign(value); } /** *

The type of target platform for the application.

*/ inline EngineVersionsSummary& WithEngineType(const Aws::String& value) { SetEngineType(value); return *this;} /** *

The type of target platform for the application.

*/ inline EngineVersionsSummary& WithEngineType(Aws::String&& value) { SetEngineType(std::move(value)); return *this;} /** *

The type of target platform for the application.

*/ inline EngineVersionsSummary& WithEngineType(const char* value) { SetEngineType(value); return *this;} /** *

The version of the engine type used by the application.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The version of the engine type used by the application.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The version of the engine type used by the application.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The version of the engine type used by the application.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The version of the engine type used by the application.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The version of the engine type used by the application.

*/ inline EngineVersionsSummary& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The version of the engine type used by the application.

*/ inline EngineVersionsSummary& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The version of the engine type used by the application.

*/ inline EngineVersionsSummary& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} private: Aws::String m_engineType; bool m_engineTypeHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws