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

Configures the deployment model for the third-party firewall.

See * Also:

AWS * API Reference

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

Defines the deployment model to use for the third-party firewall policy.

*/ inline const FirewallDeploymentModel& GetFirewallDeploymentModel() const{ return m_firewallDeploymentModel; } /** *

Defines the deployment model to use for the third-party firewall policy.

*/ inline bool FirewallDeploymentModelHasBeenSet() const { return m_firewallDeploymentModelHasBeenSet; } /** *

Defines the deployment model to use for the third-party firewall policy.

*/ inline void SetFirewallDeploymentModel(const FirewallDeploymentModel& value) { m_firewallDeploymentModelHasBeenSet = true; m_firewallDeploymentModel = value; } /** *

Defines the deployment model to use for the third-party firewall policy.

*/ inline void SetFirewallDeploymentModel(FirewallDeploymentModel&& value) { m_firewallDeploymentModelHasBeenSet = true; m_firewallDeploymentModel = std::move(value); } /** *

Defines the deployment model to use for the third-party firewall policy.

*/ inline ThirdPartyFirewallPolicy& WithFirewallDeploymentModel(const FirewallDeploymentModel& value) { SetFirewallDeploymentModel(value); return *this;} /** *

Defines the deployment model to use for the third-party firewall policy.

*/ inline ThirdPartyFirewallPolicy& WithFirewallDeploymentModel(FirewallDeploymentModel&& value) { SetFirewallDeploymentModel(std::move(value)); return *this;} private: FirewallDeploymentModel m_firewallDeploymentModel; bool m_firewallDeploymentModelHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws