/** * 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 AWS_BACKUP_API DescribeRegionSettingsResult { public: DescribeRegionSettingsResult(); DescribeRegionSettingsResult(const Aws::AmazonWebServiceResult& result); 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; } private: Aws::Map m_resourceTypeOptInPreference; }; } // namespace Model } // namespace Backup } // namespace Aws