/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the Network Firewall firewall policy options to configure the
* policy's deployment model and third-party firewall policy
* settings.See Also:
AWS
* API Reference
Defines the deployment model to use for the firewall policy.
*/ inline const NetworkFirewallPolicy& GetNetworkFirewallPolicy() const{ return m_networkFirewallPolicy; } /** *Defines the deployment model to use for the firewall policy.
*/ inline bool NetworkFirewallPolicyHasBeenSet() const { return m_networkFirewallPolicyHasBeenSet; } /** *Defines the deployment model to use for the firewall policy.
*/ inline void SetNetworkFirewallPolicy(const NetworkFirewallPolicy& value) { m_networkFirewallPolicyHasBeenSet = true; m_networkFirewallPolicy = value; } /** *Defines the deployment model to use for the firewall policy.
*/ inline void SetNetworkFirewallPolicy(NetworkFirewallPolicy&& value) { m_networkFirewallPolicyHasBeenSet = true; m_networkFirewallPolicy = std::move(value); } /** *Defines the deployment model to use for the firewall policy.
*/ inline PolicyOption& WithNetworkFirewallPolicy(const NetworkFirewallPolicy& value) { SetNetworkFirewallPolicy(value); return *this;} /** *Defines the deployment model to use for the firewall policy.
*/ inline PolicyOption& WithNetworkFirewallPolicy(NetworkFirewallPolicy&& value) { SetNetworkFirewallPolicy(std::move(value)); return *this;} /** *Defines the policy options for a third-party firewall policy.
*/ inline const ThirdPartyFirewallPolicy& GetThirdPartyFirewallPolicy() const{ return m_thirdPartyFirewallPolicy; } /** *Defines the policy options for a third-party firewall policy.
*/ inline bool ThirdPartyFirewallPolicyHasBeenSet() const { return m_thirdPartyFirewallPolicyHasBeenSet; } /** *Defines the policy options for a third-party firewall policy.
*/ inline void SetThirdPartyFirewallPolicy(const ThirdPartyFirewallPolicy& value) { m_thirdPartyFirewallPolicyHasBeenSet = true; m_thirdPartyFirewallPolicy = value; } /** *Defines the policy options for a third-party firewall policy.
*/ inline void SetThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy&& value) { m_thirdPartyFirewallPolicyHasBeenSet = true; m_thirdPartyFirewallPolicy = std::move(value); } /** *Defines the policy options for a third-party firewall policy.
*/ inline PolicyOption& WithThirdPartyFirewallPolicy(const ThirdPartyFirewallPolicy& value) { SetThirdPartyFirewallPolicy(value); return *this;} /** *Defines the policy options for a third-party firewall policy.
*/ inline PolicyOption& WithThirdPartyFirewallPolicy(ThirdPartyFirewallPolicy&& value) { SetThirdPartyFirewallPolicy(std::move(value)); return *this;} private: NetworkFirewallPolicy m_networkFirewallPolicy; bool m_networkFirewallPolicyHasBeenSet = false; ThirdPartyFirewallPolicy m_thirdPartyFirewallPolicy; bool m_thirdPartyFirewallPolicyHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws