/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the options when modifying a Verified Access endpoint with the
* network-interface
type.See Also:
AWS
* API Reference
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 ModifyVerifiedAccessEndpointEniOptions& WithProtocol(const VerifiedAccessEndpointProtocol& value) { SetProtocol(value); return *this;} /** *The IP protocol.
*/ inline ModifyVerifiedAccessEndpointEniOptions& 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 ModifyVerifiedAccessEndpointEniOptions& WithPort(int value) { SetPort(value); return *this;} private: VerifiedAccessEndpointProtocol m_protocol; bool m_protocolHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws