/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

Defines the Amazon Web Services Regions that the specified Firewall Manager * administrator can manage.

See Also:

AWS API * Reference

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

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline const Aws::Vector& GetRegions() const{ return m_regions; } /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; } /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline void SetRegions(const Aws::Vector& value) { m_regionsHasBeenSet = true; m_regions = value; } /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline void SetRegions(Aws::Vector&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); } /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline RegionScope& WithRegions(const Aws::Vector& value) { SetRegions(value); return *this;} /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline RegionScope& WithRegions(Aws::Vector&& value) { SetRegions(std::move(value)); return *this;} /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline RegionScope& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline RegionScope& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; } /** *

The Amazon Web Services Regions that the specified Firewall Manager * administrator can perform actions in.

*/ inline RegionScope& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; } /** *

Allows the specified Firewall Manager administrator to manage all Amazon Web * Services Regions.

*/ inline bool GetAllRegionsEnabled() const{ return m_allRegionsEnabled; } /** *

Allows the specified Firewall Manager administrator to manage all Amazon Web * Services Regions.

*/ inline bool AllRegionsEnabledHasBeenSet() const { return m_allRegionsEnabledHasBeenSet; } /** *

Allows the specified Firewall Manager administrator to manage all Amazon Web * Services Regions.

*/ inline void SetAllRegionsEnabled(bool value) { m_allRegionsEnabledHasBeenSet = true; m_allRegionsEnabled = value; } /** *

Allows the specified Firewall Manager administrator to manage all Amazon Web * Services Regions.

*/ inline RegionScope& WithAllRegionsEnabled(bool value) { SetAllRegionsEnabled(value); return *this;} private: Aws::Vector m_regions; bool m_regionsHasBeenSet = false; bool m_allRegionsEnabled; bool m_allRegionsEnabledHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws