/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Route53RecoveryReadiness { namespace Model { /** *

Name of a recovery group.

See Also:

AWS * API Reference

*/ class UpdateRecoveryGroupRequest : public Route53RecoveryReadinessRequest { public: AWS_ROUTE53RECOVERYREADINESS_API UpdateRecoveryGroupRequest(); // 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 "UpdateRecoveryGroup"; } AWS_ROUTE53RECOVERYREADINESS_API Aws::String SerializePayload() const override; /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline const Aws::Vector& GetCells() const{ return m_cells; } /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline bool CellsHasBeenSet() const { return m_cellsHasBeenSet; } /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline void SetCells(const Aws::Vector& value) { m_cellsHasBeenSet = true; m_cells = value; } /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline void SetCells(Aws::Vector&& value) { m_cellsHasBeenSet = true; m_cells = std::move(value); } /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline UpdateRecoveryGroupRequest& WithCells(const Aws::Vector& value) { SetCells(value); return *this;} /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline UpdateRecoveryGroupRequest& WithCells(Aws::Vector&& value) { SetCells(std::move(value)); return *this;} /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline UpdateRecoveryGroupRequest& AddCells(const Aws::String& value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; } /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline UpdateRecoveryGroupRequest& AddCells(Aws::String&& value) { m_cellsHasBeenSet = true; m_cells.push_back(std::move(value)); return *this; } /** *

A list of cell Amazon Resource Names (ARNs). This list completely replaces * the previous list.

*/ inline UpdateRecoveryGroupRequest& AddCells(const char* value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; } /** *

The name of a recovery group.

*/ inline const Aws::String& GetRecoveryGroupName() const{ return m_recoveryGroupName; } /** *

The name of a recovery group.

*/ inline bool RecoveryGroupNameHasBeenSet() const { return m_recoveryGroupNameHasBeenSet; } /** *

The name of a recovery group.

*/ inline void SetRecoveryGroupName(const Aws::String& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = value; } /** *

The name of a recovery group.

*/ inline void SetRecoveryGroupName(Aws::String&& value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName = std::move(value); } /** *

The name of a recovery group.

*/ inline void SetRecoveryGroupName(const char* value) { m_recoveryGroupNameHasBeenSet = true; m_recoveryGroupName.assign(value); } /** *

The name of a recovery group.

*/ inline UpdateRecoveryGroupRequest& WithRecoveryGroupName(const Aws::String& value) { SetRecoveryGroupName(value); return *this;} /** *

The name of a recovery group.

*/ inline UpdateRecoveryGroupRequest& WithRecoveryGroupName(Aws::String&& value) { SetRecoveryGroupName(std::move(value)); return *this;} /** *

The name of a recovery group.

*/ inline UpdateRecoveryGroupRequest& WithRecoveryGroupName(const char* value) { SetRecoveryGroupName(value); return *this;} private: Aws::Vector m_cells; bool m_cellsHasBeenSet = false; Aws::String m_recoveryGroupName; bool m_recoveryGroupNameHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws