/** * 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 { /** *

Represents the output of a CreateParameterGroup operation. A parameter group * represents a combination of specific values for the parameters that are passed * to the engine software during startup.

See Also:

AWS * API Reference

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

The name of the parameter group

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the parameter group

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the parameter group

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the parameter group

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the parameter group

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the parameter group

*/ inline ParameterGroup& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the parameter group

*/ inline ParameterGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the parameter group

*/ inline ParameterGroup& WithName(const char* value) { SetName(value); return *this;} /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline const Aws::String& GetFamily() const{ return m_family; } /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; } /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; } /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); } /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); } /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline ParameterGroup& WithFamily(const Aws::String& value) { SetFamily(value); return *this;} /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline ParameterGroup& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;} /** *

The name of the parameter group family that this parameter group is * compatible with.

*/ inline ParameterGroup& WithFamily(const char* value) { SetFamily(value); return *this;} /** *

A description of the parameter group

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the parameter group

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the parameter group

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the parameter group

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the parameter group

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the parameter group

*/ inline ParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the parameter group

*/ inline ParameterGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the parameter group

*/ inline ParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline ParameterGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline ParameterGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the parameter group

*/ inline ParameterGroup& WithARN(const char* value) { SetARN(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_family; bool m_familyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_aRN; bool m_aRNHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws