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

Information about a cell.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) for the cell.

*/ inline const Aws::String& GetCellArn() const{ return m_cellArn; } /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline bool CellArnHasBeenSet() const { return m_cellArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline void SetCellArn(const Aws::String& value) { m_cellArnHasBeenSet = true; m_cellArn = value; } /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline void SetCellArn(Aws::String&& value) { m_cellArnHasBeenSet = true; m_cellArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline void SetCellArn(const char* value) { m_cellArnHasBeenSet = true; m_cellArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline CellOutput& WithCellArn(const Aws::String& value) { SetCellArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline CellOutput& WithCellArn(Aws::String&& value) { SetCellArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the cell.

*/ inline CellOutput& WithCellArn(const char* value) { SetCellArn(value); return *this;} /** *

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 CellOutput& WithCellName(const Aws::String& value) { SetCellName(value); return *this;} /** *

The name of the cell.

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

The name of the cell.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline const Aws::Vector& GetParentReadinessScopes() const{ return m_parentReadinessScopes; } /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline bool ParentReadinessScopesHasBeenSet() const { return m_parentReadinessScopesHasBeenSet; } /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline void SetParentReadinessScopes(const Aws::Vector& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes = value; } /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline void SetParentReadinessScopes(Aws::Vector&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes = std::move(value); } /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline CellOutput& WithParentReadinessScopes(const Aws::Vector& value) { SetParentReadinessScopes(value); return *this;} /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline CellOutput& WithParentReadinessScopes(Aws::Vector&& value) { SetParentReadinessScopes(std::move(value)); return *this;} /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline CellOutput& AddParentReadinessScopes(const Aws::String& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.push_back(value); return *this; } /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline CellOutput& AddParentReadinessScopes(Aws::String&& value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.push_back(std::move(value)); return *this; } /** *

The readiness scope for the cell, which can be a cell Amazon Resource Name * (ARN) or a recovery group ARN. This is a list but currently can have only one * element.

*/ inline CellOutput& AddParentReadinessScopes(const char* value) { m_parentReadinessScopesHasBeenSet = true; m_parentReadinessScopes.push_back(value); return *this; } /** *

Tags on the resources.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags on the resources.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags on the resources.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags on the resources.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags on the resources.

*/ inline CellOutput& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags on the resources.

*/ inline CellOutput& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags on the resources.

*/ inline CellOutput& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags on the resources.

*/ inline CellOutput& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags on the resources.

*/ inline CellOutput& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags on the resources.

*/ inline CellOutput& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags on the resources.

*/ inline CellOutput& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags on the resources.

*/ inline CellOutput& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags on the resources.

*/ inline CellOutput& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_cellArn; bool m_cellArnHasBeenSet = false; Aws::String m_cellName; bool m_cellNameHasBeenSet = false; Aws::Vector m_cells; bool m_cellsHasBeenSet = false; Aws::Vector m_parentReadinessScopes; bool m_parentReadinessScopesHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws