/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppRunner { namespace Model { /** *

Network configuration settings for inbound network traffic.

See * Also:

AWS * API Reference

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

Specifies whether your App Runner service is publicly accessible. To make the * service publicly accessible set it to True. To make the service * privately accessible, from only within an Amazon VPC set it to * False.

*/ inline bool GetIsPubliclyAccessible() const{ return m_isPubliclyAccessible; } /** *

Specifies whether your App Runner service is publicly accessible. To make the * service publicly accessible set it to True. To make the service * privately accessible, from only within an Amazon VPC set it to * False.

*/ inline bool IsPubliclyAccessibleHasBeenSet() const { return m_isPubliclyAccessibleHasBeenSet; } /** *

Specifies whether your App Runner service is publicly accessible. To make the * service publicly accessible set it to True. To make the service * privately accessible, from only within an Amazon VPC set it to * False.

*/ inline void SetIsPubliclyAccessible(bool value) { m_isPubliclyAccessibleHasBeenSet = true; m_isPubliclyAccessible = value; } /** *

Specifies whether your App Runner service is publicly accessible. To make the * service publicly accessible set it to True. To make the service * privately accessible, from only within an Amazon VPC set it to * False.

*/ inline IngressConfiguration& WithIsPubliclyAccessible(bool value) { SetIsPubliclyAccessible(value); return *this;} private: bool m_isPubliclyAccessible; bool m_isPubliclyAccessibleHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws