/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DAX { namespace Model { /** *

The status of a parameter group.

See Also:

AWS * API Reference

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

The name of the parameter group.

*/ inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; } /** *

The name of the parameter group.

*/ inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; } /** *

The name of the parameter group.

*/ inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; } /** *

The name of the parameter group.

*/ inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); } /** *

The name of the parameter group.

*/ inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); } /** *

The name of the parameter group.

*/ inline ParameterGroupStatus& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;} /** *

The name of the parameter group.

*/ inline ParameterGroupStatus& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;} /** *

The name of the parameter group.

*/ inline ParameterGroupStatus& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;} /** *

The status of parameter updates.

*/ inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; } /** *

The status of parameter updates.

*/ inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; } /** *

The status of parameter updates.

*/ inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; } /** *

The status of parameter updates.

*/ inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); } /** *

The status of parameter updates.

*/ inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); } /** *

The status of parameter updates.

*/ inline ParameterGroupStatus& WithParameterApplyStatus(const Aws::String& value) { SetParameterApplyStatus(value); return *this;} /** *

The status of parameter updates.

*/ inline ParameterGroupStatus& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(std::move(value)); return *this;} /** *

The status of parameter updates.

*/ inline ParameterGroupStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;} /** *

The node IDs of one or more nodes to be rebooted.

*/ inline const Aws::Vector& GetNodeIdsToReboot() const{ return m_nodeIdsToReboot; } /** *

The node IDs of one or more nodes to be rebooted.

*/ inline bool NodeIdsToRebootHasBeenSet() const { return m_nodeIdsToRebootHasBeenSet; } /** *

The node IDs of one or more nodes to be rebooted.

*/ inline void SetNodeIdsToReboot(const Aws::Vector& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot = value; } /** *

The node IDs of one or more nodes to be rebooted.

*/ inline void SetNodeIdsToReboot(Aws::Vector&& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot = std::move(value); } /** *

The node IDs of one or more nodes to be rebooted.

*/ inline ParameterGroupStatus& WithNodeIdsToReboot(const Aws::Vector& value) { SetNodeIdsToReboot(value); return *this;} /** *

The node IDs of one or more nodes to be rebooted.

*/ inline ParameterGroupStatus& WithNodeIdsToReboot(Aws::Vector&& value) { SetNodeIdsToReboot(std::move(value)); return *this;} /** *

The node IDs of one or more nodes to be rebooted.

*/ inline ParameterGroupStatus& AddNodeIdsToReboot(const Aws::String& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.push_back(value); return *this; } /** *

The node IDs of one or more nodes to be rebooted.

*/ inline ParameterGroupStatus& AddNodeIdsToReboot(Aws::String&& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.push_back(std::move(value)); return *this; } /** *

The node IDs of one or more nodes to be rebooted.

*/ inline ParameterGroupStatus& AddNodeIdsToReboot(const char* value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.push_back(value); return *this; } private: Aws::String m_parameterGroupName; bool m_parameterGroupNameHasBeenSet = false; Aws::String m_parameterApplyStatus; bool m_parameterApplyStatusHasBeenSet = false; Aws::Vector m_nodeIdsToReboot; bool m_nodeIdsToRebootHasBeenSet = false; }; } // namespace Model } // namespace DAX } // namespace Aws