/** * 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 CreateRecoveryGroupResult { public: AWS_ROUTE53RECOVERYREADINESS_API CreateRecoveryGroupResult(); AWS_ROUTE53RECOVERYREADINESS_API CreateRecoveryGroupResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYREADINESS_API CreateRecoveryGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline CreateRecoveryGroupResult& AddCells(const char* value) { 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 void SetRecoveryGroupArn(const Aws::String& value) { m_recoveryGroupArn = value; } /** *

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

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

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

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

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

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

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

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

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

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

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

The name of the recovery group.

*/ inline CreateRecoveryGroupResult& 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 void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

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

The tags associated with the recovery group.

*/ inline CreateRecoveryGroupResult& 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 CreateRecoveryGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRecoveryGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRecoveryGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_cells; Aws::String m_recoveryGroupArn; Aws::String m_recoveryGroupName; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws