/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the network interface options when creating an Amazon Web Services
* Verified Access endpoint using the network-interface
* type.See Also:
AWS
* API Reference
The ID of the network interface.
*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *The ID of the network interface.
*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); } /** *The ID of the network interface.
*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); } /** *The ID of the network interface.
*/ inline CreateVerifiedAccessEndpointEniOptions& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *The ID of the network interface.
*/ inline CreateVerifiedAccessEndpointEniOptions& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *The ID of the network interface.
*/ inline CreateVerifiedAccessEndpointEniOptions& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *The IP protocol.
*/ inline const VerifiedAccessEndpointProtocol& GetProtocol() const{ return m_protocol; } /** *The IP protocol.
*/ inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } /** *The IP protocol.
*/ inline void SetProtocol(const VerifiedAccessEndpointProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** *The IP protocol.
*/ inline void SetProtocol(VerifiedAccessEndpointProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } /** *The IP protocol.
*/ inline CreateVerifiedAccessEndpointEniOptions& WithProtocol(const VerifiedAccessEndpointProtocol& value) { SetProtocol(value); return *this;} /** *The IP protocol.
*/ inline CreateVerifiedAccessEndpointEniOptions& WithProtocol(VerifiedAccessEndpointProtocol&& value) { SetProtocol(std::move(value)); return *this;} /** *The IP port number.
*/ inline int GetPort() const{ return m_port; } /** *The IP port number.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The IP port number.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The IP port number.
*/ inline CreateVerifiedAccessEndpointEniOptions& WithPort(int value) { SetPort(value); return *this;} private: Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet = false; VerifiedAccessEndpointProtocol m_protocol; bool m_protocolHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws