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

The name of the cell.

*/ inline const Aws::String& GetCellName() const{ return m_cellName; } /** *

The name of the cell.

*/ inline bool CellNameHasBeenSet() const { return m_cellNameHasBeenSet; } /** *

The name of the cell.

*/ inline void SetCellName(const Aws::String& value) { m_cellNameHasBeenSet = true; m_cellName = value; } /** *

The name of the cell.

*/ inline void SetCellName(Aws::String&& value) { m_cellNameHasBeenSet = true; m_cellName = std::move(value); } /** *

The name of the cell.

*/ inline void SetCellName(const char* value) { m_cellNameHasBeenSet = true; m_cellName.assign(value); } /** *

The name of the cell.

*/ inline UpdateCellRequest& WithCellName(const Aws::String& value) { SetCellName(value); return *this;} /** *

The name of the cell.

*/ inline UpdateCellRequest& WithCellName(Aws::String&& value) { SetCellName(std::move(value)); return *this;} /** *

The name of the cell.

*/ inline UpdateCellRequest& WithCellName(const char* value) { SetCellName(value); return *this;} /** *

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

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

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

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

A list of cell Amazon Resource Names (ARNs), which 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), which 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), which completely replaces the * previous list.

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

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

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

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

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

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

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

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

*/ inline UpdateCellRequest& AddCells(const char* value) { m_cellsHasBeenSet = true; m_cells.push_back(value); return *this; } private: Aws::String m_cellName; bool m_cellNameHasBeenSet = false; Aws::Vector m_cells; bool m_cellsHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws