/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace NetworkFirewall { namespace Model { class CreateFirewallResult { public: AWS_NETWORKFIREWALL_API CreateFirewallResult(); AWS_NETWORKFIREWALL_API CreateFirewallResult(const Aws::AmazonWebServiceResult& result); AWS_NETWORKFIREWALL_API CreateFirewallResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The configuration settings for the firewall. These settings include the * firewall policy and the subnets in your VPC to use for the firewall endpoints. *

*/ inline const Firewall& GetFirewall() const{ return m_firewall; } /** *

The configuration settings for the firewall. These settings include the * firewall policy and the subnets in your VPC to use for the firewall endpoints. *

*/ inline void SetFirewall(const Firewall& value) { m_firewall = value; } /** *

The configuration settings for the firewall. These settings include the * firewall policy and the subnets in your VPC to use for the firewall endpoints. *

*/ inline void SetFirewall(Firewall&& value) { m_firewall = std::move(value); } /** *

The configuration settings for the firewall. These settings include the * firewall policy and the subnets in your VPC to use for the firewall endpoints. *

*/ inline CreateFirewallResult& WithFirewall(const Firewall& value) { SetFirewall(value); return *this;} /** *

The configuration settings for the firewall. These settings include the * firewall policy and the subnets in your VPC to use for the firewall endpoints. *

*/ inline CreateFirewallResult& WithFirewall(Firewall&& value) { SetFirewall(std::move(value)); return *this;} /** *

Detailed information about the current status of a Firewall. You can * retrieve this for a firewall by calling DescribeFirewall and providing * the firewall name and ARN.

*/ inline const FirewallStatus& GetFirewallStatus() const{ return m_firewallStatus; } /** *

Detailed information about the current status of a Firewall. You can * retrieve this for a firewall by calling DescribeFirewall and providing * the firewall name and ARN.

*/ inline void SetFirewallStatus(const FirewallStatus& value) { m_firewallStatus = value; } /** *

Detailed information about the current status of a Firewall. You can * retrieve this for a firewall by calling DescribeFirewall and providing * the firewall name and ARN.

*/ inline void SetFirewallStatus(FirewallStatus&& value) { m_firewallStatus = std::move(value); } /** *

Detailed information about the current status of a Firewall. You can * retrieve this for a firewall by calling DescribeFirewall and providing * the firewall name and ARN.

*/ inline CreateFirewallResult& WithFirewallStatus(const FirewallStatus& value) { SetFirewallStatus(value); return *this;} /** *

Detailed information about the current status of a Firewall. You can * retrieve this for a firewall by calling DescribeFirewall and providing * the firewall name and ARN.

*/ inline CreateFirewallResult& WithFirewallStatus(FirewallStatus&& value) { SetFirewallStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateFirewallResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFirewallResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFirewallResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Firewall m_firewall; FirewallStatus m_firewallStatus; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws