/** * 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 NetworkFirewall { namespace Model { /** *

High-level information about a firewall, returned by operations like create * and describe. You can use the information provided in the metadata to retrieve * and manage a firewall.

See Also:

AWS * API Reference

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

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline const Aws::String& GetFirewallName() const{ return m_firewallName; } /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; } /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; } /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); } /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); } /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline FirewallMetadata& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;} /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline FirewallMetadata& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;} /** *

The descriptive name of the firewall. You can't change the name of a firewall * after you create it.

*/ inline FirewallMetadata& WithFirewallName(const char* value) { SetFirewallName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; } /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; } /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline FirewallMetadata& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline FirewallMetadata& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the firewall.

*/ inline FirewallMetadata& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;} private: Aws::String m_firewallName; bool m_firewallNameHasBeenSet = false; Aws::String m_firewallArn; bool m_firewallArnHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws