/** * 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 third-party firewall's firewall policy.

See * Also:

AWS * API Reference

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

The ID of the specified firewall policy.

*/ inline const Aws::String& GetFirewallPolicyId() const{ return m_firewallPolicyId; } /** *

The ID of the specified firewall policy.

*/ inline bool FirewallPolicyIdHasBeenSet() const { return m_firewallPolicyIdHasBeenSet; } /** *

The ID of the specified firewall policy.

*/ inline void SetFirewallPolicyId(const Aws::String& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = value; } /** *

The ID of the specified firewall policy.

*/ inline void SetFirewallPolicyId(Aws::String&& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = std::move(value); } /** *

The ID of the specified firewall policy.

*/ inline void SetFirewallPolicyId(const char* value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId.assign(value); } /** *

The ID of the specified firewall policy.

*/ inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyId(const Aws::String& value) { SetFirewallPolicyId(value); return *this;} /** *

The ID of the specified firewall policy.

*/ inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyId(Aws::String&& value) { SetFirewallPolicyId(std::move(value)); return *this;} /** *

The ID of the specified firewall policy.

*/ inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyId(const char* value) { SetFirewallPolicyId(value); return *this;} /** *

The name of the specified firewall policy.

*/ inline const Aws::String& GetFirewallPolicyName() const{ return m_firewallPolicyName; } /** *

The name of the specified firewall policy.

*/ inline bool FirewallPolicyNameHasBeenSet() const { return m_firewallPolicyNameHasBeenSet; } /** *

The name of the specified firewall policy.

*/ inline void SetFirewallPolicyName(const Aws::String& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = value; } /** *

The name of the specified firewall policy.

*/ inline void SetFirewallPolicyName(Aws::String&& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = std::move(value); } /** *

The name of the specified firewall policy.

*/ inline void SetFirewallPolicyName(const char* value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName.assign(value); } /** *

The name of the specified firewall policy.

*/ inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyName(const Aws::String& value) { SetFirewallPolicyName(value); return *this;} /** *

The name of the specified firewall policy.

*/ inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyName(Aws::String&& value) { SetFirewallPolicyName(std::move(value)); return *this;} /** *

The name of the specified firewall policy.

*/ inline ThirdPartyFirewallFirewallPolicy& WithFirewallPolicyName(const char* value) { SetFirewallPolicyName(value); return *this;} private: Aws::String m_firewallPolicyId; bool m_firewallPolicyIdHasBeenSet = false; Aws::String m_firewallPolicyName; bool m_firewallPolicyNameHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws