/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53RecoveryReadiness { namespace Model { class UpdateCellResult { public: AWS_ROUTE53RECOVERYREADINESS_API UpdateCellResult(); AWS_ROUTE53RECOVERYREADINESS_API UpdateCellResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYREADINESS_API UpdateCellResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetCellArn(const Aws::String& value) { m_cellArn = value; } /** *

The Amazon Resource Name (ARN) for the cell.

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

The Amazon Resource Name (ARN) for the cell.

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

The Amazon Resource Name (ARN) for the cell.

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

The Amazon Resource Name (ARN) for the cell.

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

The Amazon Resource Name (ARN) for the cell.

*/ inline UpdateCellResult& 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 void SetCellName(const Aws::String& value) { m_cellName = value; } /** *

The name of the cell.

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

The name of the cell.

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

The name of the cell.

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

The name of the cell.

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

The name of the cell.

*/ inline UpdateCellResult& 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 void SetCells(const Aws::Vector& value) { m_cells = value; } /** *

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

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

A list of cell ARNs.

*/ inline UpdateCellResult& AddCells(const char* value) { 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 void SetParentReadinessScopes(const Aws::Vector& value) { 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_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 UpdateCellResult& 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 UpdateCellResult& 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 UpdateCellResult& AddParentReadinessScopes(const Aws::String& value) { 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 UpdateCellResult& AddParentReadinessScopes(Aws::String&& value) { 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 UpdateCellResult& AddParentReadinessScopes(const char* value) { 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 void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

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

Tags on the resources.

*/ inline UpdateCellResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateCellResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCellResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCellResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_cellArn; Aws::String m_cellName; Aws::Vector m_cells; Aws::Vector m_parentReadinessScopes; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws