/** * 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 DescribeFirewallPolicyRequest : public NetworkFirewallRequest { public: AWS_NETWORKFIREWALL_API DescribeFirewallPolicyRequest(); // 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 "DescribeFirewallPolicy"; } AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override; AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeFirewallPolicyRequest& WithFirewallPolicyName(const char* value) { SetFirewallPolicyName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; } /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = value; } /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline DescribeFirewallPolicyRequest& WithFirewallPolicyArn(const Aws::String& value) { SetFirewallPolicyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline DescribeFirewallPolicyRequest& WithFirewallPolicyArn(Aws::String&& value) { SetFirewallPolicyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the firewall policy.

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

*/ inline DescribeFirewallPolicyRequest& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;} private: Aws::String m_firewallPolicyName; bool m_firewallPolicyNameHasBeenSet = false; Aws::String m_firewallPolicyArn; bool m_firewallPolicyArnHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws