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