/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Backup { namespace Model { class DescribeRegionSettingsResult { public: AWS_BACKUP_API DescribeRegionSettingsResult(); AWS_BACKUP_API DescribeRegionSettingsResult(const Aws::AmazonWebServiceResult& result); AWS_BACKUP_API DescribeRegionSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline const Aws::Map& GetResourceTypeOptInPreference() const{ return m_resourceTypeOptInPreference; } /** *

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline void SetResourceTypeOptInPreference(const Aws::Map& value) { m_resourceTypeOptInPreference = value; } /** *

Returns a list of all services along with the opt-in preferences in the * Region.

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

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline DescribeRegionSettingsResult& WithResourceTypeOptInPreference(const Aws::Map& value) { SetResourceTypeOptInPreference(value); return *this;} /** *

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline DescribeRegionSettingsResult& WithResourceTypeOptInPreference(Aws::Map&& value) { SetResourceTypeOptInPreference(std::move(value)); return *this;} /** *

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline DescribeRegionSettingsResult& AddResourceTypeOptInPreference(const Aws::String& key, bool value) { m_resourceTypeOptInPreference.emplace(key, value); return *this; } /** *

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline DescribeRegionSettingsResult& AddResourceTypeOptInPreference(Aws::String&& key, bool value) { m_resourceTypeOptInPreference.emplace(std::move(key), value); return *this; } /** *

Returns a list of all services along with the opt-in preferences in the * Region.

*/ inline DescribeRegionSettingsResult& AddResourceTypeOptInPreference(const char* key, bool value) { m_resourceTypeOptInPreference.emplace(key, value); return *this; } /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline const Aws::Map& GetResourceTypeManagementPreference() const{ return m_resourceTypeManagementPreference; } /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline void SetResourceTypeManagementPreference(const Aws::Map& value) { m_resourceTypeManagementPreference = value; } /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

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

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline DescribeRegionSettingsResult& WithResourceTypeManagementPreference(const Aws::Map& value) { SetResourceTypeManagementPreference(value); return *this;} /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline DescribeRegionSettingsResult& WithResourceTypeManagementPreference(Aws::Map&& value) { SetResourceTypeManagementPreference(std::move(value)); return *this;} /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline DescribeRegionSettingsResult& AddResourceTypeManagementPreference(const Aws::String& key, bool value) { m_resourceTypeManagementPreference.emplace(key, value); return *this; } /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline DescribeRegionSettingsResult& AddResourceTypeManagementPreference(Aws::String&& key, bool value) { m_resourceTypeManagementPreference.emplace(std::move(key), value); return *this; } /** *

Returns whether Backup fully manages the backups for a resource type.

*

For the benefits of full Backup management, see * Full Backup management.

For a list of resource types and whether each * supports full Backup management, see the * Feature availability by resource table.

If * "DynamoDB":false, you can enable full Backup management for * DynamoDB backup by enabling * Backup's advanced DynamoDB backup features.

*/ inline DescribeRegionSettingsResult& AddResourceTypeManagementPreference(const char* key, bool value) { m_resourceTypeManagementPreference.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 DescribeRegionSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRegionSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRegionSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_resourceTypeOptInPreference; Aws::Map m_resourceTypeManagementPreference; Aws::String m_requestId; }; } // namespace Model } // namespace Backup } // namespace Aws