/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the VPC peering connection options for the
* accepter or requester VPC. See Also:
AWS
* API Reference
Indicates whether a local VPC can resolve public DNS hostnames to private IP * addresses when queried from instances in a peer VPC.
*/ inline bool GetAllowDnsResolutionFromRemoteVpc() const{ return m_allowDnsResolutionFromRemoteVpc; } /** *Indicates whether a local VPC can resolve public DNS hostnames to private IP * addresses when queried from instances in a peer VPC.
*/ inline bool AllowDnsResolutionFromRemoteVpcHasBeenSet() const { return m_allowDnsResolutionFromRemoteVpcHasBeenSet; } /** *Indicates whether a local VPC can resolve public DNS hostnames to private IP * addresses when queried from instances in a peer VPC.
*/ inline void SetAllowDnsResolutionFromRemoteVpc(bool value) { m_allowDnsResolutionFromRemoteVpcHasBeenSet = true; m_allowDnsResolutionFromRemoteVpc = value; } /** *Indicates whether a local VPC can resolve public DNS hostnames to private IP * addresses when queried from instances in a peer VPC.
*/ inline VpcInfoPeeringOptionsDetails& WithAllowDnsResolutionFromRemoteVpc(bool value) { SetAllowDnsResolutionFromRemoteVpc(value); return *this;} /** *Indicates whether a local ClassicLink connection can communicate with the * peer VPC over the VPC peering connection.
*/ inline bool GetAllowEgressFromLocalClassicLinkToRemoteVpc() const{ return m_allowEgressFromLocalClassicLinkToRemoteVpc; } /** *Indicates whether a local ClassicLink connection can communicate with the * peer VPC over the VPC peering connection.
*/ inline bool AllowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet() const { return m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet; } /** *Indicates whether a local ClassicLink connection can communicate with the * peer VPC over the VPC peering connection.
*/ inline void SetAllowEgressFromLocalClassicLinkToRemoteVpc(bool value) { m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet = true; m_allowEgressFromLocalClassicLinkToRemoteVpc = value; } /** *Indicates whether a local ClassicLink connection can communicate with the * peer VPC over the VPC peering connection.
*/ inline VpcInfoPeeringOptionsDetails& WithAllowEgressFromLocalClassicLinkToRemoteVpc(bool value) { SetAllowEgressFromLocalClassicLinkToRemoteVpc(value); return *this;} /** *Indicates whether a local VPC can communicate with a ClassicLink connection * in the peer VPC over the VPC peering connection.
*/ inline bool GetAllowEgressFromLocalVpcToRemoteClassicLink() const{ return m_allowEgressFromLocalVpcToRemoteClassicLink; } /** *Indicates whether a local VPC can communicate with a ClassicLink connection * in the peer VPC over the VPC peering connection.
*/ inline bool AllowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet() const { return m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet; } /** *Indicates whether a local VPC can communicate with a ClassicLink connection * in the peer VPC over the VPC peering connection.
*/ inline void SetAllowEgressFromLocalVpcToRemoteClassicLink(bool value) { m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = true; m_allowEgressFromLocalVpcToRemoteClassicLink = value; } /** *Indicates whether a local VPC can communicate with a ClassicLink connection * in the peer VPC over the VPC peering connection.
*/ inline VpcInfoPeeringOptionsDetails& WithAllowEgressFromLocalVpcToRemoteClassicLink(bool value) { SetAllowEgressFromLocalVpcToRemoteClassicLink(value); return *this;} private: bool m_allowDnsResolutionFromRemoteVpc; bool m_allowDnsResolutionFromRemoteVpcHasBeenSet = false; bool m_allowEgressFromLocalClassicLinkToRemoteVpc; bool m_allowEgressFromLocalClassicLinkToRemoteVpcHasBeenSet = false; bool m_allowEgressFromLocalVpcToRemoteClassicLink; bool m_allowEgressFromLocalVpcToRemoteClassicLinkHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws