/** * 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 MemoryDB { namespace Model { /** *

Provides details of the Redis engine version

See Also:

AWS * API Reference

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

The engine version

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

The engine version

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

The engine version

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

The engine version

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

The engine version

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

The engine version

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

The engine version

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

The engine version

*/ inline EngineVersionInfo& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

The patched engine version

*/ inline const Aws::String& GetEnginePatchVersion() const{ return m_enginePatchVersion; } /** *

The patched engine version

*/ inline bool EnginePatchVersionHasBeenSet() const { return m_enginePatchVersionHasBeenSet; } /** *

The patched engine version

*/ inline void SetEnginePatchVersion(const Aws::String& value) { m_enginePatchVersionHasBeenSet = true; m_enginePatchVersion = value; } /** *

The patched engine version

*/ inline void SetEnginePatchVersion(Aws::String&& value) { m_enginePatchVersionHasBeenSet = true; m_enginePatchVersion = std::move(value); } /** *

The patched engine version

*/ inline void SetEnginePatchVersion(const char* value) { m_enginePatchVersionHasBeenSet = true; m_enginePatchVersion.assign(value); } /** *

The patched engine version

*/ inline EngineVersionInfo& WithEnginePatchVersion(const Aws::String& value) { SetEnginePatchVersion(value); return *this;} /** *

The patched engine version

*/ inline EngineVersionInfo& WithEnginePatchVersion(Aws::String&& value) { SetEnginePatchVersion(std::move(value)); return *this;} /** *

The patched engine version

*/ inline EngineVersionInfo& WithEnginePatchVersion(const char* value) { SetEnginePatchVersion(value); return *this;} /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline const Aws::String& GetParameterGroupFamily() const{ return m_parameterGroupFamily; } /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline bool ParameterGroupFamilyHasBeenSet() const { return m_parameterGroupFamilyHasBeenSet; } /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline void SetParameterGroupFamily(const Aws::String& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = value; } /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline void SetParameterGroupFamily(Aws::String&& value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily = std::move(value); } /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline void SetParameterGroupFamily(const char* value) { m_parameterGroupFamilyHasBeenSet = true; m_parameterGroupFamily.assign(value); } /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline EngineVersionInfo& WithParameterGroupFamily(const Aws::String& value) { SetParameterGroupFamily(value); return *this;} /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline EngineVersionInfo& WithParameterGroupFamily(Aws::String&& value) { SetParameterGroupFamily(std::move(value)); return *this;} /** *

Specifies the name of the parameter group family to which the engine default * parameters apply.

*/ inline EngineVersionInfo& WithParameterGroupFamily(const char* value) { SetParameterGroupFamily(value); return *this;} private: Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_enginePatchVersion; bool m_enginePatchVersionHasBeenSet = false; Aws::String m_parameterGroupFamily; bool m_parameterGroupFamilyHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws