/** * 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 { /** *

A representation of the application, typically containing multiple * cells.

See Also:

AWS * API Reference

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

A list of a cell's Amazon Resource Names (ARNs).

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

The Amazon Resource Name (ARN) for the recovery group.

*/ inline const Aws::String& GetRecoveryGroupArn() const{ return m_recoveryGroupArn; } /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline bool RecoveryGroupArnHasBeenSet() const { return m_recoveryGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline void SetRecoveryGroupArn(const Aws::String& value) { m_recoveryGroupArnHasBeenSet = true; m_recoveryGroupArn = value; } /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline void SetRecoveryGroupArn(Aws::String&& value) { m_recoveryGroupArnHasBeenSet = true; m_recoveryGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline void SetRecoveryGroupArn(const char* value) { m_recoveryGroupArnHasBeenSet = true; m_recoveryGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline RecoveryGroupOutput& WithRecoveryGroupArn(const Aws::String& value) { SetRecoveryGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline RecoveryGroupOutput& WithRecoveryGroupArn(Aws::String&& value) { SetRecoveryGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the recovery group.

*/ inline RecoveryGroupOutput& WithRecoveryGroupArn(const char* value) { SetRecoveryGroupArn(value); return *this;} /** *

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

*/ inline RecoveryGroupOutput& WithRecoveryGroupName(const char* value) { SetRecoveryGroupName(value); return *this;} /** *

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

*/ inline RecoveryGroupOutput& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::Vector m_cells; bool m_cellsHasBeenSet = false; Aws::String m_recoveryGroupArn; bool m_recoveryGroupArnHasBeenSet = false; Aws::String m_recoveryGroupName; bool m_recoveryGroupNameHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws