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

Describes the network details of the fleet or image builder * instance.

See Also:

AWS * API Reference

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

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline const Aws::String& GetEniPrivateIpAddress() const{ return m_eniPrivateIpAddress; } /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline bool EniPrivateIpAddressHasBeenSet() const { return m_eniPrivateIpAddressHasBeenSet; } /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline void SetEniPrivateIpAddress(const Aws::String& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = value; } /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline void SetEniPrivateIpAddress(Aws::String&& value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress = std::move(value); } /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline void SetEniPrivateIpAddress(const char* value) { m_eniPrivateIpAddressHasBeenSet = true; m_eniPrivateIpAddress.assign(value); } /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline NetworkAccessConfiguration& WithEniPrivateIpAddress(const Aws::String& value) { SetEniPrivateIpAddress(value); return *this;} /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline NetworkAccessConfiguration& WithEniPrivateIpAddress(Aws::String&& value) { SetEniPrivateIpAddress(std::move(value)); return *this;} /** *

The private IP address of the elastic network interface that is attached to * instances in your VPC.

*/ inline NetworkAccessConfiguration& WithEniPrivateIpAddress(const char* value) { SetEniPrivateIpAddress(value); return *this;} /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline const Aws::String& GetEniId() const{ return m_eniId; } /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; } /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline void SetEniId(const Aws::String& value) { m_eniIdHasBeenSet = true; m_eniId = value; } /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline void SetEniId(Aws::String&& value) { m_eniIdHasBeenSet = true; m_eniId = std::move(value); } /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline void SetEniId(const char* value) { m_eniIdHasBeenSet = true; m_eniId.assign(value); } /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline NetworkAccessConfiguration& WithEniId(const Aws::String& value) { SetEniId(value); return *this;} /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline NetworkAccessConfiguration& WithEniId(Aws::String&& value) { SetEniId(std::move(value)); return *this;} /** *

The resource identifier of the elastic network interface that is attached to * instances in your VPC. All network interfaces have the eni-xxxxxxxx resource * identifier.

*/ inline NetworkAccessConfiguration& WithEniId(const char* value) { SetEniId(value); return *this;} private: Aws::String m_eniPrivateIpAddress; bool m_eniPrivateIpAddressHasBeenSet = false; Aws::String m_eniId; bool m_eniIdHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws