/** * 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 NetworkFirewall { namespace Model { /** */ class DescribeFirewallRequest : public NetworkFirewallRequest { public: AWS_NETWORKFIREWALL_API DescribeFirewallRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeFirewall"; } AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override; AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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

You must specify the ARN or the name, and you can * specify both.

*/ 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.

You must specify the ARN or the name, and you can * specify both.

*/ 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.

You must specify the ARN or the name, and you can * specify both.

*/ 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.

You must specify the ARN or the name, and you can * specify both.

*/ 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.

You must specify the ARN or the name, and you can * specify both.

*/ 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.

You must specify the ARN or the name, and you can * specify both.

*/ inline DescribeFirewallRequest& 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.

You must specify the ARN or the name, and you can * specify both.

*/ inline DescribeFirewallRequest& 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.

You must specify the ARN or the name, and you can * specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

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

The Amazon Resource Name (ARN) of the firewall.

You must specify the * ARN or the name, and you can specify both.

*/ inline DescribeFirewallRequest& 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