/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a core network Connect attachment options.See Also:
* AWS
* API Reference
The protocol used for the attachment connection.
*/ inline const TunnelProtocol& GetProtocol() const{ return m_protocol; } /** *The protocol used for the attachment connection.
*/ inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } /** *The protocol used for the attachment connection.
*/ inline void SetProtocol(const TunnelProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** *The protocol used for the attachment connection.
*/ inline void SetProtocol(TunnelProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } /** *The protocol used for the attachment connection.
*/ inline ConnectAttachmentOptions& WithProtocol(const TunnelProtocol& value) { SetProtocol(value); return *this;} /** *The protocol used for the attachment connection.
*/ inline ConnectAttachmentOptions& WithProtocol(TunnelProtocol&& value) { SetProtocol(std::move(value)); return *this;} private: TunnelProtocol m_protocol; bool m_protocolHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws