/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SimSpaceWeaver { namespace Model { /** *

Information about the network endpoint that you can use to connect to your * custom or service app. For more information about SimSpace Weaver apps, see Key * concepts: Apps in the SimSpace Weaver User Guide..

See * Also:

AWS * API Reference

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

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline const Aws::String& GetAddress() const{ return m_address; } /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; } /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); } /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); } /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline SimulationAppEndpointInfo& WithAddress(const Aws::String& value) { SetAddress(value); return *this;} /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline SimulationAppEndpointInfo& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;} /** *

The IP address of the app. SimSpace Weaver dynamically assigns this IP * address when the app starts.

*/ inline SimulationAppEndpointInfo& WithAddress(const char* value) { SetAddress(value); return *this;} /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline const Aws::Vector& GetIngressPortMappings() const{ return m_ingressPortMappings; } /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline bool IngressPortMappingsHasBeenSet() const { return m_ingressPortMappingsHasBeenSet; } /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline void SetIngressPortMappings(const Aws::Vector& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings = value; } /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline void SetIngressPortMappings(Aws::Vector&& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings = std::move(value); } /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline SimulationAppEndpointInfo& WithIngressPortMappings(const Aws::Vector& value) { SetIngressPortMappings(value); return *this;} /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline SimulationAppEndpointInfo& WithIngressPortMappings(Aws::Vector&& value) { SetIngressPortMappings(std::move(value)); return *this;} /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline SimulationAppEndpointInfo& AddIngressPortMappings(const SimulationAppPortMapping& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings.push_back(value); return *this; } /** *

The inbound TCP/UDP port numbers of the app. The combination of an IP address * and a port number form a network endpoint.

*/ inline SimulationAppEndpointInfo& AddIngressPortMappings(SimulationAppPortMapping&& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings.push_back(std::move(value)); return *this; } private: Aws::String m_address; bool m_addressHasBeenSet = false; Aws::Vector m_ingressPortMappings; bool m_ingressPortMappingsHasBeenSet = false; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws